OPEN-SOURCE SCRIPT
AlgoPilotX - Market Stages (VWMA + Reversals)

This indicator identifies key market stages and potential trend reversals using stacked VWMAs. Bullish and bearish reversals are marked with green/up and red/down arrows, with a handy top-right info box showing the color coding for each stage.
It classifies the market into four stages:
Acceleration (Green): All VWMAs stacked bullish, price above VWMA – strong upward momentum.
Accumulation (Silver): VWMAs not stacked bullish, price above VWMA – early bullish build-up.
Deceleration (Red): All VWMAs stacked bearish, price below VWMA – strong downward momentum.
Distribution (Orange): VWMAs not stacked bearish, price below VWMA – early bearish buildup.
It also highlights Bullish and Bearish Reversals with green/up and red/down arrows (“R”) directly on the chart, making it easy to spot potential trend changes.
A fixed info box in the top-right corner summarizes the color coding for quick reference.
Alerts are available for all stages and reversals, so you can automate notifications for key market events.
It classifies the market into four stages:
Acceleration (Green): All VWMAs stacked bullish, price above VWMA – strong upward momentum.
Accumulation (Silver): VWMAs not stacked bullish, price above VWMA – early bullish build-up.
Deceleration (Red): All VWMAs stacked bearish, price below VWMA – strong downward momentum.
Distribution (Orange): VWMAs not stacked bearish, price below VWMA – early bearish buildup.
It also highlights Bullish and Bearish Reversals with green/up and red/down arrows (“R”) directly on the chart, making it easy to spot potential trend changes.
A fixed info box in the top-right corner summarizes the color coding for quick reference.
Alerts are available for all stages and reversals, so you can automate notifications for key market events.
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.