OPEN-SOURCE SCRIPT
Atualizado 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.
Notas de Lançamento
📊 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.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.