|
question
I do not understand the difference of two programs, but would teach it?
int limit = Bars-IndicatorCounted();
int i ;
for( i=limit-1; i>=0; i--)
int counted_bars=IndicatorCounted();
//---- check for possible errors
if(counted_bars<0) return(-1);
//---- last counted bar will be recounted
if(counted_bars>0) counted_bars--;
limit=Bars-counted_bars;
for(i = 0; i <= limit; i++)
|