Announcement

Collapse
No announcement yet.

Multiple time intrevals on an efs study

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Multiple time intrevals on an efs study

    Within an efs that is attached to a 1 min chart I’d like to create a study (MACD for example) on the same symbol (YM for example) but at a different interval (5 min for example). Is this possible?



    From what I can see, there is no way to pass symbol or interval to a built-in study. Is there another way to do this?



    [MACDStudy(FastLength, SlowLength, SignalSmoothing, PriceSource, SimpleMA)]

    If you could, please also email:
    [email protected]

  • #2
    Hello gdargento,

    Creating multi-time frame studies with built-in study objects within a single EFS is not currently possible. What you can do is have 2 formulas running on 2 charts with your desired intervals and have one pass some global information to the other using setGlobalValue(). The other formula would then use getGlobalValue() to retrieve the data. However, this method is only good in real time. Synchronizing the 2 intervals on the historical bars on initial load of the formulas is very difficult.

    This multi-time frame studies ability has been requested many times and we will have some better facilities for this in a future version.
    Jason K.
    Project Manager
    eSignal - an Interactive Data company

    EFS KnowledgeBase
    JavaScript for EFS Video Series
    EFS Beginner Tutorial Series
    EFS Glossary
    Custom EFS Development Policy

    New User Orientation

    Comment


    • #3
      enhancement

      Thanks...

      Are there plans for this in the future? Near??

      This would be very powerful. Especially for back-testing.

      Comment

      Working...
      X