ty koganam for taking a look....
________________________
**NT** Enabling NinjaScript strategy 'BasicPivot/34dceee39a114cdcac1add9fb6358a26' : On starting a real-time strategy - StrategySync=WaitUntilFlat SyncAccountPosition=False EntryHandling=AllEntries EntriesPerDirection=1 StopTargetHandling=PerEntryExecution ErrorHandling=StopStrategyCancelOrdersClosePositio ns ExitOnClose=True/ triggering 30 before close Set order quantity by=Strategy ConnectionLossHandling=KeepRunning DisconnectDelaySeconds=10 CancelEntryOrdersOnDisable=False CancelExitOrdersOnDisable=True CalculateOnBarClose=True MaxRestarts=4 in 5 minutes
0
**NT** Error on calling 'OnBarUpdate' method for strategy 'BasicPivot/34dceee39a114cdcac1add9fb6358a26': You are accessing an index with a value that is invalid since its out of range. I.E. accessing a series [barsAgo] with a value of 5 when there are only 4 bars on the chart.
_____________________________________
I know its a basic message but why is calcing and printing a pivot borderline impossible for me right now on a system ive been using since early 2011. I mean today's pivot only requires a day of data, and then to compare it against each tick, no? i have set up the barsArray in this manner...
Any advice appreciated.
Regards,
Andrew

Comment