Tâche terminée
Spécifications
Hi,
a new EA is needed which based on my ADX Bar Indicator, the MQL4 code of indicator is attached
The idea of the EA
The INDICATOR create BUY signal rules for EA
Check if a BUY or SELL ORDER is acitve, if not, create a new BUY ORDER if enough equity on konto. SL TP LOT (from PARAM menu).
--> if a BUY ORDER is already active not set a new BUY ORDER (MAIN RULE only one ORDER can be OPEN)
-->if a SELL ORDER is already active, this one will be closed(CLOSE RULE through oposite signal) and create a new BUY ORDER if enough equity on konto. SL TP LOT (from PARAM menu).
The INDICATOR create SELL signal rules for EA
Check if a BUY or SELL ORDER is acitve, if not, create a new SELL ORDER if enough equity on konto. SL TP LOT (from PARAM menu).
--> if a SELL ORDER is already active not set a new SELL ORDER (MAIN RULE only one ORDER can be OPEN)
-->if a BUY ORDER is already active, this one will be closed(CLOSE RULE through oposite signal) and create a new SELL
>MAIN RULE anytime just one ORDER active
>Trading TIME PARAM will be set in Paramsettings
Rules for CLOSE a ORDER
- oposite indicator SIGNAL
- ORon PARAM SL
- OR if SET TRAILING STOP
- OR on PARAM TP
- ORTIME (END OF TRADING DAY) PARAM
PARAMETER SHOULD BE VARIABLE TO SET
- ADX Period from INDICATOR (standard 14))
- ADX TIME PERIOD from indicator (standard 5min)
- TRADING TIME MONDAY from HH MM to HH MM
- TRADING TIME TUESDAY from HH MM to HH MM
- TRADING TIME WEDNESDAY from HH MM to HH MM
- TRADING TIME THURSDAY from HH MM to HH MM
- TRADING TIME FRIDAY from HH MM to HH MM
- STOPLOSS in POINTS standard 0(not active)
- TAKEPROFIT in POINTS standard 0(not active)
- TRAILINGSTOP in POINTS 0(not acitve)
- LOT SIZE ( standard = 1 )