TRIX Chart DivergenceTRIX Chart Divergence is based on one of my favorite oscillators.
The main feature of this indicator is that TRIX divergences are drawn not only in the oscillator pane, but also directly on the price chart.
This makes divergence much easier to read, especially for intraday trading and scalping. Instead of looking back and forth between price and the oscillator, you can immediately see where price made a new high or low and where TRIX failed to confirm that move.
For me, this is the most useful way to work with TRIX.
A bullish divergence appears when price makes a lower low, but TRIX does not confirm that move and forms a higher low. A bearish divergence appears when price makes a higher high, but TRIX does not confirm it and forms a lower high.
This type of divergence can warn about a possible correction or trend reversal. I especially like watching TRIX divergences on higher timeframes, because they can mark important exhaustion points. The indicator includes alerts for bullish and bearish divergences, so you can monitor multiple instruments and timeframes without watching every chart all the time.
I also use TRIX on the 1-minute gold chart for intraday trading. On lower timeframes, I use it together with my own setups, price action, levels and other confirmation tools.
TRIX is simple and clean. When the TRIX line crosses the signal line in the lower area, it can show a possible bullish momentum shift. When the cross appears in the upper area, it can show a possible bearish momentum shift. In this indicator, bullish and bearish TRIX crosses are marked with small green and red dots.
TRIX does not have fixed overbought and oversold levels like RSI or Stochastic. That is why I added adaptive range levels. These levels show where TRIX is trading compared to its recent range. When TRIX moves outside this adaptive range, it can highlight stronger momentum extremes.
The adaptive range levels are optional. You can use the indicator in the classic way without them, or keep them on as an additional visual guide.
Main features:
- TRIX and signal line
- Histogram
- Small green and red dots on TRIX crossovers
- Bullish and bearish TRIX divergences
- Divergence lines in the oscillator pane
- Optional divergence lines directly on the price chart
- Optional adaptive TRIX range levels
- Alerts for TRIX crosses and divergences
Settings:
TRIX Length / Signal Length
Controls the basic TRIX calculation and signal line. Lower values make the oscillator more sensitive. Higher values make it smoother.
Adaptive Range Levels
Optional dynamic levels that show where TRIX is trading compared to its recent range. They can help identify stronger momentum extremes. You can turn them off if you prefer the classic TRIX view.
Range Lookback Bars
Defines how many previous bars are used to calculate the adaptive range. A larger value makes the range smoother and more stable. A smaller value makes it react faster.
Range Smoothing
Smooths the adaptive range levels.
TRIX Pivot Sensitivity
Controls how sensitive divergence detection is. Lower values find more divergences. Higher values show fewer but cleaner divergences.
Price Search Radius
Allows the script to search around the TRIX pivot and find the closest price high or low for drawing the divergence line.
Max Bars Between Points
Defines the maximum distance between two TRIX pivot points used for divergence detection.
Draw divergence line on TRIX
Shows the divergence line in the oscillator pane.
Draw divergence line on price chart
Shows the same divergence directly on the price chart.
Important:
This indicator is not a standalone trading system.
TRIX crosses and divergences are designed to help identify momentum shifts, exhaustion points and possible correction zones.
For best results, use it together with price action, support and resistance, trend structure, higher timeframe context and your own confirmation setup.
A divergence can warn about a possible correction or reversal, but it does not mean that price must reverse immediately. Indikator

