Indicators: Ticks
I can't find where it's used
input int number_of_ticks=1000;
And what is this design used for:
static int ticks=0; //--- if(ticks==0) { ArrayInitialize(AskBuffer,0); ArrayInitialize(BidBuffer,0); }
or can't you do that?
static int ticks=0; //--- // if(ticks==0) // { ArrayInitialize(AskBuffer,0); ArrayInitialize(BidBuffer,0); // }
after lot of bars during backtest it generates an error "ArrayOutOfRange"
Ticks:
It's a simple example of the indicator, that show ticks in the separate subwindow.
It uses the standard indicator's buffers, shifted by the PlotIndexSetInteger() function after each tick.
Author: MetaQuotes