Unlocking the Power of Exp_UltraFatl_Duplex: Your Go-To EA for MetaTrader 5

Mike 2018.12.19 04:15 18 0 0
Attachments

Today, let’s dive into the Exp_UltraFatl_Duplex, a versatile Expert Advisor (EA) designed for MetaTrader 5. This innovative tool features two identical trading systems tailored for both long and short positions, all driven by the signals from the UltraFatl indicator. The beauty of this EA lies in its configurability, allowing you to customize it according to your trading strategy.

Understanding the Input Parameters

To make the most of this EA, it’s essential to grasp the two primary groups of input parameters:

  • Long Positions: Parameters beginning with L manage your long trades.
  • Short Positions: Parameters starting with S are dedicated to your short trades.

Configuring Long and Short Operations

Here’s a sneak peek into the input parameters for each operation:

//+----------------------------------------------+
//| 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
//+----------------------------------------------+
//| 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

Each trading system operates independently, utilizing different magic numbers. This independence is crucial as the financial markets often exhibit asymmetry, requiring tailored parameters for both bullish and bearish conditions. So, it’s wise to focus on configuring one trading system at a time. You can easily disable the other system using specific switches.

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

Setting Up Your EA

To ensure the smooth operation of your EA, make sure the compiled UltraFatl.ex5 indicator file is placed in the <terminal_data_directory>\MQL5\Indicators folder.

For the tests shown below, we used the default input parameters for the Expert Advisor, without implementing Stop Loss or Take Profit settings.

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

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

Performance Review

Let’s take a look at the GBPJPY H12 testing results from the year 2017:

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