Forum: NinjaTrader
July 14th, 2010, 06:21 PM
|
Replies: 23
Views: 6,924
All of my strats have this
private...
All of my strats have this
private DateTime Now { get { if (Historical) return Time[0]; else return DateTime.Now; } }
So in OnBarUpdate() I just use "Now" and it'll work for backtesting and...
|