Maximize Your Trading with X2MACandle: A Guide for MetaTrader 5 Users

Mike 2018.10.26 03:24 30 0 0
Attachments

Hey there, fellow traders! Today, let’s dive into a trading system that could really amp up your game: the X2MACandle indicator. This nifty tool not only signals trades but also adjusts the volume of your upcoming trades based on your prior performance. It’s like having a personal trading assistant right in your terminal!

So, how does it work? Well, trading signals are generated when a bar closes, which indicates a trend change—this is visually represented by the candles switching colors. Pretty intuitive, right?

Managing Trade Volumes

One of the standout features of this system is the input EA variables that let you manage the volumes of your open positions. Check out these settings:

input uint    BuyTotalMMTriger=3; // Number of the last Buy deals to calculate stop loss
input uint    BuyLossMMTriger=2;  // Number of losing Buy deals to reduce MM
input uint    SellTotalMMTriger=3;// Number of the last Sell deals to calculate stop loss
input uint    SellLossMMTriger=2; // Number of losing Sell deals to reduce MM
input double  SmallMM_=0.01;      // Share of a deposit in a deal in case of loss
input double  MM=0.1;             // Share of a deposit in a deal during normal trading
input MarginMode MMMode=LOT;      // Lot value determining method

With these inputs, if you select from the last five trades and find that three are losses in one direction, the EA will open the next trade in that same direction with a volume of 0.01 lot. If there are fewer than three losing trades out of the last five, the volume increases to 0.1 lots. This adaptive approach helps you manage risk better.

Getting Started

To ensure your EA operates smoothly, make sure you have the compiled files for the indicators X2MA.ex5 and X2MACandle.ex5 in your <terminal_data_directory>\MQL5\Indicators folder.

For the tests shared below, we used the default input parameters without stops.

Fig. 1. Examples of trades on the chart
Fig. 1. Examples of trades on the chart

Testing Results

Here’s a look at the testing results for USDJPY on the H6 timeframe for the year 2017:

Fig. 2. Test results chart
Fig. 2. Test results chart

In conclusion, the X2MACandle system is a solid choice for traders looking to enhance their strategy. It offers a smart way to manage trade volumes based on past performance, making it easier to stay profitable in the ever-changing market.

List
Comments 0