I want to create a breakout strategy using NinjaTrader 8 Strategy Builder. Basically I want to write the following condition: Go long today if today's price goes above last 10 days' high (last 10 days excluding today). For this I thought of using "Misc->Highest Bar", where I can mention the period. But then, I couldn't find an option where it can accept User Defined Inputs, because of which optimisation through Strategy Analyser is not possible. I would like to allow "Highest bar" to take parameters, so that the value of Highest bar can vary from say 1 to 100 while using Strategy Analyser. When I first asked this question at Ninjatrader 7 forum, I was told that Highest bar cannot accept User Defined Inputs in Ninjatrader 7, but that it can accept User Defined Inputs in Ninjatrader 8.
Can you please let me know how I can allow "Highest bar" to take parameters in Strategy Builder, so that the the value of Highest bar can vary from say 1 to 100 while using Strategy Analyser
Thanks
Comment