PROTECTED SOURCE SCRIPT
已更新

ICT Finatic: Session Ranges & Macro Alerts (Cristian)

34
This indicator is designed to assist ICT traders by automating the visualization of key session ranges and time-based macro events. It focuses on the Asia and London sessions and provides timely alerts for specific macro times.

Features:

Dynamic Session Ranges (Asia & London):

Instead of simple High/Low of the session, this script identifies Swing Highs and Swing Lows based on a 3-candle fractal pattern (High/Low of the central candle is higher/lower than its neighbors).

It calculates these swings using 15-minute timeframe data (via request.security), ensuring stability regardless of the chart timeframe used.

The lines extend dynamically and update only when a new, more significant swing is formed during the session.

Macro Time Vertical Lines:

The script monitors specific NY-time macros (09:45, 10:15, 10:45, 11:15, 11:45, 12:15).

Pre-warning System: 5 minutes before a macro time occurs (e.g., at 09:40 for the 09:45 macro), a temporary vertical line appears on the future time slot.

Auto-Cleanup: Once the macro time is reached, the vertical line is automatically removed to keep the chart clean. This feature is active on timeframes lower than 1 hour.

Bias Table:

Includes a customizable dashboard to manually input and visualize your directional bias for multiple timeframes (Daily to 5m).

How to use:

Add the indicator to your chart (works best on M1 or M5 timeframes).

Adjust the session times in the settings if needed (Default is NY time).

Use the dashboard to track your daily bias.

Watch for the orange vertical lines appearing 5 minutes before macro events to prepare for potential volatility.
版本注释
transition to version 6 pine script
版本注释
Release Notes (New Features & Fixes):

Full FVG Suite (Fair Value Gaps):

Added automatic detection for Bullish and Bearish FVGs.

Advanced Mitigation Logic: Introduced 3 user-selectable modes for FVG invalidation: Wick Touch (immediate), Wick Break (overlap), and Close Body.

Smart Multi-Timeframe Filter: Added HTF Overlay (5m, 15m, 1H, 4H). The script now logically hides lower-timeframe FVGs when viewing higher-timeframe charts to prevent clutter and overlapping boxes.

Customizable styling for auto-extension and midline (50%).

Session Logic Fix:

Fixed a bug in the Asia and London session range plotting. The Swing High/Low lines are now drawn with precise timing, starting exactly from the candle generating the fractal pattern, ensuring accurate liquidity level visualization.
版本注释
This update brings a crucial ICT concept to the suite and refines the alert system for better usability.

1. New Feature: Inversion Fair Value Gaps (IFVG) We have introduced the logic for Inversion FVGs. According to ICT concepts, when a Fair Value Gap is invalidated (broken) by price, it often flips its role (e.g., a broken Support FVG becomes Resistance).

Automatic Detection: When an FVG is broken, it doesn't just disappear; it now transforms into an IFVG with a distinct color.

Multi-Timeframe Support: You can now see HTF Inversion Gaps (e.g., 1H or 4H IFVG) directly on your lower timeframe chart.

Smart Visibility: The script automatically hides IFVGs of the current timeframe if they overlap with the chart timeframe to prevent duplicates.

Customization: You can toggle IFVGs on/off individually for each timeframe and customize their colors separately from standard FVGs.

2. Fixed & Enhanced Macro Alerts The alert system for NY Macro times has been completely rewritten for reliability.

Per-Macro Precision: Alerts now trigger specifically for every single Macro in the list (not just a generic session start).

Dual Alert Options:

Start Alert: Triggers 5 minutes before the Macro begins (when the warning line appears).

Target Alert: Triggers exactly at the Macro target time.

Bug Fix: Resolved an issue where alerts were not firing consistently or were duplicating.

3. Menu Cleanup Removed redundant "Trading Session" alert groups to streamline the settings menu.

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。