Forum

OrderModify function with price 0

Hi there, I'm studying a mql4 code and I'm trying to understand that when modifying an open order it's ok to set for price parameter of OrderModify function the value zero. I've seen a note here , that only for pending orders could be modified the price or expiration parameters, but what happen if

Enumerator compile error

Hi, I'm new in mql programming and trying to develop my first EA based on what I found in mql articles. The scope is learning because I've made backtests but I never got any profit :) For the code below I get next errors: 'CCI' - enumerator identifier already defined 'Stochastic' - enumerator