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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.