OPEN-SOURCE SCRIPT
Updated Prev day High, Low, Close + continuing trend

📊 Yesterday's Levels: Market Strength and Sentiment (HLC)
This indicator is designed for intraday traders who need to quickly identify the previous day's key levels (High, Low, and Close) and, most importantly, understand the sentiment of the previous session at a glance.
🔍 What does this indicator do?
Unlike other “Daily High/Low” indicators, this tool cleans up historical noise and pre-market gapping to provide a purist view of the regular session.
Real Static Levels: Draws the YHP (Yesterday's High Price), YLP (Yesterday's Low Price), and YCP (Yesterday's Close Price).
No “Steps”: Lines only appear in the current session and start exactly at the market open (RTH), eliminating annoying pre-market tails.
Thirds Strength Analysis: Applies an algorithmic rule based on the location of the close relative to the previous day's total range:
Green Shading (Bullish Strength): If the price closed in the upper third of the range (dominant buying pressure).
Red Shading (Bearish Strength): If the price closed in the lower third of the range (dominant selling pressure).
No color: If the close was neutral (in the middle third).
### 💡 How to use it?
* **Trend Continuity**: If you see green shading and the price opens above the PDC, buyers are in control.
* **Reaction Levels**: The PDH and PDL act as natural support and resistance levels where institutions tend to make decisions.
* **Session Filter**: Ideal for avoiding “traps” during the pre-market, as the indicator only activates when real liquidity begins.
### 🛠 Technical Features
* **Optimized for MSTR and volatile assets**: Filters weekend gaps to maintain data accuracy.
* **Dynamic Tags**: Level names automatically scroll to the right so as not to obstruct the candles.
* **Clean Code**: Written in Pine Script v5 with corrected `lookahead` logic to avoid repainting.
Release Notes
📊 Yesterday's Levels: Market Strength and Sentiment (HLC)This indicator is designed for intraday traders who need to quickly identify the previous day's key levels (High, Low, and Close) and, most importantly, understand the sentiment of the previous session at a glance.
🔍 What does this indicator do?
Unlike other “Daily High/Low” indicators, this tool cleans up historical noise and pre-market gapping to provide a purist view of the regular session.
Real Static Levels: Draws the YHP (Yesterday's High Price), YLP (Yesterday's Low Price), and YCP (Yesterday's Close Price).
No “Steps”: Lines only appear in the current session and start exactly at the market open (RTH), eliminating annoying pre-market tails.
Thirds Strength Analysis: Applies an algorithmic rule based on the location of the close relative to the previous day's total range:
Green Shading (Bullish Strength): If the price closed in the upper third of the range (dominant buying pressure).
Red Shading (Bearish Strength): If the price closed in the lower third of the range (dominant selling pressure).
No color: If the close was neutral (in the middle third).
### 💡 How to use it?
* **Trend Continuity**: If you see green shading and the price opens above the PDC, buyers are in control.
* **Reaction Levels**: The PDH and PDL act as natural support and resistance levels where institutions tend to make decisions.
* **Session Filter**: Ideal for avoiding “traps” during the pre-market, as the indicator only activates when real liquidity begins.
### 🛠 Technical Features
* **Optimized for MSTR and volatile assets**: Filters weekend gaps to maintain data accuracy.
* **Dynamic Tags**: Level names automatically scroll to the right so as not to obstruct the candles.
* **Clean Code**: Written in Pine Script v5 with corrected `lookahead` logic to avoid repainting.
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.