OPEN-SOURCE SCRIPT
Mis à jour 0DTE HullMA + EMA100 Options Entry & Fibonacci Strikes

This is an indicator built for trading options on the 5-minute timeframe, designed for same-day expiration (0DTE) CALL and PUT buying. The thesis is the following:
The strike levels come from configurable Fibonacci targets. When a signal fires, the indicator measures the most recent swing (recent pivots, or the previous day's range — your choice) and projects three arrival levels: 0.382, 0.5 and 0.618 (all adjustable). These are your candidate strikes — the prices the underlying is likely to reach within the session. For a PUT, all three land below the entry price; for a CALL, above it.
Everything is captured in a "Last Signal" table that freezes at the moment of each trigger, showing the direction, entry price, how many candles ago it fired, the live price, and the three Fibonacci strikes — so you can pick a realistic strike and track progress toward it without cluttering the chart.
The strategy works on stocks, ETFs and crypto, and every visual element can be toggled on or off in the settings.
This tool is for technical analysis only and is not financial advice. 0DTE options carry a high risk of total loss.
- The EMA 100 defines the bias. If price is below the EMA 100, we only trade PUTs. If price is above the EMA 100, we only trade CALLs. We never fight the macro trend — the EMA 100 decides which direction is allowed, and nothing else.
- The HullMA (50) is the trigger. For a PUT, the signal fires when the HullMA flips from green to red while price is below the EMA 100. If the HullMA flips first but price hasn't crossed below the EMA 100 yet, the indicator waits a configurable number of candles (default 4) for that confirmation — if it never happens, the setup is discarded. For a CALL, it's the mirror: the HullMA flips from red to green while price sits above the EMA 100.
The strike levels come from configurable Fibonacci targets. When a signal fires, the indicator measures the most recent swing (recent pivots, or the previous day's range — your choice) and projects three arrival levels: 0.382, 0.5 and 0.618 (all adjustable). These are your candidate strikes — the prices the underlying is likely to reach within the session. For a PUT, all three land below the entry price; for a CALL, above it.
Everything is captured in a "Last Signal" table that freezes at the moment of each trigger, showing the direction, entry price, how many candles ago it fired, the live price, and the three Fibonacci strikes — so you can pick a realistic strike and track progress toward it without cluttering the chart.
The strategy works on stocks, ETFs and crypto, and every visual element can be toggled on or off in the settings.
This tool is for technical analysis only and is not financial advice. 0DTE options carry a high risk of total loss.
Notes de version
v2 — Higher Timeframe ContextWhat's new:
Added two informational rows to the Last Signal panel showing trend direction on higher timeframes (1H and 4H by default), displayed as UP (green) or DOWN (red). Both timeframes and the EMA length used for them are configurable in the new "Higher Timeframe Context" settings group.
Why:
The 5-minute trigger tells you when momentum turns, but not whether that turn is running with or against the larger move. A PUT signal that fires while both 1H and 4H are trending down has a much higher chance of reaching its target than the same signal fired against a rising higher-timeframe tide — the latter tends to reverse quickly and leaves 0DTE positions bleeding theta while price hesitates.
These rows give that context at a glance, so you can size and select strikes accordingly: full confluence (all timeframes aligned) supports targeting the farther Fib levels, while a counter-trend setup suggests the nearest target — or standing aside.
Important: these rows are informational only. They do not filter, block, or alter any trigger. The signal logic is unchanged from v1 — the indicator frames the context, the trader makes the call.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.