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!
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。