Amsterdam, The Netherlands
Market Wizard
Experience: Intermediate
Platform: Ninjatrader 8
Broker: NinjaTrader Brokerage
Trading: CL, ES
Posts: 1,777 since Dec 2013
Thanks Given: 4,519
Thanks Received: 8,698
|
If you add the tick timeframe, you can, at BarsInProgress == 1 in the OnBarUpdate(), add the logic you want. There is a property FirstTickOfBar that you can use for doing whatever you want at the open of a new bar.
Sent from my iPhone using futures.io
|