OPEN-SOURCE SCRIPT
Updated 4 Stages of Stock

This script uses 40Weekly MA to baseline larges trends in the stock. This is based on Puru's idea of 4 Stage of Stock.
Stage 1 (Basing)
Stage 2 (Advancing)
Stage 3 (Topping)
Stage 4 (Declining)
This is best viewed and understood on weekly charts.
Stage 1 (Basing)
Stage 2 (Advancing)
Stage 3 (Topping)
Stage 4 (Declining)
This is best viewed and understood on weekly charts.
Release Notes
This script uses 40 weekly MA to hilight largert trends in the stock, which are modeled by stages as per Stan Weinstein’s Stage Analysis. This has been prominantly popularised by Puru Saxena on X/Twitter. The stages of stock price are trends are:
Stage 1 (Basing)
Stage 2 (Advancing)
Stage 3 (Topping)
Stage 4 (Declining)
This is best viewed and understood on weekly charts.
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.