Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hello, my english very bad
i wish a sma (simple moving average) Expert ,see below,:
buy pos : when candle close above sma , buy 2pip above this candle high.
sell pos : when candle close below sma , sell 2 pip below this candle low.
close buy pos when candle close below sma ,close 2 pip below this candle low.
close sell pos when candle close above sma , close 2 pip above this candle high.
expert var:
lot
take profit:false or true
sma period
thank you