Welcome to another deep dive into trading systems! Today, we're exploring the XDeMarker Histogram Vol EA, a powerful trading assistant for MetaTrader 5. This system generates signals based on the closing of a bar, particularly when there's a breakthrough of overbought or oversold levels. Each level is unique, with its own magic number and size for breakthroughs, allowing you to fine-tune your trading strategy.
input uint Magic1=555; // Magic number for standard signal orders input uint Magic2=777; // Magic number for strong signal orders input double MM1=0.1; // Deposit share for normal signal trades input double MM2=0.2; // Deposit share for strong signal trades
To ensure the EA operates smoothly, make sure you have the compiled XDeMarker_Histogram_Vol.ex5 indicator file saved in your <terminal_data_directory>\MQL5\Indicators folder.
The tests below utilized the default input parameters for the Expert Advisor, and it’s worth noting that Stop Loss and Take Profit settings were not applied during testing.

Fig. 1. Examples of trades on the chart
Here are the testing results for USDCHF on the H2 timeframe for the year 2017:
Fig. 2. Test results chart
Related Posts
- Creating an Expert Advisor for Dark Cloud Cover and Piercing Line Patterns with CCI Confirmation
- Harnessing MQL5 Wizard for Trading Signals: 3 Black Crows & 3 White Soldiers with MFI
- Creating a Stochastic-Based EA for Hammer and Hanging Man Patterns in MetaTrader 5
- Mastering the Moving Average EA for MetaTrader 5: A Trader's Guide
- Mastering Trading Signals with MQL5 Wizard: Bullish and Bearish Engulfing Strategies
