Trabalho concluído
Termos de Referência
Hello All,
I need an EA based on ADX and Heiken Smothed, with the following inputs:
Risk
MM, (True or False) to open lot base on % of balance
FixedLot, (When MM is false)
MaxOpenTrades, maximum open trades at the same time
TP, (in points not pips)
SL, (in points not pips)
TrailingStop, (in points not pips)
ToClosePerADX, (Flase or True) this will allow to close the trade when a reversal is detected by ADX even if SL have not been reached yet.
HoursToOperate, (12:00 – 18:00) Period in which the EA will work
ADX Inputs
Period
Method (Close, etc)
Visible (True or False) to show ADX indicator on screen
Able to choose Color for each component of ADX (D, D+, D-)
Heiken Ashi Inputs
Period
Method (Smoothed, etc)
Visible (True or False) to show Heiken indicator on screen
Able to choose Color for up and down candlesticks
Criteria
Open a buy position when:
A) When D+ crosses from above D- and the heiken is in up trend.
B) When heiken trend change from down to up and the D+ is above D-
Close the buy position when:
A) Reaching TP or SL
B) D- crosses from above D+ (Even if the TP and SL have not been reached yet)
Open a sell position when:
A) When D- crosses from above D+ and the heiken is in down trend.
B) When heiken trend change from up to down and the D- is above D+
Close the sell position when:
A) Reaching TP or SL
B) D+ crosses from above D- (Even if the TP or SL have not been reached yet)
The EA must be fast enough to take decisions exactly at the candlestick closure even on M1 time frame.