THV Trix V6.01 Indicator for MT4 and MT5

Written by Dominic Walsh · Published · Last updated

TRIX measures how fast a triple-smoothed average is changing, which filters out most short noise. The THV trix v6.01 indicator runs three 9-bar exponential passes over price, measures the change of the last one, and draws it with a 5-bar signal line and a histogram of the gap. Signal crosses get marks.

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 Separate window (levels 0)
Plots 5: THV Trix, Signal, Slope, Trix Buy, Trix Sell
Alerts popup, push notification, email, sound
Inputs 12

What appears, and in which colour

Two lines, a histogram and marks in a pane.

`THV Trix` runs dodger blue at width 2.

`Signal` runs orange.

`Slope` fills slate gray for the gap.

`Trix Buy` sits just under the line in lime.

`Trix Sell` sits just over it in red.

  • THV Trix: line, dodger blue, width 2
  • Signal: line, orange, width 1
  • Slope: histogram, slate gray, width 1
  • Trix Buy: arrow, lime, width 2, arrow code 233
  • Trix Sell: arrow, red, width 2, arrow code 234
thv trix v6.01 indicator: THV Trix pane with signal crosses, EURUSD H1.
THV Trix pane with signal crosses, EURUSD H1.

From bar to value

Triple smoothing

`TrixPeriod` `9` sets each of three exponential passes over `AppliedPrice` `PRICE_CLOSE`.

Rate of change

The build takes the change of the third pass from one bar to the next and multiplies it by `ScaleFactor` `10000.0` for readable values.

Signal

`SignalPeriod` `5` smooths TRIX again. A cross up prints a buy, and `SignalCooldown` `2` spaces same-side marks.

What the plots are telling you

Above zero means the smoothed trend is rising.

Below zero, by contrast, means it is falling.

Slope bars, meanwhile, show TRIX minus signal.

Marks also sit `ArrowOffset` `3.0` units from the line.

However, crosses near zero are the weakest.

Warm-up needs about thirty bars.

Alert channels in this build: popup, push notification, email and sound, one message per closed bar.

Signal crosses raise one popup each through `EnableAlerts`; the phone, email and speaker routes begin off.

Every THV Trix V6.01 Indicator input

Core settings

Setting What it does Default
TrixPeriod TRIX EMA length (each of 3 passes). Length of each smoothing pass, `9`. 9
SignalPeriod Signal EMA length. Signal smoothing, `5`. 5
AppliedPrice Applied price. Price fed in, `PRICE_CLOSE`. PRICE_CLOSE
ScaleFactor Visual scale (forex-safe). Display multiplier, `10000.0`. 10000.0
SignalCooldown Bars between same-side arrows. Bars between same-side marks, `2`. 2

Display settings

Setting What it does Default
ArrowOffset Arrow gap (scaled units). Mark gap in pane units, `3.0`. 3.0

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
thv trix v6.01 indicator: Inputs panel, TRIX lengths above the display scale.
Inputs panel, TRIX lengths above the display scale.

Settings that fit your chart

Triple smoothing suits hourly and four-hour charts. On the hourly EURUSD screenshot, crosses come a few times a week. On M15 they come daily, and on D1 they track swings of several weeks.

When to distrust it

Three passes add noticeable lag.

Signal crosses near zero whipsaw.

The scale factor only changes the display.

Only popup delivery is on at first.

Copy the compiled THV Trix V6.01 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 THV Trix V6.01 Indicator for MT4 and MT5

The zip holds the compiled THV Trix V6.01 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.

  • 1,380+ indicators
  • MT4 and MT5 files
  • No spam, unsubscribe any time

FAQ

What does TrixPeriod 9 smooth three times?

The closing price. Each pass is a nine-bar exponential average of the pass before, so short spikes are almost gone by the third pass, leaving the underlying trend.

Why multiply by ScaleFactor 10000.0?

The raw rate of change on forex is a tiny fraction of a percent. Multiplying by ten thousand gives readable values on the pane without changing where any cross happens.

When does a Trix Buy print?

On the bar where TRIX moves from at or below its five-bar signal to above it. `SignalCooldown` then blocks another buy for two bars, so one turn gives one mark.

What do the Slope bars show?

TRIX minus its signal line, bar by bar. Bars above zero mean TRIX leads its signal, which usually comes just before a cross up is confirmed on the pane.

Are results guaranteed?

No. Trading involves risk. Results are not guaranteed; past performance is not indicative of future results. Use the THV Trix V6.01 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

Dominic Walsh - Forex trader and MT4/MT5 developer

About the author

Written by Dominic Walsh, a Forex trader and MT4/MT5 indicator, Expert Advisor and script developer. Every tool on forexmt4systems.com is tested on live charts before release and ships with ready-to-use compiled MT4 (.ex4) and MT5 (.ex5) files. Learn more about the trader and developer behind this site.

How we build, test and correct every tool: Editorial & Testing Policy. Trading carries risk; see the disclaimer.

Leave a Comment