Mastering the Exp_AdaptiveCGOscillator_X2 for MetaTrader 5: A Trader's Guide

Mike 2017.01.26 18:03 33 0 0
Attachments

If you're looking to level up your trading game, the Exp_AdaptiveCGOscillator_X2 trading system is worth your attention. This system uses signals from two AdaptiveCGOscillator indicators to help you identify trends effectively. The first indicator gives you the slow trend direction based on the positioning of its main and signal lines. Meanwhile, the second one signals when to open a trade, triggered by line crossovers or touches. A trading signal is generated when a bar closes under two conditions:

  • Both fast and slow trend signals align;
  • The direction of the fast trend shifts.

Input Parameters for the Expert Advisor:

//+-------------------------------------------------+
//| Input parameters of the EA indicator           |
//+-------------------------------------------------+
input string Trade="Trade management";    //+============== TRADE MANAGEMENT ==============+  
input double MM=0.1;               // Share of deposit per trade
input MarginMode MMMode=LOT;      // Lot value detection method
input uint    StopLoss_=1000;      // Stop Loss in points
input uint    TakeProfit_=2000;    // Take Profit in points
input string MustTrade="Trade permissions";    //+============== TRADE PERMISSION ==============+  
input int    Deviation_=10;       // Max price deviation in points
input bool   BuyPosOpen=true;     // Permission to enter long positions
input bool   SellPosOpen=true;    // Permission to enter short positions
//+-------------------------------------------------+
//| Input parameters of the filter indicator        |
//+-------------------------------------------------+
input string Filter="PARAMETERS FOR SLOW TREND";    //+============== PARAMETERS FOR SLOW TREND ==============+  
input ENUM_TIMEFRAMES TimeFrame=PERIOD_H6;  // 1 Chart period for the trend
input double Alpha=0.07;// Indicator smoothing ratio
input uint SignalBar=1; // Bar index for entry signal
input bool   BuyPosClose=true;     // Close long positions by trend
input bool   SellPosClose=true;    // Close short positions by trend
//+-------------------------------------------------+
//| Input parameters of the entry indicator         |
//+-------------------------------------------------+
input string Input="ENTRY PARAMETERS";       //+=============== ENTRY PARAMETERS ===============+  
input ENUM_TIMEFRAMES TimeFrame_=PERIOD_M30;  // 2 Chart period for entry
input double Alpha_=0.07;// Indicator smoothing ratio
input uint SignalBar_=1;// Bar index for entry signal
input bool   BuyPosClose_=false;     // Close long positions by signal
input bool   SellPosClose_=false;    // Close short positions by signal
//+-------------------------------------------------+

The string parameters in the input section are there to improve the visual experience when setting up the EA. Keep in mind that the AdaptiveCGOscillator_Cloud_HTF indicators included in this EA are primarily for visualizing trends during strategy testing and are inactive in other modes.

To get started, simply place the compiled files AdaptiveCGOscillator.ex5, CyclePeriod.ex5, and AdaptiveCGOscillator_Cloud_HTF.ex5 into your <terminal_data_folder>\MQL5\Indicators.

Also, note that the TradeAlgorithms.mqh library file enables the use of Expert Advisors with brokers that offer nonzero spreads, allowing you to set Stop Loss and Take Profit when opening a position. You can explore more variations of this library by following this link: Trade Algorithms.

In the tests below, we used the default input parameters for the Expert Advisor, and neither Stop Loss nor Take Profit were applied.

Fig. 1. Examples of deals on the chart

Fig. 1. Examples of deals on the chart

Testing results from 2015 on EURUSD, observing slow trends on H6, with entry signals based on fast trends on M30:

Fig. 2. Chart of testing results

Fig. 2. Chart of testing results

List
Comments 0