Thanks for your tipps.
The strange part is, that it works the days before, without changing anything!
So I choose different names for the object and also my comment shows the correct time, so I see everything it working.
Also my print messages are working.
It happens, when I calculate the values from M15 and want to draw it into my M5 chart.
But has been working fine already...
Hi,
now I found the same problem, with this indicator
https://www.mql5.com/en/code/8033
When I put it on my chart during visual backtesting(M5), and that the TF from the MTF Stochastic Indicator to 15, than I sometimes the values are shown correctly from M15 and the most time only the clock from the indicator is running, but NO line :-(
It's strange!
How can I solve that problem, because testing and fetching and drawing values from another timeframe is an important point for me!!

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi,
I have an indicator which works very fine in live test. It has to calculate quite a lot and draw some objects in the chart.
But when I do a visual backtest, the indicator sometimes starts showing me the right objects and after a time it shows nothing.
Could it be, that the OnCalculate function in backtesting is calling to fast, so that the indicator hasn't been finished with calculating?