Please i need code for getting the smallest or highest indicator value for a given time like 20 Bars
e.g comparing the value of the indicator like Moving Avg.
if(ma[0] < ma[20---1]){to do here----}
e.g comparing the value of the indicator like Moving Avg.
if(ma[0] < ma[20---1]){to do here----}