Mastering the Exp_AdaptiveRenko_Duplex: A Trader's Guide to EA for MetaTrader 5

Mike 2018.12.19 04:16 28 0 0
Attachments

Welcome, fellow traders! Today, we’re diving into the world of the Exp_AdaptiveRenko_Duplex, a versatile trading system designed specifically for MetaTrader 5. This EA (Expert Advisor) is built to handle both long and short positions by leveraging the powerful signals from the AdaptiveRenko indicator, allowing you to maximize your trading potential.

Understanding the Setup

What sets this EA apart is its dual trading systems, each tailored for different market conditions. The input parameters are designed to be intuitive, split into two main categories:

  • Long Positions: Parameters prefixed with L are for managing trades when the market is on the rise.
  • Short Positions: Parameters starting with S are for those moments when it’s time to capitalize on a declining market.

Input Parameters for Long Operations

//+----------------------------------------------+
//| EA inputs for long operations                |
//+----------------------------------------------+
input uint    L_Magic=777;          //L magic number
input double  L_MM=0.1;             //L share of a deposit in a deal
input MarginMode L_MMMode=LOT;      //L lot size calculation method

Input Parameters for Short Operations

//+----------------------------------------------+
//| EA inputs for short operations               |
//+----------------------------------------------+
input uint    S_Magic=555;          //S magic number
input double  S_MM=0.1;             //S share of a deposit in a deal
input MarginMode S_MMMode=LOT;      //S lot size calculation method

Keep in mind, these two systems operate independently of each other, and the magic numbers ensure that they don’t interfere with one another. The reality of financial markets is that they’re rarely symmetrical, so having distinct parameters for both rising and falling markets is crucial.

Configuration Tips

To effectively set up your EA, start by testing one trading system at a time. Disable the other system using the appropriate switches. Here’s how:

input bool    L_PosOpen=true;       //L Permission to enter long positions
input bool    L_PosClose=true;      //L Permission to exit long positions

Once you’ve got the hang of one system, repeat the process for the second. It’s all about getting the settings just right!

Important Notes

For the EA to function properly, ensure that the compiled AdaptiveRenko.ex5 file is located in your <terminal_data_directory>\MQL5\Indicators.

During testing, we used the default parameters for this Expert Advisor, and no Stop Loss or Take Profit was utilized. Below you can see some testing results.

Testing Results

Here’s a snapshot of the trading outcomes over the year 2017 for the USDJPY on the H4 timeframe:

Fig. 1. Examples of deals on the chart with symmetrical settings

Fig. 1. Examples of deals on the chart with symmetrical settings

Fig. 2. Testing results chart

Fig. 2. Testing results chart

Fig. 3. Examples of deals on the chart with non-symmetrical settings

Fig. 3. Examples of deals on the chart with non-symmetrical settings

List
Comments 0