PROTECTED SOURCE SCRIPT
Telah dikemas kini MirPapa:ICT:HTF: Candle OB Threeple

# MirPapa:ICT:HTF: Candle OB Threeple
**Version:** Pine Script® v6
---
## Installation
1. Open TradingView’s Pine Editor.
2. Paste the entire script (including `import goodia/MirPapa_Library_ICT/3 as lib`).
3. Click **“Add to Chart”**.
---
## Inputs & Configuration
After adding to chart, open the indicator’s settings panel:
1. **Box Close Color**
- Choose the color applied when a Candle OB box is finalized (recolored).
2. **HighTF COB Settings**
- **HighTF Label:** Select a higher timeframe (e.g., “4시간” for 4H).
- **Enable HighTF COB Boxes:** Toggle drawing of HighTF boxes.
- **Enable HighTF COB Midlines:** Toggle drawing of the horizontal midpoint line inside each HighTF box.
- **HighTF COB Close Count:** Number of HTF closes beyond the box required to finalize (1–10).
- **HighTF COB Bull Color / Bear Color:** Select fill/border colors for bullish and bearish HighTF boxes.
- **HighTF Box Transparency:** Adjust box opacity (1–100).
3. **MidTF COB Settings**
- **MidTF Label:** Select a middle timeframe (e.g., “1시간” for 1H).
- **Enable MidTF COB Boxes:** Toggle drawing of MidTF boxes.
- **Enable MidTF COB Midlines:** Toggle the midpoint line inside each MidTF box.
- **MidTF COB Close Count:** Number of MidTF closes beyond the box required to finalize (1–10).
- **MidTF COB Bull Color / Bear Color:** Select fill/border colors for bullish and bearish MidTF boxes.
- **MidTF Box Transparency:** Adjust box opacity (1–100).
4. **CurrentTF COB Settings**
- **Enable CurrentTF COB Boxes:** Toggle drawing of COB boxes on the chart’s own timeframe.
- **Enable CurrentTF COB Midlines:** Toggle the midpoint line inside each CurrentTF box.
- **CurrentTF COB Close Count:** Number of closes beyond the box required to finalize (1–10).
- **COB Detection Level:** Choose pivot strength for detection (1 or 2).
- **CurrentTF COB Bull Color / Bear Color:** Select fill/border colors for bullish and bearish CurrentTF boxes.
- **CurrentTF Box Transparency:** Adjust box opacity (1–100).
---
## Display & Interpretation
- **Candle OB Boxes**
- Each box appears at the moment a reversal candle is detected on the chosen timeframe.
- Bullish boxes have the “Bull Color”; bearish boxes have the “Bear Color.”
- The midpoint line (if enabled) is drawn across the box’s center.
- **Box Extension**
- Once created, each box extends to the right on every new bar of the chart.
- You will see the box tracking along with price until it is finalized.
- **Box Finalization (Recoloring)**
- After the specified number of closes beyond the candle range, the box’s border and fill change to the **Box Close Color**.
- Finalized boxes remain visible in semi-transparent form, indicating that the zone has been “tested.”
- **Multiple Timeframes**
- If HighTF, MidTF, and/or CurrentTF boxes are all enabled, you’ll see up to three separate layers of boxes (one per timeframe).
- Higher-timeframe boxes typically span more candles; MidTF and CurrentTF boxes will be narrower.
---
## Tips
- **Adjust Opacity** to avoid clutter when multiple boxes overlap.
- **Use Distinct Colors** for each timeframe to quickly differentiate HighTF vs. MidTF vs. CurrentTF.
- **Experiment with Close Count** to control how long boxes remain active before finalizing.
- **Toggle Midlines** if you prefer seeing only the box or want an added visual cue at its center.
Enjoy clear, multi-timeframe Candle Order Block visualization on your chart!
**Version:** Pine Script® v6
---
## Installation
1. Open TradingView’s Pine Editor.
2. Paste the entire script (including `import goodia/MirPapa_Library_ICT/3 as lib`).
3. Click **“Add to Chart”**.
---
## Inputs & Configuration
After adding to chart, open the indicator’s settings panel:
1. **Box Close Color**
- Choose the color applied when a Candle OB box is finalized (recolored).
2. **HighTF COB Settings**
- **HighTF Label:** Select a higher timeframe (e.g., “4시간” for 4H).
- **Enable HighTF COB Boxes:** Toggle drawing of HighTF boxes.
- **Enable HighTF COB Midlines:** Toggle drawing of the horizontal midpoint line inside each HighTF box.
- **HighTF COB Close Count:** Number of HTF closes beyond the box required to finalize (1–10).
- **HighTF COB Bull Color / Bear Color:** Select fill/border colors for bullish and bearish HighTF boxes.
- **HighTF Box Transparency:** Adjust box opacity (1–100).
3. **MidTF COB Settings**
- **MidTF Label:** Select a middle timeframe (e.g., “1시간” for 1H).
- **Enable MidTF COB Boxes:** Toggle drawing of MidTF boxes.
- **Enable MidTF COB Midlines:** Toggle the midpoint line inside each MidTF box.
- **MidTF COB Close Count:** Number of MidTF closes beyond the box required to finalize (1–10).
- **MidTF COB Bull Color / Bear Color:** Select fill/border colors for bullish and bearish MidTF boxes.
- **MidTF Box Transparency:** Adjust box opacity (1–100).
4. **CurrentTF COB Settings**
- **Enable CurrentTF COB Boxes:** Toggle drawing of COB boxes on the chart’s own timeframe.
- **Enable CurrentTF COB Midlines:** Toggle the midpoint line inside each CurrentTF box.
- **CurrentTF COB Close Count:** Number of closes beyond the box required to finalize (1–10).
- **COB Detection Level:** Choose pivot strength for detection (1 or 2).
- **CurrentTF COB Bull Color / Bear Color:** Select fill/border colors for bullish and bearish CurrentTF boxes.
- **CurrentTF Box Transparency:** Adjust box opacity (1–100).
---
## Display & Interpretation
- **Candle OB Boxes**
- Each box appears at the moment a reversal candle is detected on the chosen timeframe.
- Bullish boxes have the “Bull Color”; bearish boxes have the “Bear Color.”
- The midpoint line (if enabled) is drawn across the box’s center.
- **Box Extension**
- Once created, each box extends to the right on every new bar of the chart.
- You will see the box tracking along with price until it is finalized.
- **Box Finalization (Recoloring)**
- After the specified number of closes beyond the candle range, the box’s border and fill change to the **Box Close Color**.
- Finalized boxes remain visible in semi-transparent form, indicating that the zone has been “tested.”
- **Multiple Timeframes**
- If HighTF, MidTF, and/or CurrentTF boxes are all enabled, you’ll see up to three separate layers of boxes (one per timeframe).
- Higher-timeframe boxes typically span more candles; MidTF and CurrentTF boxes will be narrower.
---
## Tips
- **Adjust Opacity** to avoid clutter when multiple boxes overlap.
- **Use Distinct Colors** for each timeframe to quickly differentiate HighTF vs. MidTF vs. CurrentTF.
- **Experiment with Close Count** to control how long boxes remain active before finalizing.
- **Toggle Midlines** if you prefer seeing only the box or want an added visual cue at its center.
Enjoy clear, multi-timeframe Candle Order Block visualization on your chart!
Nota Keluaran
update : Swing High / Low Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
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 dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
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.