Forum: NinjaTrader
September 16th, 2013, 06:32 PM
|
Replies: 15
Views: 5,008
Did you take off the Print instructions?
The...
Did you take off the Print instructions?
The NinjaTrader pivots indicator only returns values, once it has detected a day break. Therefore it does not return any values for the first day. Before...
|
Forum: NinjaTrader
September 16th, 2013, 05:21 PM
|
Replies: 15
Views: 5,008
You cannot access bar series in OnStartUp().
...
You cannot access bar series in OnStartUp().
The following code section needs to be transferred to OnBarUpdate():
prevDayClose = Bars.GetDayBar(1).Close;
prevDayHigh = Bars.GetDayBar(1).High;...
|