Forum

Find lower closing value than the last x candles

Hi guys, I wrote this program to find the values ​​of the highest and lowest closures of the last n candles. The values ​​that are returned to me do not correspond to the real value. Why? :( int ChiusuraMax = ArrayMaximum(prezzo, WHOLE_ARRAY , 0); int ChiusuraMin = ArrayMinimum(prezzo, WHOLE_ARRAY