OPEN-SOURCE SCRIPT
Updated % From Open Watermark

% From Open Watermark displays the current percentage change from the session open as a large, semi-transparent watermark overlaid on your chart. It calculates the move from the daily, weekly, or monthly open (your choice) to the current close and updates in real time as price moves. The text color shifts automatically, turning green when you're up on the session, red when you're down, and gray when flat. This gives you an at-a-glance read on session performance without having to do mental math or glance at a separate panel.
The watermark is fully customizable. Place it in any of nine positions on the chart (top, middle, or bottom paired with left, center, or right), choose from six text sizes including an auto-scaling option, and adjust the transparency and colors to match your chart theme. You can toggle the leading "+" sign on positive moves and set decimal precision from 0 to 4 places. Because it renders as a positioned table rather than a price-anchored label, it stays put as you scroll and zoom, just like a real watermark.
The watermark is fully customizable. Place it in any of nine positions on the chart (top, middle, or bottom paired with left, center, or right), choose from six text sizes including an auto-scaling option, and adjust the transparency and colors to match your chart theme. You can toggle the leading "+" sign on positive moves and set decimal precision from 0 to 4 places. Because it renders as a positioned table rather than a price-anchored label, it stays put as you scroll and zoom, just like a real watermark.
Release Notes
I have added an option to compare to the previous close. 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.
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.
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.