OPEN-SOURCE SCRIPT
Actualizado Sphinx Sessions, Cycles & Liquidity

Sphinx Sessions, Cycles & Liquidity is a session and time-cycle framework for intraday index-futures analysis (ES, NQ, YM and their micros). It combines four things usually spread across separate indicators - a fractal cycle grid, session and higher-timeframe liquidity levels, macro-window markers, and an ATR-graded open-bias table - into one overlay built around the CME futures day. It is a context tool and does not issue buy or sell signals.
WHAT MAKES IT DIFFERENT
Most session tools shade Asia / London / New York as flat blocks. This script instead decomposes the day into a continuous 90-minute cycle grid anchored to 20:00 New York, then subdivides each 90-minute block into 30-minute and 10-minute sub-cycles drawn as nested boxes with graduated opacity. The result is a fractal view of intraday time: the current 90m cycle, which third of it you are in, and which 10m segment is active, all at once. Each cycle box closes one minute early, so cycles read as discrete units rather than one continuous wall of shading.
Everything is anchored to an 18:00 New York day reset (the CME futures open) rather than calendar midnight, so sessions, levels, and bias all reference the futures trading day.
The bias model is quantified rather than binary. Instead of only marking price above or below the 08:30 open, the table grades displacement from that open in multiples of the instrument's own daily ATR into equilibrium, caution, and extended zones, and raises a compression flag when the 08:30-09:30 range is unusually tight relative to ATR. This adapts across ES, NQ, and YM without manual point thresholds.
COMPONENTS
Cycle grid: Asia / London / NY / PM structure as nested 90m / 30m / 10m boxes. Renders on chart timeframes below 15 minutes.
Open lines: Midnight open and 08:30 NY open, independently styled and labeled.
Higher-timeframe levels: prior day, week, and month highs and lows (PDH/PDL, PWH/PWL, PMH/PML), persistent and updated on period roll.
Session liquidity: Asia and London highs and lows that grow live through their session and optionally mitigate (delete) on a close-through, leaving only unmitigated liquidity visible.
Macro windows: 09:40, 10:40, and 13:40 NY windows as bracketed zones.
1H fair value gaps: nearest unmitigated bullish and bearish 1H gaps relative to price.
08:30 bias table: direction, ATR-graded strength, zone, and compression flag.
HOW TO USE IT
Apply it to a sub-15-minute chart of an index-futures symbol. Use the cycle grid to locate yourself in the day's time structure, the session and higher-timeframe levels as liquidity targets, the macro windows for timing, and the 08:30 table for directional context relative to the session open. Every module toggles independently, so you can run the full framework or only the pieces you want.
HOW IT WORKS
Session and cycle boundaries are computed from New York clock time, with the 90-minute grid indexed from the 20:00 open and subdivided by integer division into 30m and 10m segments. Session and macro windows use native session detection so they stay correct from 1-minute up to 15-minute charts. Higher-timeframe levels and 1H fair value gaps are pulled from higher-timeframe data; completed values are fixed and current values develop with the forming bar. Key values (session open, session and cycle highs/lows, gate states, ATR distance) are exposed in the Data Window for use in alerts or other tools.
For education and market analysis only. This is not financial advice, and past behavior of any level or signal does not guarantee future results.
WHAT MAKES IT DIFFERENT
Most session tools shade Asia / London / New York as flat blocks. This script instead decomposes the day into a continuous 90-minute cycle grid anchored to 20:00 New York, then subdivides each 90-minute block into 30-minute and 10-minute sub-cycles drawn as nested boxes with graduated opacity. The result is a fractal view of intraday time: the current 90m cycle, which third of it you are in, and which 10m segment is active, all at once. Each cycle box closes one minute early, so cycles read as discrete units rather than one continuous wall of shading.
Everything is anchored to an 18:00 New York day reset (the CME futures open) rather than calendar midnight, so sessions, levels, and bias all reference the futures trading day.
The bias model is quantified rather than binary. Instead of only marking price above or below the 08:30 open, the table grades displacement from that open in multiples of the instrument's own daily ATR into equilibrium, caution, and extended zones, and raises a compression flag when the 08:30-09:30 range is unusually tight relative to ATR. This adapts across ES, NQ, and YM without manual point thresholds.
COMPONENTS
Cycle grid: Asia / London / NY / PM structure as nested 90m / 30m / 10m boxes. Renders on chart timeframes below 15 minutes.
Open lines: Midnight open and 08:30 NY open, independently styled and labeled.
Higher-timeframe levels: prior day, week, and month highs and lows (PDH/PDL, PWH/PWL, PMH/PML), persistent and updated on period roll.
Session liquidity: Asia and London highs and lows that grow live through their session and optionally mitigate (delete) on a close-through, leaving only unmitigated liquidity visible.
Macro windows: 09:40, 10:40, and 13:40 NY windows as bracketed zones.
1H fair value gaps: nearest unmitigated bullish and bearish 1H gaps relative to price.
08:30 bias table: direction, ATR-graded strength, zone, and compression flag.
HOW TO USE IT
Apply it to a sub-15-minute chart of an index-futures symbol. Use the cycle grid to locate yourself in the day's time structure, the session and higher-timeframe levels as liquidity targets, the macro windows for timing, and the 08:30 table for directional context relative to the session open. Every module toggles independently, so you can run the full framework or only the pieces you want.
HOW IT WORKS
Session and cycle boundaries are computed from New York clock time, with the 90-minute grid indexed from the 20:00 open and subdivided by integer division into 30m and 10m segments. Session and macro windows use native session detection so they stay correct from 1-minute up to 15-minute charts. Higher-timeframe levels and 1H fair value gaps are pulled from higher-timeframe data; completed values are fixed and current values develop with the forming bar. Key values (session open, session and cycle highs/lows, gate states, ATR distance) are exposed in the Data Window for use in alerts or other tools.
For education and market analysis only. This is not financial advice, and past behavior of any level or signal does not guarantee future results.
Notas de prensa
Script updates in request.security for 1h FVG's Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.