OPEN-SOURCE SCRIPT
Aktualisiert

Future Ichimoku Cloud - Horizon

2 602
Ichimoku Horizon is an advanced Ichimoku indicator that projects future cloud formations and component lines, giving traders unprecedented visibility into potential support/resistance zones before they form.

1. Future Ichimoku Projections

  • Project Ichimoku components forward in time using simulated price evolution based on rolling Tenkan/Kijun windows
  • Manual forecast periods up to 125 bars (all 4 components) or 500 bars (cloud only)
  • Smart limit management automatically adjusts to TradingView's drawing object limits while maximizing visible projections


2. Preset & Custom Ichimoku Configurations

  • Choose from multiple common Ichimoku presets or fully customize your own


3. Multi-Timeframe Display & Projections
Snapshot
  • Display Ichimoku from higher/lower timeframes directly on your current timeframe chart
  • Automatic scaling adjusts Ichimoku periods correctly across timeframes
  • Intelligent handling of 24/7 markets (crypto/forex) vs traditional session-based markets
  • Built-in detection of problematic timeframe combinations with optional MTF cloud fetching for accuracy
  • Automatic notifications when future projections are unavailable due to MTF constraints


4. Tenkan & Kijun Range Windows
Snapshot
  • Visual range windows that display the exact high/low range used for Tenkan and Kijun calculations
  • Optional High/Low markers placed at the exact bars they occur
  • Optional countdown labels show how many bars remain until the current High/Low expires from the rolling window
  • Range windows scale up and down dynamically to match display timeframe


5. Comprehensive Alert Suite

  • Built-in alerts for all major Ichimoku events: TK crosses, E2E entires, Kumo breakouts, etc.
  • All alerts are cloud-aware and displacement-correct.


How It Works
  • The indicator uses the traditional Donchian channel method to calculate Ichimoku components, then extends this logic forward by simulating future price action within the calculation windows (no new highs or lows). This creates a forward-looking projection of where support and resistance zones will form.
  • The range display feature helps traders understand why the lines are where they are by showing the exact high/low points and countdown timers for when these points will expire from the calculation.


Who This Indicator Is For:

  • Ichimoku traders who want future-aware context
  • Multi-timeframe analysts seeking correctly aligned clouds
  • Traders who want to understand Tenkan/Kijun mechanics
  • Users who need precision without manual recalculation


Notes:
*Maximum 500 drawing objects limit managed automatically
Snapshot
*Due to Pinescript/TradingView limitations, future Tenkan/Kijun line width is only modifiable in the source code.
*
Versionshinweise
Ichimoku Horizon is an advanced Ichimoku indicator that projects future cloud formations and component lines, giving traders unprecedented visibility into potential support/resistance zones before they form.

1. Future Ichimoku Projections
Snapshot
  • Project Ichimoku components forward in time using simulated price evolution based on rolling Tenkan/Kijun windows
  • Manual forecast periods up to 125 bars (all 4 components) or 500 bars (cloud only)
  • Smart limit management automatically adjusts to TradingView's drawing object limits while maximizing visible projections

2. Preset & Custom Ichimoku Configurations
  • Choose from multiple common Ichimoku presets or fully customize your own


3. Multi-Timeframe Display & Projections
  • Snapshot
  • Display Ichimoku from higher/lower timeframes directly on your current timeframe chart
  • Automatic scaling adjusts Ichimoku periods correctly across timeframes
  • Intelligent handling of 24/7 markets (crypto/forex) vs traditional session-based markets
  • Built-in detection of problematic timeframe combinations with optional MTF cloud fetching for accuracy
  • Automatic notifications when future projections are unavailable due to MTF constraints

4. Tenkan & Kijun Range Windows
Snapshot
  • Visual range windows that display the exact high/low range used for Tenkan and Kijun calculations
  • Optional High/Low markers placed at the exact bars they occur
  • Optional countdown labels show how many bars remain until the current High/Low expires from the rolling window
  • Range windows scale up and down dynamically to match display timeframe

5. Comprehensive Alert Suite
  • Built-in alerts for all major Ichimoku events: TK crosses, E2E entires, Kumo breakouts, etc.
  • All alerts are cloud-aware and displacement-correct.


How It Works
  • The indicator uses the traditional Donchian channel method to calculate Ichimoku components, then extends this logic forward by simulating future price action within the calculation windows (no new highs or lows). This creates a forward-looking projection of where support and resistance zones will form.
  • The range display feature helps traders understand why the lines are where they are by showing the exact high/low points and countdown timers for when these points will expire from the calculation.


Who This Indicator Is For:
  • Ichimoku traders who want future-aware context
  • Multi-timeframe analysts seeking correctly aligned clouds
  • Traders who want to understand Tenkan/Kijun mechanics
  • Users who need precision without manual recalculation


Notes:
  • Maximum 500 objects limit managed automatically
    Snapshot
  • Due to Pinescript/TradingView limitations, future Tenkan/Kijun line width is only modifiable in the source code.


Updates:
  • 2025/12/15: Fixed ghosting issues with future projections commonly seen on lower timeframes
Versionshinweise
Update:

2025/12/19:

1. Fixed ghosting issues with warning labels.

2. Added Extended Hours Trading Support (ETH) for Trad/Legacy Markets
  • Detects if extended hours are enabled on the chart
  • Matches session types between chart and MTF requests for proper alignment
  • Prevents alignment issues when ETH is enabled/disabled

3. Added safety checks for Pine Script's 5000-bar historical reference limit:
  • Checks if calculated periods exceed the limit
  • Displays error messages when limits are exceeded
  • Prevents calculations and alerts when periods are too large

4. Improved MTF Fetch Logic:
  • More comprehensive detection of problematic timeframe combinations
  • Includes all intraday → daily+ combinations
  • Fixed MTF compatibility with extended hours

5. Alert Fixes:
  • Prevents invalid alerts when periods are too large

Note: Tenkan and Kijun Window Ranges are now disabled by default. You can still manually enable them in the options menu.
Versionshinweise
Update:

2025/12/20:

Added Spread Chart Support
  • The indicator now fully supports spread symbols (e.g., BTC/GOLD, AAPL/SPY, etc.)
  • Automatic Detection: The indicator automatically detects when you're viewing a spread chart
  • Notification explains MTF limitations when applicable


📌 Important Notes for Spread Chart Users
When using this indicator on spread symbols:
  • Multi-Timeframe Display: Not available for spreads due to TradingView API limitations with request.security() on synthetic symbols
  • All Other Features: Work exactly as expected—future projections, range markers, alerts, and all Ichimoku calculations function normally
  • Recommended Settings: Keep "Display Timeframe" on "Chart" if you want to hide the notification


🔧 How It Works
  • The indicator detects spread symbols by identifying the "/" operator in the ticker ID (e.g., BTCUSD/ETHUSD).

Technical Enhancements
  • Improved MTF Data Handling: Enhanced null-checking ensures more reliable multi-timeframe cloud display
  • Simplified Code Architecture: Streamlined internal logic for better performance and maintainability
  • Better Error Prevention: Spread charts now avoid operations that would cause runtime errors
Versionshinweise
Update:

2025/12/20:

Fixed issue causing indicator to mistakenly view charts in replay mode as spread charts.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.