MTF Adaptive Trend Matrix [SachinThakare]

MTF Adaptive Trend Matrix reads trend and momentum on up to six timeframes at once and turns them into one directional score per timeframe, a weighted overall bias, and a measure of how many timeframes agree. Its main idea is that the same indicator does not deserve the same weight in every market condition: in a trending market trend tools are trusted more, in a range momentum tools are trusted more, and the thresholds tighten when the market is volatile or choppy.
HOW THE SCORE IS BUILT (per timeframe)
- Eight readings are turned into simple votes (+1 bullish, -1 bearish, 0 neutral) and split into two groups:
Trend group: EMA 9 vs EMA 21, close vs EMA 100, close vs SuperTrend, and Alligator ribbon alignment (lips / teeth / jaw).
Momentum group: RSI (above 55 / below 45), MACD histogram sign, Stochastic vs 50, and the ADX direction lines (+DI vs -DI).
- Each group is averaged, so each gives a value from -1 to +1.
- Regime detection: ADX above 25 = trending, ADX below 20 with RSI between 40 and 60 = choppy, ATR as a % of price above a user threshold = volatile.
- Adaptive weights (rule-based, not machine learning): trending = trend group x1.5 and momentum x0.75; choppy = trend x0.75 and momentum x1.5; otherwise both x1.0. The weighted average gives the timeframe score from -1 to +1.
- Adaptive thresholds: the bias labels need a higher score when that timeframe is volatile (+0.05) or has ADX below 20 (+0.05), so weak or noisy conditions need stronger agreement before a label appears.
WHY THESE COMPONENTS ARE COMBINED
Each classic indicator answers one question. Moving averages and SuperTrend show trend direction, RSI / MACD / Stochastic show momentum, ADX shows trend strength and ATR shows volatility. On their own they often disagree. Here they are not simply placed side by side: ADX and ATR decide how much the trend votes and the momentum votes count and how much agreement is required, so the components control each other instead of voting blindly.
THE DASHBOARD
- One row per timeframe (default 5m, 15m, 1H, 4H, 1D, optional 1W), with % change, distance from VWAP and the EMA 9/21 gap in ATR units, EMA 100 position, RSI, SuperTrend, MACD, ADX, Alligator, Stochastic, volume activity, ATR% and the regime.
- BIAS column: STRONG BULL / BULLISH / NEUTRAL / BEARISH / STRONG BEAR. "STRONG" is shown only when that timeframe's ADX confirms trend strength. The ADX gate uses hysteresis (switches on above 27 and off below 25 by default), so the label does not flicker around one level.
- ATR% column: price volatility per timeframe, coloured quiet / normal / high / extreme by three user thresholds (different markets need different levels).
- Footer:
Global BIAS = weighted average of all timeframe scores; higher timeframes weigh more (1H x1.2, 4H x1.5, 1D and above x2.0), and it uses the same adjusted thresholds as the rows, so the footer cannot contradict the rows.
MTF Conf = share of the total timeframe weight that leans in the dominant direction (breadth of agreement, separate from the strength of the score).
HTF Gate = which higher timeframes are currently filtering the signals.
STAR SIGNALS (current chart timeframe)
A star appears only when ALL enabled conditions pass:
1. EMA 9 crosses EMA 21.
2. The chart timeframe score is at or beyond the strong threshold (plus the volatility / chop adjustment).
3. Trend confluence: at least 3 of 4 trend tools agree (adjustable).
4. Higher-timeframe alignment: the score of one or two higher timeframes must not oppose the trade. They are picked automatically relative to the chart timeframe (for example 15m chart -> 1H and 4H), or set by hand.
5. Cooldown: a minimum number of bars between signals in the same direction.
By default stars are confirmed on bar close, and the higher-timeframe check reads the last CLOSED higher-timeframe bar, so signals do not change after the bar closes or on reload.
FOLLOW-THROUGH STATISTIC
The footer counts how often price closed in the signal's direction a few bars (default 3) after each star, over the last 100 resolved signals; it is shown only after at least 20 signals. It is NOT a win rate: it ignores stop-loss, targets, costs and slippage. It is a quick check of whether the current settings suit the symbol.
HOW TO USE
1. Read the higher-timeframe rows and the Global BIAS first to know the dominant direction.
2. MTF Conf near 100% = the timeframes agree; near 50% = mixed market, usually a time to be careful.
3. Use the lower-timeframe rows and the stars for timing in the direction of the higher-timeframe bias.
4. Adjust the Volatility Threshold and the ATR% bands to the instrument (crypto runs hotter than gold, forex or indices).
TIMING AND DATA
- Higher-timeframe rows show the bar that is still forming, so their values can change until that bar closes. The star filter uses closed higher-timeframe bars by default.
- VWAP resets daily, so the VWAP distance on higher timeframes is context only.
- On symbols without volume data the volume column shows N/A.
- Use on a standard candle chart.
LIMITATIONS
- All inputs are price-based indicators; they describe the current state of the market and do not predict it.
- In sideways markets EMA crosses happen often; the filters reduce, but do not remove, false signals.
- More timeframes mean more data requests; Light Mode hides the weekly row.
This script is an analysis tool. It does not provide financial advice, and no indicator can guarantee results. Test any setting on your own market and timeframe before using it with real money.
Author: SachinThakare
HOW THE SCORE IS BUILT (per timeframe)
- Eight readings are turned into simple votes (+1 bullish, -1 bearish, 0 neutral) and split into two groups:
Trend group: EMA 9 vs EMA 21, close vs EMA 100, close vs SuperTrend, and Alligator ribbon alignment (lips / teeth / jaw).
Momentum group: RSI (above 55 / below 45), MACD histogram sign, Stochastic vs 50, and the ADX direction lines (+DI vs -DI).
- Each group is averaged, so each gives a value from -1 to +1.
- Regime detection: ADX above 25 = trending, ADX below 20 with RSI between 40 and 60 = choppy, ATR as a % of price above a user threshold = volatile.
- Adaptive weights (rule-based, not machine learning): trending = trend group x1.5 and momentum x0.75; choppy = trend x0.75 and momentum x1.5; otherwise both x1.0. The weighted average gives the timeframe score from -1 to +1.
- Adaptive thresholds: the bias labels need a higher score when that timeframe is volatile (+0.05) or has ADX below 20 (+0.05), so weak or noisy conditions need stronger agreement before a label appears.
WHY THESE COMPONENTS ARE COMBINED
Each classic indicator answers one question. Moving averages and SuperTrend show trend direction, RSI / MACD / Stochastic show momentum, ADX shows trend strength and ATR shows volatility. On their own they often disagree. Here they are not simply placed side by side: ADX and ATR decide how much the trend votes and the momentum votes count and how much agreement is required, so the components control each other instead of voting blindly.
THE DASHBOARD
- One row per timeframe (default 5m, 15m, 1H, 4H, 1D, optional 1W), with % change, distance from VWAP and the EMA 9/21 gap in ATR units, EMA 100 position, RSI, SuperTrend, MACD, ADX, Alligator, Stochastic, volume activity, ATR% and the regime.
- BIAS column: STRONG BULL / BULLISH / NEUTRAL / BEARISH / STRONG BEAR. "STRONG" is shown only when that timeframe's ADX confirms trend strength. The ADX gate uses hysteresis (switches on above 27 and off below 25 by default), so the label does not flicker around one level.
- ATR% column: price volatility per timeframe, coloured quiet / normal / high / extreme by three user thresholds (different markets need different levels).
- Footer:
Global BIAS = weighted average of all timeframe scores; higher timeframes weigh more (1H x1.2, 4H x1.5, 1D and above x2.0), and it uses the same adjusted thresholds as the rows, so the footer cannot contradict the rows.
MTF Conf = share of the total timeframe weight that leans in the dominant direction (breadth of agreement, separate from the strength of the score).
HTF Gate = which higher timeframes are currently filtering the signals.
STAR SIGNALS (current chart timeframe)
A star appears only when ALL enabled conditions pass:
1. EMA 9 crosses EMA 21.
2. The chart timeframe score is at or beyond the strong threshold (plus the volatility / chop adjustment).
3. Trend confluence: at least 3 of 4 trend tools agree (adjustable).
4. Higher-timeframe alignment: the score of one or two higher timeframes must not oppose the trade. They are picked automatically relative to the chart timeframe (for example 15m chart -> 1H and 4H), or set by hand.
5. Cooldown: a minimum number of bars between signals in the same direction.
By default stars are confirmed on bar close, and the higher-timeframe check reads the last CLOSED higher-timeframe bar, so signals do not change after the bar closes or on reload.
FOLLOW-THROUGH STATISTIC
The footer counts how often price closed in the signal's direction a few bars (default 3) after each star, over the last 100 resolved signals; it is shown only after at least 20 signals. It is NOT a win rate: it ignores stop-loss, targets, costs and slippage. It is a quick check of whether the current settings suit the symbol.
HOW TO USE
1. Read the higher-timeframe rows and the Global BIAS first to know the dominant direction.
2. MTF Conf near 100% = the timeframes agree; near 50% = mixed market, usually a time to be careful.
3. Use the lower-timeframe rows and the stars for timing in the direction of the higher-timeframe bias.
4. Adjust the Volatility Threshold and the ATR% bands to the instrument (crypto runs hotter than gold, forex or indices).
TIMING AND DATA
- Higher-timeframe rows show the bar that is still forming, so their values can change until that bar closes. The star filter uses closed higher-timeframe bars by default.
- VWAP resets daily, so the VWAP distance on higher timeframes is context only.
- On symbols without volume data the volume column shows N/A.
- Use on a standard candle chart.
LIMITATIONS
- All inputs are price-based indicators; they describe the current state of the market and do not predict it.
- In sideways markets EMA crosses happen often; the filters reduce, but do not remove, false signals.
- More timeframes mean more data requests; Light Mode hides the weekly row.
This script is an analysis tool. It does not provide financial advice, and no indicator can guarantee results. Test any setting on your own market and timeframe before using it with real money.
Author: SachinThakare
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.