OPEN-SOURCE SCRIPT
AlgoGram Trend Identifier

📊 Algogram Trend Identifier (ATI)
The Algogram Trend Identifier (ATI) is a powerful trend-following oscillator designed to help traders identify market direction, momentum strength, divergences, and consolidation zones across multiple timeframes.
🔑 Key Features:
Multi-Timeframe Presets – Choose from 5m, 15m (default), 30m, 1h, and Daily for optimized settings.
Adaptive ALMA Calculation – Uses ALMA smoothing with dynamic thresholds to detect clean trend shifts.
Trend Highlighting – Visual coloring of oscillator and optional bar coloring for quick market bias recognition.
Customizable Thresholds & Bands – Fine-tune upper/lower thresholds, consolidation zones, and band multipliers.
Consolidation Detection – Highlights when the market is moving sideways with adjustable parameters.
Divergence Detection – Automatically detects bullish & bearish divergences with optional lines and dots.
Dynamic Alerts – Built-in alerts for:
Crossing thresholds
Zero line crosses
Uptrend / Downtrend detection
Bullish / Bearish divergences
RMS consolidation breakouts
🎯 How to Use:
Above Zero Line → Bullish trend bias.
Below Zero Line → Bearish trend bias.
Consolidation Zone → Market may range or prepare for breakout.
Bullish Divergence → Potential reversal to upside.
Bearish Divergence → Potential reversal to downside.
⚡ Best For:
Swing Traders, Scalpers, and Positional Traders
Identifying trend strength, early reversals, and breakout opportunities
Works on stocks, crypto, forex, and indices
The Algogram Trend Identifier (ATI) is a powerful trend-following oscillator designed to help traders identify market direction, momentum strength, divergences, and consolidation zones across multiple timeframes.
🔑 Key Features:
Multi-Timeframe Presets – Choose from 5m, 15m (default), 30m, 1h, and Daily for optimized settings.
Adaptive ALMA Calculation – Uses ALMA smoothing with dynamic thresholds to detect clean trend shifts.
Trend Highlighting – Visual coloring of oscillator and optional bar coloring for quick market bias recognition.
Customizable Thresholds & Bands – Fine-tune upper/lower thresholds, consolidation zones, and band multipliers.
Consolidation Detection – Highlights when the market is moving sideways with adjustable parameters.
Divergence Detection – Automatically detects bullish & bearish divergences with optional lines and dots.
Dynamic Alerts – Built-in alerts for:
Crossing thresholds
Zero line crosses
Uptrend / Downtrend detection
Bullish / Bearish divergences
RMS consolidation breakouts
🎯 How to Use:
Above Zero Line → Bullish trend bias.
Below Zero Line → Bearish trend bias.
Consolidation Zone → Market may range or prepare for breakout.
Bullish Divergence → Potential reversal to upside.
Bearish Divergence → Potential reversal to downside.
⚡ Best For:
Swing Traders, Scalpers, and Positional Traders
Identifying trend strength, early reversals, and breakout opportunities
Works on stocks, crypto, forex, and indices
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.
Algogram
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.
Algogram
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.