PROTECTED SOURCE SCRIPT

ICC Pro - Indication, Correction, Continuation Trading System

183
# ICC Pro - Indication, Correction, Continuation Trading System

## Overview
The ICC (Indication, Correction, Continuation) methodology identifies institutional market cycles by detecting break of structure (BOS), tracking pullback depth using Fibonacci-based correction zones, and confirming multi-timeframe reversals before entry signals.

## Core Methodology

### Phase 1: Indication (BOS Detection)
**Technical Implementation:**
- Uses `ta.pivothigh()` and `ta.pivotlow()` with configurable lookback periods (default: 5 bars)
- Confirms BOS when close price breaks previous swing high/low
- Validates impulse move using ATR-based minimum threshold (default: 1.0x ATR)
- Non-repainting: All BOS detection references previous bar's closed prices

**What Makes This Unique:**
Unlike basic BOS indicators that simply mark swing breaks, this implementation:
- Filters false breakouts using ATR-based impulse sizing
- Tracks BOS origin points for accurate correction measurement
- Distinguishes between impulsive moves and weak breakouts

### Phase 2: Correction (Pullback Analysis)
**Technical Implementation:**
- Calculates Fibonacci retracement levels (38.2%, 50%, 61.8%) from BOS range
- User-defined correction boundaries (default: 20%-80% of BOS range)
- Maximum correction duration tracking (default: 25 bars)
- Real-time correction depth monitoring

**Unique Features:**
- Dynamic correction validation: requires minimum bar count (default: 2) AND minimum depth
- Adaptive timeout system prevents stale setups
- Tracks correction extremes separately from entry triggers to avoid repainting

### Phase 3: Continuation (Entry Signal)
**Technical Implementation:**
Four entry methods available:
1. **Break Correction High/Low**: Price must break and close beyond correction extreme
2. **Close Beyond Level**: Simplified close-only trigger
3. **Bullish/Bearish Candle**: Requires directional candle + break of previous bar's extreme
4. **Any Momentum Candle**: ATR-based momentum threshold (0.3x ATR minimum)

**Multi-Timeframe Confirmation** (optional):
- Requires M15 timeframe reversal pattern (HH+HL for longs, LH+LL for shorts)
- Uses nested swing detection within correction phase
- Can be toggled off for faster entries

**Critical Anti-Repainting Logic:**
All entry triggers evaluate previous bar's price action BEFORE updating correction tracking. This ensures signals appear only on closed bars and never repaint.

## Supply & Demand Zone Detection

**Algorithm:**
- Creates zones at swing pivot points using ATR-based height calculation (default: 0.3x ATR)
- Asymmetric zone structure: extends 30% below demand zones, 30% above supply zones
- Tracks zone tests and maintains maximum zone count (default: 5)
- Zones extend forward configurable number of bars (default: 50)

**Confluence Integration:**
Price interaction with zones adds 25 points to confluence score when setup aligns with correct zone type.

## Confluence Scoring System

**Scoring Components (100-point scale):**
- Trend Alignment (HH+HL or LH+LL structure): +20 points
- Price in Correct Zone (Demand for longs, Supply for shorts): +25 points
- Optimal Correction Depth (38.2%-61.8% Fibonacci range): +20 points
- Minimum Correction Met (user-defined % of BOS range): +15 points
- Valid Correction Duration (minimum bars satisfied): +10 points
- M15 Reversal Confirmed: +10 points

**Rating Grades:**
- A+ Prime: 80-100 points
- A Strong: 65-79 points
- B Good: 50-64 points
- C Fair: 35-49 points
- D Weak: 20-34 points
- F Wait: 0-19 points

## Risk Management Features

**Stop Loss Options:**
1. **Correction Extreme**: Places SL at correction low/high + ATR buffer
2. **ATR Based**: Multiple of ATR from entry price
3. **Fixed Points**: Absolute point value

**Take Profit Options:**
- **R:R Based**: TP1 and TP2 calculated from risk multiple (default: 1:1 and 1.5:1)
- **Fixed Points**: Absolute point values for TP1 and TP2

**Live Trade Tracking:**
- Array-based system stores all active trade parameters
- Monitors price against TP1, TP2, and SL levels every bar
- Updates labels with checkmarks (✓) when targets hit
- Marks trades complete when TP2 or SL triggered

## Dashboard & Visual System

**Real-Time Metrics:**
- Current ICC phase (Scanning, BOS, Correction)
- H1 trend direction (HH/HL pattern detection)
- BOS range size in points
- Correction depth percentage
- Correction bar count vs maximum
- Supply/Demand zone status
- Entry readiness indicator
- Current confluence score and grade
- ATR (14-period)
- Repainting status (always shows "NO")

**Customization:**
- Vertical or horizontal layout
- 9 position options (corners, edges, center)
- 4 size options (tiny to large)
- All visual elements toggleable

## What Differentiates This From Other BOS/Supply-Demand Indicators

1. **True Non-Repainting Logic**: Entry signals evaluate PREVIOUS bar before correction tracking updates
2. **Multi-Condition Confluence System**: 6-component scoring algorithm vs simple yes/no signals
3. **Live Trade Management**: Tracks and updates TP/SL hits in real-time on chart
4. **Adaptive Correction Validation**: Combines time, depth, and momentum filters
5. **Professional Risk Calculation**: Multiple SL/TP methods with live R:R display
6. **Institutional Logic Flow**: Mirrors market maker cycle (BOS → Correction → Continuation)

## Settings Overview

**ICC Core:**
- Swing Lookback: Pivot detection sensitivity (2-20 bars)
- Min BOS Size: ATR multiple for impulse validation (0.3-5.0)

**Correction:**
- Min/Max Correction %: Pullback boundaries (10-100%)
- Max Correction Bars: Time limit for valid pullback (5-50 bars)
- Min Correction Bars: Minimum duration requirement (1-10 bars)

**Entry:**
- Entry Method: 4 trigger types available
- Trade Direction: Long Only, Short Only, or Both
- Require M15 Reversal: Toggle multi-timeframe confirmation

**Risk Management:**
- SL Type: Correction Extreme, ATR Based, or Fixed Points
- TP Type: R:R Ratios or Fixed Points
- Customizable multiples and values

**Visuals:**
- Toggles for all chart elements
- Supply/Demand zone customization
- Label sizing and colors
- Dashboard positioning and layout

## Alerts Available

- Bullish/Bearish BOS detection
- Correction start signals
- Long/Short entry confirmations
- Zone confluence alerts
- Master "Any ICC Event" alert

## Usage Recommendations

**Best Practices:**
1. Use on H1 charts for optimal BOS identification
2. Trade only A or A+ rated setups for highest probability
3. Combine with higher timeframe trend analysis
4. Adjust correction % range based on asset volatility
5. Enable M15 reversal confirmation for conservative approach
6. Use ATR-based SL for adaptive risk management

**Asset Types:**
Designed for trending markets with clear institutional footprints: forex majors, indices, cryptocurrency, commodities.

**Risk Disclaimer:**
This indicator is for educational purposes only and provides technical analysis signals based on price structure and confluence scoring. It does not guarantee profitable trades. Always use proper risk management and never risk more than you can afford to lose.

---

## Why This System?

Traditional BOS indicators fail because they:
- Generate signals on weak breakouts
- Don't validate correction quality
- Lack confluence measurement
- Repaint historical signals
- Ignore multi-timeframe context

ICC Pro addresses all these issues with a systematic, non-repainting approach that mirrors institutional trading behavior.
```

---

**Latest Update (v1.6):**
- Added TP/SL hit confirmation tracking with visual feedback
- Implemented confluence scoring system (0-100 scale with A+ to F ratings)
- Added customizable dashboard with horizontal/vertical layouts
- Enhanced TP/SL label customization (size, colors)
- Refined trade logic to eliminate repainting
- Improved visual elements and signal accuracy

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.