ออสซิลเลเตอร์ MomentumTrendZero Line มีใน Builder

TRIX

TRIX is the rate of change of an exponential average that has been applied three times. The triple smoothing removes most short-term movement before momentum is measured, so the line crosses zero rarely — which is the whole point of using it instead of a faster oscillator.

Default period
14
Signal level
Zero
Smoothing
EMA × 3
Zero — the trend turnTRIX(14) — rate of change of a triple-smoothed EMA

ภาพประกอบ — ข้อมูลสังเคราะห์ ไม่ใช่ราคาจริง

What TRIX tells you

TRIX answers whether a heavily smoothed version of price is still speeding up. An EMA is applied to price, then to that result, then again — by the third pass almost every short swing has been averaged away. TRIX then measures how fast what remains is changing. Above zero the smoothed trend is rising; below zero it is falling. Because the input is so smooth, the sign changes only a handful of times in a long stretch of chart.

  • Above zero: the triple-smoothed average is climbing
  • Crossing zero: the smoothed trend has turned
  • The value's magnitude is instrument-dependent — only the sign and the shape transfer
  1. 1 Apply an EMA to the closing price
  2. 2 Apply the same EMA twice more to its own output
  3. 3 Measure the bar-to-bar rate of change of the result
แสดงสูตรและรายละเอียดการคำนวณ

TRIX is built by smoothing, three times over, and then asking how fast the result is moving:

  1. E1 = EMA(close, n)
  2. E2 = EMA(E1, n)
  3. E3 = EMA(E2, n)
  4. TRIX = (E3 − E3[1]) / E3[1]

The first three steps are the indicator’s whole idea. A single EMA still follows most of the swings in price; a second pass removes a good deal of what is left; by the third almost nothing but sustained direction survives. Only then is momentum measured, which is why TRIX responds to trend changes and largely ignores the movement around them.

In MQL5 the call is iTriX(symbol, period, applied_price). There is one buffer and no signal line — if a strategy refers to “TRIX crossing its signal”, it was written for a platform whose version draws a second, separately smoothed line that MetaTrader’s does not include.

Two things follow from the construction. First, the lag compounds: TRIX(14) is far slower than an EMA(14), because the period is applied three times in series. That is a deliberate trade and the reason the indicator normally lives on H4 and daily charts. Second, the scale is not portable — TRIX is a rate of change on a smoothed price, so its magnitude carries the instrument’s units and the timeframe’s. Zero is the only level that means the same thing on every chart, and it is the only one the Builder’s template uses.

The practical consequence is that TRIX signals are rare. Over a year of hourly data a zero cross might fire a couple of dozen times where a MACD crossover fires hundreds. If that seems too quiet, the honest response is a shorter period or a different indicator — not extra conditions bolted on to manufacture entries in between. The reason to reach for TRIX in the first place is that it stays silent through the chop where a faster oscillator does most of its losing.

สัญญาณ

สัญญาณที่ backtest ได้ของ TRIX — และสภาวะตลาดที่เหมาะสมกับแต่ละสัญญาณ

Zero-Line Cross

พร้อมใช้ใน Builder
เงื่อนไข
TRIX changes sign
สภาวะที่ดีที่สุด
Trending
การใช้งานทั่วไป
Enter a trend change that has survived three rounds of smoothing

Slope While Above Zero

พร้อมใช้ใน Builder
เงื่อนไข
TRIX is above zero and rising against its own earlier value
สภาวะที่ดีที่สุด
Trending
การใช้งานทั่วไป
Stay with a trend that is still accelerating

Failed Cross

พร้อมใช้ใน Builder
เงื่อนไข
TRIX approaches zero and turns back without crossing
สภาวะที่ดีที่สุด
Trend continuation
การใช้งานทั่วไป
Read a pullback that did not become a reversal

Divergence from Price

ตรรกะขั้นสูง
เงื่อนไข
Price makes a new extreme, TRIX does not
สภาวะที่ดีที่สุด
Trend exhaustion
การใช้งานทั่วไป
A discretionary warning that the smoothed trend is flattening

การทำงานจริงใน MT5

สิ่งที่ MetaTrader 5 คำนวณและวาดจริง — เกณฑ์อ้างอิงของทุกกฎในหน้านี้

บัฟเฟอร์

ดัชนี บัฟเฟอร์ MT5 วาดเป็น เก็บค่าอะไร
0 MAIN_LINE Line The rate of change of the triple-smoothed EMA. One buffer, drawn as a line around zero. MT5's TRIX has no signal line — a second line over a TRIX chart is a separate indicator someone added.

ข้อสังเกตของแพลตฟอร์ม

ทำงานได้ดีที่สุด / ใช้อย่างระมัดระวัง

ไม่มีอินดิเคเตอร์ใดที่ได้เปรียบในทุกสภาวะ นี่คือจุดที่ TRIX ช่วยได้ — และจุดที่มันทำให้เข้าใจผิด

ทำงานได้ดีที่สุด

  • Higher timeframes, where its slowness costs less
  • Trending instruments held for days rather than hours
  • As the entry trigger with a longer average deciding direction
  • Situations where fewer, later signals are preferable to more, earlier ones

ใช้อย่างระมัดระวัง

  • Ranging markets — a late signal in a range is the worst of both
  • Short timeframes, where the lag can exceed the move
  • Any fixed threshold on the value
  • Expecting it to call tops and bottoms; it confirms, it does not predict

สร้างกลยุทธ์ TRIX

