footon,
I have written some EA using the Adaptable MACD indicator, in some instances is great in others it does not make sense .
I have tray to compare it to the regular MACD but not a clue .:(
Since you wrote this indicator could you please send me logic behind it so I will be able to use it properly.
Thank you.
Following a simple EA using the Adaptable MACD( but the results are too good or too bad- but the logic dos not follow the execution on the EA - which make me think that there is something wrong, or I do not know what I am doing):
Logic
Opening (Entry Signal)
Open a new long position at the beginning of the bar when the following logic condition is satisfied:
Adaptable MACD* (Exponential, Close, Simple, 26, 12, 9); the MACD line rises [EURUSD H4].
Open a new short position at the beginning of the bar when the following logic condition is satisfied:
Adaptable MACD* (Exponential, Close, Simple, 26, 12, 9); the MACD line falls [EURUSD H4].
Closing (Exit Signal)
Close an existing long position at the end of the bar when the following logic condition is satisfied:
Adaptable MACD (Exponential, Close, Simple, 26, 12, 9); the MACD line falls [EURUSD H4].
Close an existing short position at the end of the bar when the following logic condition is satisfied:
Adaptable MACD (Exponential, Close, Simple, 26, 12, 9); the MACD line rises [EURUSD H4].
Handling of Additional Entry Signals**
Entry signal in the direction of the present position:
No averaging is allowed. Cancel any additional orders which are in the same direction.
Entry signal in the opposite direction:
No modification of the present position is allowed. Cancel any additional orders which are in the opposite direction.
Trading Size
Always trade a constant number of lots.
Opening of a new position - 0.01 lots.