Tâche terminée
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Spécifications
1. The idea of the trading system is as follows: market entries are performed when MACD, RSI and Stochastic K are in the same current trend direction.
2. Trend is determined based on each indicator.
An indicator shows an UP TREND when:
RSI and Stochastic K being above 50
MACD main above signal line and rising
An indicator shows an DOWN TREND when:
RSI and Stochastic K being below 50
MACD main below signal line and dropping
3. Trading Signals:
Buy signal: All three indicators show an UP TREND
RSI UP TREND && Stochastic K% UP TREND && MACD UP TREND
Sell signal: All three indicators show an DOWN TREND
RSI DOWN TREND && Stochastic K% DOWN TREND && MACD DOWN TREND
4. Positions are closed on change of any Indicator TREND.
5. Positions are opened at the market price, when a new bar emerges. The Expert Advisor is to be tested using Close prices, so there is no need to add functions for disabling operations inside the bar.
Only one position open at a time.
Position size set in points by the value specified in the InpSize parameter.
6. Additional filters for opening a position:
No additional filters
7. Additional filters for closing a position:
No additional filters
8. Close by Take Profit — during position opening, a Take Profit level is set at a fixed distance from the open price, specified in points. The value is determined by Average True Range: ATR(7) x 3
9. Position management
Is used to protect profit. Stop Loss is set by Average True Range: ATR(7) x 1.5.
If the price continues to move in the profit direction, Stop Loss should be trailed at the given distance. Stop Loss cannot be moved towards the loss direction, i.e. the Stop Loss value cannot be increased.
If none of protective orders (Take Profit or Stop Loss) triggers, the position should be closed by a change of ANY Indicator TREND. No other position exit methods are available.
10. Position size