OPEN-SOURCE SCRIPT

Average Price Levels) updated

calculates the average price for weekly, monthly, and 6-month periods and plots horizontal lines for the selected period. The user can toggle the desired period through input options

Use the Select Period dropdown to choose the time period (Weekly, Monthly, 3-Month, or 6-Month).
Select between High, Close, Low, or HCL (High, Close, Low average) via the Average Type input.
Customize the Average Type, Line Color, Line Width, and other settings as needed.
Chart patternsMoving AveragesPivot points and levels

Open-source script

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer