OPEN-SOURCE SCRIPT
Atualizado 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.
Notas de Lançamento
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 de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.