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.
ClaudeHedge - Master Timezone Arbitrage is a multi-session trading strategy that rotates capital sequentially across Asian, European, and US trading hours. It tracks session boundaries for the Nikkei, DAX, and Nasdaq time windows and calculates momentum, RSI,
This strategy plots a UT Bot ATR trailing stop on the price chart and marks buy and sell labels when price crosses that stop. Long entries also require close below a Tillson T3 average, and short entries require close above it. Stops sit one ATR multiple from
This indicator calculates the cost-of-carry fair value between futures and spot prices, measuring the basis and fair value deviation in basis points. Operating in a separate pane, it computes a rolling Z-score of deviation using moving averages and standard de
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
This strategy translates Python backtesting logic into Pine Script for intraday momentum trading. It calculates forced Heikin-Ashi candles and 1-minute moving averages to evaluate market trends and assign a signal strength score from 0 to 10. Entries execute w
Lucid 100K v5 is a Pine Script strategy for trading MES futures on 5-minute charts. It overlays buy and sell signals directly on the price chart. The strategy runs two phases based on equity and recent profit factor. Phase 1 uses trend pullback entries with EM
An all-in-one chart indicator combining Smart Money Concepts (SMC) and technical level analysis. It identifies Order Blocks, market structure shifts like CHoCH and BOS, KOLA support and resistance levels, SIDO chart patterns, and Fibonacci Optimal Trade Entry
Calculates and renders Time Price Opportunity (TPO) market profiles, Initial Balance (IB) ranges, and value distributions directly on the price chart. It determines key auction levels including the Point of Control (POC), Value Area High (VAH), Value Area Low
This intraday strategy enters long or short positions on 1-minute charts of QQQ based on a triple moving average stack. It filters entries by requiring an accumulation or distribution sequence of consecutive rising or falling bars while rejecting bars exceedin
STA Breakout Companion overlays technical analysis tools for swing traders directly on price charts. It plots key moving averages, measures relative strength against a benchmark index like SPY, identifies pivot support and resistance levels, and evaluates brea
This strategy calculates MACD, ADX trend strength, ATR, and a rolling VWAP resetting at fixed bar intervals. It plots the VWAP line, stop loss levels, and profit targets directly on the price chart. Long positions enter when MACD crosses above its signal line
This strategy executes mean-reversion trades using Bollinger Bands combined with a fast RSI oscillator and MACD confirmation. It enters long or short positions when price reaches band extremes during oversold or overbought RSI levels, with optional MACD trend
This indicator aggregates multiple technical signals into an on-chart summary table. It calculates a session-based VWAP, a triple-EMA-smoothed price-volume oscillator, an EMA 9/21 trend spread, multi-timeframe Donchian channel breakouts, and an opening range h
Weekend Trend Trader Overlay plots a 20-bar highest close as a resistance line and a ratcheting trailing stop on the price chart. It reads a chosen index, by default NASDAQ:NDX, on the chart timeframe and compares that close with a 10-bar simple moving average
Combined Candle Counter overlays multiple technical analysis tools directly onto the price chart. It features configurable EMA and SMA moving average presets with automated toggles based on intraday, daily, or weekly timeframes. The indicator draws 52-week hig
LevelZ plots key session-based price levels directly on the main price chart. It calculates and displays the open, high, and low of the current regular trading hours (RTH) session, the overnight session high and low, and yesterday's RTH open, high, low, and cl
An indicator that looks for a sweep and reclaim of the prior session's high or low during the first hour after the Asia, London and New York opens. Setups are marked on the price chart with a stop past the sweep, a fixed ES or NQ point target and an optional b
Indicatorv6SMC / ICT / price actionSessions & time
Draws weekly and monthly volatility forecast levels on the price chart from a text block pasted into a settings box. Lines show 75th percentile and median ranges for five-day and month high-low and open-close moves, together with week open, week high and low,
An overlay that follows a ladder of same-day iron condors on the S&P 500 index or its ETF and mini equivalents. At four configurable time slots in the afternoon it estimates short call and put strikes from realized volatility sampled on five-minute bars, using
Prints manual long and short signal labels on the price chart using an adaptive method trained on recent settled trade paths, with a warmup count before signals begin. It uses the previous closed candles and enters at the current open, applying a minimum direc
Implements liquidity sweep and prop firm breakout strategies inspired by the Booming Bulls methodology. The script monitors previous-day, previous-week, and current-day highs and lows for liquidity sweeps where price wicks beyond a level without closing past i
A price-chart indicator that extends a futures screener with a buy confirmation engine. A focus panel scores one contract across five timeframes, a board scans a list of futures markets on one timeframe, and a checklist panel shows which confirmations pass on
Kernal Cipher 2 is a lower-pane signal panel. It scores trend with fast, slow, and long EMAs, slope, Supertrend, and ADX, then blends WaveTrend, StochRSI, pivot divergence, volume, relative strength versus equity benchmarks, and beta. Green and red diamonds ma
A strategy that builds simulated Renko bricks from the ATR of a chosen reference symbol, SPY by default, and trades within a set start and end date. It scales position sizes with a factor, keeps a hold percentage, and can add a TRAMA cloud with a percentage ex
This indicator plots multiple anchored VWAPs, session ranges, fair value gaps, and multi-instrument monitoring tables directly on the price chart. It signals long or short setups when price breaks the initial fifteen-minute New York opening range, re-enters th
A chart overlay with three exponential moving averages of 9, 21 and 50 bars, plus manual marker toggles for long, short, entry, stop hit and target hit on the latest bar. The setup type and a conviction score are typed in by the user and shown in the label. It
A chart-overlay indicator that draws key intraday reference levels as lines and labels. These include premarket, today, overnight and after-hours highs and lows, the day's open, and shaded opening ranges for the Globex, Asia, London and New York sessions, each
This indicator for index futures such as ES and NQ plots the regular-session opening range as a box with high and low lines. It offers two modes: a classic opening range breakout and a Noise Area model with volatility-based boundaries from the open and a VWAP
An indicator for a 1-minute chart that finds 5-minute fair value gaps and looks for a smaller 1-minute gap forming inside them. A nested gap triggers a bullish or bearish label and a trade plan with entry, stop, partial target, main target and extended target
This strategy applies Gann swing lane signals to generate entries in micro futures instruments. It enforces compounding risk controls that scale take-profit targets upward after wins and downward after losses using configurable ratios. Additional risk manageme
A strategy version of an ICT optimal trade entry indicator. It finds a swing leg, applies a confluence score from structure shift, liquidity sweep, fair value gap, killzone and higher-timeframe bias, then places a limit entry inside the OTE zone, 0.705 by defa
A separate-pane indicator for daily charts that builds a macro regime dashboard from cross-market data. It combines an economic season model, a copper-to-gold ratio check, a monetary policy pressure measure using yields and real rates, cross-market synchroniza
A second strategy version for index futures built on New York session phases, session VWAP, previous day high and low, EMAs, ATR and RSI with thresholds that tighten in low volatility. It builds a session volume profile from price and volume to find the point
A fractional differencing Z-score oscillator in a separate pane, set up for testing optional entry filters on five-minute Nasdaq futures charts. Signal modes include the base snapback, a volume-exhaustion mode, a conservative mode and an early mode. Filters co
A strategy that looks for mean-reversion entries when volume shows exhaustion, using wave comparison, volume rate of change or z-score detection plus several confluence checks, including a higher-timeframe volume ROC. It is designed for Renko charts, with Heik
BVortex SP500 4H is a momentum-based trend strategy designed for 4-hour charts. It calculates a scaled Vortex Indicator to detect extreme overbought and oversold zones. Long or short entry signals trigger when exiting these extreme levels with a confirming can
This indicator draws horizontal lines and labels on the price chart for pre-market, prior-day, current-day, after-hours, prior-week and current-week highs, lows, opens and closes. Each level has its own switch, and a separate set of switches controls which pri
A strategy variant, described by its file name as optimized for long trades only, that sends orders to MetaTrader through a connector service via alert messages. Inputs cover symbol prefix, suffix and mapping, lot size, a magic number, a pip multiplier and a b
This strategy identifies Initial Balance periods on NQ and ES futures charts using user-defined start and end hours in Eastern Time. It classifies days as narrow or wide based on average range lookback and skips narrow or trending days per settings. Entries tr
A price-chart overlay that draws a static set of options gamma levels for MES (Micro E-mini S&P 500 futures, scaled from SPY options) expiring in thirty days. The center line and the one and two standard deviation bands are hardcoded numbers from a snapshot da
This strategy fades opening gaps on ES during the New York regular session. It requires a gap that meets percentage, point, and optional ATR thresholds, then places long or short fade entries after a selectable 5-, 15-, or 30-minute opening range. A TICK bread
Risk Interval Derivatives is an overlay indicator for E-mini S&P 500 and Nasdaq 100 futures. It detects ES or NQ from the chart symbol, takes a fixed risk interval in points (or a manual override), and plots multiples of that interval above and below the previ
An indicator in a separate pane that plots Commitment of Traders legacy report metrics for the chart symbol, such as open interest, noncommercial, commercial and nonreportable positions and trader counts. Settings pick the metric, direction, data type, a selec
This indicator plots market breadth metrics for the Nasdaq exchange in a separate pane. It calculates a simple moving average of the Nasdaq Advance-Decline line, switching between a 10-period average on weekly charts and a 50-period average on daily charts, co
Calculates and plots moving averages on selected VIX volatility terms (VIX9D, VIX, VIX3M, or VIX6M) in a separate pane. The script computes user-defined short and long moving averages using EMA or SMA. It shades the background red when the short-term moving av
This overlay indicator tracks sideways consolidations on the SPX price chart and flags breaks above or below that range. It builds a zigzag from the highest and lowest bars inside a loopback window, smooths nearby highs and lows with a rational quadratic kerne
Synthesizes macroeconomic indicators for the Vietnamese economy into a multi-pillar monitoring engine and composite risk score. It tracks inflation, policy rates, interbank interest rates, GDP growth, exchange rates, and sovereign bond yields using Taylor-rule
Bandz Po3 Profiler draws an ICT-style power-of-three profile on the price chart. It plots higher-timeframe candles, C1 through C4 sequence boxes, T-Spot zones, CISD marks, fair value gaps, STDV projections, sweeps, midpoints, opens, and liquidity. It also mark
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.