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.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.