I have this error (you can see the picture), but I wrote as always :
if (CurrentBar>100) { Code }
The point is the indicator is multi-timeframe. It uses a daily timeframe too as you can see. I think this is the reason.
How to fix this ?
Thanks a lot !
Comment