Edo TRIX Core CrossEdo TRIX Core Cross — Dual TRIX Oscillator with Four-State Momentum Histogram and Cross Detection
Momentum tells you more than direction — it tells you whether a move is gaining force, holding steady or already losing energy. Most momentum readings collapse all of that into a single color-coded line. Edo TRIX Core Cross separates it into two things the trader can read at a glance: where the momentum stands, and what it is doing right now.
The indicator runs two TRIX oscillators — one fast, one slow — and plots their difference as a histogram color-coded across four states: bullish expansion, bullish fading, bearish expansion and bearish fading. An information panel shows the current bias, the momentum state and the configured lengths bar by bar. Cross markers print directly on the pane when the fast line crosses above or below the slow line.
What the indicator does
The TRIX oscillator is built on a triple exponentially smoothed moving average. Each additional smoothing pass removes progressively more short-cycle noise, leaving only the rate of change of the underlying trend. That is the core reason TRIX tends to produce fewer false signals than single or double-smoothed oscillators: most of the short-term reactivity has already been filtered out by the time the rate of change is calculated.
Edo TRIX Core Cross takes that base and adds a second layer of context. Rather than reading a single TRIX value in isolation, the indicator compares a Fast TRIX against a Slow TRIX and tracks their relationship continuously. The result is a cleaner momentum signal that still retains the ability to flag directional changes before they become obvious on price.
The two lines
Fast TRIX — default length 5. The reactive line. It responds first to changes in short-term momentum and acts as the dynamic reference of the system.
Slow TRIX — default length 9. The stabilizing line. It filters noise and represents the underlying momentum trend. Its movements are gradual and less influenced by temporary shifts in price action.
When Fast is above Slow, short-term momentum is outpacing the reference and the bias is bullish. When Fast is below Slow, short-term momentum is giving ground and the bias is bearish. The distance between the two lines tells you how strong that bias is at any given moment.
The four-state histogram
The histogram plots the difference between Fast TRIX and Slow TRIX. Most histograms in the public domain color bars using two states — green above zero, red below. Edo TRIX Core Cross uses four:
Bullish expansion (solid green) — histogram is positive and larger than the previous bar. Momentum is accelerating upward.
Bullish fading (faded green) — histogram is positive but equal to or smaller than the previous bar. Momentum is still positive but losing strength.
Bearish expansion (solid red) — histogram is negative and more negative than the previous bar. Momentum is accelerating downward.
Bearish fading (faded red) — histogram is negative but equal to or less negative than the previous bar. Downside momentum is easing.
This distinction matters because momentum does not reverse in a single bar. It decelerates, flattens, and only then turns. The faded states capture that deceleration in real time — a transition from solid to faded on the histogram is often the first visible sign that the current move is running out of fuel.
Information panel
A compact on-pane panel keeps the key readings visible bar by bar:
TRIX CROSS — header.
Bias — BULLISH when Fast is above Slow, BEARISH when Fast is below Slow. Text color matches the bias state.
Momentum — combines the histogram direction and its acceleration state into four possible readings: Expanding ▲, Fading ▼, Expanding ▼, Fading ▲. This single field mirrors the four-state histogram in text form.
Fast / Slow — the currently configured lengths for both lines.
Position and theme are configurable: four corner positions plus Dark or Light mode to match the chart background.
Cross detection
Every time Fast crosses Slow, the indicator prints a marker on the pane. A green upward triangle at the bottom marks a bullish cross; a red downward triangle at the top marks a bearish cross. The markers are explicit and easy to see without overlapping the lines themselves.
A cross should always be read in context. Its relevance depends on where the lines sit relative to the zero line at the moment of the cross, what the histogram is doing around it, and how the cross aligns with the price structure on the main chart. A bullish cross formed well below zero with both lines still in negative territory is a very different event from a bullish cross formed above zero during an ongoing expansion.
Settings
TRIX Settings — Fast Length (default 5) and Slow Length (default 9).
Display — Show Histogram, Show TRIX Lines and Show Cross Markers, each toggled independently. Fast and Slow line colors and widths, plus bull and bear cross marker colors.
Panel — Panel Position (four corners) and Panel Theme (Dark / Light).
How to read it
Start with the bias. Fast above Slow and above the zero line, with a solid-green histogram, is the cleanest bullish state the indicator produces. Fast below Slow and below zero, with a solid-red histogram, is the cleanest bearish state.
Then watch the histogram color shift between solid and faded. Solid bars mean the current move is still accelerating; faded bars mean it is slowing. Repeated faded bars after an extended expansion often precede a cross, giving advance notice that the bias may be about to flip.
Use cross markers as confirmation events rather than triggers. A bullish cross above zero with prior bullish expansion carries more weight than a bullish cross near the zero line in a directionless market. Combine the cross location, the histogram state at the cross bar and the surrounding price structure before drawing conclusions.
Alerts
Four alert conditions are included and can be configured from the standard TradingView alert dialog:
TRIX Bull Cross — Fast crosses above Slow.
TRIX Bear Cross — Fast crosses below Slow.
Histogram Crossed Zero Up — the histogram crosses above the zero line, signaling bullish pressure forming.
Histogram Crossed Zero Down — the histogram crosses below the zero line, signaling bearish pressure forming.
The zero-line alerts are independent of the cross alerts. The histogram can cross zero without Fast and Slow crossing each other, which lets the trader catch shifts in momentum pressure that have not yet produced a formal cross between the lines.
Open source
Edo TRIX Core Cross is released as an open-source indicator. The full Pine Script is publicly available on TradingView for study, adaptation and integration into any workflow. Default parameters are tuned for immediate use across multiple asset classes and timeframes.
Important
This indicator is a technical analysis tool intended for educational and informational purposes only. It does not generate automatic buy or sell signals, does not predict tops or bottoms, and is not a substitute for proper risk management or the trader's own judgment. Always use it within a broader analysis framework. Indikator

