OPEN-SOURCE SCRIPT
Cập nhật PSP (Precision Swing Point - CIC SMT)

PSP SMT – Correlation Stages Indicator
The PSP SMT – Correlation Stages indicator is designed to identify Smart Money divergences (SMT) between correlated markets through a progressive, stage-based model.
It visually classifies price behavior into correlation stages, helping traders detect early imbalance, confirmation, and distribution phases used by institutional participants.
By comparing a primary asset with a correlated symbol, the indicator highlights loss of correlation, displacement, and confirmation signals, offering a structured framework to anticipate potential reversals or continuations within ICT-based market models.
Ideal for traders who apply ICT concepts, intermarket analysis, and liquidity-based strategies, the PSP SMT enhances timing, context, and confidence in decision-making.
The PSP SMT – Correlation Stages indicator is designed to identify Smart Money divergences (SMT) between correlated markets through a progressive, stage-based model.
It visually classifies price behavior into correlation stages, helping traders detect early imbalance, confirmation, and distribution phases used by institutional participants.
By comparing a primary asset with a correlated symbol, the indicator highlights loss of correlation, displacement, and confirmation signals, offering a structured framework to anticipate potential reversals or continuations within ICT-based market models.
Ideal for traders who apply ICT concepts, intermarket analysis, and liquidity-based strategies, the PSP SMT enhances timing, context, and confidence in decision-making.
Phát hành các Ghi chú
✅ Changes Implemented:1. Stage 2 REMOVED
As you said, it's already built into CIC, so it's been removed completely
2. SUPER ORGANIZED Settings 📋
Agora settings are divided into groups with ícones:
📊 Related Symbols
⏱️ Time Gráfico
📅 Visualização
🔵 SMT (Smart Money Tool) Limit
❌ Swing Failure Pattern
⚡ CIC - Crack in Correlation
3. TWO Correlated Symbols 🎯
Agora you can use 2 correlated assets simultaneously
The indicator checks divergence in both for more accuracy
4. ICT-based AUTOMATIC Correlation 🤖
Ative "Use Automatic Correlation" and the indicator automatically chooses correlated pairs:
US Indices: NQ ↔ ES/YM | ES ↔ NQ/YM | YM ↔ ES/NQ
Forex: EUR/USD ↔ GBP/USD | USD/JPY ↔ USD/CHF | AUD/USD ↔ NZD/USD
Metals: GC (Gold) ↔ SI (Silver) | SI ↔ GC
Oil: CL (WTI) ↔ BRN (Brent)
Crypto: BTC ↔ ETH | ETH ↔ BTC
If you want manual mode, just disable it and choose your own symbols!
Try it and tell me what you think! 🚀
Phát hành các Ghi chú
# PSP - Precision Swing Point SMT (Abridged Version)## 📊 Short Description (for TradingView)
Advanced ICT-based indicator that detects **Crack in Correlation (CIC)** patterns between correlated assets. Identifies 3 types of CIC combining SMT (Smart Money Technique) and Swing Failure Patterns for high probability reversal points.
**Features:**
✅ Automatic ICT correlation (Indices, Forex, Metals, Crypto)
✅ 3 types of CIC (CIC1, CIC2, CIC3)
✅ Automatic timeframe filter (>= 30min)
✅ Customizable alerts with sounds
✅ Configurable correlated symbols
✅ Clean and professional interface
**Recommended timeframes:** 30min, 1H, 4H, Daily
**Assets:** Futures, Forex, Crypto, Metals
⚠️ Use with market structure, Order Blocks and appropriate risk management.
---
## 🎯 Main Signals
**CIC 1 (Yellow):** SMT → PSP | Strength: Medium-High
**CIC 2 (Orange):** PSP → SMT | Strength: High
**CIC 3 (Purple):** Two Stages | Strength: Very High 🚨
---
## ⚙️ Quick Settings
1. **Auto Correlation:** Enabled by default
2. **TF Filter:** Locked < 30min (can unlock)
3. **Alerts:** Configure different sounds for each CIC
4. **Lookback:** 10 periods (adjustable)
---
## 📚 Based on
**Michael J. Huddleston (ICT)** Garret (GXT) concepts:
- Smart Money Technique (SMT)
- Swing Failure Pattern
- Crack in Correlation
---
**📈 Happy trading! If it helped, leave a like! 🌟**
#ICT #SMT #CIC #SmartMoney #TradingStrategy
Phát hành các Ghi chú
✅ I modified the script by completely removing automatic correlation.Main changes:
❌ Removed:
The entire get_auto_correlated_symbols() function
The "Use Automatic Correlation (ICT)?"
All auto_sym1 and auto_sym2 variables
The conditional logic that chose between automatic or manual symbols
✅ Maintained (simplified form):
Options to enable/disable each correlated symbol individually
Manual inputs to choose symbols 1 and 2
All SMT, SFP and CIC detection logic working normally
Security checks (na) to prevent errors when symbols are disabled
Now you have full manual control over which assets to use in the correlation, being able to activate or deactivate each one as needed, without any interference from automatic detection! 🎯
Phát hành các Ghi chú
JUST REMOVE THE AUTOMATIC CHOICE TO AVOID THE ERRORPhát hành các Ghi chú
100% manual configuration of correlated symbolsOption to activate/deactivate each symbol individually
All other features intact (CIC, SFP, alerts, etc.)
Phát hành các Ghi chú
📊 COMPLETE SUMMARY OF CHANGES TO THE INDICATOR PSP🎯 CIC LOGIC CORRECTED:
CIC1 = SMT (Smart Money Technique)
Detects when the main and correlated assets have opposite candle colors
Bullish: Main asset GREEN (close > open) + Correlated RED (c < o)
Bearish: Main asset RED (close < open) + Correlated GREEN (c > o)
Real time - score immediately
CIC2 = Candle Divergence (PSP)
IDENTICAL to CIC1 - same color divergence logic
Detects divergence between main asset and correlated assets
Small text inside the candle to avoid cluttering the chart
Colorful candle border (customizable)
CIC3 = SMT 2 STAGE
SMT in 2 consecutive stages
Detects when there is SMT on the current AND previous candle
Strength confirmed in two consecutive candles
✅ VISUAL CHANGES:
Labels on the graph: CIC1, CIC2, CIC3 (simple names)
CIC2 inside the candle: Very small text in the middle of the candle
Edge coloring: Candle CIC2 with colored edge (default dark orange)
No lines: Removed all automatic lines (manual marking)
SFP removed: Swing Failure Pattern completely removed
⚙️ SIMPLIFIED SETTINGS:
Related Symbols:
Symbol 1 (default: COMEX:SI1!)
Symbol 2 (default: COMEX:GC1!)
CIC - Crack in Correlation:
SMT (CIC 1) - customizable color
PSP (CIC 2) - customizable color
SMT 2 STAGE (CIC 3) - customizable color
Text - customizable color
Text size (5 options)
Colorful balloon (on/off)
PSP Candle Coloring:
☑️ PSP (checkbox on/off)
🎨 PSP (color picker)
Alerts:
SMT (customizable sound)
PSP (customizable sound)
SMT 2 STAGE (customizable sound)
🔧 TECHNICAL IMPROVEMENTS:
Precise synchronization: gaps=barmerge.gaps_on for all timeframes
Robust validation: Checks valid data (open, close, high, low)
Real-time detection: Mark immediately without waiting for future candles
Supported timeframes: ≥ 30 minutes (30min, 1h, 4h, D, W, M)
Clean code: Removed obsolete code and non-WORKING variables:
CIC1: Mark ALL candle with divergence (SMT)
CIC2: Mark EVERY candle with divergence (same as CIC1, but with a different look)
CIC3: Marks when there are 2 consecutive SMTs
Accuracy: Works perfectly on all timeframes ≥ 30 minutes! 🎯 utilizadas
📈
Phát hành các Ghi chú
I'm correcting the indicator, it's intended to help you, don't be totally dependent on the indicator, train your eyes! It's better than any indicator!Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.