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
Volume Weighted Average Price calculates VWAP using a specified source such as hlc3 and an anchor period like Session, Week, Month or Quarter. The main settings control whether to hide the VWAP on daily or weekly timeframe, the offset, and the calculation mode for bands which can use standard deviation or percentage multipliers. Bands are plotted as upper and lower levels around the VWAP value. It draws directly on the price chart.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Hide VWAP on 1D or Above
bool
false
hideonDWM
Anchor Period
string
Session
anchor
Source
source
hlc3
src
Offset
int
0
offset
Bands Calculation Mode
string
Standard Deviation
calcModeInput
showBand_1
bool
true
showBand_1
Bands Multiplier #1
float
1.0
bandMult_1
showBand_2
bool
false
showBand_2
Bands Multiplier #2
float
2.0
bandMult_2
showBand_3
bool
false
showBand_3
Bands Multiplier #3
float
3.0
bandMult_3
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 overlay indicator marks call and put setups from EMAs, RSI, MACD, and a SPY volume ratio. A call needs higher highs, RSI above its minimum, rising MACD, above-average proxy volume, and a rising trend EMA; a put reverses those tests. Early markers use an E
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
This indicator plots two Hull moving averages on the price chart, one of the selected price and one of close, and optionally smooths both with a Kahlman filter. It fills the space between them and marks buy and sell labels when they cross, provided scaled volu
This indicator overlays Bollinger Bands on the price chart and fills the area between upper and lower bands using a color based on Cumulative Volume Delta trend. It plots an EMA 9 line and fills between the EMA 9 and Bollinger basis in green or red depending o
This indicator plots a fixed lookback Volume Profile alongside 20, 50, and 200 Simple Moving Averages directly on the price chart. It highlights trend changes via moving average crosses and marks Point of Control reactions, High Volume Nodes, and Value Area bo
This indicator calculates a dynamic swing-anchored VWAP using Adaptive Price Tracking and ATR-based volatility adaptation. It detects recent swing highs and lows to set anchor points automatically, rendering smoothed VWAP lines directly on the price chart via