Suppose I create a chart with multiple instruments. Furthermore, suppose I create this chart through Data Series rather than programatically via Add(). If I have a custom indicator that say simply plots 2*Close[0], I can use this indicator on each of the instruments on the chart.
Here is the issue: How does the indicator know which instrument data series to use? I realize that part of the information comes from the input series. So if I specify the Input series as the correct instrument but say I specify it as the Low of that instrument, my indicator will still work correctly even though it is simply referencing the Close. I am assuming here that in this instance the Close is simply being replaced by some version of Bars.GetClose(lastBar).
I realize this is likely unsupported but can anyone please shed some light on how NT determines from the input series specified which series close the Close[0] refers to? I would be very appreciative. Thank you.
Comment