工作已完成
指定
1. The idea of the trading system is as follows:
Market entries are performed when SuperTrend indicator shows buy or sell signal at 4h candle open and ADX indicator is above 25.
2. Indicators used:
- SuperTrend (indicator settings: Period 10, Multiplier 1)
- ADX (indicator settings: Period 14)
- Average True Range (indicator settings: Period 14)
2. Trading Signals:
- Buy signal: SuperTrend indicator shows buy signal
- Sell signal: SuperTrend indicator shows sell signal
- EA will only enter trades if ADX indicator value is above 25.
- EA will enter trades only on 4h candle close
4. Positions are closed at opposite signals: Buy positions are closed at Sell signals, and Sell positions are closed at Buy signals.
- ADX value is not important for closing out trades.
5. Positions are opened at the market price, when a new bar emerges. The Expert Advisor is to be tested using Open prices, so there is no need to add functions for disabling operations inside the bar.
6. Risk per position: (this option should be configurable so we can enter different risks later)
- 0% -92% of initial balance risk 0.6% of balance
- 93-95% of initial balance balance risk 0.8% balance
- 95-105% of initial balance risk 1% of balance
- 105-110% of initial balance risk 1.2% of balance
- 110-115% of initial balance risk 1.4% of balance
- 115-120% of initial balance risk 1.6% of balance
- 120-125% of initial balance risk 1.8% of balance
- 125-infinity % balance risk 2% of balance
7. Position size:
Position size = ((Account Balace * risk per trade) / (ATR value x 100) / 700
Stoploss: ATR value x 200
8. Open position management
Put stoploss at break-even when position is running in profit at 50% of position size. Break even should only be places after the next 4h candle closes (for example, the EA enters the trade at 4PM, the breakeven could only be placed after 8PM).
If you need any other information just ask.