This overlay indicator plots a volume-weighted average price on the price chart, anchored to a chosen period such as the session, week, month, or longer calendar and corporate events.
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
LunarTick VWAP draws up to three standard-deviation bands around the VWAP, with multipliers and fill colors that the user can change. Optional coloring tracks whether price is above or below the VWAP, and optional bar highlights mark balance, bullish or bearish imbalance, and bar interactions with the VWAP. It can hide the VWAP on daily charts and above. The code is flagged as repainting.
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
ohlc4
src
Offset
int
0
offset
Standard Deviations
enum
StandardDeviations.three
i_num_std_deviations
Std Dev 1 Multiplier
float
1.0
i_std_dev_1_mult
Std Dev 2 Multiplier
float
2.0
i_std_dev_2_mult
Std Dev 3 Multiplier
float
3.0
i_std_dev_3_mult
Std Dev 1 Upper Area
color
color.new(color.blue, 70)
i_stddev1_upper_area_color
Std Dev 1 Lower Area
color
color.new(color.blue, 70)
i_stddev1_lower_area_color
Std Dev 2 Upper Area
color
color.new(color.blue, 80)
i_stddev2_upper_area_color
Std Dev 2 Lower Area
color
color.new(color.blue, 80)
i_stddev2_lower_area_color
Show all 36 settings
Setting
Type
Default
Variable
Std Dev 3 Upper Area
color
color.new(color.blue, 90)
i_stddev3_upper_area_color
Std Dev 3 Lower Area
color
color.new(color.blue, 90)
i_stddev3_lower_area_color
Color VWAP by price
bool
false
i_color_vwap_by_price
i_above_price_vwap_color
color
color.red
i_above_price_vwap_color
i_below_price_vwap_color
color
color.green
i_below_price_vwap_color
Highlight bars in balance region
bool
false
i_show_bars_in_balance_region
i_bars_in_balance_region_bullish_color
color
#b8b8b8
i_bars_in_balance_region_bullish_color
i_bars_in_balance_region_bearish_color
color
#636363
i_bars_in_balance_region_bearish_color
Highlight bars in bullish imbalance region
bool
false
i_show_bars_in_bullish_imbalance_region
i_bars_in_bullish_imbalance_region_bullish_color
color
#4caf50
i_bars_in_bullish_imbalance_region_bullish_color
i_bars_in_bullish_imbalance_region_bearish_color
color
#1b5e20
i_bars_in_bullish_imbalance_region_bearish_color
Highlight bars in bearish imbalance region
bool
false
i_show_bars_in_bearish_imbalance_region
i_bars_in_bearish_imbalance_region_bullish_color
color
#f23645
i_bars_in_bearish_imbalance_region_bullish_color
i_bars_in_bearish_imbalance_region_bearish_color
color
#801922
i_bars_in_bearish_imbalance_region_bearish_color
Highlight bar/VWAP interactions
bool
false
i_show_interactions
i_interaction_bullish_color
color
#ffeb3b
i_interaction_bullish_color
i_interaction_bearish_color
color
#f57f17
i_interaction_bearish_color
Use alert window
bool
false
i_use_alert_window
i_alert_window
session
0800-1500
i_alert_window
Alerts on VWAP interactions
bool
false
i_alert_on_vwap
Alerts on Std Dev 1 interactions
bool
false
i_alert_on_band1
Alerts on Std Dev 2 interactions
bool
false
i_alert_on_band2
Alerts on Std Dev 3 interactions
bool
false
i_alert_on_band3
Version
enum
VersionEnum.version
i_version
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 a custom Anchored Volume-Weighted Average Price (VWAP) directly on the price chart along with optional standard deviation bands. Users can anchor the VWAP to standard time periods like sessions, weeks, or months, or to corporate events suc
VWAP - Basic plots an anchored Volume Weighted Average Price directly on the main price chart alongside two standard deviation bands. It calculates typical price weighted by volume, resetting the cumulative calculations at user-selected session, weekly, or mon
This indicator plots daily, weekly, and monthly volume-weighted average prices on the price chart, using a selectable source that defaults to hlc3. For each enabled period it also draws two standard-deviation bands around the VWAP, with multipliers defaulting
This overlay indicator marks the current day's low and a suggested entry zone a fraction of daily ATR below that low. It compares daily volume with a volume moving average, plots daily SMA and EMA distance, and draws an optional ATR-width price cloud. Labels c
This indicator identifies and visualizes key support and resistance zones directly on the price chart using historical 1-hour bar evidence. It calculates zone strength by weighting price rejections, support-resistance flips, relative volume spikes, price gaps,
This overlay indicator marks Wyckoff-style buying and selling climaxes on the price chart. It filters trend with an exponential moving average and a higher-timeframe EMA, then flags accumulation or distribution when price and ATR sit relative to their swing av