OPEN-SOURCE SCRIPT
ICT Dealing Range [EmpArchitect]

█ OVERVIEW
ICT Dealing Range auto-detects the active confirmed swing range and maps premium, discount, equilibrium, and directional OTE context directly on your chart.
No manual Fibonacci drawing.
No signals.
No entries.
No targets.
This is a clean dealing-range framework for ICT, SMC, and price-action workflows.
The tool answers one question:
Where is price trading within the active range?
█ WHAT IT SHOWS
The script draws:
• Active confirmed swing range
• Premium zone
• Discount zone
• 50% equilibrium
• Directional OTE zone
• Range high and range low
• Compact dashboard state
Premium and discount are always based on the active range:
• Premium = above equilibrium
• Discount = below equilibrium
• Equilibrium = 50% midpoint of the range
█ DIRECTIONAL OTE
OTE is directional.
In Bull Pullback mode, the range is measured Low → High and the OTE zone is drawn inside discount.
In Bear Rally mode, the range is measured High → Low and the OTE zone is drawn inside premium.
Default OTE levels:
• 62%
• 70.5%
• 79%
The 70.5% midpoint is shown inside the OTE zone.
█ RANGE DETECTION
The indicator uses confirmed pivot highs and lows to define the active dealing range.
Auto mode uses the most recent valid alternating pivot sequence:
• Low → High = Bull Pullback
• High → Low = Bear Rally
A minimum ATR range-size filter helps reject noisy micro-ranges on lower timeframes.
Auto-Update can be turned off to freeze the current range.
█ DASHBOARD
The top-right dashboard summarizes current range context:
• Mode: Bull Pullback / Bear Rally
• Zone: Premium / Discount / EQ / Above Range / Below Range
• Bull OTE / Bear OTE: Inside / Above / Below
• Range: size in ATR, or Broken Low / Broken High if price exits the range
• Age: bars since the range formed
If price breaks below a bullish range low or above a bearish range high, the dashboard marks the broken-range state clearly.
█ RANGE MODE
Available modes:
• Auto — uses the latest valid alternating pivot sequence
• Bull Pullback — forces Low → High range, OTE in discount
• Bear Rally — forces High → Low range, OTE in premium
█ VISUAL SYSTEM
The color system matches the EmpArchitect suite:
• Premium = amber
• Discount = teal
• OTE = subtle white / silver
• EQ = gray dashed line
Line hierarchy:
• EQ = dashed, width 2
• Range edges = solid, thin
• OTE levels = dotted, thin
Right-edge labels show:
• 100% High
• 50% EQ
• 0% Low
• Bull OTE / Bear OTE
█ ALERTS
Included factual alerts:
• Price entered premium
• Price entered discount
• Price crossed equilibrium
• Price entered directional OTE
• Price left directional OTE
Alerts are context alerts only. They are not trade signals.
█ NON-REPAINTING LOGIC
Ranges are based on confirmed pivots.
Pivot-based ranges confirm only after the required right-side bars have closed. This is structural confirmation by design.
Once a range is confirmed, it remains stable until a new valid confirmed range replaces it, or Auto-Update is disabled to freeze the current range.
█ PAIRS WITH
Smart Liquidity Map [EmpArchitect] — liquidity context
HTF Context Overlay [EmpArchitect] — higher-timeframe reference levels
Liquidity Trap Zones [EmpArchitect] — failed reversal / trap context
CISD tools [EmpArchitect] — displacement confirmation context
█ NOTES
• Works on all instruments and timeframes
• Best on 15M–4H charts
• Pine Script v6
• Open-source
• Built by EmpArchitect
Educational context tool only.
Not financial advice.
Not a signal service.
ICT Dealing Range auto-detects the active confirmed swing range and maps premium, discount, equilibrium, and directional OTE context directly on your chart.
No manual Fibonacci drawing.
No signals.
No entries.
No targets.
This is a clean dealing-range framework for ICT, SMC, and price-action workflows.
The tool answers one question:
Where is price trading within the active range?
█ WHAT IT SHOWS
The script draws:
• Active confirmed swing range
• Premium zone
• Discount zone
• 50% equilibrium
• Directional OTE zone
• Range high and range low
• Compact dashboard state
Premium and discount are always based on the active range:
• Premium = above equilibrium
• Discount = below equilibrium
• Equilibrium = 50% midpoint of the range
█ DIRECTIONAL OTE
OTE is directional.
In Bull Pullback mode, the range is measured Low → High and the OTE zone is drawn inside discount.
In Bear Rally mode, the range is measured High → Low and the OTE zone is drawn inside premium.
Default OTE levels:
• 62%
• 70.5%
• 79%
The 70.5% midpoint is shown inside the OTE zone.
█ RANGE DETECTION
The indicator uses confirmed pivot highs and lows to define the active dealing range.
Auto mode uses the most recent valid alternating pivot sequence:
• Low → High = Bull Pullback
• High → Low = Bear Rally
A minimum ATR range-size filter helps reject noisy micro-ranges on lower timeframes.
Auto-Update can be turned off to freeze the current range.
█ DASHBOARD
The top-right dashboard summarizes current range context:
• Mode: Bull Pullback / Bear Rally
• Zone: Premium / Discount / EQ / Above Range / Below Range
• Bull OTE / Bear OTE: Inside / Above / Below
• Range: size in ATR, or Broken Low / Broken High if price exits the range
• Age: bars since the range formed
If price breaks below a bullish range low or above a bearish range high, the dashboard marks the broken-range state clearly.
█ RANGE MODE
Available modes:
• Auto — uses the latest valid alternating pivot sequence
• Bull Pullback — forces Low → High range, OTE in discount
• Bear Rally — forces High → Low range, OTE in premium
█ VISUAL SYSTEM
The color system matches the EmpArchitect suite:
• Premium = amber
• Discount = teal
• OTE = subtle white / silver
• EQ = gray dashed line
Line hierarchy:
• EQ = dashed, width 2
• Range edges = solid, thin
• OTE levels = dotted, thin
Right-edge labels show:
• 100% High
• 50% EQ
• 0% Low
• Bull OTE / Bear OTE
█ ALERTS
Included factual alerts:
• Price entered premium
• Price entered discount
• Price crossed equilibrium
• Price entered directional OTE
• Price left directional OTE
Alerts are context alerts only. They are not trade signals.
█ NON-REPAINTING LOGIC
Ranges are based on confirmed pivots.
Pivot-based ranges confirm only after the required right-side bars have closed. This is structural confirmation by design.
Once a range is confirmed, it remains stable until a new valid confirmed range replaces it, or Auto-Update is disabled to freeze the current range.
█ PAIRS WITH
Smart Liquidity Map [EmpArchitect] — liquidity context
HTF Context Overlay [EmpArchitect] — higher-timeframe reference levels
Liquidity Trap Zones [EmpArchitect] — failed reversal / trap context
CISD tools [EmpArchitect] — displacement confirmation context
█ NOTES
• Works on all instruments and timeframes
• Best on 15M–4H charts
• Pine Script v6
• Open-source
• Built by EmpArchitect
Educational context tool only.
Not financial advice.
Not a signal service.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
SMC structure tools — no signals, just the map. Free alerts → t.me/smc_scanner_free | Scanner PRO → whop.com/smc-scanner | @EmpArchitect
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
SMC structure tools — no signals, just the map. Free alerts → t.me/smc_scanner_free | Scanner PRO → whop.com/smc-scanner | @EmpArchitect
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.