OPEN-SOURCE SCRIPT

Simple Daily Weekly Monthly Yearly

Updated
Simple price line of the previous daily, weekly, monthly, and yearly opens and closes.

By default your will get the open and close of the last period of the time frame. If you're in March, you will get the open and close of Febraury. If it is calendary day 20, you will get the open and close of day 19 (or previous market day).

Script can be modified to see the most recent opens and closes by switching the period on a desired time range to 0. This will make so that if you're in March, you will get the open of March and it's most recent close price even if the month isn't over.

Colors can be changed to your liking via the settings for the indicator.

To show the price labels on your y-axis, go to Main Chart Settings -> Scales -> "Last Value Indicator Label" and click the checkbox. Also, might be helpful to check the "Indicator Name Label" under the same settings.

The line plots need to be completely transparent, otherwise they will show up and crowd the price chart.
Release Notes
Updated to be able to change colors more easily without having to adjust transparancy levels.
Pivot Points

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