I need to ask now why it is necessary to have in the script
if (BarsInProgress !=0) return;
When I do my strategies with different dataseries eg
&&(HMA(BarsArray[3],89)[0] < SMA(BarsArray[3],50)[0])
&& Rising(HMA(BarsArray[8],55))
I get not results in backtesting!!
But when I remove the if (BarsInProgress !=0) return;
then I have trades and numbers in the strategy-analyzer.
Sorry for this question after months working with NT. But do I need the "if BarsInProgress..."?? in my NT-script-strategies?
Thanks

Tony

Comment