OPEN-SOURCE SCRIPT
Updated Yesterday's Levels with 50% wick and Equilibrium

## Script Description
This Pine Script indicator highlights key levels from the previous day’s daily candle on any timeframe chart. It focuses exclusively on marking the following:
1. **Previous Day’s High, Low, Open, and Close**:
- Horizontal lines are drawn to indicate the previous day's high, low, open, and close prices.
- These lines are white and extend across the chart.
2. **50% of Candle Wicks**:
- If the previous day’s candle has wicks, two additional lines mark 50% of the top wick and 50% of the bottom wick.
- These lines are green and dotted, representing half the wick’s height.
3. **Equilibrium (50% of the Full Candle)**:
- A horizontal red line marks the midpoint (equilibrium) of the entire previous day’s candle, from high to low.
- This line is thicker than the others to emphasize the equilibrium level.
The script works by focusing only on the previous day’s daily candle, ensuring that it doesn’t plot lines for any older candles. These levels are visible on all timeframes.
This Pine Script indicator highlights key levels from the previous day’s daily candle on any timeframe chart. It focuses exclusively on marking the following:
1. **Previous Day’s High, Low, Open, and Close**:
- Horizontal lines are drawn to indicate the previous day's high, low, open, and close prices.
- These lines are white and extend across the chart.
2. **50% of Candle Wicks**:
- If the previous day’s candle has wicks, two additional lines mark 50% of the top wick and 50% of the bottom wick.
- These lines are green and dotted, representing half the wick’s height.
3. **Equilibrium (50% of the Full Candle)**:
- A horizontal red line marks the midpoint (equilibrium) of the entire previous day’s candle, from high to low.
- This line is thicker than the others to emphasize the equilibrium level.
The script works by focusing only on the previous day’s daily candle, ensuring that it doesn’t plot lines for any older candles. These levels are visible on all timeframes.
Release Notes
# Indicator: "Yesterday's Levels with 50% and Equilibrium"This indicator helps traders by automatically plotting key levels from the previous day's candle on their charts. It provides a clear visual reference to important price levels that can be used for making trading decisions on any timeframe. The following key features are included:
### 1. Previous Day's High, Low, Open, and Close:
- Horizontal lines mark the high, low, open, and close of the previous day's candle, providing quick visual access to these key levels.
- These levels are drawn in white and extend across all future bars, making them easy to see no matter which timeframe you're viewing.
### 2. Equilibrium Level:
- A red, thick horizontal line marks the "equilibrium" or 50% level of the previous day's entire range (from high to low). This level is often used by traders to gauge potential reversal or continuation zones.
### 3. 50% Wick Levels:
- Green dotted lines represent the 50% level of the upper and lower wicks of the previous day's candle. These lines can help identify potential reaction areas within the day's price action.
The indicator is designed to work on all timeframes but only calculates levels based on the previous day’s candle from the daily timeframe. This makes it particularly useful for intraday and swing traders who want to keep track of the prior day's price action.
Release Notes
Marks the previous day high, low, open and close of a candle. Tha script runs on Monday, Tuesday and Fridays. 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.
For quick access on a chart, add this script to your favorites — learn more here.
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.
For quick access on a chart, add this script to your favorites — learn more here.
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.