I have been trying to develop a strategy (using NinjaTrader Script) and want to add a condition of stop loss order trigger at 10 ticks below the low of the bar before the bar where the long/short position was opened.
"((Low(EntryBar()-1)-10) or ((High(EntryBar()-1+10)".
Can someone in this forum help me to convert the above condition into NinjaTrader Script code?
Thanks,
Sami
Comment