Auftrag beendet
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Spezifikation
The ea should enter trades when price crosses a moving average line and confirmed by
the ADX.
The ea should be loaded on one chart but look for signals on the pairs listed
in settings.
platform: MT4
Settings:
magic #:
timeframe:
Spread filter: in pips
MA method:
MA period:
MA shift:
MA apply to:
ADX period:
Adx apply to:
Adx level:
Use trade start time:yes/no
Trade start time:(using broker time)
Selected pairs: (ea looks for signals on these pairs, only one trade per pair)
max number of trades:(ea stops trading after this number of trades)
tp: in pips
sl: in pips
use trailing stop:yes/no
Trailing stop distance: in pips
Use exit trade on reverse signal:yes/no (reverse signal will be considerd as if price closes
on other side of MA)
Signals:
Buy signal:
Upward crossover of price with moving average line. Price must close above line.
trade opens on next candle open.
Adx is higher than adx level specified
D+ is higher than D-
ma slope is upwards
sell signal:
Downward crossover of price with moving average line. price must close below line.
Trade opened on next candle open.
Adx is higher than adx level specified
D- is higher tan D+
ma slope is downwards
Trailing stop operation:
When the tp pips is reached , the sl is moved to 'x' pips
below the tp level. when the price moves favourable by 'x' pips sl is moved 'x' pips also.
Example. TP: 20 pips, Sl: 10 pips, trailing stop distance: 5 pips
when 20 pips is reached, sl will move to 15 and when price moves favourably to 25, sl moved to 20 etc.