PROTECTED SOURCE SCRIPT
Aggiornato

MirPapa:ICT:HTF: Candle OB Threeple

153
# 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!
Note di rilascio
update : Swing High / Low

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.