PROTECTED SOURCE SCRIPT
Zaktualizowano

Quarterly Cycles [Pro+] | SoMiL

671
Quarterly Cycles [Pro+] | SoMiL

📜 About This Script
All credits go to cdikici71 for the original Open Source Quarterly Theory Script.

This is a simplified, toned-down version modified for my personal trading needs and shared by request.

🔄 What I Modified
Quarterly Cycles Display
  • QT cycles is just shown as simple colored boxes - easier to see at a glance
  • Higher timeframe cycles display as borders only for cleaner visuals
  • Removed complex elements I didn't use in my trading
  • Added Tetrad Group
  • Included Tetrad (4-asset) comparison
  • Kept original Triad and Dyad groups
  • Added master switch to control all groups simultaneously
  • Improved HTF Display
  • HTF overlay candles show timing labels above or below (instead of AMDX in middle)
  • Cleaner, less cluttered appearance


🎯 Key Features
Quarterly Cycles

  • Shows market cycles (Monthly, Weekly, Daily, 90-min, Micro) as colored boxes
  • Each quarter (Q1-Q4) has distinct colors
  • Higher timeframes show as borders for easy identification
  • Comprehensive Information Table (NEW)
  • Cycle Status Table showing current phase for all timeframes
  • Displays current quarter (Q1-Q4) for each cycle
  • Optional phase descriptions (Accumulation, Manipulation, Distribution, Cont/Reversal)
  • Customizable positioning: Top/Bottom/Middle Left/Right
  • Color-coded quarters with adjustable table size


SSMT Signals
  • Shows potential market manipulation zones
  • Compare 2, 3, or 4 assets at once (Dyad/Triad/Tetrad
  • Both normal and hidden signals available


📝 Important Notes
I removed features I don't use and fixed issues that affected my trading. This version is streamlined for practical use rather than having every possible option.
I'm calling it "Pro+" because It sounds fancier Currently this has everything I need - which, honestly, isn't that much. The "Pro+" is aspirational, like calling your homemade cookies "artisanal." One day I might add something impressive (no promises). The "+" means "plus I actually use this to trade.

⚠️ DISCLAIMER
This script is shared AS-IS for educational purposes only. I'm not a financial advisor and this isn't trading advice. The modifications were made for my personal trading style and may not suit everyone. Use at your own risk, test thoroughly, and never trade based solely on any indicator.
Informacje o Wersji
🎯 Key Changes:
What's Removed:
  • Tetrad Mode (4-asset comparison) - completely eliminated
  • This removes the complex 4-way label merging and reduces security() calls


What's Better Now:
The new system uses multiple Triads with selective visibility via the "Show on Asset" toggles. This gives you more control and cleaner charts.
New "Show on Asset" Feature:
Each Triad now has three checkboxes:

☑ Show on Asset 1 - Display SSMTs when viewing Asset 1's chart
☑ Show on Asset 2 - Display SSMTs when viewing Asset 2's chart
☑ Show on Asset 3 - Display SSMTs when viewing Asset 3's chart

🔄 Migration Example: Gold Metals Group
❌ OLD METHOD (Tetrad):
Tetrad Group: GC1!, SI1!, XAUEUR, XAUGBP
├─ On GC1! chart → Shows SSMTs for: SI1! + XAUEUR + XAUGBP
├─ On SI1! chart → Shows SSMTs for: GC1! + XAUEUR + XAUGBP
├─ On XAUEUR chart → Shows SSMTs for: GC1! + SI1! + XAUGBP
└─ On XAUGBP chart → Shows SSMTs for: GC1! + SI1! + XAUEUR

RESULT: Every chart shows 3 pairs = Heavy label clutter

✅ NEW METHOD (Multiple Triads):
Triad Group 1 (Main Futures):
Asset 1: GC1!
Asset 2: SI1!
Asset 3: HG1! (or any 3rd correlated metal)
Show on Asset 1: ☑ Enabled
Show on Asset 2: ☑ Enabled
Show on Asset 3: ☑ Enabled

Triad Group 2 (Forex Cross-Reference):
Asset 1: GC1!
Asset 2: XAUEUR
Asset 3: XAUGBP
Show on Asset 1: ☐ DISABLED ← Key difference!
Show on Asset 2: ☑ Enabled
Show on Asset 3: ☑ Enabled

Purpose: Shows GC1! correlation ONLY when viewing XAUEUR or XAUGBP
Purpose: Core futures correlation - shows on all 3 charts

Triad Group 3 (Optional - SI Cross-Reference):
Asset 1: SI1!
Asset 2: XAGEUR
Asset 3: XAGGBP
Show on Asset 1: ☐ DISABLED
Show on Asset 2: ☑ Enabled
Show on Asset 3: ☑ Enabled

Purpose: Shows SI1! correlation ONLY when viewing XAGEUR or XAGGBP

🚀 Performance Improvements
  • Reduced Security Calls
  • Fewer Drawing Objects
  • Simpler Label Merging Logic
  • You gain more control while using fewer resources


💡 Pro Tips
1. Avoid Redundancy
Don't create:
Triad 1: GC, SI, XAUEUR
Triad 2: GC, SI, XAUGBP ← GC vs SI appears in BOTH!

Instead:
Triad 1: GC, SI, HG (futures only)
Triad 2: GC, XAUEUR, XAUGBP (hide on GC)
Informacje o Wersji
A major upgrade with better accuracy, broader market coverage, and smarter broker/provider handling. The indicator now intelligently detects your broker and automatically uses the correct symbol format. No manual configuration needed for most popular assets! Here's what changed:

1. Expanded Auto-Detection System
2. Enhanced Futures Support
Improved Detection Logic: Better differentiation between full-size and micro futures contracts

New Index Futures Groups:
Full-size: NQ1!, ES1!, YM1! (Group 1)
Micro: MNQ1!, MES1!, MYM1! (Group 2)


New Metal Futures Groups:
Full-size: GC1!, SI1!, HG1! (Group 4)
Micro: MGC1!, SIL1!, MHG1! (Group 5)
Better COMEX_MINI detection to avoid false matches


3. CFD/Spot Market Support
New CFD Index Triads: Smart provider detection for NAS100/US100, SPX500/US500, US30/DJ30
Supports: CAPITALCOM, OANDA, VANTAGE, PEPPERSTONE, ICMARKETS, TICKMILL, BLACKBULL, FXPRO
Automatic symbol mapping per provider


Enhanced Spot Metals Detection:
Properly excludes XAUEUR, XAUGBP, XAGEUR, XAGGBP from main USD pairs
Only matches USD-denominated pairs (XAUUSD, XAGUSD) for primary triad


4. New Forex Triads & Dyads
USDJPY/CADJPY/DXY Triad: Shows only on USDJPY or CADJPY charts
XAUEUR/XAUGBP/GC1! Triad: Shows only on XAUEUR or XAUGBP charts
XAGEUR/XAGGBP/SI1! Triad: Shows only on XAGEUR or XAGGBP charts
New Auto Dyads: USDCAD ↔ DXY, USDCHF ↔ DXY

5. Smarter Asset Matching
Provider-Aware Logic: Automatically detects your broker and uses correct symbol format
Fallback System: If preferred symbols aren't available, intelligently falls back to alternatives

  • Refined inversion handling for specific triads
  • DXY correctly inverted in EURUSD/GBPUSD triad
  • No inversion for USDJPY/CADJPY/DXY triad (as they move together)
  • Tooltip Updates: The Auto mode tooltip now comprehensively lists all supported triads and dyads, making it easier to understand what assets are automatically supported.
  • No Breaking Changes: All existing manual configurations remain fully compatible.
Informacje o Wersji
Some Major Logic Upgrade

Script now properly implements the 4-Week Cycle Rule with the 5th week treated as "Extended Week" (W5) rather than starting a new cycle. This aligns with the quarterly theory where:
Week 1-4 = Standard quarterly phases (Accumulation → Manipulation → Distribution → Reversal)
Week 5 = Extended consolidation/transition period before next monthly cycle


Other Bugs Fixed
Informacje o Wersji
Minor Table Visibility improvements
Updated Tooltip

Wyłączenie odpowiedzialności

Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.