Belgium
Experience: Intermediate
Platform: Ninjatrader
Broker: Ninjatrader Brokerage, CQG
Trading: FDAX, FDXM ...maybe
Posts: 388 since Sep 2012
Thanks Given: 499
Thanks Received: 470
|
hi Guys and Girls,
when I call the Pivots indicator I get a correct value for today's chart but all previous days return a value 0.
// Variables
private IDataSeries pivotPoint;
..
..
OnStartUp()
..
..
pivotPoint = Pivots(pivotRangeType1,priorDayHLC,0,0,0,20).PP;
-----
Any ideas ?
Is it something to do with a min lookback period or bars required ?
p
|