OPEN-SOURCE SCRIPT
Updated Volume Weighted Average Price - Coinrule

VWAP with additional Anchor Periods as supported on Coinrule.
Release Notes
This indicator is a modified VWAP (Volume-Weighted Average Price) that includes additional anchor periods supported by Coinrule. Traditional VWAP is typically anchored to the session open, but this version allows traders to customize the anchor period for better trend analysis and trade execution.Indicator calculation period. This setting specifies the Anchor, i.e. how frequently the VWAP calculation will be reset.
Note: For VWAP to work properly, each VWAP period should include several bars inside of it.
Possible Anchor Periods: 1 hour, 4 hours, 12 hours, 1 day, 2 days, 3 days, Week, Month and Year.
By incorporating multiple anchor periods and fixed the price source as the default, HLC3, this ensures consistency with Coinrule. HLC3 (High + Low + Close / 3) is widely used in technical analysis as it represents a balanced average of price action.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.