Your file was very useful.
I think I've located the problem in my strategy being the value I assign to the currentBar test. (72000)
Using 2000 as currentBar value allows me to get a value for 1period ATR.
If I am using a 1minute strategy that requires at least 50 days lookback to create the ATR50 wouldn't i need at least 24*60*50 minute bars as a minimum?
Almost there I think..
Thanks for your patience
Comment