OPEN-SOURCE SCRIPT

Change in State of Delivery (CISD) [SB Instant]

133
🧠 Modified by SB | Core Logic by LuxAlgo
🔗 Licensed under CC BY-NC-SA 4.0

Change in State of Delivery (CISD) is a concept rooted in observing shifts in order flow behavior, designed to detect the first signs of trend exhaustion and potential reversal. This model tracks when the current delivery (trend) structure — bullish or bearish — is violated by an opposing force, signaling a potential change in market intent.

In simple terms:
A Bullish CISD is triggered when sellers fail to maintain control, and buyers break above a delivery line.

A Bearish CISD is triggered when buyers fail, and sellers break below a delivery line.

This version uses real-time logic, triggering alerts immediately on break, rather than waiting for candle-close confirmation — giving faster, actionable signals to precision-driven traders.

⚙️ Core Features
Detection Modes
Classic: Traditional swing-based structural break detection

Liquidity Sweep: Logic incorporating wick sweeps (liquidity grabs)

Custom Parameters
Swing Length: Number of candles used to identify swing points

Minimum CISD Duration: Minimum length required for valid delivery phase

Maximum Swing Validity: How long the structure remains valid for potential breaks

Visual Options
Label and line styling options

Solid line = Initial break of delivery structure

Dashed line = Continuation break in the same trend direction
This allows you to visually differentiate a new reversal vs. a continuation of the existing trend.

🚨 Built-in Alerts
Bullish CISD Detected (Instant)

Bearish CISD Detected (Instant)

These alerts fire immediately when structure is broken, offering early confirmation for aggressive or reactive trade setups.

🔔 IMPORTANT:
If an alert triggers but the delivery line is not present, wait for the price to form the CISD label again and manually mark the price level using a horizontal ray. This ensures you are trading from a clearly defined structure.

🕒 Recommended Timeframes
✅ Use 30-Minute or 4-Hour charts to identify high-confidence CISD zones

🎯 Then drop to the 1-Minute or 5-Minute chart for precise entry execution

This top-down approach aligns higher timeframe narrative with lower timeframe entry triggers, increasing your edge in both timing and context.

🧠 How to Use CISD [SB Instant] Effectively
Bullish Scenario:
Watch for breaks above bearish delivery structures, especially if confirmed with:

Fair Value Gaps (FVG)

The Strat 2-2 reversal

MSS (Market Structure Shift)

Bearish Scenario:
Look for breaks below bullish delivery setups in alignment with:

BOS (Break of Structure)

The Strat 3-1-2

Bearish liquidity sweeps

Key Tip:

Solid line = Initial CISD (new shift)

Dashed line = Continuation of current trend
This visual distinction helps you determine when a market is shifting vs. extending.

📎 Disclaimer
This tool is provided for educational purposes only and is not intended as financial advice. Always backtest, paper trade, and manage risk responsibly.

📚 Credits
Original CISD framework developed by LuxAlgo

Real-time execution logic, alert enhancements, and intraday utility designed by SB (SamB)

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.