เชื่อมสัญญาณเข้ากับกฎการเปิดและปิดออเดอร์ จากนั้นส่งออก EA MT5 ที่คอมไพล์ได้ — ไม่ต้องเขียนโค้ด

  1. TRIX read at the current bar
  2. A Constant of 0 to cross against
  3. TRIX crosses above zero → the long trigger
  4. EMA(200) and current price into a Compare — price above it allows longs
  5. Both true → Open Buy · SL 60 / TP 180
  6. Stop then trails to the most recent confirmed fractal

รวม TRIX กับอินดิเคเตอร์อื่น

อินดิเคเตอร์เดี่ยวแทบไม่เพียงพอ การจับคู่เหล่านี้ครอบคลุมจุดบอดของ TRIX

TRIX + Moving Average

  1. Price above the EMA(200)
  2. TRIX crosses above zero
  3. Buy
เหตุผล
TRIX says when the smoothed trend turned but not whether that turn is with or against the larger move; a long average supplies the side, so a zero cross is only taken in one direction at a time
สภาวะที่ดีที่สุด
Trending
สร้างกลยุทธ์นี้ →

TRIX + ADX

  1. ADX above 25
  2. TRIX crosses above zero
  3. Buy
เหตุผล
A late signal is most expensive in a range, which is exactly where a trend-strength gauge earns its place — require ADX to confirm a trend before acting on the cross
สภาวะที่ดีที่สุด
Trending

No single-flow template pairs TRIX with ADX. Start from TRIX Zero Cross + EMA200 and add an ADX node with a Compare at 25, the same filter the Parabolic SAR template uses.

เปิด Builder →

TRIX + MACD

  1. MACD's MAIN above SIGNAL
  2. TRIX above zero
  3. Buy
เหตุผล
Read two momentum constructions with opposite temperaments — MACD turns early and often, TRIX turns late and rarely, so requiring both is a way of asking for an early signal that has since been confirmed
สภาวะที่ดีที่สุด
Trending

No single-flow template pairs TRIX with MACD. Start from TRIX Zero Cross + EMA200 and add two MACD nodes (Main and Signal) with a Compare between them.

เปิด Builder →

พารามิเตอร์

ค่าเริ่มต้นสำหรับตรวจสอบบนคู่และกรอบเวลาของคุณเอง — ไม่ใช่การตั้งค่าที่รับประกัน

พารามิเตอร์ ค่าเริ่มต้น ช่วงที่แนะนำให้ทดสอบ หน้าที่
Period 14 9–30 The length used for all three averages. Because the smoothing compounds, raising this has a much stronger effect than on a single EMA — a period of 20 here is far slower than a 20-period EMA. Shorter periods restore some responsiveness at the cost of the noise rejection that is the reason to use TRIX at all.
Applied price PRICE_CLOSE Close, Open, High, Low, Median, Typical, Weighted Which series feeds the first average. It really is an argument to iTriX and the Builder passes it through as an EA input. Median or Typical make the input slightly less jumpy before the smoothing even starts.
Shift 0 0–30 Which bar back the node reads the buffer from. Two TRIX nodes at different shifts is how a rule expresses 'still rising', since the indicator publishes no signal line to compare against.

ค่าตั้งต้นเริ่มต้น

Faster 9 More zero crosses; some of the noise comes back
Standard 14 MT5's default, and the template's
Regime 25 Very few crosses, each describing a large move

ตัวอย่างในตลาด

ที่ TRIX ทำงานได้ ที่มันล้มเหลว และตัวกรองเปลี่ยนผลลัพธ์อย่างไร

ทำงานได้

A turn that survives the smoothing

TRIX crosses zero while price is already above the EMA(200). The move that follows lasts long enough for the fractal trail to ratchet the stop up several times.

ล้มเหลว

A cross against the larger trend

TRIX turns up but price is below the EMA(200). Taken on its own the signal is a counter-trend entry into a falling market — the filter is what stops it.

ถูกกรอง

The quiet stretch produces nothing

Weeks of range-bound chop pass without a single zero cross. A faster oscillator would have signalled repeatedly here; TRIX's silence is the intended behaviour.

FAQ

What does the 'triple' in TRIX mean?
An exponential moving average is applied to the closing price, then the same EMA is applied to that result, and then once more to that. TRIX is the rate of change of the third output. Each pass removes more short-term movement, so by the third the line responds only to sustained changes in direction.
Is TRIX just a slower MACD?
They are related but not the same. MACD is the difference between two averages of different lengths; TRIX is the rate of change of one average smoothed three times. MACD reacts to the gap between fast and slow opening up, TRIX to the smoothed trend itself accelerating. In practice MACD turns earlier and more often, which is why the two are sometimes used together — an early signal that TRIX later confirms.
Why does my TRIX barely move?
Because it is working as designed. Triple smoothing at period 14 removes most of what a shorter oscillator responds to, and the resulting values are small in absolute terms — often four or five decimal places on a currency pair. The chart auto-scales so the shape is visible; the number itself is not meant to be read against a fixed level.
What period should I use?
14 is MT5's default and the sensible starting point. Remember that the smoothing compounds, so raising the period slows the indicator much faster than the same change would on a single EMA — 25 is already a regime-level setting. Whatever you choose, re-validate it on your pair and timeframe rather than carrying a number across from another market.
Can I build a TRIX EA without coding?
Yes. The TRIX Zero Cross + EMA200 template crosses TRIX against a Constant of 0 for the trigger, uses an EMA(200) compared against price to decide which side is allowed, and trails the stop to the most recent confirmed fractal. The period, the applied price, the EMA length and the fractal lookback are all EA inputs.
How should I validate settings before going live?
Backtest on quality tick data, then run on a demo account before risking money. Because TRIX signals are rare, a backtest over a short window may contain only a handful of trades — that is far too few to conclude anything, so use a long period and check how many entries actually occurred before reading the profit figure. Hold back data the search never saw.