USA
Experience: Master
Platform: NinjaTrader
Posts: 155 since Jul 2009
Thanks Given: 45
Thanks Received: 114
|
If you are managing your trade on a smaller time frame you can do a few things:
EnterLong(1, DefaultQuantity, "myLong")
Where the 1 will force it into BarsArray[1].
In the Initialize section add the line
Add(PeriodType.Range, 1)
Using range 1 instead of tick 1 is much more efficient and will still manage the trade every 1 tick of price movement. Helpful for trailing stops or etc.
|