Forum

Difference between these two MQ4 codes

Hello Can someone explain to me the difference between these two codes? First ****************************************************************************************** for(int i = limit-1; i >= 0; i--) { if (i >= MathMin(5000-1, rates_total-1-50)) continue; //Indicator Buffer 1

iCustom function

Hi, I am approaching this programming language for the first time. I currently have an indicator that generates very reliable arrows. I would like to create a strategy that can intercept these arrows. The indicator uses buffer 0 to buy and 1 to sell. I've read that i should use the iCustom function