OPEN-SOURCE SCRIPT
TRAMA - Trend Regularity Adaptive Moving Average

The TRAMA Line is an advanced, adaptive moving average that adjusts its speed based on market volatility. Itโs designed to react quickly to price momentum shifts while filtering out noise โ making it perfect for scalping, intraday, and swing trading.
What Makes It Special:
๐ Adaptive Sensitivity: Speeds up during high momentum, slows down during consolidation.
๐ฏ More responsive than traditional EMAs or SMAs, giving early signals without excessive false alarms.
๐ Works great as a dynamic trend filter โ price staying above = uptrend, below = downtrend.
๐ง Based on price movement regularity, which helps detect clean pullbacks and trend continuations.
In Your Indicator:
TRAMA acts as the main trend line to detect:
Trend direction
Pullbacks
Reversals
Combined with MACD, RSI, and ATR, it helps determine whether a move is likely to continue or reverse.
What Makes It Special:
๐ Adaptive Sensitivity: Speeds up during high momentum, slows down during consolidation.
๐ฏ More responsive than traditional EMAs or SMAs, giving early signals without excessive false alarms.
๐ Works great as a dynamic trend filter โ price staying above = uptrend, below = downtrend.
๐ง Based on price movement regularity, which helps detect clean pullbacks and trend continuations.
In Your Indicator:
TRAMA acts as the main trend line to detect:
Trend direction
Pullbacks
Reversals
Combined with MACD, RSI, and ATR, it helps determine whether a move is likely to continue or reverse.
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.
For quick access on a chart, add this script to your favorites โ learn more here.
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.
For quick access on a chart, add this script to your favorites โ learn more here.
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.