Indicators: Extremum

 

Extremum:

The indicator allows to predict the trend reversal

Fig.1 The Extremum indicator.

Fig.1 The Extremum indicator.

Author: Nikolay Kositsin

 

Are you sure you mean the line

for(i=0;i<int(NBars); i++) if(Low[bar]<Low[bar-i] && Low[bar]-Low[bar-i]<m) m=High[bar]-Low[bar-i];


Since you compare m to L-Li, but set it to H-Li, seems strange to me...



Clock