I need a EA for MT5 which uses the MT5 plattforms Adaptive Moving Average indicator for entry/exit.
Also I need a sleep button which is located in the lower left corner of my chart.
Trade only in direction of my settings. After I attached the EA to my chart, wait until a candlestick closed below the Adaptive Moving Average. If EA is active and not sleeping (because I enabled it by clicking the button), open a sell order at the beginning of the next candle. If EA was not active, do nothing. Same logic with buy orders, wait until price closed above Adaptive Moving Average line, when EA is active, open a buy at the next candle opening.
Close all open sell orders on this symbol (orders by this EA and manual opened orders) when EA is active AND price closed above the indicator. If EA is sleeping, do nothing. Same with buy orders. Close all buy orders on this symbol when EA is active AND price closed below the indicator. If sleeping, do nothing.
Use fixed lotsitze in the settings. Put the SL for shorts at the high of the last X candles, for buys at the low of the last X candles.
- allowed trading direction long or short (EA is only allowed to trade in my prefered direction)
- max allowed open trades 1 (EA is allowed to open only 1 trade)
- fixed lotsize 0.01
- last Candles SL shorts 10
- last Candles SL longs 10
- Adaptive MA period, fast EMA, slow EMA (default settings)