XPMA TT — Trend Trading Indicator (MT4)
XPMA TT is a trend‑following moving average suite that adapts to volatility and slope. It paints clear color states, highlights pullbacks to the mean, and supports alerts and optional arrows/filters in MetaTrader 4.
What it shows
- XPMA (extended/smoothed MA) that stabilizes in chop and accelerates in trends.
- Color/slope logic to mark bull vs bear phases and flip points.
- (Optional) bands/offsets to frame pullbacks and mean‑revert tags.
- Alerts — color flip, slope change, touch of band/MA, (if available) arrows.
Trade ideas
- Trend + pullback: trade in color direction on the first pullback to XPMA/band; exit on color flip.
- Break‑and‑retest: after a flip, wait for price to retest XPMA and continue.
- Range fade (if flat slope): fade outer band touches back to the MA with structure confirmation.
- (Optional) MTF bias: only act when higher‑TF XPMA has the same color.
Inputs that matter
- XPMA length and smoothing type — responsiveness vs stability.
- Band offset (if present) — room for pullbacks.
- Color/slope thresholds — sensitivity of flips.
- Alerts — flip, touches, slope.
Suggested usage
- M5–M15: pullbacks in the active color.
- M30–H4: break‑and‑retest, trend adds.
- Daily+: regime map and trailing bias.
Installation (MT4)
- Open MetaTrader 4 → File → Open Data Folder.
- Copy
xpma-tt-indicator.ex4
to MQL4/Indicators. - Restart MT4 (or refresh Navigator) and attach XPMA TT.
- Tweak inputs → OK.
FAQ
Does it repaint? No on closed bars.
Use in EAs? Yes, via iCustom
.
Markets? FX, indices, metals, crypto — anything on MT4.
Disclaimer: Test on a demo account first; risk management is essential.