OPEN-SOURCE SCRIPT
Previous High/Low Only

Prev H/L
This indicator displays the Previous Day, Previous Week, and Previous Month High/Low levels with the option to choose how many periods back you want to view.
Unlike most Previous High/Low indicators that only show the latest levels, this one lets you select older levels. For example, setting **Days Ago = 3** will display the High and Low from **3 trading days ago**. The same applies to Weeks and Months.
The horizontal lines start from the candle where the High or Low was actually created instead of stretching across the entire previous session, making the chart cleaner and easier to read.
--Features
* Previous Day High & Low
* Previous Week High & Low
* Previous Month High & Low
* Choose how many Days, Weeks, or Months back to display
* Optional EQ (Midpoint)
* Custom line styles and colors
* Clean labels
* Lightweight and easy to use
--Best For
* Support & Resistance
* Liquidity Levels
* ICT / SMC Concepts
* Day Trading
* Swing Trading
* Scalping
--Known Issues
This indicator is mainly designed for lower and matching timeframes.
For example:
* **Previous Day** works correctly on **1H** and **1D** charts, but it may not display correctly on the **1W** chart.
* **Previous Week** works correctly on **1H**, **1D**, and **1W** charts, but it may not display correctly on the **1M** chart.
* **Previous Month** is intended for lower timeframes and may not behave as expected on higher timeframe charts.
This is a known limitation of the current version and may be improved in future updates.
---
If you find any bugs or have suggestions for new features, feel free to leave a comment. Feedback is always appreciated!
This indicator displays the Previous Day, Previous Week, and Previous Month High/Low levels with the option to choose how many periods back you want to view.
Unlike most Previous High/Low indicators that only show the latest levels, this one lets you select older levels. For example, setting **Days Ago = 3** will display the High and Low from **3 trading days ago**. The same applies to Weeks and Months.
The horizontal lines start from the candle where the High or Low was actually created instead of stretching across the entire previous session, making the chart cleaner and easier to read.
--Features
* Previous Day High & Low
* Previous Week High & Low
* Previous Month High & Low
* Choose how many Days, Weeks, or Months back to display
* Optional EQ (Midpoint)
* Custom line styles and colors
* Clean labels
* Lightweight and easy to use
--Best For
* Support & Resistance
* Liquidity Levels
* ICT / SMC Concepts
* Day Trading
* Swing Trading
* Scalping
--Known Issues
This indicator is mainly designed for lower and matching timeframes.
For example:
* **Previous Day** works correctly on **1H** and **1D** charts, but it may not display correctly on the **1W** chart.
* **Previous Week** works correctly on **1H**, **1D**, and **1W** charts, but it may not display correctly on the **1M** chart.
* **Previous Month** is intended for lower timeframes and may not behave as expected on higher timeframe charts.
This is a known limitation of the current version and may be improved in future updates.
---
If you find any bugs or have suggestions for new features, feel free to leave a comment. Feedback is always appreciated!
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.