Open-source Pine scripts written for stock indices such as the Nasdaq 100, S&P 500 and DAX: opening range, gap and session tools, and index strategies.
Index scripts usually centre on the cash open, the opening range and the overnight gap. They were written for indices or say so in their description.
Index CFDs and futures quote slightly different prices and hours. Check that the session times and any fixed point distances match the instrument you trade.
117 of these 712 scripts are marked Repaints, or read higher-timeframe data with lookahead on.
Before You Use One
Confirm the session times for your index and time zone.
Check point values against your instrument.
Test it on days with big data releases and earnings.
Calculates the standard deviation of VIX high prices across a configurable lookback period. It plots the resulting volatility metric in a separate pane alongside upper and lower threshold horizontal levels. When the standard deviation falls below the lower thr
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
SSE Index RSI Bounce Strategy is a multi-timeframe momentum and trend strategy that combines daily and weekly Relative Strength Index (RSI) bounds with Exponential Moving Averages (EMA). It identifies long entries when daily or weekly RSI crosses up from overs
This intraday strategy implements Mark Fisher's Opening Range Breakout (ORB) methodology tailored for index futures like ES and NQ. It calculates session opening ranges, volume z-scores, and VWAP bands to plot support, resistance, and confirmation levels on th
This overlay indicator plots the 100-period and 200-period exponential moving averages on the price chart and marks buy or sell triangles after an EMA crossover when the next two candle opens stay on the correct side of the 100 EMA and price stays within a sym
Kalman Percentile Bands plots a volatility-adaptive Kalman mean along with three empirical percentile bands on each side of the price chart. It calculates a local-level Kalman filter as the fair value mean, normalizes price deviations by an EWMA of volatility,
Bottom Level Finder is a support identification indicator designed to locate correction and re-entry zones directly on the price chart. It calculates horizon-adaptive Fibonacci retracements, drawdown percentage levels, moving averages, and integrated VIX volat
Strategy-Picker evaluates market trend, momentum, and volatility across multiple timeframes (5m, 15m, and 60m) to recommend suitable options trading structures. It combines MACD, an 8-period EMA, and ADX readings with external VIX levels to suggest Put Credit
Claude Quant - Multi-Session Strategy is a reference strategy framework designed for multi-session index trading across Nikkei, DAX, and Nasdaq markets. It outlines a session sequencing architecture that adjusts base risk parameters, applies conditional expans
This overlay indicator classifies candle volume against a Wilder moving average and highlights unusually strong volume on the price chart. In automatic mode it requests matching CME or COMEX futures volume for mapped forex, gold, silver, crypto, and index symb
This indicator identifies and visualizes key support and resistance zones directly on the price chart using historical 1-hour bar evidence. It calculates zone strength by weighting price rejections, support-resistance flips, relative volume spikes, price gaps,
This overlay indicator identifies Smart Money Concepts (SMC) and Inner Circle Trader (ICT) market structure elements directly on the price chart. It detects higher highs, lower lows, Break of Structure (BOS), and Change of Character (CHoCH) labels alongside st
This indicator detects and visualizes Smart Money Concepts (SMC) and Inner Circle Trader (ICT) structures directly on the price chart. It performs multi-timeframe analysis across customizable trend (H1), entry (M15), and micro (M5) timeframes to identify bulli
Markov Strategy is a mean-reversion quantitative strategy inspired by streak-based Markov chain analysis. Applied directly to the price chart, it monitors price action for consecutive downward closes. The strategy enters a long position after detecting six con
This strategy shorts the ES three-minute chart when three consecutive down candles form a triple-red pattern and price is above a Tillson-style T3 average. The average is six nested EMAs of close, combined with fixed coefficients and a user length defaulting t
This indicator displays a compact trade metrics table in the top-right corner of the price chart. Built as a template script for automated MCP server workflows, it populates and presents trade setup details including risk percentage, calculated position units,
Calculates volume profile levels over a lookback window to identify support, resistance, and Point of Control (POC) lines on the price chart. It executes trades based on price interaction with these low-volume zones, featuring customizable signal inversion and
This strategy calculates a Volume-Weighted Average Price (VWAP) with optional standard deviation bands alongside an Exponential Moving Average (EMA) on the main price chart. It is designed to generate buy and sell conditions based on crossovers between the EMA
This indicator template generates an options reticle overlay on the price chart, plotting horizontal out-of-the-money strike price targets and vertical expiration crosshairs. It includes a fill mode that dynamically shades the area between historical price and
This indicator calculates the relative strength of a chart symbol relative to a benchmark index and plots the resulting line directly over the price chart. It highlights new relative strength highs, new lows, and instances where relative strength reaches a new
Translates key reference levels between CME E-mini S&P 500 futures (ES) and cash equity equivalents (SPY or SPX), displaying them directly on the price chart. When applied to an ES chart, it projects cash session highs, lows, opens, prior period levels, and ga
Combines trend-following moving average entries with an astronomical cycle filter. Entries trigger on a rising EMA filter and are gated by Vedic astronomical events like eclipse windows and Vishti karana. The strategy offers two distinct exit styles: a trend m
This indicator plots key session-based price action reference levels on the price chart. It calculates and displays the current session open, previous day close, Globex session high and low, weekly open, and higher-timeframe boundaries. It also supports bar co
This indicator plots moving averages, a daily-reset aligned VWAP, and highlights market structure directly on the price chart. It calculates Heikin-Ashi bar data to detect touches with key moving averages (10, 20, 30, 50, and 200 SMA) and VWAP. It incorporates
Lucid 100K is an automated evaluation strategy tailored for micro futures contracts such as MES, MGC, and MNQ on lower timeframes. It operates a two-phase state machine that moves from an initial risk-averse lock-in phase to an expanded payout phase once targe
This indicator overlays an order flow intelligence suite directly on the price chart. It renders a liquidity heatmap across configured price zones, alongside an on-chart information panel displaying volume delta, cumulative volume delta, a momentum compass bas
Meridian - Futures Context is an intraday analysis indicator designed for US index futures. It measures volume participation using relative volume, calculates rolling realized volatility, and evaluates trend context through VWAP slope and EMA structures. Displ
Calculates a 5-period Exponential Moving Average (EMA) to identify short and long trade setups based on price distance from the average. It triggers entries when price breaks the high or low of an alert candle that formed completely outside the 5 EMA. The stra
This strategy plots Bollinger Bands on the price chart and enters long only when flat. It buys on a strong bullish close above the middle band or on a small-body pullback that tags the middle band with a long lower wick. The stop sits below the signal bar by a
Draws Opening Range Breakout levels on the price chart for 5, 15, 30 and 60 minute ranges, each with its own colour and an optional mid-range line. It detects breakouts and retests of those ranges using a percentage buffer, a minimum number of bars outside the
Daily High Levels calculates and tracks regular trading hours (RTH) session open, high, low, and close values for intraday charts based on customizable New York session bounds. It fetches the prior daily close of NQ futures using higher-timeframe data retrieva
Calculates a volume-weighted Average True Range by multiplying the standard ATR calculation by the current bar volume. The indicator plots this combined metric as a red line directly on the price chart. The main setting controls the lookback length for the ATR
This strategy executes long trades based on the Supertrend indicator and candle color confirmation. It enters when a fresh bullish Supertrend flip occurs on a green candle and exits when the trend flips bearish on a red candle. It also places bracket orders wi
This trend-following strategy calculates asymmetric Bollinger Bands and overlays them on the price chart alongside a central moving average. It enters long positions when the price crosses above the upper band, provided an optional benchmark trend filter (chec
Advanced Option Price Estimator applies the Black-Scholes model to estimate call and put option prices directly on the main price chart. It uses standard normal distribution functions and Newton-Raphson iterations to calculate implied volatility across calcula
This overlay indicator draws MarketSmith-style price bars and several moving averages on the chart. Bar color follows the current close versus the open, or versus the previous close when that option is enabled. Four daily averages and four weekly averages can
Carmelita Adelina Leandro by Professor Theta is an intraday signal script designed for futures charts. It calculates VWAP and a 9-period Exponential Moving Average to identify trend reversal triggers. Long and short entry signals are evaluated based on open pr
Calculates market volatility, velocity, dynamic VIX thresholds, and multi-timeframe directional bias to assess risk regimes for Nifty index options trading. It computes a danger score based on ATR, VIX rate of change, Bollinger Band width, and price velocity t
Gamma Levels Auto plots daily options-derived dealer gamma levels directly on the price chart. It projects structural levels (7 to 45 DTE) and near-term 0DTE levels, including gamma flip zones, call and put walls, max pain, expected move, and Vanna or Charm st
This indicator plots Gamma Exposure (GEX) levels, market breakout structures, and session anchors directly on the price chart for ES, SPX, and SPY. It renders key options analytics including Zero Gamma, Max Pain, Call and Put Walls, Volatility Bands, and Delta
This overlay indicator marks customizable Asia, London, New York AM, and New York lunch killzones on the price chart, along with session range boxes. It plots the true day open, the 9:30 New York opening bell, prior day and week highs and lows, relative equal
This strategy executes trades based on a combination of Smart Money Concepts, including Inverse Fair Value Gaps (IFVG) and Change in State of Delivery (CISD) structure breaks. Entries require confluence between IFVG flips, structural CISD breaks, a 20-period e
MahadevLevels35 PRO is a Pine Script v6 indicator that draws Mahadev price levels with endings like 03, 11, 29, 35, 65 and 71 across a user-defined range directly on the price chart. It overlays a stack of seven EMAs with customizable colors and source, plus V
This indicator tracks broad market regime conditions by requesting moving average data from an external index or benchmark, defaulting to NASDAQ:NDX on the daily timeframe. It calculates fast, medium, and slow moving averages (EMA or SMA) to classify market st
This overlay approximates order-book liquidity from intrabar OHLCV buckets because true depth-of-market data is unavailable. It paints a decaying volume heatmap around price and labels absorption, exhaustion, rejection, and momentum when wick, body, delta, and
This indicator analyzes volume character and market structure in a separate chart pane. It color-codes volume bars to identify institutional accumulation, distribution, climax volume, and volume dry-up conditions during volatility contraction patterns. The scr
This indicator detects institutional candles where the body exceeds a multiple of the rolling average body size. It creates and draws supply and demand zone boxes directly on the price chart, validating them over subsequent bars to discard invalidated zones. W
The MTF Signal Strategy is designed for 1-minute charts to identify trade entries using multi-timeframe EMA trends, Opening Range Breakout (ORB) levels, key daily high/low levels, and custom pivot zones. It generates trade signals on bar closes when price alig
Third-party code. ForexR lists open-source Pine scripts from GitHub; it did not write, test or endorse them, and their summaries are generated automatically from each script's code and README. Indicators describe the past, and a strategy's backtest can look better than live trading. Check a script on a demo account before you rely on it. CFDs and leveraged forex are complex instruments with a high risk of losing money rapidly.
Learn to Use Pine Scripts
Free, plain-English guides: add a script to TradingView, read what it does, test it and avoid the common traps.