Xmaster Formula (XHMaster) Indicator – Free Download – MT4/MT5 Resource
The Xmaster Formula Indicator (also known as the XHMaster Formula Indicator) is a multi-confluence trend reversal system that combines EMA, MACD, RSI, Stochastic Oscillator and Parabolic SAR into a clean oscillator with clear buy/sell signals. Available for MT4, MT5 and TradingView — completely free. This is the most comprehensive online guide to Xmaster Formula, covering how it works, best settings, trading strategies and step-by-step installation.
Table of Contents
What is the Xmaster formula indicator?
The Xmaster Formula Indicator is a custom Forex technical analysis tool originally developed for MetaTrader 4 in the late 2010s. It is designed to identify potential trend reversals in the Forex market by analyzing multiple price patterns simultaneously. Unlike single-indicator systems, the Xmaster formula combines five proven technical indicators (Exponential Moving Average (EMA), MACD, RSI, Stochastic Oscillator, and Parabolic SAR) into a unified oscillator, displayed in a separate chart pane.
The output is intentionally simplified: traders see clear buy or sell arrow signals as well as colored dots indicating the direction of the bullish or bearish trend. This makes it accessible to both beginners learning their first indicator and experienced traders looking for a confluence confirmation tool.
Note: The Xmaster formula indicator is also widely known as "XHMaster formula indicator" or "XHmaster formula indicator". All three names (Xmaster, XHMaster and XHmaster) refer to the exact same indicator. We use "Xmaster Formula" in this guide, but if you search for "XHMaster Formula Indicator" you're in the right place.
The indicator is now available on three platforms:
TradingView — an open source version of Pine Script with enhanced features
MetaTrader 4 (MT4) — original version
MetaTrader 5 (MT5) — adapting to the new platform
History of the Xmaster (XHMaster) formula indicator
The Xmaster Formula Indicator has evolved significantly since its initial release. Here is a timeline of its development:
Early 2010s — Origins: The Xmaster formula was originally developed by independent Forex developers as a custom MT4 indicator. It has gained a cult following on trading forums such as ForexFactory and Forex-TSD because it combines multiple indicators into a single, clean visual output. At this stage it is a simple EMA-based oscillator with a basic color-coded signal.
2018-2019 – Growing popularity: As the indicator was shared widely on Forex forums, it became one of the most downloaded custom indicators on MT4. During this time, the alternative spelling "XHMaster" began to appear, possibly due to changes in search engine autocomplete. Both names are stuck.
2020–2021 — Advanced mode added: The developers enhanced the indicator by adding an advanced (hybrid) mode that integrates RSI, MACD, Stochastic and Parabolic SAR as confluence filters. This significantly reduces false signals compared to the original standard mode.
2022–2023 — MT5 Extension: Xmaster Formula is ported to MetaTrader 5, taking advantage of the new platform’s faster processing capabilities. Adjustable sensitivity settings have also been introduced, allowing traders to customize the indicator for scalping, day trading or swing trading.
2024–2026 — TradingView Release and No-Redraw Guarantee: Open source Pine script version released on TradingView with strict no-redraw architecture, built-in alerts, and real-time information panels. This is the most feature-rich version of Xmaster Formula available today.
From simple MT4 scripts to multi-platform trading tools, the Xmaster (XHMaster) formula has always been popular because of one thing: it simplifies complex analysis into clear, actionable signals.
How does the Xmaster formula indicator work?
The Xmaster formula indicator works by combining five classic technical indicators into one decision-making engine. Each indicator provides specific information about current market conditions, and the Xmaster formula synthesizes them into an actionable signal. Whether you call it Xmaster or XHMaster, the underlying logic is the same for all versions.
5 indicators in the Xmaster formula
1. Exponential Moving Average (EMA)
Three EMAs are used - short-term (10 periods), medium-term (20 periods) and long-term (38 periods) - to track price momentum over different time frames. The difference between the short-term and long-term EMA is normalized to create the 0-100 oscillatory line you see on the chart. EMA is preferred over SMA (Simple Moving Average) because it puts more emphasis on recent price data, making it more sensitive to current market conditions.
2. MACD (Moving Average Convergence Divergence)
The MACD histogram determines trend strength and direction. When the histogram is positive, it indicates bullish momentum. When negative, there is bearish momentum. The default settings use a 12-period fast EMA, a 26-period slow EMA and a 9-period signal line.
3.RSI (relative strength index)
RSI identifies overbought and oversold conditions. In the Xmaster formula, an RSI below 30 confirms oversold conditions (potential buy zone), while an RSI above 70 confirms overbought conditions (potential sell zone). This helps filter out signals that arise during adverse market conditions.
4. Stochastic Oscillator
The Stochastic Oscillator, similar to the RSI but calculated differently, confirms momentum exhaustion. A reading below 20 signals oversold (buying potential), and a reading above 80 signals overbought (selling potential). The default period is 14.
5. Parabolic SAR (Stops and Reversals)
The Parabolic SAR identifies the trend direction and provides dynamic stop loss levels. When the SAR point is below the price, the trend is bullish. When above, the trend is bearish. This is the risk management component of the Xmaster formula and helps traders determine where to place stop-loss orders based on support and resistance.

