OPEN-SOURCE SCRIPT
تم تحديثه Advanced ICC Multi-Timeframe 1.0

Advanced ICC Multi-Timeframe Trading System
A comprehensive implementation and interpretation of the Indication, Correction, Continuation (ICC) trading methodology made popular by Trades by Sci, enhanced with advanced multi-timeframe analysis and automation features.
⚠️ CRITICAL TRADING WARNINGS:
⚠️ Important Disclaimers:
About ICC:
The ICC method identifies complete market cycles through three phases: Indication (breakout), Correction (pullback), and Continuation (entry). This indicator automates the identification of these phases and adds powerful features for modern traders.
Key Features:
Multi-Timeframe Capabilities:
Advanced Phase Tracking:
Three Types of Entry Signals:
Professional Features:
📖 USAGE GUIDE
Entry Signal Types:
The indicator provides three types of entry signals with visual distinction:
Strong Entries (High Confidence):
Reversal Entries (Caution - Counter-Trend):
Perfect for traders learning or implementing the ICC methodology with the benefit of modern automation, multi-timeframe analysis, and flexible entry signal options.
A comprehensive implementation and interpretation of the Indication, Correction, Continuation (ICC) trading methodology made popular by Trades by Sci, enhanced with advanced multi-timeframe analysis and automation features.
⚠️ CRITICAL TRADING WARNINGS:
- DO NOT blindly follow BUY/SELL signals from this indicator
- This indicator shows potential entry points but YOU must validate each trade
- PAPER TRADE EXTENSIVELY before risking real capital
- BACKTEST THOROUGHLY on your chosen instruments and timeframes
- The ICC methodology requires understanding and discretion - automated signals are guidance only
- This tool aids analysis but does not replace proper trade planning, risk management, or trader judgment
⚠️ Important Disclaimers:
- This indicator is not endorsed by or affiliated with Trades by Sci
- This is an early implementation and interpretation of the ICC methodology
- May not work exactly as Trades by Sci executes his trades and entries
- Requires further debugging, backtesting, and real-world validation
- Completely free to use - no purchase required
- I'm just one person obsessed with this method and wanted some better visualization of the chart/entries
About ICC:
The ICC method identifies complete market cycles through three phases: Indication (breakout), Correction (pullback), and Continuation (entry). This indicator automates the identification of these phases and adds powerful features for modern traders.
Key Features:
Multi-Timeframe Capabilities:
- Automatic timeframe detection with optimized settings for 5m, 15m, 30m, 1H, 4H, and Daily charts
- Higher timeframe overlay to view HTF ICC levels on lower timeframe charts for precise entry timing
- Smart defaults that adjust swing length and consolidation detection based on your timeframe
Advanced Phase Tracking:
- Complete ICC cycle tracking: Indication, Correction, Consolidation, Continuation, and No Setup phases
- Live structure detection shows potential peaks/troughs before full confirmation
Intelligent invalidation logic detects failed setups when market structure reverses - Dynamic phase backgrounds for instant visual confirmation
Three Types of Entry Signals:
- Traditional Entries - Price crosses back through the original indication level (strongest signals)
"BUY" (green) / "SELL" (red) - Breakout Entries - Price breaks out of consolidation range in the same direction
"BUY" (green) / "SELL" (red) - Reversal Entries (Optional, can be toggled off) - Price breaks consolidation in opposite direction, indicating failed setup
"⚠ BUY" (yellow) / "⚠ SELL" (orange)
More aggressive, counter-trend signals
Can be disabled for more conservative trading
Professional Features:
- Volatility-based support/resistance zones (ATR-adjusted) that adapt to market conditions
- Historical zone tracking (0-3 configurable) with visual hierarchy
- Comprehensive real-time info table displaying all key metrics
- Full alert system for entries, indications, and consolidation detection
- Visual distinction between high-confidence trend entries and cautionary reversal entries
📖 USAGE GUIDE
Entry Signal Types:
The indicator provides three types of entry signals with visual distinction:
Strong Entries (High Confidence):
- "BUY" (bright green) / "SELL" (bright red)
- Includes traditional entries (crossing back through indication level) and breakout entries (breaking consolidation in trend direction)
- These are trend continuation or breakout signals with higher probability
- Recommended for all traders
Reversal Entries (Caution - Counter-Trend):
- "⚠ BUY" (yellow) / "⚠ SELL" (orange)
- Triggered when price breaks out of correction/consolidation in the OPPOSITE direction
- Indicates a failed setup and potential trend reversal
- More aggressive, counter-trend plays
- Can be toggled off in settings for more conservative trading
- Recommended only for experienced traders or after thorough backtesting
Swing Length Settings:
The swing length determines how many bars on each side are needed to confirm a swing high/low. This is the most important setting for tuning the indicator to your style. - Auto Mode (Recommended for beginners): Toggle "Use Auto Timeframe Settings" ON
5-minute: 30 bars
15-minute: 20 bars
30-minute: 12 bars
1-hour: 7 bars
4-hour: 5 bars
Daily: 3 bars - Manual Mode: Toggle "Use Auto Timeframe Settings" OFF
Lower values (3-7): More aggressive, detects smaller swings
Pros: More signals, faster entries, catches smaller moves
Cons: More noise, more false signals, requires tighter stops
Best for: Scalping, active day trading, volatile markets
Higher values (12-20): More conservative, only major swings
Pros: More reliable signals, fewer false breakouts, clearer structure
Cons: Fewer signals, delayed entries, might miss smaller opportunities
Best for: Swing trading, position trading, trending markets - Default Manual Setting: 7 bars (balanced for 1H charts)
Minimum: 3 bars
Consolidation Bars Setting:
Determines how many bars without new structure are needed before flagging consolidation.
Lower values (3-10): Faster detection, catches brief pauses, more sensitive
Best for: Lower timeframes, volatile markets, avoiding any chop
Higher values (20-40): More reliable, only flags true extended consolidation
Best for: Higher timeframes, trending markets, patient traders
Current defaults scale with timeframe (more bars needed on shorter timeframes)
Historical S/R Zones:
Shows previous support and resistance levels to provide context.
Default: 2 historical zones (shows current + 2 previous)
Range: 0-3 zones
Visual Hierarchy: Older zones are more transparent with dashed borders
Usage: Higher numbers (2-3) show more historical context but can clutter the chart. Start with 2 and adjust based on your preference.
Live Structure Feature (Yellow Warning ⚠):
Provides early warning of potential structure changes before full confirmation.
What it does: Detects potential swing highs/lows after just 2 bars instead of waiting for full swing_length confirmation
Live Peak: Shows when a high is followed by 2 lower closes (potential top forming)
Live Trough: Shows when a low is followed by 2 higher closes (potential bottom forming)
Important: These are UNCONFIRMED - they may be invalidated if price reverses
Use case: Get early awareness of potential reversals while waiting for confirmation
Displayed in: Info table only (no visual markers on chart to reduce clutter)
Only shows: Peaks higher than last swing high, or troughs lower than last swing low (filters out noise)
Higher Timeframe (HTF) Analysis:
View higher timeframe ICC structure while trading on lower timeframes.
How to enable: Toggle "Show Higher Timeframe ICC" ON
Setup: Set "Higher Timeframe" to your reference timeframe
Example: Trading on 15-minute? Set HTF to 240 (4-hour) or 60 (1-hour)
Example: Trading on 5-minute? Set HTF to 60 (1-hour) or 15 (15-minute)
What it shows:
HTF indication levels displayed as dashed lines
Blue = HTF Bullish Indication
Purple = HTF Bearish Indication
HTF phase and levels shown in info table
Trading workflow:
Check HTF phase for overall market direction
Wait for HTF correction phase
Drop to lower timeframe to find precise entries
Enter when lower TF shows continuation in alignment with HTF
Best practice: HTF should be 3-4x your trading timeframe for best results
Reversal Entries Toggle:
Default: ON (shows all signal types)
Toggle OFF for more conservative trading (only trend continuation signals)
Recommended: Backtest with both settings to see which works better for your style
New traders should consider disabling reversal entries initially
Volatility-Based Zones:
When enabled, support/resistance zones automatically adjust their height based on ATR (Average True Range).
More volatile = wider zones
Less volatile = tighter zones
Toggle OFF for fixed-width zones
Community Feedback Welcome:
This is an evolving project and your input is valuable! Please share: - Bug reports and issues you encounter
- Feature requests and suggestions for improvement
- Results from your backtesting and live trading experience
- Feedback on the reversal entry feature (too aggressive? working well?)
- Ideas for better aligning with the ICC methodology
Perfect for traders learning or implementing the ICC methodology with the benefit of modern automation, multi-timeframe analysis, and flexible entry signal options.
ملاحظات الأخبار
Advanced ICC Multi-Timeframe Trading System 1.1A visual + multi-timeframe implementation of the Indication → Correction → Continuation (ICC) method popularized by Trades by Sci, with added TP/SL projections and flexible Swing/Intraday/Scalping profiles.
Not affiliated with Trades by Sci. Just a fan of the method who wanted cleaner ICC tools.
[hr]
⚠ CRITICAL WARNINGS
• Do not blindly trade BUY/SELL labels
• Validate structure, context, and risk
• Paper trade + backtest before going live
This indicator highlights possible ICC entries — you decide whether they’re valid.
[hr]
About ICC (very short)
• Indication — first structural break
• Correction — pullback / consolidation
• Continuation — trend resumes (preferred entries)
This script tracks these phases and provides visual structure around them.
[hr]
Major Features (v1.1)
1. Auto Profiles: Scalping / Intraday / Swing
Automatically adjusts swing length, consolidation bars, and wiggle tolerance.
Manual mode also available (Swing Length, Consolidation Bars, Wiggle%).
2. ICC Phase Tracking + Background Colors
Shows: Indication, Correction, Continuation, Neutral Range, No Setup.
Background shading = instantly-readable structure context.
3. Entry Types (visually separated)
• BUY / SELL = continuation (traditional + breakout)
• BUY+ / SELL+ = continuation aligned with HTF direction
• ⚠BUY / ⚠SELL = optional reversal entries (counter-trend)
Reversals do not trigger TP/SL or change the ICC phase.
4. Multi-Timeframe (HTF) Tools
• Optional HTF S/R boxes
• Optional “Filter Entries by HTF Direction”
→ Only aligned continuations show (as BUY+/SELL+)
→ Non-aligned ones are hidden
HTF info also appears in the table when filtering is active.
5. TP/SL Projection Engine
On valid continuation entries:
• Structure-based stop (preferred) or ATR fallback
• TP1 + TP2 based on your R-multiples
• Lines extend only during active continuation
This is for visualization — not auto trading.
6. Volatility-Aware Support/Resistance Zones
Zones adjust by ATR (optional), track up to 3 historical levels, fade visually, and use dashed borders for older zones.
7. Live Structure (Optional)
Early detection of potential swing highs/lows (unconfirmed).
Shown only in the info table to avoid clutter.
8. Info Table
Displays: ICC phase, indication level, swings, consolidation range, bars in phase, live structure, and HTF info (when enabled).
[hr]
Alerts
BUY/SELL alerts fire only when the corresponding flag is visible on the chart.
Reversals only alert when enabled.
Also includes: Bullish/Bearish Indication, Neutral Consolidation, and ICC Correction Consolidation.
All use {{ticker}} {{interval}} {{time}}.
[hr]
Quick Start
• New to ICC → Use Intraday, start on 15m or 30m
• Scalping → Scalping profile, 1m–5m
• Swing trading → Swing profile + HTF filter
• Consider disabling reversals until comfortable
Always size risk in R and validate structure.
[hr]
Feedback Welcome
This is an evolving project — suggestions, bug reports, and ICC insights are appreciated.
ملاحظات الأخبار
Update notes (v1.2):Okay… this thing is officially turning into a bit of a beast 😅 But please stay with me.
This update includes a pretty meaningful cleanup and re-haul of how the script tracks what phase the ticker is actually in from an ICC standpoint. A lot of internal state logic was tightened up, which should make phase labeling, continuation logic, and overall behavior feel more consistent and less “mystery-meat.”
Alerts have also been overhauled. You now only need to set one alert. No more separate BUY and SELL alerts — a single entry alert will fire and tell you whether it’s a buy or sell directly in the message.
I also added a new “Entry” Auto Profile, which is specifically meant for lower timeframes (5m, 15m) when you’re zooming in to look for a cleaner entry rather than running full ICC structure logic. Most people can leave the rest of the profile and stop-loss settings alone; the defaults are meant to be reasonable for beginners.
ICC Friendliness Score (very experimental) This one comes with a big asterisk.
I’ve added an ICC Friendliness Score, and I’ll be honest — I’m still figuring out what to make of it myself. Use at your own risk.
- []V1 is meant to be a general “how well does this ticker usually behave with ICC?” []V2.5 is more of a “how compatible is this ticker with ICC right now?”
This came out of a bit of vibe-coding with ChatGPT and a lot of experimentation. Its usefulness (or accuracy) is very much still being explored, so treat it as informational, not gospel.
A few people have messaged me about the script — I’m always happy to respond, though it may take me a couple days depending on real life.
I’ve also been doing some backtesting with this system, and I plan to upload a Strategy version so people can play around with settings more easily. For now, I’ve defaulted the Auto Profile to Scalping, since in my testing most tickers seemed to perform best there.
All in all, this project has massively deepened my understanding of ICC and market structure. I honestly feel like I could write a book about it at this point. Building this has been one of the most useful learning tools I’ve ever used for really internalizing the method.
As always — a quick disclaimer:
- []Please use this script with paper trading before risking real money. []BUY/SELL labels are not signals to blindly follow — they should always be evaluated in context. []This indicator does not replace your own analysis, risk management, or judgment. []If something feels off, skip the trade. There will always be another setup.
Feedback, edge cases, and thoughts are always welcome.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.