
Session scalping on major pairs
During the London and New York overlap, scalpers take only flips that agree with the H1 colour and close at a fixed 1:1.5 reward. Quiet Asian hours are skipped to avoid chop.
XHMaster Formula Indicator is a technical analysis tool designed to help traders interpret market trends, identify potential trading signals, and evaluate price movements through indicator-based chart analysis.
Simulated price feed generated in your browser — a visual demonstration of how signals print, not live market data.

The XHMaster Formula indicator is a custom MetaTrader 4 indicator that turns raw price movement into a single green-or-red trend reading. Instead of asking you to interpret three separate oscillators, it combines smoothed moving averages, a momentum filter and a money-flow style pressure check into one line that changes colour when the balance between buyers and sellers shifts.
Traders use it to answer two practical questions: which side of the market should I be on, and is now a sensible moment to act. Green favours long positions, red favours shorts, and the bar where the colour flips is the trigger most strategies are built around. It runs on currency pairs, metals, indices and CFDs, on every chart timeframe from one minute to monthly.
Every component of the XHMaster Formula indicator serves the same purpose: show trend direction and timing with as little visual clutter as possible.
The main line turns green or red at the bar where smoothed momentum crosses its baseline. One rule, easy to read in a second, consistent on every chart.

Double smoothing absorbs single-candle spikes, so the line holds its colour through ordinary pullbacks instead of flipping on every wick.
A volume-weighted pressure check, similar to the Money Flow Index, blocks signals when price moves without participation.
Alerts fire when a new colour prints, so you can step away from the screen and get notified on the MT4 mobile app.
Works from M1 scalping charts to weekly swing charts on forex, gold, oil, indices and crypto CFDs.
Period and smoothing inputs let you choose between a fast line for intraday work and a slower, steadier line for position trades.
Bar height shows how far momentum has moved from neutral, helping you tell a fresh trend from an exhausted one.
The XHMaster Formula indicator processes each closed bar through the same pipeline. Understanding it tells you exactly when to trust a signal and when to wait.
Each bar is reduced to its typical price, (High + Low + Close) ÷ 3, which reflects the whole candle instead of just the close.
Two layered moving averages strip out tick noise while keeping turning points close to where they actually happen.
A money-flow reading above or below neutral confirms that volume supports the move before any colour change is allowed.
When the fast curve crosses the baseline with confirmation, the line changes colour, an arrow prints and alerts fire.

| Pair | Signals | Target first | Avg bars |
|---|
No installer, no registry changes: MT4 indicators are single files that live inside your terminal's data folder.
Unzip the package to your desktop and locate the indicator file, normally XHMaster Formula.ex4 or its .mq4 source.
In MT4 choose File › Open Data Folder, then open MQL4 › Indicators.
Paste the indicator file into the Indicators folder. If the package includes a .tpl template, place it in the templates folder.
Right-click Indicators in the Navigator panel (Ctrl+N) and choose Refresh, or restart the terminal.
Drag the indicator onto a chart, set your inputs and alert options on the Inputs tab, then click OK.
Right-click the chart › Template › Save Template so you can apply the full setup to any symbol in one click.

The same colour logic adapts to very different trading styles. These are the four setups traders build around it most often.

During the London and New York overlap, scalpers take only flips that agree with the H1 colour and close at a fixed 1:1.5 reward. Quiet Asian hours are skipped to avoid chop.

Swing traders enter on the first H4 colour change after a daily trend is established and trail the stop behind each new swing until the line flips against them.

XAUUSD trends hard once it moves. A slower sensitivity setting filters gold's sharp intraday spikes and keeps the trader in the main leg rather than the noise.

Rather than trading the release candle, traders wait for the first confirmed colour after a high-impact event and join the direction the market chose.

The package is delivered as a ZIP archive from a public GitHub repository, so you can see exactly what you are downloading before you open it.
Scan the archive before extracting, and read the safety checklist below. Test any new indicator on a demo account first.
The original indicator is an MT4 file. Versions for other platforms exist, but each one is its own piece of code with its own quirks.

