GTC THE ALMA TREND MTF

ENGLISH
GTC The ALMA TREND MTF
Trend, exhaustion and divergence in one oscillator, with divergences checked on real higher timeframes.
What it is for
GTC The ALMA TREND MTF answers three questions at once:
Which way is the trend going?
Is the move stretched?
Is it losing strength?
Every module has its own switch in the SHOW INDICATOR menu, so you can use the full system or only the parts that fit your style.
🧠 ALMA Trend oscillator
A normalized trend oscillator, scaled from −100 to +100, built on my own calculation.
Because it is normalized, readings stay comparable across assets, timeframes and volatility conditions.
Above zero: bullish pressure. Below zero: bearish pressure.
Inner and outer extreme zones, both configurable, show when the move is overextended.
15 smoothing engines to match your style, from fast and reactive to smooth and stable: HMA, ALMA, EMA, SMA, WMA, RMA, VWMA, LSMA, ZLEMA, DEMA, TEMA, T3, EHMA, THMA and KAMA.
Optional MTF mode: calculate the oscillator on a higher timeframe while you trade a lower one. It uses only closed higher-timeframe bars, so its values are not redrawn.
🔄 Turn signals
"º" markers appear when the oscillator turns back inside an extreme zone.
Three sensitivity levels: High, Medium and Low.
🕯 Bar coloring
Color the price candles by Trend, Extremes, Turns or Slope, so you can read the oscillator directly on the price chart.
━━━━━━━━━━━━━━━━━━━━
⚡ Three-layer divergence engine
1️⃣ ALMA Trend divergences
Regular bullish and bearish divergences between price and the oscillator.
Drawn directly on the oscillator, with connecting lines and Bull/Bear labels.
Configurable pivot sensitivity and minimum/maximum distance between pivots.
2️⃣ Fast divergence circles
An independent, faster momentum layer that flags early divergences with circles at the top and bottom of the pane.
3️⃣ MTF divergences 1-2-3
Divergences are detected on three real higher timeframes: 1H, 4H and 1D by default, all configurable.
Detects both Regular (R) and Hidden (H) divergences.
Each label appears once, when its higher-timeframe bar closes, and is never redrawn.
When several layers agree, the divergence carries more weight.
━━━━━━━━━━━━━━━━━━━━
🎯 Trend signals
UP and DOWN triangles mark each confirmed trend shift, using an adaptive, volatility-based trailing filter.
🔔 Alerts
A single alert covers every module.
In the ALERTS group of the settings, choose which events you want: turns, divergences, fast divergences, MTF divergences and trend shifts.
Then create one alert with the condition "Any alert() function call".
The message tells you which event fired, on which symbol and timeframe, and which higher timeframe it came from.
🧩 How to use it
Direction: is the oscillator above or below zero?
Exhaustion: is it in an extreme zone and showing a "º" turn?
Confirmation: is there a divergence, ideally on more than one layer?
Timing: wait for the trend-shift triangle.
Repainting
Signals and alerts are evaluated on bar close.
MTF calculations use only closed higher-timeframe bars, so they are not redrawn. As a result, they update after the higher-timeframe bar closes.
Pivot-based divergences need a few bars after the pivot to be confirmed, so their labels appear with that delay.
Limitations
Divergences and turn signals are probabilistic, not predictive. Not every one leads to a reversal.
Extreme readings can persist during strong trends.
A higher-timeframe divergence layer is only shown when that timeframe is higher than the chart's.
Like any indicator, it works best together with market context and risk management.
🎯 Who is it for?
Scalpers, intraday and swing traders in futures, indices, forex, crypto and stocks who want trend, exhaustion and divergence confirmation in a single pane.
This script is a tool for technical analysis and education. It is not financial advice and does not guarantee results. Always use proper risk management.
Descripción — ESPAÑOL
GTC The ALMA TREND MTF
Tendencia, agotamiento y divergencias en un solo oscilador, con divergencias comprobadas en temporalidades superiores reales.
Para qué sirve
GTC The ALMA TREND MTF responde a tres preguntas a la vez:
¿Hacia dónde va la tendencia?
¿Está estirado el movimiento?
¿Está perdiendo fuerza?
Cada módulo tiene su propio interruptor en el menú SHOW INDICATOR, así que puedes usar el sistema completo o solo las partes que encajen con tu forma de operar.
🧠 Oscilador ALMA Trend
Un oscilador de tendencia normalizado, en una escala de −100 a +100, construido sobre un cálculo propio.
Al estar normalizado, las lecturas se pueden comparar entre activos, temporalidades y condiciones de volatilidad.
Por encima de cero: presión alcista. Por debajo de cero: presión bajista.
Zonas extremas interior y exterior, ambas configurables, que muestran cuándo el movimiento está sobreextendido.
15 motores de suavizado para adaptarlo a tu estilo, de rápido y reactivo a suave y estable: HMA, ALMA, EMA, SMA, WMA, RMA, VWMA, LSMA, ZLEMA, DEMA, TEMA, T3, EHMA, THMA y KAMA.
Modo MTF opcional: calcula el oscilador en una temporalidad superior mientras operas en una inferior. Usa solo velas cerradas de esa temporalidad, así que sus valores no se redibujan.
🔄 Señales de giro
Aparecen marcas "º" cuando el oscilador gira dentro de una zona extrema.
Tres niveles de sensibilidad: Alta, Media y Baja.
🕯 Color de velas
Colorea las velas del precio por Tendencia, Extremos, Giros o Pendiente, para leer el oscilador directamente en el gráfico de precio.
━━━━━━━━━━━━━━━━━━━━
⚡ Motor de divergencias en tres capas
1️⃣ Divergencias ALMA Trend
Divergencias regulares alcistas y bajistas entre el precio y el oscilador.
Se dibujan directamente sobre el oscilador, con líneas de unión y etiquetas Bull/Bear.
Sensibilidad de los pivotes y distancia mínima y máxima entre pivotes configurables.
2️⃣ Círculos de divergencia rápida
Una capa de momentum independiente y más rápida, que marca divergencias tempranas con círculos arriba y abajo del panel.
3️⃣ Divergencias MTF 1-2-3
Las divergencias se detectan en tres temporalidades superiores reales: 1H, 4H y 1D por defecto, todas configurables.
Detecta divergencias regulares (R) y ocultas (H).
Cada etiqueta aparece una sola vez, cuando cierra su vela de temporalidad superior, y nunca se redibuja.
Cuando varias capas coinciden, la divergencia tiene más peso.
━━━━━━━━━━━━━━━━━━━━
🎯 Señales de tendencia
Triángulos UP y DOWN que marcan cada cambio de tendencia confirmado, con un filtro de seguimiento adaptativo basado en la volatilidad.
🔔 Alertas
Una sola alerta cubre todos los módulos.
En el grupo ALERTAS de los ajustes, elige qué eventos quieres: giros, divergencias, divergencias rápidas, divergencias MTF y cambios de tendencia.
Después crea una alerta con la condición "Any alert() function call".
El mensaje indica qué evento ha saltado, en qué activo y temporalidad, y de qué temporalidad superior viene.
🧩 Cómo usarlo
Dirección: ¿está el oscilador por encima o por debajo de cero?
Agotamiento: ¿está en una zona extrema y muestra un giro "º"?
Confirmación: ¿hay divergencia, a ser posible en más de una capa?
Momento de entrada: espera el triángulo de cambio de tendencia.
Repintado
Las señales y alertas se evalúan al cierre de la vela.
Los cálculos MTF usan solo velas cerradas de la temporalidad superior, así que no se redibujan. Por eso se actualizan cuando cierra la vela de esa temporalidad.
Las divergencias basadas en pivotes necesitan unas velas después del pivote para confirmarse, así que sus etiquetas aparecen con ese retraso.
Limitaciones
Las divergencias y los giros son probabilísticos, no predictivos. No todos acaban en un giro del precio.
Las lecturas extremas pueden mantenerse durante tendencias fuertes.
Una capa de divergencias MTF solo se muestra si su temporalidad es mayor que la del gráfico.
Como cualquier indicador, funciona mejor junto con el contexto de mercado y la gestión del riesgo.
🎯 ¿Para quién es?
Scalpers, traders intradía y swing traders de futuros, índices, forex, cripto y acciones que quieren confirmar tendencia, agotamiento y divergencias en un solo panel.
Este script es una herramienta de análisis técnico y formación. No es asesoramiento financiero y no garantiza resultados. Gestiona siempre el riesgo.
GTC The ALMA TREND MTF
Trend, exhaustion and divergence in one oscillator, with divergences checked on real higher timeframes.
What it is for
GTC The ALMA TREND MTF answers three questions at once:
Which way is the trend going?
Is the move stretched?
Is it losing strength?
Every module has its own switch in the SHOW INDICATOR menu, so you can use the full system or only the parts that fit your style.
🧠 ALMA Trend oscillator
A normalized trend oscillator, scaled from −100 to +100, built on my own calculation.
Because it is normalized, readings stay comparable across assets, timeframes and volatility conditions.
Above zero: bullish pressure. Below zero: bearish pressure.
Inner and outer extreme zones, both configurable, show when the move is overextended.
15 smoothing engines to match your style, from fast and reactive to smooth and stable: HMA, ALMA, EMA, SMA, WMA, RMA, VWMA, LSMA, ZLEMA, DEMA, TEMA, T3, EHMA, THMA and KAMA.
Optional MTF mode: calculate the oscillator on a higher timeframe while you trade a lower one. It uses only closed higher-timeframe bars, so its values are not redrawn.
🔄 Turn signals
"º" markers appear when the oscillator turns back inside an extreme zone.
Three sensitivity levels: High, Medium and Low.
🕯 Bar coloring
Color the price candles by Trend, Extremes, Turns or Slope, so you can read the oscillator directly on the price chart.
━━━━━━━━━━━━━━━━━━━━
⚡ Three-layer divergence engine
1️⃣ ALMA Trend divergences
Regular bullish and bearish divergences between price and the oscillator.
Drawn directly on the oscillator, with connecting lines and Bull/Bear labels.
Configurable pivot sensitivity and minimum/maximum distance between pivots.
2️⃣ Fast divergence circles
An independent, faster momentum layer that flags early divergences with circles at the top and bottom of the pane.
3️⃣ MTF divergences 1-2-3
Divergences are detected on three real higher timeframes: 1H, 4H and 1D by default, all configurable.
Detects both Regular (R) and Hidden (H) divergences.
Each label appears once, when its higher-timeframe bar closes, and is never redrawn.
When several layers agree, the divergence carries more weight.
━━━━━━━━━━━━━━━━━━━━
🎯 Trend signals
UP and DOWN triangles mark each confirmed trend shift, using an adaptive, volatility-based trailing filter.
🔔 Alerts
A single alert covers every module.
In the ALERTS group of the settings, choose which events you want: turns, divergences, fast divergences, MTF divergences and trend shifts.
Then create one alert with the condition "Any alert() function call".
The message tells you which event fired, on which symbol and timeframe, and which higher timeframe it came from.
🧩 How to use it
Direction: is the oscillator above or below zero?
Exhaustion: is it in an extreme zone and showing a "º" turn?
Confirmation: is there a divergence, ideally on more than one layer?
Timing: wait for the trend-shift triangle.
Repainting
Signals and alerts are evaluated on bar close.
MTF calculations use only closed higher-timeframe bars, so they are not redrawn. As a result, they update after the higher-timeframe bar closes.
Pivot-based divergences need a few bars after the pivot to be confirmed, so their labels appear with that delay.
Limitations
Divergences and turn signals are probabilistic, not predictive. Not every one leads to a reversal.
Extreme readings can persist during strong trends.
A higher-timeframe divergence layer is only shown when that timeframe is higher than the chart's.
Like any indicator, it works best together with market context and risk management.
🎯 Who is it for?
Scalpers, intraday and swing traders in futures, indices, forex, crypto and stocks who want trend, exhaustion and divergence confirmation in a single pane.
This script is a tool for technical analysis and education. It is not financial advice and does not guarantee results. Always use proper risk management.
Descripción — ESPAÑOL
GTC The ALMA TREND MTF
Tendencia, agotamiento y divergencias en un solo oscilador, con divergencias comprobadas en temporalidades superiores reales.
Para qué sirve
GTC The ALMA TREND MTF responde a tres preguntas a la vez:
¿Hacia dónde va la tendencia?
¿Está estirado el movimiento?
¿Está perdiendo fuerza?
Cada módulo tiene su propio interruptor en el menú SHOW INDICATOR, así que puedes usar el sistema completo o solo las partes que encajen con tu forma de operar.
🧠 Oscilador ALMA Trend
Un oscilador de tendencia normalizado, en una escala de −100 a +100, construido sobre un cálculo propio.
Al estar normalizado, las lecturas se pueden comparar entre activos, temporalidades y condiciones de volatilidad.
Por encima de cero: presión alcista. Por debajo de cero: presión bajista.
Zonas extremas interior y exterior, ambas configurables, que muestran cuándo el movimiento está sobreextendido.
15 motores de suavizado para adaptarlo a tu estilo, de rápido y reactivo a suave y estable: HMA, ALMA, EMA, SMA, WMA, RMA, VWMA, LSMA, ZLEMA, DEMA, TEMA, T3, EHMA, THMA y KAMA.
Modo MTF opcional: calcula el oscilador en una temporalidad superior mientras operas en una inferior. Usa solo velas cerradas de esa temporalidad, así que sus valores no se redibujan.
🔄 Señales de giro
Aparecen marcas "º" cuando el oscilador gira dentro de una zona extrema.
Tres niveles de sensibilidad: Alta, Media y Baja.
🕯 Color de velas
Colorea las velas del precio por Tendencia, Extremos, Giros o Pendiente, para leer el oscilador directamente en el gráfico de precio.
━━━━━━━━━━━━━━━━━━━━
⚡ Motor de divergencias en tres capas
1️⃣ Divergencias ALMA Trend
Divergencias regulares alcistas y bajistas entre el precio y el oscilador.
Se dibujan directamente sobre el oscilador, con líneas de unión y etiquetas Bull/Bear.
Sensibilidad de los pivotes y distancia mínima y máxima entre pivotes configurables.
2️⃣ Círculos de divergencia rápida
Una capa de momentum independiente y más rápida, que marca divergencias tempranas con círculos arriba y abajo del panel.
3️⃣ Divergencias MTF 1-2-3
Las divergencias se detectan en tres temporalidades superiores reales: 1H, 4H y 1D por defecto, todas configurables.
Detecta divergencias regulares (R) y ocultas (H).
Cada etiqueta aparece una sola vez, cuando cierra su vela de temporalidad superior, y nunca se redibuja.
Cuando varias capas coinciden, la divergencia tiene más peso.
━━━━━━━━━━━━━━━━━━━━
🎯 Señales de tendencia
Triángulos UP y DOWN que marcan cada cambio de tendencia confirmado, con un filtro de seguimiento adaptativo basado en la volatilidad.
🔔 Alertas
Una sola alerta cubre todos los módulos.
En el grupo ALERTAS de los ajustes, elige qué eventos quieres: giros, divergencias, divergencias rápidas, divergencias MTF y cambios de tendencia.
Después crea una alerta con la condición "Any alert() function call".
El mensaje indica qué evento ha saltado, en qué activo y temporalidad, y de qué temporalidad superior viene.
🧩 Cómo usarlo
Dirección: ¿está el oscilador por encima o por debajo de cero?
Agotamiento: ¿está en una zona extrema y muestra un giro "º"?
Confirmación: ¿hay divergencia, a ser posible en más de una capa?
Momento de entrada: espera el triángulo de cambio de tendencia.
Repintado
Las señales y alertas se evalúan al cierre de la vela.
Los cálculos MTF usan solo velas cerradas de la temporalidad superior, así que no se redibujan. Por eso se actualizan cuando cierra la vela de esa temporalidad.
Las divergencias basadas en pivotes necesitan unas velas después del pivote para confirmarse, así que sus etiquetas aparecen con ese retraso.
Limitaciones
Las divergencias y los giros son probabilísticos, no predictivos. No todos acaban en un giro del precio.
Las lecturas extremas pueden mantenerse durante tendencias fuertes.
Una capa de divergencias MTF solo se muestra si su temporalidad es mayor que la del gráfico.
Como cualquier indicador, funciona mejor junto con el contexto de mercado y la gestión del riesgo.
🎯 ¿Para quién es?
Scalpers, traders intradía y swing traders de futuros, índices, forex, cripto y acciones que quieren confirmar tendencia, agotamiento y divergencias en un solo panel.
Este script es una herramienta de análisis técnico y formación. No es asesoramiento financiero y no garantiza resultados. Gestiona siempre el riesgo.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.