Forum

candle close count mql5

hello, im trying to count how many candle closed below 30000 and how many candle close above 30000 on us30 for the 15candle, below the code i use. the returns values are non sence void OnTick (){ int above, below; bool is_calc = above_below( above, below ); bool above_below( int

how to get first value of ab array?

hello, im using this code to print an array positif values, but i finding a difficulty to print a specific values, string text= "" ; for ( int i= 0 ;i<count;i++) { if (ZigzagBuffer[i]!= PLOT_EMPTY_VALUE && ZigzagBuffer[i]!= 0.0 ) //text=text+"\n"+IntegerToString(i)+"