Alpha TRIX Strategy >_The Alpha TRIX Strategy is a precision trend-following system built on a deceptively simple but powerful principle: only trade when the market is genuinely trending, genuinely moving, and genuinely tilted in your direction. It achieves this by stacking three independent validation layers — a momentum signal (TRIX), a regime filter (Choppiness Index), and a directional strength filter (ADX) — before a single entry is placed.
Unlike raw TRIX crossover systems that fire indiscriminately, this strategy demands that all three conditions are simultaneously satisfied. The result is a lower-frequency, higher-conviction signal profile that avoids the whipsaw-heavy environments where pure momentum strategies bleed equity.
═══════════════════════════════════════
KEY FEATURES
═══════════════════════════════════════
Momentum Engine (TRIX)
— Triple-smoothed EMA eliminates high-frequency noise
— ROC of EMA³ isolates trend acceleration
— Zero-line crossover generates long and short triggers
— Configurable TRIX length for sensitivity tuning
Regime Filter — Choppiness Index
— CHOP < threshold confirms non-choppy, directional structure
— Blocks entries during range-bound, sideways markets
— Eliminates the most expensive entry environment for trend-following systems
Directional Filter — ADX
— ADX > minimum threshold confirms trend force is sufficient
— Calculated via full DMI (DI+ / DI−)
— Guards against weak-trend entries that stall post-entry
ATR% Exit Framework
— Take profit and stop loss scaled to realized volatility at entry
— Levels locked at execution candle — no mid-trade recalculation
— Independent TP and SL multipliers for asymmetric risk configuration
Trade Direction Control
— Long only, short only, or both — configurable at runtime
═══════════════════════════════════════
HOW IT WORKS
═══════════════════════════════════════
Step 1 — TRIX Signal
EMA is applied three times to close price, producing EMA³. Rate-of-change of EMA³ over 1 bar yields the TRIX value. A crossover above zero triggers a long; a crossunder triggers a short.
Step 2 — Choppiness Gate
The Choppiness Index measures the ratio of summed 1-bar ATR to the total high-low range over the lookback window, log-normalized. Values below the threshold indicate the market is exhibiting directional structure rather than random oscillation.
Step 3 — ADX Gate
ADX above the minimum confirms that whatever direction the market is moving, it is doing so with sufficient force. Both filters must pass simultaneously with the TRIX signal for entry to execute.
Step 4 — Entry and Exit
Entry is placed immediately. Take profit and stop loss are calculated as Close × (ATR / Close) × Multiplier — which resolves to ATR × Multiplier — and passed directly to strategy.exit() at the entry bar. This prevents dynamic recalculation from altering risk parameters mid-trade, closing the gap between backtested and live performance.
═══════════════════════════════════════
DESIGN RATIONALE
═══════════════════════════════════════
The TRIX advantage: triple-smoothing suppresses noise while the ROC step converts price level into momentum velocity. The zero-line crossing represents a genuine shift in trend acceleration — a higher-quality signal than single or double EMA crossovers.
Why CHOP + ADX? Each filter attacks a different failure mode. The Choppiness Index identifies range-bound structure where momentum signals are statistically unreliable. ADX addresses weak-trend environments where the market has a direction but insufficient force to sustain movement. Together they gate out the two most expensive entry environments for trend-following systems.
Locked exits: TP and SL are calculated once at the entry bar and immediately committed to the broker. This design closes a common source of backtest-to-live divergence in ATR-based systems — where dynamic recalculation on subsequent bars silently shifts risk levels mid-trade.
Strategi

Colored Trix with spike detectionColored TRIX with Spike Detection
This indicator combines multiple TRIX oscillators (periods 5, 7, 10, 14) with advanced spike detection capabilities. Key features:
Dynamic Color Coding: TRIX lines change color based on value (positive/negative) and slope direction, providing instant visual feedback on momentum shifts
Multi-Period Analysis: Four different TRIX periods offer comprehensive momentum analysis across various timeframes
Intelligent Spike Detection: Automatically identifies significant TRIX spikes using percentile-based thresholds and distance measurements from recent highs/lows
Visual Markers: Highlights important levels with yellow dots and reference lines showing lowest, median, and average TRIX values during spike periods
Customizable Parameters: Adjustable spike thresholds, distance percentiles, and color schemes to fit your trading style
Alert System: Built-in alerts for positive and negative spike detection
The indicator helps traders identify momentum changes, oversold/overbought conditions, and potential reversal points through sophisticated spike analysis. Perfect for swing trading and trend following strategies. Indikator

