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.

    http://www.ninjatrader-support.com/v...ment+indicator

    Comment


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

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by vdoan20, Today, 08:30 PM
      0 responses
      5 views
      0 likes
      Last Post vdoan20
      by vdoan20
       
      Started by gupagoer, Today, 07:42 PM
      0 responses
      1 view
      0 likes
      Last Post gupagoer  
      Started by Holligoly, Today, 05:13 PM
      2 responses
      7 views
      0 likes
      Last Post Holligoly  
      Started by Raginpower, Today, 01:53 PM
      0 responses
      14 views
      0 likes
      Last Post Raginpower  
      Started by andrewjoseph939, Today, 12:55 PM
      0 responses
      30 views
      0 likes
      Last Post andrewjoseph939  
      Working...
      X