OPEN-SOURCE SCRIPT
CandelaCharts - Order Blocks

📝 Overview
The CandelaCharts - Order Blocks indicator identifies high-probability supply and demand zones based on ICT (Inner Circle Trader) and Smart Money Concepts (SMC). An ICT Order Block represents the specific candle where institutional liquidity was injected to reverse the market, acting as a magnet for future price action. This indicator not only highlights these crucial institutional footprints but dynamically tracks how deeply they have been mitigated by future price action.
📦 Features
⚙️ Settings
⚡️ Showcase
Order Blocks

Mitigation

Mean Line

🚨 Alerts
The indicator includes fully integrated dynamic alerts that can be captured using the "Any alert() function call" condition, as well as standard alert conditions:
⚠️ Disclaimer
Trading involves significant risk, and many participants may incur losses. The content on this site is not intended as financial advice and should not be interpreted as such. Decisions to buy, sell, hold, or trade securities, commodities, or other financial instruments carry inherent risks and are best made with guidance from qualified financial professionals. Past performance is not indicative of future results.
The CandelaCharts - Order Blocks indicator identifies high-probability supply and demand zones based on ICT (Inner Circle Trader) and Smart Money Concepts (SMC). An ICT Order Block represents the specific candle where institutional liquidity was injected to reverse the market, acting as a magnet for future price action. This indicator not only highlights these crucial institutional footprints but dynamically tracks how deeply they have been mitigated by future price action.
📦 Features
- Precision Detection: Identifies both Bullish and Bearish Order Blocks using advanced pivot tracking and multi-timeframe logic.
- Dynamic Mitigation Tracking: Displays the precise percentage of the unmitigated zone remaining. The block visually updates as price pierces deeper into the zone, leaving a solid background on the unmitigated portion and a faded background where price has already traded.
- Wick vs Close Logic: Customize exactly how mitigation is calculated. Choose to invalidate and measure mitigation depth using candle wicks or strict candle closes.
- Clean Chart Mechanics: Built-in filtering removes overlapping blocks, keeping your chart tidy and focusing on the most relevant levels.
- Customizable Aesthetics: Full control over block borders, mean lines (mid-lines), text formatting, and alignment settings (Full, Middle, Accurate, Precise, Sequence).
⚙️ Settings
- Show: Toggles the visibility of the entire indicator.
- History: Adjust the maximum number of historical Order Blocks to display simultaneously.
- Alignment: Controls how the top and bottom bounds of the block are calculated (e.g., Full Candle, Accurate, Precise, Sequence).
- Mitigation Toggle & Mode: Enable or disable the visual percentage display. Choose Wick or Close to determine how mitigation depth and block invalidation are calculated.
- Timeframe: Lock the Order Blocks to a specific timeframe, or leave it dynamic.
- Show Border: Toggle borders and customize their style/width.
- Show Mean: Toggle the mean line (midline) of the blocks and customize its style/width.
- Text Size: Toggle the text display and choose the desired text size. When toggled off, the block type label is hidden, but the mitigation percentage cleanly aligns to the right.
- Hide Overlap: When enabled, removes redundant order blocks that share the same price region.
⚡️ Showcase
Order Blocks
Mitigation
Mean Line
🚨 Alerts
The indicator includes fully integrated dynamic alerts that can be captured using the "Any alert() function call" condition, as well as standard alert conditions:
- New Bullish/Bearish Order Block: Triggers the moment a new valid order block is confirmed.
- Order Block Touch: Triggers when a candle pierces or enters an active, unmitigated order block.
⚠️ Disclaimer
Trading involves significant risk, and many participants may incur losses. The content on this site is not intended as financial advice and should not be interpreted as such. Decisions to buy, sell, hold, or trade securities, commodities, or other financial instruments carry inherent risks and are best made with guidance from qualified financial professionals. Past performance is not indicative of future results.
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
🔵 Tools that give you the edge: candelacharts.com/.
🔵 Join our free discord for updates: candelacharts.com/community
🔵 Join our free discord for updates: candelacharts.com/community
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
🔵 Tools that give you the edge: candelacharts.com/.
🔵 Join our free discord for updates: candelacharts.com/community
🔵 Join our free discord for updates: candelacharts.com/community
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。