OPEN-SOURCE SCRIPT
Dammu AI ADVANCED PRO

1. Indicator Overview
Name: Dammu
Type: Overlay indicator (draws on price chart)
Purpose: Combines SuperTrend, SMA/EMA trends, Swing/Structure analysis, Order Blocks, Fair Value Gaps, High/Low levels, TP/SL labels, and alerts.
Pine Script Version: v5
2. SuperTrend Module
Computes SuperTrend line using ATR and sensitivity.
Signals:
Bullish: Price crosses above SuperTrend.
Bearish: Price crosses below SuperTrend.
Plots buy/sell labels 🚀🐻 based on SMA comparison and SuperTrend cross.
3. SMA/EMA Trend Components
SMA8 & SMA9: Used for additional trend confirmation.
EMA lines: Multiple EMAs with different multipliers for trend detection.
Trend Cloud: Uses Hull MA for trend smoothing.
4. Risk Management
TP/SL Levels: Automatic calculation of stop-loss and take-profit (TP1, TP2, TP3).
Configurable ATR-based risk percentage.
Lines and labels drawn for visual TP/SL.
5. Chart Features
Smooth Range Filter: Filters noise for trend detection.
Colored Trend Cloud: Upward trend = cyan, downward = red.
Sideways Market: ADX filter to color bars purple if trend is weak/sideways.
Bar Colors: Green/red based on SuperTrend signals.
6. Swing & Structure Analysis
Detects Swing Highs/Lows, labels as HH, LH, LL, HL.
Detects CHoCH (Change of Character) or BOS (Break of Structure).
Can show internal or swing structures with configurable label size and color.
7. Order Blocks (Smart Money Concepts)
Detects Internal Order Blocks (iOB) and Swing Order Blocks (OB).
Stores top/bottom/left/time/type in arrays.
Colors and shows boxes based on bullish/bearish type.
Automatically deletes OB if price breaks the block.
8. Fair Value Gaps (FVG)
Identifies gaps between candles as potential trading zones.
Configurable bullish/bearish colors and extension bars.
9. EQH/EQL (Equal Highs/Lows)
Detects equal highs/lows using a threshold.
Plots dotted lines and labels EQH/EQL.
10. High/Low Levels MTF
Optional plotting of previous daily, weekly, monthly highs/lows.
11. Premium/Discount Zones
Plots Premium, Discount, and Equilibrium Zones.
Colors: Premium = red, Discount = green, Equilibrium = gray.
12. Alerts
Buy/Sell alerts for:
SuperTrend crossover
BOS/CHoCH (swing/internal)
EQH/EQL triggers
13. Miscellaneous
Configurable visuals: line style, label size, transparency.
Adjustable volatility filters, ATR lengths, smoothing constants.
Integrated risk & reward visualization.
✅ In short:
This is an all-in-one Smart Money + Trend indicator with SuperTrend signals, swing/structure detection, order blocks, FVGs, EQH/EQL, TP/SL visualization, and optional alerts. It’s designed for both trend-following and order-block-based trading.
If you want, I can make a super-short 1-paragraph version that summarizes it even faster for quick reference.
Name: Dammu
Type: Overlay indicator (draws on price chart)
Purpose: Combines SuperTrend, SMA/EMA trends, Swing/Structure analysis, Order Blocks, Fair Value Gaps, High/Low levels, TP/SL labels, and alerts.
Pine Script Version: v5
2. SuperTrend Module
Computes SuperTrend line using ATR and sensitivity.
Signals:
Bullish: Price crosses above SuperTrend.
Bearish: Price crosses below SuperTrend.
Plots buy/sell labels 🚀🐻 based on SMA comparison and SuperTrend cross.
3. SMA/EMA Trend Components
SMA8 & SMA9: Used for additional trend confirmation.
EMA lines: Multiple EMAs with different multipliers for trend detection.
Trend Cloud: Uses Hull MA for trend smoothing.
4. Risk Management
TP/SL Levels: Automatic calculation of stop-loss and take-profit (TP1, TP2, TP3).
Configurable ATR-based risk percentage.
Lines and labels drawn for visual TP/SL.
5. Chart Features
Smooth Range Filter: Filters noise for trend detection.
Colored Trend Cloud: Upward trend = cyan, downward = red.
Sideways Market: ADX filter to color bars purple if trend is weak/sideways.
Bar Colors: Green/red based on SuperTrend signals.
6. Swing & Structure Analysis
Detects Swing Highs/Lows, labels as HH, LH, LL, HL.
Detects CHoCH (Change of Character) or BOS (Break of Structure).
Can show internal or swing structures with configurable label size and color.
7. Order Blocks (Smart Money Concepts)
Detects Internal Order Blocks (iOB) and Swing Order Blocks (OB).
Stores top/bottom/left/time/type in arrays.
Colors and shows boxes based on bullish/bearish type.
Automatically deletes OB if price breaks the block.
8. Fair Value Gaps (FVG)
Identifies gaps between candles as potential trading zones.
Configurable bullish/bearish colors and extension bars.
9. EQH/EQL (Equal Highs/Lows)
Detects equal highs/lows using a threshold.
Plots dotted lines and labels EQH/EQL.
10. High/Low Levels MTF
Optional plotting of previous daily, weekly, monthly highs/lows.
11. Premium/Discount Zones
Plots Premium, Discount, and Equilibrium Zones.
Colors: Premium = red, Discount = green, Equilibrium = gray.
12. Alerts
Buy/Sell alerts for:
SuperTrend crossover
BOS/CHoCH (swing/internal)
EQH/EQL triggers
13. Miscellaneous
Configurable visuals: line style, label size, transparency.
Adjustable volatility filters, ATR lengths, smoothing constants.
Integrated risk & reward visualization.
✅ In short:
This is an all-in-one Smart Money + Trend indicator with SuperTrend signals, swing/structure detection, order blocks, FVGs, EQH/EQL, TP/SL visualization, and optional alerts. It’s designed for both trend-following and order-block-based trading.
If you want, I can make a super-short 1-paragraph version that summarizes it even faster for quick reference.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.