Indicator · Pine Script v6 · On the chart

ZeroDTE Backend Mirror

by xynkro

An overlay for same-day expiry credit spreads on the S&P 500 index that reproduces signals from the author's separate backend.

View on GitHub

GitHub stars1on the repository
Pine versionv6current
Lines of code236
Settings21inputs
LicenceNone stated
Last updateyesterday28 Oct 2026

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
  4. 4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.

Source Code

The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.

Overview

ZeroDTE Backend Mirror watches an opening observation window, then flags directional entries when stochastic, RSI, trend, a VWAP alignment gate and a confluence count agree, within a set time window and cooldown. It also estimates option strike targets from realized volatility with a Black-Scholes model. Settings cover timing cutoffs, thresholds, wing width and a manual event mute. It is designed for a five-minute index chart.

Details

Published by

xynkro on GitHub

Draws

On the price chart

Markets

Indices

Timeframes

M1-M5

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
Observation window (min)int15iObsMin
Volatile regime mult (obsRange/ATR_D1)float1.5iVolMult
Cooldown bars (same direction)int6iCooldown
No-new-entry hour (ET)int14iCutoffH
No-new-entry minute (ET)int0iCutoffM
Stoch high thrint80iStochHi
Stoch low thrint20iStochLo
Trend EMA-spread thr (%)float0.05iTrendThr
Min confluence (of 4)int3iConfMin
Conf RSI overboughtfloat65iRsiHi
Conf RSI oversoldfloat35iRsiLo
Conf near-EMA10 max ext (%)float0.30iNearEmaPct
Show all 21 settings
SettingTypeDefaultVariable
Prime start hour (ET)int10iPrimeStartH
Prime start min (ET)int30iPrimeStartM
Prime end hour (ET)int13iPrimeEndH
Prime end min (ET)int0iPrimeEndM
VWAP alignment gate (mandatory)booltrueiVwapGate
Macro blackout today (mute signals)boolfalseiMuteToday
Wing ($, SPX)float10.0iWing
Premium mult (IV/RV)float1.20iPremiumMult
TP % of creditfloat90iTpPct
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.

Similar Pine Scripts

257 stars

This indicator plots auto trade signals for E-mini S&P 500 futures on the price chart. It computes an EMA200 filter along with day ETH RTH session levels and percentage-based entry zones. Signals trigger CALL or PUT cases when price crosses defined thresholds

Indicator v6 TrendSupport & resistance
Updated 6 weeks ago · None stated GitHub repository of Auto Trade Futures ES
46 stars

Leptokurtic Directional Bias is an overlay indicator that measures kurtosis on a chosen source and marks directional bias on the price chart. The source can be a moving average, ATR, volume, close, or a Bollinger-band trend stop. Bias mode switches among RSI m

Indicator v5 Volatility & bandsMean reversion
Updated 7 weeks ago · None stated GitHub repository of Leptokurtic Directional Bias

This overlay indicator plots a session VWAP that resets daily plus pivot-anchored VWAP highs and lows. It marks price crosses of those VWAPs, crosses between session and anchored VWAPs, and clusters where several VWAP lines sit close together. Display mode, cl

Indicator v6 VolumeSessions & time
Updated 2 days ago · MIT GitHub repository of VWAP Cross Visuals [WavesUnchained]
5 stars

This indicator identifies long mean-reversion trade opportunities when price stretches significantly below the Volume Weighted Average Price (VWAP). It triggers a signal during regular trading hours when price moves a defined minimum number of ticks below VWAP

Indicator v5 Mean reversionVolume
Updated 5 months ago · Custom licence GitHub repository of Path B — VWAP Reversion (Demo)
3 stars

This indicator tracks the low of day and high of day during the specified RTH session hours in the New York timezone. It calculates the high at the current low of day (lod_h) and the low at the current high of day (hod_l). Horizontal lines are drawn at these l

Indicator v5 Sessions & timeSupport & resistance
Updated 5 months ago · None stated GitHub repository of Day Trading Reversal System

More Sessions & time scripts

Related on ForexR

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers