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.
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publications is governed by House rules. You can favorite it to use it on a chart.
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.