Script that plots the Previous Day Close (red solid line) and Current Day New York Open (green dotted line). This can be used for gap fades.
Release Notes
Fixed error in pulling previous day close level.
Release Notes
Updated line colors and thickness. Removed unneeded code.
Release Notes
Changed line style so it stays consistent with price.
Release Notes
Added shading in gap zone
Release Notes
Fixed plotting issue
Release Notes
Cleaned up code and changed label names to be more descriptive.
Release Notes
It was brought to my attention that the "open" price line was actually plotting the "high" of the opening candle, which was incorrect. This error has been fixed.
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.