OPEN-SOURCE SCRIPT
Updated TrendShift Moving Average (TSMA)

The TrendShift Moving Average (TSMA) is a dynamic trend-following indicator that adjusts its responsiveness based on market volatility. It calculates a volatility-adjusted moving average using various types (e.g., SMA, EMA, T3) and identifies trend shifts with customizable sensitivity. The TSMA is designed to help traders detect early trend direction changes.
Release Notes
Minor updateOpen-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.