i'm try to do an indicator using OnMarketDepth function..
but i've problem with executions this function in a indicator....
It give me following error :
Error on calling 'OnMarketDepth' method for indicator 'MyCustomIndicator': 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.
Now .. I do not know the specifics of this function because it is 'given by the system ninjatrader
Someone can help me?
Comment