Indicator · Pine Script v5 · On the chart

ZeroDTE Range Predictor

by xynkro· code credited to Caspar — ZeroDTE project

An overlay for the S&P 500 index that measures the opening range over an observation window, classifies the day as volatile or not by comparing that range with the daily ATR, and projects high and low boundaries for the session.

View on GitHub

GitHub stars1on the repository
Pine versionv5runs as is
Lines of code181
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

Reversal signal triangles appear when price nears a projected boundary and RSI, stochastic and a Williams Vix Fix spike agree. Inputs set session time, projection multipliers and indicator thresholds, and a regime label can be shown. It is designed for a five-minute chart in New York time.

Details

Published by

xynkro on GitHub

Code credit

Caspar — ZeroDTE project, as written in the script's header

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
Session timezonestringAmerica/New_Yorksession_tz
Observation window (minutes after open)int15obs_minutes
Session start hour (ET)int9session_start_h
Session start minute (ET)int30session_start_m
Volatile threshold (obs_range / ATR(14) D1)float1.5volatile_mult
NON-VOLATILE: project range (× obs_range each side)float1.5nv_range_mult
VOLATILE: project range (× ATR(14) D1 each side)float2.0v_atr_mult
RSI lengthint14rsi_len
RSI overbought (call signal)int70rsi_long_thr
RSI oversold (put signal)int30rsi_short_thr
Stoch %K lengthint14stoch_k_len
Stoch %D lengthint3stoch_d_len
Show all 21 settings
SettingTypeDefaultVariable
Stoch overbought levelint80stoch_high_thr
Stoch oversold levelint20stoch_low_thr
Williams Vix Fix periodint22wvf_period
WVF BB multiplier (spike threshold)float2.0wvf_bb_mult
Signal triggers when within X×ATR of projected boundaryfloat0.5near_proj_atr
Show observation range boxbooltrueshow_obs_range
Show projected high/low linesbooltrueshow_proj_lines
Show entry signal trianglesbooltrueshow_signals
Show regime labelbooltrueshow_regime_lbl
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
5 stars

Calculates daily classical pivot points from the previous day's high, low, and close to identify intraday reversal setups within a defined trading session. Long signals fire when price comes within a configurable tick proximity to S1 and prints a bullish recla

Indicator v5 Support & resistanceMean reversion
Updated 5 months ago · Custom licence GitHub repository of Path C — Pivot-Point Bounce (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

Funded Range Gann Sniper

by vedkanani123
1 stars

A price-chart indicator that looks for fade setups after price raids the edge of a completed session or prior-day range and closes back inside. It requires the Gann half-range level to sit at least a set number of R away, sizes the stop beyond the raid using A

Indicator v6 SMC / ICT / price actionSupport & resistance Repaints
Updated 2 months ago · None stated GitHub repository of Funded Range Gann Sniper
575 stars

This indicator builds Market Profile Time Price Opportunity (TPO) structures across defined session timeframes directly on the main price chart. It visualizes the Point of Control (POC) and Value Area boundaries using dynamic box drawings. An integrated multi-

Indicator v5 Support & resistanceScreeners & dashboards
Updated 1 year ago · MPL-2.0 GitHub repository of Market Profile with Screener

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