Exp_AdaptiveCGOscillator_X2 - MetaTrader 5 Expert




The Exp_AdaptiveCGOscillator_X2 trend trading system is based on the two-signal Adaptive CGO Oscillator indicator. The first indicator determines the direction of the slow trend based on the position of the main and signal lines. The second indicator determines the moment to start trading when the line is crossed or touched. A signal is formed when the bar closes if two conditions are met:
Input parameters of EA trading:
String parameters with text in the input parameter code are just for better visualization of the expert's input parameters window.
The AdaptiveCGOscillator_Cloud_HTF indicator in the EA is only used for more convenient visualization of trends in the strategy tester, they are inactive in other operating modes.
Place the AdaptiveCGOscillator.ex5, CyclePeriod.ex5 and AdaptiveCGOscillator_Cloud_HTF.ex5 compiled files into
Please note that the TradeAlgorithms.mqh library file allows trading Expert Advisors with non-zero spreads and the option to set Stop Loss and Take Profit along with opening positions with brokers that offer the following services. You can download more variants of this library via the following link: Trading Algorithms .
The input parameters of the default Expert Advisor were used in the test shown below. Stop Loss and Take Profit were not used during testing.

Figure 1. Example of trade on chart
The test results of EURUSD in 2015, H6 is a slow trend and M30 is a fast trend entry:
Figure 2. Test result chart
Attachment download
📎 tradealgorithms.mqh (178.23 KB)
📎 adaptivecgoscillator.mq5 (15.65 KB)
📎 adaptivecgoscillator_cloud_htf.mq5 (20.35 KB)
📎 exp_adaptivecgoscillator_x2.mq5 (18.97 KB)
Source: MQL5 #16937
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •