A triangular moving average turns smoothly, so its slope changes are clear. The TMA slope true scalper indicator draws a 12-bar TMA with bands 1.6 average ranges away and marks the bar where the slope flips. An optional rule only allows marks when price sits beyond a band.
This build ships as a compiled .ex4 for MT4 and .ex5 for MT5; the screenshots below come from EURUSD H1.
| Platforms | MT4 (.ex4) + MT5 (.ex5) |
|---|---|
| Chart window | Main price chart |
| Plots | 5: TMA, TMA Upper, TMA Lower, Buy, Sell |
| Alerts | popup, push notification, email, sound |
| Inputs | 12 |
Which plots exist
A line, two bands and two marks on price.
`TMA` runs medium spring green at width 2.
`TMA Upper` and `TMA Lower` run steel blue.
`Buy` prints lime at a slope turn up.
`Sell` prints red at a slope turn down.
`ArrowGapPts` `8` sets the mark gap.
- TMA: line, medium spring green, width 2
- TMA Upper: line, steel blue
- TMA Lower: line, steel blue
- Buy: arrow, lime, width 2, arrow code 233
- Sell: arrow, red, width 2, arrow code 234

What the file computes
Triangular average
`TmaPeriod` `12` averages closes, then averages that result again, giving a smooth line.
Bands
`BandMult` `1.6` times an `AtrPeriod` `14` range sits above and below the TMA.
Slope turn
A buy prints when the TMA rises after falling. `RequireBand` ships `false`; on, the close must also sit at or below the lower band.
What it is telling you
Green line rising means upward slope.
Marks show the first bar of a new slope.
Bands show how stretched price is.
`SignalCool` `3` spaces same-side marks.
Turns come after the price turn.
Warm-up needs about forty bars.
Alert channels in this build: popup, push notification, email and sound, one message per closed bar.
Slope turns report once per closed bar. `EnableAlerts` controls them, and only popups are enabled when the file is first loaded.
Every TMA Slope True Scalper Indicator input
Core settings
| Setting | What it does | Default |
|---|---|---|
TmaPeriod |
TMA period (each SMA pass). Length of each averaging pass, `12`. | 12 |
AtrPeriod |
ATR period for the band. Range window, `14`. | 14 |
BandMult |
Band width = BandMult * ATR. Band width in ranges, `1.6`. | 1.6 |
SignalCool |
Min bars between same-side signals. Bars between same-side marks, `3`. | 3 |
RequireBand |
Require price outside band to fire. Demand price beyond a band, `false`. | off |
Display settings
| Setting | What it does | Default |
|---|---|---|
ArrowGapPts |
Arrow offset from bar (points). Mark gap in points, `8`. | 8 |
Alert settings
| Setting | What it does | Default |
|---|---|---|
EnableAlerts |
Master alert switch, `true`. | on |
EnablePopup |
Popup, `true`. | on |
EnablePushNotify |
Phone route, `false`. | off |
EnableEmail |
(see inputs panel) | off |
EnableSound |
Speaker, `false`. | off |
SoundFile |
(see inputs panel) | alert.wav |

Where it earns its keep
A 12-bar TMA suits M5 to H1 scalping. The hourly EURUSD screenshot shows a slope turn most days. On M5 turns come each session, while on H4 they track swings.
Limits worth knowing
Slope turns lag the price turn.
Without the band rule, marks come in ranges too.
Smoothing hides fast reversals.
Popups are the only messages until you add routes.
Copy the compiled TMA Slope True Scalper Indicator file into your MQL4/Indicators folder, and the MT5 build into MQL5/Indicators, then restart the terminal and drag it onto a chart. The step-by-step guide with screenshots is at how to install MT4 and MT5 indicators.
Download the TMA Slope True Scalper Indicator for MT4 and MT5
The zip holds the compiled TMA Slope True Scalper Indicator build for MT4 and MT5, plus a short README. Compiled files only, no source. Enter your email below and the download link arrives in your inbox.
Download this indicator free
Enter your email and the file is yours. You also get the full MT4 and MT5 library.
FAQ
How does RequireBand filter TMA slope turns?
It keeps only buy turns that happen with the close at or below the lower band, and sell turns at or above the upper band. Marks become rare, but each one comes from a stretched price.
How does TmaPeriod 12 build the line?
It takes a twelve-bar simple average of closes, then averages twelve of those. The double pass gives a smooth line whose slope changes are clear and easy to spot.
Why is this TMA Slope scalper non repaint?
It uses a backward-only triangular average and judges slopes on closed bars. Centred TMA versions redraw their recent values; this one never looks at future bars.
What does SignalCool 3 prevent?
A second mark on the same side within three bars. Flat stretches can wobble the slope back and forth, and the cooldown keeps one mark per real turn.
Are results guaranteed?
No. Trading involves risk. Results are not guaranteed; past performance is not indicative of future results. Use the TMA Slope True Scalper Indicator as one input. Always backtest before trading live.
Category: this is part of our Signal and Forecast collection. Browse more Signal and Forecast for MetaTrader, or explore every MT4 indicator and MT5 indicator on the site.
External references
- Learn more about the underlying method in Eurocurrency on Wikipedia.
- For wider market background, see Point And Figure Charts at StockCharts ChartSchool.
