sysvar / Publications
Forum
Targeting candles and pips
Hello programmers, How do I achieve the following: If current candle is above SMA by 10 pips then BUY If current candle is below SMA by 10 pips then SELL This is what I currently have and it's not working :( , help would be greatly appreciated. Thanks! //+------------------------------+ //| OPEN
Simple MQL4 Programming Problem (Closing Trades)
Hello all, Facing a problem when coding my simple moving average EA in mql4, just lacking mql4 knowledge really. How do I make it stop the trade when going 30 pips below/above MA , this is to protect from bad trades or negative SMA as I call it (see image). I don't want to use a stop loss. Currently