Trabalho concluído
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Termos de Referência
- MACD
- ADX Wilder
I should be able to modify parameters for these indicators at any time
--------------------------------------------
Instrument: current
Time frame: current
Lot size: fixed lot, customizable
TP: pips, customizable
SL: pips, customizable
Trading hours: customizable
--------------------------------------------
The EA will work on an account in hedging mode and need to allow many positions opened simultaneously (long or short)
Maximum number of positions: customizable
--------------------------------------------
I want to open/close position at the open price of a n ew candle (T+1 ). I will look at the 2 previous periods:
--------------------------------------------
Open BUY:
MACD is above signal: MACD (T) > MACD signal (T) and
MACD crossed up signal: MACD (T-1) < MACD signal (T-1) and
MACD signal is increasing: MACD signal (T) > MACD signal (T-1) and
+DI is above -DI: +DI (T) > -DI (T) and
+DI is inccreasing: +DI (T) > +DI (T-1)
Close BUY:
TP (pips) or
SL (pips) or
MACD is decreasing: MACD MACD signal (T) < MACD signal (T-1)
--------------------------------------------
Open SELL:
MACD is below signal: MACD (T) < MACD signal (T) and
MACD crossed down signal: MACD (T-1) > MACD signal (T-1) and
MACD is decreasing: MACD signal (T) < MACD signal (T-1) and
-DI is above +DI: -DI (T) > +DI (T) and
-DI is increasing: -DI (T) > -DI (T-1)
Close SELL:
TP (pips) or
SL (pips) or
MACD is increasing: MACD signal (T) > MACD signal (T-1)
--------------------------------------------