Indicator · Pine Script v6 · On the chart

Wyckoff Spring Upthrust

by bader61888· code credited to Bader

The Wyckoff Spring Upthrust indicator identifies potential Wyckoff Spring and Upthrust price patterns directly on the main price chart.

View on GitHub

GitHub stars1on the repository
Pine versionv6current
Lines of code18
Settings4inputs
LicenceMIT
Last update4 weeks ago22 Oct 2026

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above, or the copy button on the code below.
  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

18 lines of Pine Script v6 from examples/WyckoffSpring.pine, published under MIT. Keep the author's credit and licence lines when you reuse it.

WyckoffSpring.pine
//@version=6
// SPDX-License-Identifier: MIT
// © 2026 Bader Alrashdi — https://github.com/bader61888/saudi-pine-toolkit
indicator("Wyckoff Spring Upthrust", shorttitle="WySpring", overlay=true)
import bader61888/SaudiTA/1 as sta

rangeLen = input.int(20, "Range Length", minval=5)
volLen = input.int(20, "Volume SMA Length", minval=2)
volMult = input.float(1.2, "Volume Multiplier", minval=0.1, step=0.1)
onlySession = input.bool(false, "Only during Tadawul session")

[spring, upthrust] = sta.wyckoffSpringUpthrust(rangeLen, volLen, volMult)
bool ok = onlySession ? sta.inTadawulSession() : true

plotshape(spring and ok, "Spring", shape.labelup, location.belowbar, color.green, text="S", textcolor=color.white, size=size.tiny)
plotshape(upthrust and ok, "Upthrust", shape.labeldown, location.abovebar, color.red, text="UT", textcolor=color.white, size=size.tiny)
alertcondition(spring and ok, "Spring", "Wyckoff spring detected")
alertcondition(upthrust and ok, "Upthrust", "Wyckoff upthrust detected")

Overview

Wyckoff Spring Upthrust checks for instances where price breaches an N-bar range and reverses to close back inside on volume exceeding a user-defined threshold relative to a moving average. When detected, the script plots green labels below bullish spring bars and red labels above bearish upthrust bars. Inputs configure the range length, volume SMA period, volume multiplier, and an optional session filter for Tadawul hours.

Details

Published by

bader61888 on GitHub

Code credit

Bader, as written in the script's header

Draws

On the price chart

Markets

Stocks

Timeframes

M15-H1, H4 and above

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.

Topics

pinescriptsauditadawultechnical-analysistradingviewwyckoff

Settings

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

SettingTypeDefaultVariable
Range Lengthint20rangeLen
Volume SMA Lengthint20volLen
Volume Multiplierfloat1.2volMult
Only during Tadawul sessionboolfalseonlySession
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

Nexural ORB

by JasonTeixeira
11 stars

This indicator plots opening range breakout levels across multiple timeframes, including five, fifteen, thirty, and sixty minutes, directly on the price chart. It also displays the session open and overnight high and low levels. The script calculates an openin

Indicator v6 BreakoutSessions & time
Updated 5 weeks ago · Custom licence GitHub repository of Nexural ORB

ORB Breakout Alert

by az9713
2 stars

The indicator identifies upside breakouts from the 30-minute US market opening range between 09:30 and 10:00 AM ET. It triggers a signal when price closes above the opening range high before 11:30 AM ET, provided bar volume exceeds a multiplier of the opening

Indicator v5 BreakoutSessions & time
Updated 6 months ago · None stated GitHub repository of ORB Breakout Alert

VP

by dearvn
257 stars

This indicator calculates and plots a session-based volume profile directly on the price chart. It maps volume distribution across price levels, highlighting key structural reference points including the Point of Control, Value Area High, and Value Area Low. C

Indicator v5 VolumeSupport & resistance
Updated 2 months ago · None stated GitHub repository of VP

Midnight VWAP

by TradersPost
228 stars

The Midnight VWAP indicator calculates and overlays two distinct Volume Weighted Average Price (VWAP) lines on the price chart based on customizable session timeframes. It tracks an overnight or pre-market session alongside regular trading hours, resetting cal

Indicator v6 Moving averagesSessions & time
Updated 4 months ago · None stated GitHub repository of Midnight VWAP

Moon Dev GEX Arrows

by moondevonyt
98 stars

This overlay indicator plots option strike walls and an optional session VWAP on the price chart for SPY or ES. It spaces major strikes by the selected instrument, draws a set number of strikes on each side, and marks wall-trap and sweep events after a cooldow

Indicator v5 Support & resistanceSessions & time
Updated 2 months ago · Custom licence GitHub repository of Moon Dev GEX Arrows

IB / ORB Live Stats

by TamaraKGreen
47 stars

This overlay indicator marks the New York initial balance and a configurable opening range on the price chart and reports live range statistics in two tables. It builds an IB box for a default 09:30–10:30 ET window, an ORB box from 09:30 for a set number of mi

Indicator v6 Sessions & timeBreakout
Updated 2 months ago · None stated GitHub repository of IB / ORB Live Stats

More Breakout 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