Forum

how can I stop the specific EA by magic number?

Is there any function in MQL4 to disable EA by Magic number? I want to create a code to disable some EAs by magic number at a specific time and a few hours later enable again. Thansk

how can I write this code in mql?

Hi I am studying mql4, and am trying to convert a code in Pine Script to mql4 The code is simple, it is to know the direction of the trend. pos = lowest(mom(ema(ohlc4, el), ml), cl)> 0 neg = highest(mom(ema(ohlc4, el), ml), cl)< 0 bgcolor(pos ? red : neg ? green : white, transp= 70 ) I would like a