dHigh = High[pos]; asta e linia 57?
si daca pos=0 si tu ceri High(0) ce se intampla?
si daca pos=0 si tu ceri High(0) ce se intampla?
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--; int pos = Bars - counted_bars;
//#property indicator_maximum 100 //#property indicator_minimum 0
Comment