I'm going a bit nuts with a multi-timeframe strategy that loads an indicator. It works perfectly fine on a chart.
In Strategy Analyzer, the indicator does not ever reach OnBarUpdate().
It completes OnStartUp() sucessfully. Using print statements I can see this, as well as seeing it has loaded hundreds if not thousands of bars of data that it requires. BarsRequired is set to 3. It has enough bars!
But then it comes to a halt and despite the strategy moving through its bars the indicator does not ever start. It's CurrentBar (if tested from the strategy) always reports as -1.
A simple print statement at the very head of OnBarUpdate() in the indicator is never executed.
Please, what can cause this behaviour? I've chucked a few hours at this now and frankly I'm out of ideas.
Thanks,
saltminer.
Comment