found a bug today. I can reproduce it, so I thought I'd let you know. Chances of users experiencing this are rare, though.
I've been using a few StrategyPlot indicators, and syncing some of them to a secondary timeframe via this Add method:
Add(StrategyPlot(Closes[1],0));
The display works just fine.
However, it breaks something inside Ninja, and now values obtained from Closes[1][] are incorrect. They report Closes[0][] instead.
If I disable the adding of the StrategyPlot, everything goes back to working correctly. If I change the Add to this:
Add(StrategyPlot(Medians[1],0));
then the Closes[1][] work correctly again.
I presume the Medians[1][] would now be screwy, but I didn't specifically check it. I'm guessing that that DataSeries used to sync the indicator gets broken somehow.
Cheers,
saltminer
Comment