I've attached a modified "SampleStrategyPlot" file and a screenshot to help me understand the primary and secondary relationships.
The Primary Bars are based on high of the current bar and the Secondary Bars are based on OHLC for what I thought was the current bar:
StrategyPlot(0).Value.Set(High[0]);
StrategyPlot(1).Value.Set(Opens[1][0]);
StrategyPlot(2).Value.Set(Highs[1][0]);
StrategyPlot(3).Value.Set(Lows[1][0]);
StrategyPlot(4).Value.Set(Closes[1][0]);
You can see from the screenshot that the secondary plots are one bar behind the current primary bars. SetComputeOnClose = false. What do I need to change to show the secondary plots being updated dynamically?
Sincerely,
Kirk

Comment