OPEN-SOURCE SCRIPT
Dammu AI PRO

Type & Purpose
Multi-functional trend, swing, and smart money concept indicator.
Combines SuperTrend, SMA, ATR-based risk management, swing structures, order blocks, EQH/EQL, and Fair Value Gaps (FVG).
Designed for identifying trends, entries/exits, and support/resistance zones.
2. Trend Detection
SuperTrend with ATR smoothing (nsensitivity*7 factor) for buy/sell signals.
SMA filter (8 & 9 periods) confirms trend strength.
Bar color changes:
Green if close > supertrend.
Red if close < supertrend.
Cirrus Cloud highlights trend zones with semi-transparent colors.
3. Swing & Structure
Detects pivot highs/lows and labels them as HH/LH (Highs), HL/LL (Lows).
Generates BOS (Break of Structure) and CHoCH (Change of Character) signals.
Internal swing structures and order blocks for short-term intraday moves.
4. Order Blocks
Internal Order Blocks (iOBs) and Swing Order Blocks (OBs).
Boxes drawn for bullish/bearish zones.
Auto-delete when broken.
Option to filter blocks by ATR or Cumulative Mean Range.
5. Risk Management
TP/SL levels based on ATR and user-defined % risk.
Shows lines and labels for:
Entry
Stop Loss
TP1, TP2, TP3
Adjustable line style (solid/dashed/dotted).
6. Fair Value Gaps (FVG)
Highlights bullish and bearish gaps.
Option for auto-threshold filtering.
Extendable FVG boxes.
7. EQH/EQL
Detects Equal Highs (EQH) and Equal Lows (EQL) for potential reversals.
Dotted lines with labels.
8. Smart Money Concepts (SMC) Features
Shows:
Swings (internal & swing structure)
Internal order blocks
Premium/Discount zones
Fair Value Gaps
Highs/Lows from previous day/week/month
Configurable for historical vs present display.
9. Alerts
Buy/Sell triggers:
bull = crossover of close above SuperTrend.
bear = crossunder of close below SuperTrend.
Alerts for BOS/CHoCH, EQH/EQL, and OB breaks.
10. Visualization
Trend clouds, colored bars, SMA markers, SuperTrend labels.
Multi-layered info displayed without cluttering the chart.
Customizable colors, line styles, and transparency.
✅ Summary:
This indicator is a comprehensive trading tool for trend detection, swing structure, order block analysis, and risk management. It’s built for smart money and SMC-based trading, offering visual cues and alerts for key trading decisions.
Multi-functional trend, swing, and smart money concept indicator.
Combines SuperTrend, SMA, ATR-based risk management, swing structures, order blocks, EQH/EQL, and Fair Value Gaps (FVG).
Designed for identifying trends, entries/exits, and support/resistance zones.
2. Trend Detection
SuperTrend with ATR smoothing (nsensitivity*7 factor) for buy/sell signals.
SMA filter (8 & 9 periods) confirms trend strength.
Bar color changes:
Green if close > supertrend.
Red if close < supertrend.
Cirrus Cloud highlights trend zones with semi-transparent colors.
3. Swing & Structure
Detects pivot highs/lows and labels them as HH/LH (Highs), HL/LL (Lows).
Generates BOS (Break of Structure) and CHoCH (Change of Character) signals.
Internal swing structures and order blocks for short-term intraday moves.
4. Order Blocks
Internal Order Blocks (iOBs) and Swing Order Blocks (OBs).
Boxes drawn for bullish/bearish zones.
Auto-delete when broken.
Option to filter blocks by ATR or Cumulative Mean Range.
5. Risk Management
TP/SL levels based on ATR and user-defined % risk.
Shows lines and labels for:
Entry
Stop Loss
TP1, TP2, TP3
Adjustable line style (solid/dashed/dotted).
6. Fair Value Gaps (FVG)
Highlights bullish and bearish gaps.
Option for auto-threshold filtering.
Extendable FVG boxes.
7. EQH/EQL
Detects Equal Highs (EQH) and Equal Lows (EQL) for potential reversals.
Dotted lines with labels.
8. Smart Money Concepts (SMC) Features
Shows:
Swings (internal & swing structure)
Internal order blocks
Premium/Discount zones
Fair Value Gaps
Highs/Lows from previous day/week/month
Configurable for historical vs present display.
9. Alerts
Buy/Sell triggers:
bull = crossover of close above SuperTrend.
bear = crossunder of close below SuperTrend.
Alerts for BOS/CHoCH, EQH/EQL, and OB breaks.
10. Visualization
Trend clouds, colored bars, SMA markers, SuperTrend labels.
Multi-layered info displayed without cluttering the chart.
Customizable colors, line styles, and transparency.
✅ Summary:
This indicator is a comprehensive trading tool for trend detection, swing structure, order block analysis, and risk management. It’s built for smart money and SMC-based trading, offering visual cues and alerts for key trading decisions.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.