İş tamamlandı
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
İş Gereklilikleri
AN EA BASE ON STOCHASTIC AND MACD SIGNAL LINE CROSSING NEEDED
I need a trading robot that uses the MACD signal line and the Stochastic Indicator. The buy and sell conditions should follow as indicated below:-
Open a buy Trade : When the blue line of the stochastic indicator crosses the MACD signal line in the Bullish direction, and closes this position when the blue line of the stochastic indicator crosses back the MACD signal line in the bearish direction. Note, immediately the BUY position closes, a SELL position opens immediately
Consider this figure, the blue line here is the blue line of the stochastic indicator, while the red line is the MACD signal line
AT POINT 1 IN THE FIGURE: As the blue line of the stochastic crosses the macd line upward, a buy position is opened,
AT POINT 2 IN THE FIGURE: As the blue line of the stochastic crosses the macd line downward, the first buy position closes, and opens a sell immediately.
AT POINT 3 IN THE FIGURE: the sell position that was open at point 2 closes, and a buy position is opened immediately.
and so on.
It should have also have the following features-
1 Trailing stop loss, zero (0) to disable
2. Stop loss, zero (0) to disable
3. Take Profit, zero (0) to disable
4. Can work on any timeframe
5. It should be able to Trade forex, synthetics, stocks & indices, cryptocurrencies, basket indices, and commodities
Note: the MACD and STOCHASTIC settings should be default, but should be adjustable