TRIX with Momentum----------- ENGLISH --------------
This indicator is called "TRIX with Momentum" and is used to analyze the momentum of an asset's price and predict potential trend reversals. The logic of operation is based on the combination of two indicators: the Triple Exponential Moving Average (TRIX) and the momentum oscillator.
The TRIX is calculated using three exponential moving averages (EMA) of the asset's closing price, with a user-defined length (set to 14 by default). The TRIX is then normalized and centered around 0 to facilitate analysis of its relationship with the momentum oscillator.
The momentum oscillator is calculated using the EMA of the normalized TRIX with a user-defined length (set to 14 by default).
The indicator plots the normalized TRIX and the momentum oscillator on a chart, using different colors to indicate whether the TRIX is above or below 0. Additionally, the color of the y-axis label changes based on the position of the oscillator, while the color of the x-axis label remains gray.
The indicator uses a weighted average between the normalized TRIX and the momentum oscillator to create a colored background of the chart, which changes based on the weighted average. If the weighted average is positive, the chart's background is green, otherwise it is red. Finally, a horizontal line is drawn at point 0 to facilitate visual analysis of the chart.
------------ ITALIANO -------------
Questo indicatore è chiamato "TRIX with Momentum" ed è utilizzato per analizzare il momentum del prezzo di un asset e prevedere eventuali inversioni di trend. La logica di funzionamento è basata sulla combinazione di due indicatori: il TRIX (Indicatori di media mobile Tripla Esponenziale) e l'oscillatore momentum.
L'indicatore consente all'utente di impostare la lunghezza del TRIX e dell'oscillatore momentum come input personalizzato. Il TRIX viene calcolato utilizzando tre medie mobili esponenziali (EMA) della chiusura dei prezzi dell'asset, mentre l'oscillatore momentum viene calcolato utilizzando l'EMA del TRIX normalizzato.
Il TRIX normalizzato viene centrato intorno allo 0 per facilitare l'analisi della sua relazione con l'oscillatore momentum. L'indicatore plotta il TRIX normalizzato e l'oscillatore momentum su un grafico, utilizzando diversi colori per indicare se il TRIX è sopra o sotto lo 0.
L'indicatore utilizza una media pesata tra il TRIX normalizzato e l'oscillatore momentum per creare uno sfondo colorato del grafico, che cambia in base alla media pesata. L'utente può impostare il peso da dare al TRIX e all'oscillatore momentum come input personalizzato, e il peso dell'oscillatore momentum verrà automaticamente impostato come complementare al peso del TRIX.
Se la media pesata è positiva, lo sfondo del grafico è verde, altrimenti è rosso. Viene tracciata anche una linea orizzontale al punto 0 per facilitare l'analisi visiva del grafico.
Infine, il colore dell'etichetta dell'asse y cambia in base alla posizione dell'oscillatore, mentre il colore dell'etichetta dell'asse x rimane sempre grigio.
Indikator

Indikator

PA-Adaptive TRIX Log [Loxx]PA-Adaptive TRIX Log is a Phase Accumulation Adaptive TRIX Log indicator. This adaptation smooths the signal to catch larger trends.
What is TRIX?
TRIX is a momentum oscillator that displays the percent rate of change of a TEMA . It was developed in the early 1980's by Jack Hutson, an editor for "Technical Analysis of Stocks and Commodities" magazine. With its triple smoothing, TRIX is designed to filter insignificant price movements. In his article he uses a logarithm of a price (which is in many versions, left out).
What is the Phase Accumulation Cycle?
The phase accumulation method of computing the dominant cycle is perhaps the easiest to comprehend. In this technique, we measure the phase at each sample by taking the arctangent of the ratio of the quadrature component to the in-phase component. A delta phase is generated by taking the difference of the phase between successive samples. At each sample we can then look backwards, adding up the delta phases.When the sum of the delta phases reaches 360 degrees, we must have passed through one full cycle, on average.The process is repeated for each new sample.
The phase accumulation method of cycle measurement always uses one full cycle’s worth of historical data.This is both an advantage and a disadvantage.The advantage is the lag in obtaining the answer scales directly with the cycle period.That is, the measurement of a short cycle period has less lag than the measurement of a longer cycle period. However, the number of samples used in making the measurement means the averaging period is variable with cycle period. longer averaging reduces the noise level compared to the signal.Therefore, shorter cycle periods necessarily have a higher out- put signal-to-noise ratio.
Included
Bar coloring
2 signal options
Alerts
Indikator

Indikator

Indikator

Indikator

Indikator

Indikator

Indikator

Strategi

Indikator

Indikator

Indikator

Strategi

Indikator

Indikator

Indikator

Indikator

Indikator