| Platform | Runs the original? | What you need | Notes |
|---|---|---|---|
| MetaTrader 4 (Windows) | Yes — native | .ex4 or .mq4 file | Full alerts, templates and iCustom() access for EAs |
| MetaTrader 5 | No | Separate .ex5 build | Logic must be rewritten in MQL5; re-test signals |
| TradingView | No | Pine Script recreation | Community versions approximate the colour logic |
| macOS | Yes — via MT4 wrapper | Broker's Mac MT4 build | Uses a compatibility layer; performance varies |
| MT4 mobile apps | No | Desktop or VPS + push | Receive alerts on the phone; signals calculate on the desktop |
| Tool | Main job | Lag | Uses volume | Best paired with |
|---|---|---|---|---|
| XHMaster Formula indicator | Trend direction + timing | Low–medium | Yes (money-flow gate) | Support/resistance, higher-timeframe bias |
| MACD | Momentum shifts | Medium | No | Trend filter such as a 200 EMA |
| RSI | Overbought / oversold | Low | No | Range-bound markets |
| Money Flow Index | Volume-weighted pressure | Low | Yes | Divergence spotting |
| Supertrend | Trailing trend stop | Medium–high | No | Exit management |
Nearly every issue shows up as a message in the Experts or Journal tab of the MT4 Terminal window (Ctrl+T). Check there first.

The file is in the wrong folder. Make sure it sits in MQL4/Indicators of the data folder opened from MT4 itself, not in Program Files, then refresh the Navigator.
The .ex4 was compiled for an older MT4 build or is damaged. Use the .mq4 source if provided and compile it in MetaEditor (F7), or get a build made for current terminals.
That build repaints the live bar. Act only on signals that remain after the candle closes and confirm behaviour in Strategy Tester visual mode.
Enable alerts in the indicator inputs, and for push notifications set your MetaQuotes ID under Tools › Options › Notifications.
Not enough history loaded. Scroll the chart back or raise Max bars in chart under Tools › Options › Charts, then reattach.
Some security tools flag unknown compiled files. Scan the archive, prefer source code you can read, and only whitelist files you have verified.
The indicator itself uses very few resources. The requirements below are really those of a comfortable MetaTrader 4 setup.


Indicator files circulate widely in trading forums. A few habits keep a free download from becoming an expensive mistake.
The XHMaster Formula indicator is a useful tool with clear limits. Knowing both sides is what lets you use it well.
Short, direct answers about how the XHMaster Formula indicator behaves, where it runs and what it can and cannot do for your trading.
It draws a smoothed trend line in a separate window or on the price chart that turns green when buying pressure dominates and red when selling pressure takes over, along with optional arrows and a histogram that measures how strong the current swing is. A colour change is the core signal; the arrows and alerts simply make that change harder to miss.
It depends on the build you have. Many copies circulating online recalculate the most recent bars while a candle is still open, so an arrow can appear and later vanish. Run it in the Strategy Tester in visual mode and compare closed-bar signals with what you saw live. Trading only on signals confirmed at candle close removes most of the problem.
Not directly. MT4 indicators are compiled as .ex4 files and MT5 only loads .ex5 files. You need an MT5-specific version or a rewrite in MQL5. The original logic is simple enough that several MT5 ports exist, but treat each one as a separate tool and test it again.
TradingView does not run MetaTrader files. What you find there are community scripts written in Pine Script that recreate the idea with moving averages and momentum filters. They can be close in behaviour, but they are recreations, so their signals will not match an MT4 chart bar for bar.
No. The MT4 and MT5 apps for Android and iOS do not load custom indicators. You can install it on a Windows PC or a VPS, and set it to send push notifications to the mobile app when a new signal prints.
Higher timeframes produce fewer and cleaner flips. H1 and H4 suit most traders; M5 and M15 work for scalping, but they produce more false flips in quiet sessions. A common approach is to take the trend direction from H4 and time entries on H1 or M15.
Yes, it calculates on any symbol your broker offers, including XAUUSD, US30 and BTCUSD. Because these instruments move more than major currency pairs, widen stop distances and check the signal frequency on each instrument before trading it.
The download link points to a ZIP archive hosted on GitHub. Scan any archive with your antivirus before extracting it, avoid running executables bundled with indicator files, and never enable DLL imports for an indicator unless you know exactly why it needs them.
Yes. An EA can read the indicator's buffers with the iCustom() function once you know which buffer holds the buy and sell values. Open the Data Window (Ctrl+D) while hovering over signal bars to see which buffer changes.
No indicator can promise that. It organises price information into a clearer trend picture, but results depend on risk management, trade selection and discipline. Forward-test on a demo account for several weeks before you commit real money.