Strategy · Pine Script v6 · On the chart

TnSovereignVwapPullback [TeleNexus]

by raybird

This strategy places resting limit orders at VWAP for pullbacks in the direction of a higher-timeframe EMA trend.

View on GitHub

GitHub stars1on the repository
Pine versionv6current
Lines of code209
Settings19inputs
LicenceNone stated
Last update2 months ago15 Aug 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 strategy, select all of the template text and paste. Press Save and give it a name.
  4. 4Add it to the chartPress Add to chart. The trades and results appear in the Strategy Tester tab; adjust the settings with the gear icon.

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

Longs require the fast EMA above the slow EMA, a rising VWAP, and price above VWAP; shorts mirror those rules. A filled trade uses an ATR multiple stop beyond VWAP and a configurable reward-to-risk target. Unfilled limits cancel if price closes through the stop. Settings choose the VWAP reset, bias timeframe, A+ stretch filter, trade window, one trade per day, and fixed or percent-of-equity size. It draws VWAP, stop, and target on the price chart.

Details

Published by

raybird on GitHub

Type

Strategy, Pine Script v6

Draws

On the price chart

Category

Mean reversion, Moving averages, Volatility & bands, Sessions & time

Markets

Indices

Timeframes

M15-H1

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
Bias timeframetimeframe60htfRes
Fast EMAint50emaFastLen
Slow EMAint100emaSlowLen
VWAP resetsstringRegular session (RTH)vwapReset
Regular session (for RTH mode)session0930-1600rthSess
Session timezonestringAmerica/New_YorksessTz
VWAP slope length (bars)int5slopeLen
Only trade during a time windowbooltrueuseWindow
Trade windowsession0930-1100winSess
Max one trade per dayboolfalseoncePerDay
Only take A+ (strong trend + stretched) tradesbooltrueonlyAplus
A+: min stretch from VWAP (ATR)float1.0stretchMin
Show all 19 settings
SettingTypeDefaultVariable
ATR lengthint14atrLen
Stop = ATR xfloat0.5stopMult
Target R:Rfloat1.25rr
SizingstringFixed contractssizeMode
Fixed contractsint1fixedQty
Risk per trade (%)float1.0riskPct
$ per point (MNQ=2, NQ=20, MES=5, ES=50)float2.0pointVal
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

3 stars

This strategy plots Bollinger bands and a simple moving average on the price chart. It opens a short when price crosses above the upper band while below the average, and a long when price crosses below the lower band while above the average. Entries are allowe

Strategy v5 Volatility & bandsMoving averages
Updated 2 years ago · None stated GitHub repository of 周末布林带策略

This overlay strategy offers two selectable entry modes: a Bollinger squeeze on typical price and a simple moving-average cross. It filters trades by weekday, session, date range, and an optional news window, and can restrict direction or invert the side. Risk

Strategy v5 Volatility & bandsMoving averages
Updated today · None stated GitHub repository of Boilerplate Configurable Strategy [Yosiet]
218 stars

The Mean Reversion Strategy Template calculates a baseline mean using SMA, EMA, or VWAP alongside upper and lower deviation bands based on standard deviation, ATR, or percentage offsets. It generates long and short entries when price touches, bounces from, or

Strategy v6 Mean reversionMoving averages
Updated 3 months ago · None stated GitHub repository of Mean Reversion Strategy Template
106 stars

This strategy backtests a long Bollinger Band deal on the price chart for 3Commas-style bots. It plots short and long simple moving averages, offset bands, and the average entry price of the open deal. A long starts when price crosses the lower band inside a c

Strategy v4 Volatility & bandsMoving averages
Updated 2 years ago · GPL-3.0 GitHub repository of 3Commas Bollinger Strategy

Bollinger Bands Strategy

by cklose2000
105 stars

This strategy generates buy and sell signals based on Bollinger Band crossovers combined with a simple moving average trend filter. It enters a long position when price crosses above the lower band while trading above the SMA filter line, and enters a short po

Strategy v5 Volatility & bandsMoving averages
Updated 1 year ago · None stated GitHub repository of Bollinger Bands Strategy

More strategys

Trade Your Charts With a Regulated Broker

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

Compare brokers