Indicator · Pine Script v6 · On the chart

LunarTick VWAP

by lunarticktrading

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.

View on GitHub

Repaints

GitHub stars7on the repository
Pine versionv6current
Lines of code265
Settings36inputs
LicenceNone stated
Last update2 weeks ago10 Oct 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 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

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.

Details

Published by

lunarticktrading on GitHub

Type

Indicator, Pine Script v6

Draws

On the price chart

Category

Volume, Volatility & bands, Support & resistance

Markets

Any symbol

Timeframes

Any timeframe

Risk Notes

  • Signals can change on the live bar or after it closes (repainting)

Settings

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

SettingTypeDefaultVariable
Hide VWAP on 1D or AboveboolfalsehideonDWM
Anchor PeriodstringSessionanchor
Sourcesourceohlc4src
Offsetint0offset
Standard DeviationsenumStandardDeviations.threei_num_std_deviations
Std Dev 1 Multiplierfloat1.0i_std_dev_1_mult
Std Dev 2 Multiplierfloat2.0i_std_dev_2_mult
Std Dev 3 Multiplierfloat3.0i_std_dev_3_mult
Std Dev 1 Upper Areacolorcolor.new(color.blue, 70)i_stddev1_upper_area_color
Std Dev 1 Lower Areacolorcolor.new(color.blue, 70)i_stddev1_lower_area_color
Std Dev 2 Upper Areacolorcolor.new(color.blue, 80)i_stddev2_upper_area_color
Std Dev 2 Lower Areacolorcolor.new(color.blue, 80)i_stddev2_lower_area_color
Show all 36 settings
SettingTypeDefaultVariable
Std Dev 3 Upper Areacolorcolor.new(color.blue, 90)i_stddev3_upper_area_color
Std Dev 3 Lower Areacolorcolor.new(color.blue, 90)i_stddev3_lower_area_color
Color VWAP by priceboolfalsei_color_vwap_by_price
i_above_price_vwap_colorcolorcolor.redi_above_price_vwap_color
i_below_price_vwap_colorcolorcolor.greeni_below_price_vwap_color
Highlight bars in balance regionboolfalsei_show_bars_in_balance_region
i_bars_in_balance_region_bullish_colorcolor#b8b8b8i_bars_in_balance_region_bullish_color
i_bars_in_balance_region_bearish_colorcolor#636363i_bars_in_balance_region_bearish_color
Highlight bars in bullish imbalance regionboolfalsei_show_bars_in_bullish_imbalance_region
i_bars_in_bullish_imbalance_region_bullish_colorcolor#4caf50i_bars_in_bullish_imbalance_region_bullish_color
i_bars_in_bullish_imbalance_region_bearish_colorcolor#1b5e20i_bars_in_bullish_imbalance_region_bearish_color
Highlight bars in bearish imbalance regionboolfalsei_show_bars_in_bearish_imbalance_region
i_bars_in_bearish_imbalance_region_bullish_colorcolor#f23645i_bars_in_bearish_imbalance_region_bullish_color
i_bars_in_bearish_imbalance_region_bearish_colorcolor#801922i_bars_in_bearish_imbalance_region_bearish_color
Highlight bar/VWAP interactionsboolfalsei_show_interactions
i_interaction_bullish_colorcolor#ffeb3bi_interaction_bullish_color
i_interaction_bearish_colorcolor#f57f17i_interaction_bearish_color
Use alert windowboolfalsei_use_alert_window
i_alert_windowsession0800-1500i_alert_window
Alerts on VWAP interactionsboolfalsei_alert_on_vwap
Alerts on Std Dev 1 interactionsboolfalsei_alert_on_band1
Alerts on Std Dev 2 interactionsboolfalsei_alert_on_band2
Alerts on Std Dev 3 interactionsboolfalsei_alert_on_band3
VersionenumVersionEnum.versioni_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.

Similar Pine Scripts

Snag - VWAP

by dearvn
257 stars

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

Indicator v5 Moving averagesVolatility & bands Repaints
Updated 6 weeks ago · None stated GitHub repository of Snag - VWAP

VWAP - Basic

by TradersPost
218 stars

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

Indicator v6 VolumeSupport & resistance
Updated 3 months ago · None stated GitHub repository of VWAP - Basic

D/W/M VWAPs

by cryptorife
75 stars

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

Indicator v4 VolumeVolatility & bands
Updated 3 years ago · GPL-3.0 GitHub repository of D/W/M VWAPs

LoD Intraday Entry

by ChartsLector
41 stars

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

Indicator v6 Support & resistanceVolatility & bands
Updated 2 days ago · None stated GitHub repository of LoD Intraday Entry
11 stars

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,

Indicator v6 Support & resistanceVolatility & bands
Updated 7 weeks ago · MIT GitHub repository of 1-Hour Key Level Heatmap

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

Indicator v6 TrendVolatility & bands
Updated 1 year ago · MIT GitHub repository of Ultimate Wyckoff Indicator V3 (Refined)

More indicators

Trade Your Charts With a Regulated Broker

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

Compare brokers