Xmaster formula indicator signal pattern
The Xmaster formula indicator offers two different signal generation modes, each suitable for different trading styles.
Standard Mode
In standard mode, the indicator calculates the normalized difference between the short-term EMA (10 periods) and the long-term EMA (38 periods), scaling the result to the 0-100 range.
- BUY Signal: When the normalized value exceeds 55 and the oscillator line turns green
- SELL Signal: When the normalized value drops below 45 and the oscillator line turns red
- Neutral Zone: Values between 45-55 are shown in orange, indicating a transition period
Best for: Swing traders and position traders who want simple trend following signals with minimal lag time.
Advanced mode (recommended)
Advanced mode requires all four confluence indicators (MACD, RSI, Stochastic and Parabolic SAR) to adjust before generating a signal. This significantly reduces false positives compared to standard mode.
- BUY Signal: MACD histogram positive + RSI below 30 + Stochastic below 20 + SAR below price
- SELL Signal: MACD histogram negative + RSI above 70 + Stochastic above 80 + SAR above price
A signal triggers only when all indicators are consistent at the same time.
Best for: Day traders and scalpers need a high probability of entry and maximum confirmation before opening a position.
Download a range of indicators, courses and EAs for free
Is the Xmaster (XHMaster) formula indicator non-redrawable?
This is one of the most common questions asked by traders about the Xmaster formula indicator. The answer depends on the version:
- TradingView Version (ForexCracked): ✅ 100% no repainting required. Once the bar closes, the signal is locked and never changes.
- MT4/MT5 versions: The indicator is mostly not repainted on closed candles, but the signal on the current (active) candle may change until the candle is closed. This is standard behavior for any indicator running on active candles.
Best practice: Always wait for the candle to completely close before taking action on any Xmaster Formula signal. Never trade based on signals from current unfinished candles.
Best Time Frames for Xmaster Formula Indicator
The Xmaster formula indicator can be applied to any time frame from 1 minute charts to monthly charts. However, its underlying indicators (MACD, RSI, Stochastics) rely on historical price data, which means longer time frames produce more reliable signals .
Recommended: Start with H1 or H4 for the best balance between signal frequency and reliability. If you are a beginner, use the Daily (D1) timeframe where signals are most trusted.
Which markets and instruments are best suited for the Xmaster (XHMaster) formula?
The Xmaster formula indicator was originally designed for Forex trading, but it works across multiple asset classes. Here's how it performs in each area:
Forex (Best Performance)
The Xmaster formula performs best on major currency pairs such as EUR/USD, GBP/USD, USD/JPY and AUD/USD. These currency pairs have high liquidity and ongoing trends, which is what the EMA and MACD components of this indicator are optimized for. Avoid exotic currency pairs with low liquidity – the indicator will generate more false signals on these pairs.
Gold (XAU/USD)
Gold's strong trend behavior makes it a perfect fit for the Xmaster formula, especially on the H4 and D1 time frames. Many traders combine Xmaster formulas with gold EAs for automated gold trading.
Crypto (BTC, ETH)
The Xmaster formula can be used with cryptocurrencies, but be careful. The cryptocurrency market is significantly more volatile than the Forex market, which can increase false signals on shorter time frames. Use H4 or higher for encryption and always add a volume confirmation filter.
Stock index (US30, NAS100, S&P 500)
This indicator performs well for the index during market trend conditions. It's less reliable during earnings season or news-driven price swings.
Commodities (oil, silver)
Performance is average. Commodities often exhibit range-bound behavior, resulting in false Xmaster signals. Use advanced mode only when trading commodities.
Xmaster (XHMaster) Formula Accuracy - Expected Results
No indicator is 100% accurate, and Xmaster Formula is no exception. Based on actual testing on multiple currency pairs, traders can realistically expect the following results:
- Hit rate: Approximately 6 out of 9 signals are accurate (67% win rate)
- False positives: About three out of nine signals are incorrect
- Best performance: Major currency pairs on H4 and D1 timeframes
- Worst performance: Markets that are volatile and range-bound on shorter time frames
The Xmaster Formula Indicator should never be used as a standalone trading system. It performs best as a convergence confirmation tool —use it to verify signals from your primary trading strategy, rather than as your sole source of trade entries.
How to use Xmaster Formula Indicator - Trading Strategy
Step 1: Determine the direction of the trend
Take a look at the Xmaster formula oscillator:
- Green line above 55 = Bullish trend active
- Red line below 45 = Bearish trend active
- Orange line between 45-55 = transition zone (avoid trading)
Step 2: Wait for signal confirmation
In advanced mode, wait for all four indicators to align:
- Buy: MACD positive + RSI oversold + Stochastic oversold + SAR bullish
- Sell: MACD Negative + RSI Overbought + Stochastic Overbought + SAR Bearish
Step Three: Confirm Support and Resistance Levels
Before placing any trades, check the nearest support and resistance levels. If the buy signal is too close to strong resistance, consider waiting or setting a tighter take-profit level.
Step 4: Set Stop Loss Using Parabolic SAR
The Parabolic SAR point provides a natural stop loss level. Set your stop loss beyond the nearest directional indicator point.
Step 5: Manage Trade
Exit when:
- The oscillator lines change color (from green to red for buy transactions, from red to green for sell transactions)
- Opposite signals appear
- The oscillator crosses the 50 midline, corresponding to your position
Best indicator combined with Xmaster formula
While Xmaster Formula already combines five indicators internally, pairing it with other tools can significantly reduce false positives and improve accuracy.
1.Ichimoku Cloud
Ichimoku Cloud helps filter Xmaster formula signals by providing dynamic support/resistance levels:
- If Xmaster gives a buy signal but the price is lower than Kumo Cloud → Potential False Alert
- If Xmaster gives a buy signal and the price is above Kumo Cloud → Strong confirmation
2. Market Structure Breakthrough (MSB) / BOS & CHoCH
The Market Structural Breakout indicator confirms whether the trend has truly reversed at a structural level:
- Xmaster buy signal + bullish BOS = highest probability of entry
- Xmaster Buy Signal No Structural Breakout = Lower Confidence
3. 50/200 EMA filter
Add a 50-period or 200-period EMA to the main chart:
- Only issue a buy signal when price is above the 200 EMA
- Take a sell signal only if the price is below the 200 EMA
4. Volume or tick volume
Confirmation of Xmaster Formula signals by volume spikes - High volumes on signal candles increase confidence. For traders who want to explore the concept of smart money as well as the Xmaster formula, combining SMC order blocks with Xmaster signals can further increase accuracy.
How to backtest the Xmaster (XHMaster) formula indicator
Every trader should backtest the Xmaster formula against historical data before risking real money. Here's a step-by-step approach:
Step 1: Define the rules
Before backtesting, write down fixed rules:
- Entry: Enter at the close of the candle after confirming the Xmaster signal (not during the signal candle)
- Stop-Loss: Place at recent swing high/low or use 1.5× ATR
- Take-Profit: Minimum 1:2 risk-reward ratio, or exit with opposite Xmaster signal
- Filter: Get signals only when price is above/below 200 EMA (trend direction)
Step 2: Manual backtesting (MT4/MT5)
Open the strategy tester in MT4/MT5 or simply scroll backwards on the historical chart. For each Xmaster signal, record in the spreadsheet:
- Date and time
- Signal type (buy or sell)
- Entry price
- Stop-loss price
- Take-profit price
- Results (Win/Loss/Break Even)
Step 3: Automatic backtesting (TradingView)
If you are using the ForexCracked TradingView version, you can modify the Pine script to add a strategy() function for automated backtesting. This can give you instant results on years of data.
Step 4: Analyze Key Metrics
After making at least 50-100 trades in the backtest, evaluate:
- Win rate: should be above 55%
- Profit factor: should be above 1.5
- Maximum drawdown: Check your risk tolerance with the drawdown calculator
- Average R:R ratio: should be at least 1:1.5
If the results do not meet these benchmarks, adjust your settings (EMA period, RSI threshold) and retest. Never adopt a strategy that has not been backtested.
Xmaster formula indicator settings (MT4/MT5)
Moving average settings
MACD Settings
Stochastic Settings
RSI Settings

