Announcement

Collapse
No announcement yet.

Help with Async efs Interaction

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

  • Help with Async efs Interaction

    I am trying to write an efs script to do the following:

    Say I have two charts, one 30 min. and one 15 min.
    both for the same symbol. Chart one used efs 1 and chart 2 uses efs2.

    When a condition happens in efs1 for chart one, I want it to execute an efs2 in chart two, but ASYNCHRONOUSLY.

    That is because if a certain event happens in efs1 while efs2 is running, I want efs1 to notify efs2. Likewise if efs2 is running and a certain condition happens, I want it to notify efs1.

    Is this possible? I really need some kind of asynch communication mechanism to develop my strategy.

    All efs's can be loaded into one chart simultaneously to reduce the complexity so say I am viewing only one timeframe and only one of the efs's has PriceStudy set to true. The others are invisible (never write to the chart).

    Any help is really appreciated!

  • #2
    crazytiger
    You may be able to do that using the setGlobalValue() and getGlobalValue() functions.
    Alex

    Comment


    • #3
      Thanks Alex. That looks like it may help me.

      Comment

      Working...
      X