Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Access a DataSeries obj in another chart window

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

    Access a DataSeries obj in another chart window

    Hi, I am making an indicator that requires the values (DataSeries) from two instruments. This is how I have it set up (there may be a better way to do this, if so let me know).

    Chart 1:

    Instrument A
    - IndicatorXXX based on instrument A price
    - IndicatorYYY (the indicator that pulls indicator values from both indicatorXXX on instrument A and B)

    Chart 2:

    Instrument B
    - IndicatorXXX based on instrument B price

    So I can access the indicatorXXX in the instrument A from indicatorYYY, but I am not sure how to get that DataSeries from the indicatorXXX in the B instrument.

    This is the line that works for the A instrument...

    Code:
    PlotInstA.Set(IndicatorXXX().MALine[0]);

    #2
    I did a little more digging after finding nothing in IntelliSense. It looks like the answer is no (in indicators)... I just assumed it was possible because I can do it in strategy mode.

    Comment


      #3
      >> It looks like the answer is no (in indicators)
      Correct. This limitations will be overcome with NT7.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      580 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      335 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      102 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      554 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      552 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X