Xmaster Formulas for TradingView [New — 2026]
We have released an enhanced version of the Xmaster formula indicator for TradingView with features not available in the original MT4/MT5 version:
🔗 Xmaster Formula Indicator on TradingView — ForexCracked
TradingView version exclusive features:
- ✅Built -in Alert System – Set buy, sell or any signal alerts via pop-ups, emails, webhooks and mobile push notifications
- ✅ Live Info Panel — Live dashboard showing current patterns, MACD trends, RSI values and signal status
- ✅ Customizable Colors — change bullish, bearish and neutral colors
- ✅Adjustable Thresholds — Configure RSI and stochastic overbought/oversold levels directly from settings
- ✅ 100% Non-Repainting — signal is locked at bar close
- ✅Rolling Normalization — 200-bar rolling window allows for more stable oscillator readings (compared to all-time normalization in the MT4 version)
- ✅ Open Source — The complete Pine script code is available for viewing
How to install Xmaster formula indicator on MT4/MT5
MT4 installation – step by step:
- Download the Xmaster Formula indicator file (.ex4) from the download link below
- Open MetaTrader 4
- Go to file → open data folder
- Navigate to MQL4 → Indicators
- Copy the downloaded .ex4 file into this folder
- Restart MetaTrader 4 (or right click in the Navigator → Refresh)
- Find the "Xmaster Formula" navigator below → Indicators
- Drag it onto any chart
MT5 Installation:
Follow the same procedure, but use the MQL5 → Indicators folder instead. For a complete step-by-step guide with screenshots, see our MT4/MT5 installation guide.
TradingView installation:
- Access Xmaster formulas on TradingView
- Click the ★ Add to Favorites button
- Open any TradingView chart
- Click Indicators → Favorites → Select "Xmaster Formula Indicator [ForexCracked]"
Xmaster Formula Indicator – Advantages and Disadvantages
✓Pros
- Combine 5 validated indicators into one clean output
- Clear buy/sell signal arrows — easy to read
- Two modes: standard speed, advanced precision
- Available for all assets: Forex, Cryptocurrencies, Stocks, Indices, Commodities
- Free and available on MT4, MT5 and TradingView
- Customizable alert system on TradingView Edition
- Closed candles cannot be repainted
✗ Cons
- May produce false positives, especially on shorter time frames
- Should not be used as a stand-alone trading system
- Less effective in volatile sideways markets
- Signals can be redrawn on the current (active) candle in MT4/MT5
- Relying on historical data – grappling with newly launched tools
Xmaster formula indicator and other indicators
Important advice
- Minimum account balance: $500 or use a demo account - simulate your growth using the compound interest calculator
- Recommended broker: Use a broker with tight spreads – find the Forex broker that’s right for you
- Start with demo: Test Xmaster Formula on a demo account for at least 2 weeks before going online
- Recommended time range: H1 or H4 for best signal reliability
- Risk management: Never risk more than 1-2% of your account capital on a single trade - use the drawdown calculator to check your tolerance
- Combine with other tools: use support/resistance levels, trend lines or 200 EMA for confirmations
Please test in a demo account for at least a week first. Also, please familiarize yourself with and understand how the indicator works before using it on a real account.
Download Xmaster Formula Indicator
- MT5: Xmaster Formula MT5 Indicator Free Download
- TradingView: Open on TradingView
- Browse all indicators: Complete indicator collection
- Read More Xmaster Formula and Silver Trend Signals MT5 Forex Trading Strategy
FAQ
.ex4 file from and drag it to your MQL4/Indicators folder.Conclusion
The Xmaster formula indicator remains one of the most reliable multiple confluence trend reversal tools in Forex trading in 2026. By combining five proven technical indicators - EMA, MACD, RSI, Stochastic and Parabolic SAR - into one clean oscillator, it eliminates the confusion of running multiple indicator windows while providing actionable buy and sell signals.
Advanced mode requires all four sub-indicators to align before triggering a signal, providing a level of confirmation unmatched by most stand-alone indicators. Combined with proper risk management, proper timeframe selection (H4 or D1 recommended), and confirmation tools like the Ichimoku Cloud or Market Structure Breakout Indicator, the Xmaster formula is a powerful addition to any Forex trader's toolkit.
Always test on a demo account first. No indicator, no matter how sophisticated, can guarantee profits in the Forex market. The Xmaster formula is a tool, not a crystal ball.
Whether you found this guide by searching for "Xmaster Formula" or "XHMaster Formula Indicator," we hope this is the most complete resource available.
Xmaster-Formula-Indicator-MT4.zip
download💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •