PROTECTED SOURCE SCRIPT
업데이트됨 Conditions Gate

Non-directional indicator gating risk and permissions based purely on seasonal calendar patterns and mechanical event window detection without price analysis.
---
Key Insights from HUD
What to watch:
- State: Primary output for permission decisions
- SeasonPrior vs State: Difference shows event impact
- EventWindow + ActiveEvent: Explains why State changed (seasonal vs event-driven)
- RiskMult: Direct risk cap applicable to position sizing
- Runner / MarketMaker: Binary permission gates (green = allowed, red = blocked)
- ForcedState: If not "—", an override is active (useful for manual testing)
Color Logic:
- Green: FAVOURABLE state or allowed (1.0 risk, YES permissions)
- Orange: NEUTRAL state or event window active (0.5 risk, NO permissions)
- Red: UNFAVOURABLE state or blocked (0.25 risk, NO permissions)
- Gray: Neutral info (inactive event, no override)
---
Key Insights from HUD
What to watch:
- State: Primary output for permission decisions
- SeasonPrior vs State: Difference shows event impact
- EventWindow + ActiveEvent: Explains why State changed (seasonal vs event-driven)
- RiskMult: Direct risk cap applicable to position sizing
- Runner / MarketMaker: Binary permission gates (green = allowed, red = blocked)
- ForcedState: If not "—", an override is active (useful for manual testing)
Color Logic:
- Green: FAVOURABLE state or allowed (1.0 risk, YES permissions)
- Orange: NEUTRAL state or event window active (0.5 risk, NO permissions)
- Red: UNFAVOURABLE state or blocked (0.25 risk, NO permissions)
- Gray: Neutral info (inactive event, no override)
릴리즈 노트
Conditions Gate + IPDA Timing - TradingView Description═══════════════════════════════════════════════════════════════════════════════
📊 INDICATOR OVERVIEW
The Conditions Gate + IPDA Timing indicator is a unified risk management and
timing system combining:
1. CONDITIONS GATE: Non-directional permission system based on seasonality
and economic events. Evaluates market risk conditions and applies risk
multipliers to position sizing.
2. IPDA TIMING: Intraperiod Directional Analysis that tracks trading days
from an anchor date, marking 20/40/60-day cycles with lookback high/low
levels to identify recurring structural patterns.
Together they provide: WHEN conditions permit trading + WHAT timing cycles
matter for structure.
═══════════════════════════════════════════════════════════════════════════════
🎯 HUD DISPLAY ITEMS EXPLAINED
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
[CONDITIONS GATE SECTION]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1. Gate State
├─ Displays: FAVOURABLE | NEUTRAL | UNFAVOURABLE
├─ Green = Full risk allowed (1.0x multiplier)
├─ Orange = Reduced risk (0.5x multiplier, runners disabled)
├─ Red = High caution (0.25x multiplier, no runners/market makers)
└─ Determined by: Seasonality + Active Events
2. Gate Allowed
├─ YES = Conditions permit trading (state ≠ UNFAVOURABLE)
├─ NO = Gate is closed, use only defensive trades
└─ Quick read: Can I trade right now?
3. Risk Score
├─ 1.0 = Full position sizing (FAVOURABLE)
├─ 0.5 = 50% position sizing (NEUTRAL)
├─ 0.25 = 25% position sizing (UNFAVOURABLE)
└─ Apply this multiplier to your normal position size
4. Seasonality
├─ FAVOURABLE = Most months (normal trading)
├─ NEUTRAL = June (low vol expectations)
└─ UNFAVOURABLE = July, August, mid-December onwards
Why? Historical volatility patterns. Summer doldrums + holiday seasonality
5. Event Window
├─ YES = Currently within event pre/shock/post window
├─ NO = No major events active
└─ Window timing: Pre (60min) → Shock (15min) → Post (120min) default
6. Event Tier
├─ Tier1 = High-impact events (NFP, FOMC, ECB decisions)
│ → Triggers UNFAVOURABLE state immediately
├─ Tier2 = Medium-impact events (CPI, GDP, Jobs Reports)
│ → Downgrade FAVOURABLE → NEUTRAL only
└─ None = No events active
7. Event Name
├─ Displays the closest active event by time
├─ Example: "NFP", "FOMC", "CPI"
└─ "—" = No active events
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
[IPDA TIMING SECTION]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
8. IPDA Anchor
├─ Shows the anchor date (first trading day of your cycle start)
├─ Example: "2025-01-02" (when you started the IPDA count)
└─ "Not Set" = Anchor date hasn't been reached yet
9. IPDA Days
├─ Current trading day count (excluding weekends)
├─ Counts UP from anchor date
├─ Example: "23" = 23 trading days since anchor
└─ Used to detect 20/40/60 day milestones
10. Next Marker
├─ Shows upcoming milestone and days remaining
├─ "20D in 5" = 5 trading days until 20-day mark
├─ "40D in 17" = 17 trading days until 40-day mark
├─ "60D in 37" = 37 trading days until 60-day mark
└─ "Complete" = All 60 days reached (cycle done)
Use this to anticipate reversal/structure shift zones
11. Last Marker
├─ Most recently completed milestone
├─ "20D" = Just passed 20-day cycle
├─ "40D" = Just passed 40-day cycle
├─ "60D" = Completed full 60-day cycle
└─ Color-coded: Blue (20D) → Orange (40D) → Red (60D)
12. 20D HH/LL [Highest High / Lowest Low]
├─ "H: 1.0850 L: 1.0720"
├─ Shows high/low over LAST 20 trading days
├─ Drawn as horizontal lines on chart (blue)
├─ Captures recent volatility range for that cycle
└─ Use as reference levels for breakouts/rejections
13. 40D HH/LL
├─ "H: 1.0920 L: 1.0680"
├─ Shows high/low over LAST 40 trading days
├─ Drawn as horizontal lines on chart (orange)
├─ Wider range than 20D - shows broader context
└─ Support/resistance over medium term
14. 60D HH/LL
├─ "H: 1.1050 L: 1.0600"
├─ Shows high/low over LAST 60 trading days
├─ Drawn as horizontal lines on chart (red)
├─ Widest range - shows major structural boundaries
└─ Quarterly structure reference points
보호된 스크립트입니다
이 스크립트는 비공개 소스로 게시됩니다. 하지만 이를 자유롭게 제한 없이 사용할 수 있습니다 – 자세한 내용은 여기에서 확인하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
보호된 스크립트입니다
이 스크립트는 비공개 소스로 게시됩니다. 하지만 이를 자유롭게 제한 없이 사용할 수 있습니다 – 자세한 내용은 여기에서 확인하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.