OPEN-SOURCE SCRIPT
SMC Structure Indicator

## SMC Structure Indicator by IMSHAHROKH
This indicator is a comprehensive tool for traders who use **Smart Money Concepts (SMC)** or **ICT** methodologies. It is designed to automatically identify and visualize key market structure elements, helping traders to make more informed decisions by cleaning up the chart and highlighting only what matters.
---
### **Key Features**
* **Major Pivots:** Automatically plots major swing highs and lows (pivots) based on a user-defined lookback period. This helps in identifying the current market trend and structure.
* **Change of Character (CHOCH):** Identifies and labels a "Change of Character" when a confirmed pivot is broken, signaling a potential shift in market direction.
* **Order Blocks (OB):** Automatically draws the corresponding Order Block (the last candle before the break) after a CHOCH occurs. These zones are potential high-probability areas of interest for future entries.
* **Highly Customizable:** The indicator comes with a clean settings panel that allows you to:
* Toggle the visibility of Pivots, CHOCH labels, and Order Blocks.
* Fully customize the colors for bullish and bearish Order Blocks.
* Adjust the sensitivity of pivot detection.
---
### **How to Use / Strategy Suggestion**
This indicator is a purely analytical tool and does not provide direct buy/sell signals. A common way to use it based on SMC/ICT principles is as follows:
1. **Identify Trend:** Use the series of pivots to determine the primary market trend (e.g., higher highs and higher lows indicate an uptrend).
2. **Wait for CHOCH:** Wait for a Change of Character *against* the primary trend. For example, in an uptrend, wait for a recent Pivot Low to be broken. The indicator will mark this with a **CHOCH ▼** label.
3. **Identify the Zone:** The indicator will then draw the corresponding Order Block (in this case, the last up-candle before the price dropped). This is now a high-probability **supply zone**.
4. **Anticipate Entry:** Wait for the price to return (mitigate) to this Order Block zone in the future.
5. **Confirm Entry:** Look for your own entry confirmation (e.g., a reversal pattern on a lower timeframe) within or near this zone to execute a trade.
6. **Manage Risk:** A logical Stop Loss would typically be placed just above the high of the supply zone (or below the low of a demand zone).
---
This tool is intended to assist with your market analysis and should be used in conjunction with your own trading plan and risk management. Hope it helps you in your trading journey!
This indicator is a comprehensive tool for traders who use **Smart Money Concepts (SMC)** or **ICT** methodologies. It is designed to automatically identify and visualize key market structure elements, helping traders to make more informed decisions by cleaning up the chart and highlighting only what matters.
---
### **Key Features**
* **Major Pivots:** Automatically plots major swing highs and lows (pivots) based on a user-defined lookback period. This helps in identifying the current market trend and structure.
* **Change of Character (CHOCH):** Identifies and labels a "Change of Character" when a confirmed pivot is broken, signaling a potential shift in market direction.
* **Order Blocks (OB):** Automatically draws the corresponding Order Block (the last candle before the break) after a CHOCH occurs. These zones are potential high-probability areas of interest for future entries.
* **Highly Customizable:** The indicator comes with a clean settings panel that allows you to:
* Toggle the visibility of Pivots, CHOCH labels, and Order Blocks.
* Fully customize the colors for bullish and bearish Order Blocks.
* Adjust the sensitivity of pivot detection.
---
### **How to Use / Strategy Suggestion**
This indicator is a purely analytical tool and does not provide direct buy/sell signals. A common way to use it based on SMC/ICT principles is as follows:
1. **Identify Trend:** Use the series of pivots to determine the primary market trend (e.g., higher highs and higher lows indicate an uptrend).
2. **Wait for CHOCH:** Wait for a Change of Character *against* the primary trend. For example, in an uptrend, wait for a recent Pivot Low to be broken. The indicator will mark this with a **CHOCH ▼** label.
3. **Identify the Zone:** The indicator will then draw the corresponding Order Block (in this case, the last up-candle before the price dropped). This is now a high-probability **supply zone**.
4. **Anticipate Entry:** Wait for the price to return (mitigate) to this Order Block zone in the future.
5. **Confirm Entry:** Look for your own entry confirmation (e.g., a reversal pattern on a lower timeframe) within or near this zone to execute a trade.
6. **Manage Risk:** A logical Stop Loss would typically be placed just above the high of the supply zone (or below the low of a demand zone).
---
This tool is intended to assist with your market analysis and should be used in conjunction with your own trading plan and risk management. Hope it helps you in your trading journey!
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.