1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
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
A long signal appears when one bar closes below the lower band and the next closes back above it, and the reverse for shorts. Filters skip trades when ATR volatility is outside a range, when VWAP is too close, or against the daily regime. The stop is an ATR multiple, with an early stop move, a VWAP target and an ATR trail on a runner.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
VWAP Period (0=auto)
int
0
vwap_period_inp
SD Entry Bands (0=auto)
float
0.0
sd_entry_inp
ATR Stop Mult (0=auto)
float
0.0
atr_mult_inp
Min VWAP Distance (× ATR)
float
2.0
min_vwap_inp
ATR Vol Max % (0=auto)
float
0.0
atr_vol_max_inp
ATR Vol Min %
float
0.5
atr_vol_min_inp
ATR Period
int
14
atr_period
ATR Trail Mult (runner)
float
5.0
atr_trail_mult
Early BE Trigger (× 1R)
float
0.75
early_be_trig
Early BE Dest (× 1R back)
float
0.5
early_be_dest
Enable Regime Filter
bool
true
use_regime
Allow Longs in Downtrend
bool
false
allow_lt_long
Show all 20 settings
Setting
Type
Default
Variable
Allow Shorts in Uptrend
bool
false
allow_ut_short
Show Entry/Exit Labels
bool
true
show_labels
Show Target Lines
bool
true
show_targets
Show VWAP & SD Bands
bool
true
show_bands
Account Equity ($)
float
10000.0
account_equity
Risk % per trade
float
3.0
risk_pct
Enable Longs
bool
true
enable_longs
Enable Shorts
bool
true
enable_shorts
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.
This indicator plots an anchored MIDAS support and resistance curve from launch-anchored volume-weighted price on the price chart. It adds two configurable volume-weighted standard-deviation, ATR, or hybrid bands and a topfinder or bottomfinder accelerated exh
VWAP Trader NXi calculates a daily session-anchored Volume Weighted Average Price along with two custom standard deviation bands on the main price chart. It plots the core VWAP, Value Area bands, outer extension zones with background shading, and the previous
This indicator screens daily price charts to identify potential parabolic snapback short and washout bounce long setups. It calculates price extension using moving averages, percentage gain lookbacks, and optional Bollinger Bands filters. Long signals require
An overlay indicator that fits a regression channel over a base period, optionally resizing the period with volatility, and fills parallel levels above and below it with a colour gradient based on traded volume. Optional mean reversion signals appear when pric
An indicator on the price chart that smooths a VWAP with a T3 moving average cascade and surrounds it with ATR-scaled volatility bands. The VWAP can reset each session, week or month. Optional bounce signals mark reactions from the outer bands in the direction
The Momentum Setup is a multi-indicator visual tool designed for trend and momentum analysis directly on the price chart. It combines Relative Strength Index (RSI), Money Flow Index (MFI), Commodity Channel Index (CCI), Supertrend, and a 250-bar percentage cha