[yorsh.trades] CCT ICC [FOREX] v1.1Title: CCT ICC - Dual-Mode Trap & Trend Engine
Description:
The CCT ICC (Candle Continuation Theory) is not just a signal indicator; it is a comprehensive trading workspace designed for the serious Forex trader. Built on Pine Script v6, this tool bridges the gap between discretionary analysis and mechanical system verification.
Whether you are looking for real-time trade alerts or a rigorous environment to backtest and validate a strategy, the CCT ICC provides the infrastructure to trade with algorithmic precision.
☯️ The Duality: Two Modes, One Engine
This script operates in two distinct modes, selectable via the settings. This duality is the core strength of the tool, allowing you to move from hypothesis to execution seamlessly.
1. Simulator Mode (Backtest & Model Building)
Purpose: This mode is designed for the rigorous strategist. It transforms your chart into a mechanical testing engine.
How it works: It executes one trade at a time based on strict rules (Daily Risk Limits, Max Wins/Losses per day). It tracks real-time PnL and generates a detailed Historical Performance Table directly on your chart.
Why use it: We encourage users to start here. Use this mode to validate the "Trap Model" expectancy. Does the strategy hold up over the last 100 trades? What is the Drawdown? The Simulator provides the raw data you need to build confidence in your model before risking real capital. It enforces mechanical exits (e.g., Force Exit at 5 PM NY or on Trend Flips) to remove emotional bias from the test.
2. Signal Generator (Live Trading)
Purpose: Once you have validated the model, switch to this mode for live market scanning.
How it works: It acts as a discretionary scanner. It ignores the strict "one trade at a time" rule and daily risk limits, instead alerting you to every valid setup as it happens.
Visuals: It draws static Entry/SL/TP boxes for visual reference, allowing you to pick and choose trades based on your own confluence factors.
⚙️ The Technology: Multi-Timeframe Engines
The script utilizes a dual-engine logic to filter noise and identify high-probability structure:
Engine 1 (Execution): Analyzes the immediate structure on your trading timeframe (e.g., 1H) to find entries.
Engine 2 (Informational/Filter): Monitors the Higher Timeframe (e.g., 4H or Daily) to determine the dominant trend.
Auto-Sync: The script automatically selects the correct institutional timeframes based on your chart (e.g., if you trade M15, it aligns with D1 structure automatically).
⚡ The Strategy: Trap & Structure
The CCT ICC identifies liquidity points where price is likely to continue the trend:
Main Traps: Identifies "Trap Candles" that are breached and then reclaimed, signaling a false reversal (we trade WITH the trend).
Virgin Wicks (VW): Highlights unmitigated wicks that act as POIs for price.
Turtle Soups (TS): specific liquidity sweeps at range edges following the Main trend only.
Range Theory: Dynamically plots Range Highs and Lows to define your Draw on Liquidity (DOL).
🛡️ Risk Management & Position Sizing
Stop guessing your lot size. The script includes a built-in Position Sizer:
Auto-Calculation: Based on your defining risk (e.g., $100 per trade), it calculates the exact lot size required based on the Stop Loss distance.
Auto-FX Detection: Automatically adjusts for Standard Lots (100k) or JPY pairs.
Visual Boxes: Displays the exact Risk:Reward ratio and Quantity directly on the chart.
Note : the position sizer has been tested only on CFD/FOREX
⚠️Methodology & Educational Disclaimer
This script is provided for educational and analytical purposes only.
The logic, models, and visualizations implemented in this script are based on the author’s own understanding, interpretation, and implementation of trading concepts commonly referred to as CCT / ICC market structure theory. These concepts are widely available to the public for free across various educational platforms and sources.
This script does not claim ownership over the underlying theory, nor does it represent any official or authoritative version of CCT / ICC methodologies. It is an independent implementation and should be viewed solely as a learning and analysis tool.
This script is not affiliated with, endorsed by, or connected to any individual, educator, or organization associated with CCT, ICC, or related methodologies.
Risk Disclaimer
Trading financial markets involves significant risk and may not be suitable for all traders. Any signals, levels, projections, or trade examples shown by this script are hypothetical and for demonstration purposes only and do not guarantee future performance.
Nothing in this script constitutes financial advice, investment recommendations, or a solicitation to buy or sell any financial instrument. Users are solely responsible for their trading decisions and risk management.
TradingView is not responsible for any losses or damages resulting from the use of this script.
Author's Note:
The goal of the CCT ICC is to stop you from "predicting" and start you "reacting." Use the Simulator. Study the wins and the losses. Build your model, and then use the Generator to execute it.
Trade safe.
Pine Script® indicator






















