명시
The idea of the trading system is as follows: market entries are performed when MACD's main and signal lines intersect in the current trend direction.
2. Trend is determined based on the Exponential Moving Average in the daily time frame and the 4-hour time frame 200, 50, 20 ema
3. Trading Signals these are used to enter trades on the current time frame selected by the chart
Aligator: mouth open place trade
Awesome: only on the color change from red to green buy and from green to red sell.
STO: 80 crossovers and the 20 crossover
4. Positions are closed at opposite signals: Buy positions are closed at Sell signals and Sell positions are closed at Buy signals.
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. Additional filters for opening a position:
The absolute value of MACD's main line will be used to filter out weak signals: the signal is only confirmed if this value is greater than open_level (in points). Signal confirmation conditions are as follows:
- Confirmation of a buy signal: Abs(macd_current)>open_level
- Confirmation of a sell signal: macd_current>open_level
7. Additional filters for closing a position:
The absolute value of MACD's main line will also be used to confirm position closure: the signal is confirmed if this value is greater than close_level (in points). Close signal confirmation conditions are as follows:
- Confirmation to close Buy positions — macd_current>close_level
- Confirmation to close Sell positions — Abs(macd_current)>close_level
8. Close by Take Profit — during position opening, a Take Profit level is set at a fixed distance based on candle stick atr * 1.5, 2, 3,
9. Position management
margin is an input of in the config and a percent of the balance
this is then devided between open trades stop loss
lot size is 0.01 per 100 euro
also max open trades input