工作已完成
指定
Hello,
i need an Expert Advisor for the MT4 (MQL4-language), which is based on MACD-Data und does the following things:
S E T T I N G S:
MACD-settings:
Slow EMA
Fast EMA
Signal line
Apply to: close, open, high, low, etc. ...
Order-settings:
Lot-size
Max-order-size
Trailing stop
Stop-Loss
Take-profit
Start-Capital -> the capital from my account the EA can trade with
EA-settings:
Apply to
long & short trades
only long trades
only short trades
Special function
button to close all trades
H O W T H E E A H A S T O W O R K:
Functions of the EA:
The EA has to get data from the MACD-indicator, whose settings are set before starting the EA (look up).
The EA has to stop trading when the Automated trading-button in MT4 is hit to stop
Then it has to do the following things:
LONG TRADES
Open long trades:
The EA has to open a long trade, when the MACD-line crosses the signal line from bottom to the top
and holds this order until the close-function hits in:
Close function for long trades:
The EA has to close the long trade, when the MACD-line crosses the signal line from top to the bottom
SHORT TRADES
Open short trades:
The EA has to open a short trade, when the MACD-line crosses the signal line from top to the bottom
and holds this order until the close function hits:
Close function for short trades:
The EA has to close the short trade, when the MACD-line crosses the signal line from bottom to the top
I hope there is someone who can program this EA for me
For questions please contact me
An example how it has to work is attached to this message
Thank you very much