PROTECTED SOURCE SCRIPT
Updated True Previous Day/Week High & Low

True Previous Day/Week High & Low
What makes this indicator unique:
Unlike most previous day high/low indicators that only track SESSION data (e.g., 6:00 PM - 5:00 PM for futures), this indicator calculates the TRUE calendar day high and low from MIDNIGHT TO MIDNIGHT (00:00 - 23:59) in New York time.
Why this matters:
- Session-based indicators miss crucial price action that occurs during overnight hours
- True midnight-to-midnight calculation gives you the ACTUAL daily range
- Essential for traders who need accurate previous day levels for support/resistance
- Works perfectly on 24-hour markets like futures (NQ, ES, YM, etc.)
Features:
✓ True calendar day high/low (00:00-23:59 NY time)
✓ Previous week high/low
✓ Customizable line colors, widths, and styles (solid, dashed, dotted)
✓ Optional labels with adjustable size, color, and spacing
✓ Values displayed on price scale
✓ Toggle individual levels on/off
✓ Optimized for 1-minute charts but works on all timeframes
Perfect for:
- Futures traders (NQ, ES, YM, RTY)
- Day traders using previous day levels as key support/resistance
- Swing traders tracking weekly ranges
- Anyone who needs accurate 24-hour high/low levels
Settings are clean and intuitive - just add to your chart and customize the appearance to match your setup!
What makes this indicator unique:
Unlike most previous day high/low indicators that only track SESSION data (e.g., 6:00 PM - 5:00 PM for futures), this indicator calculates the TRUE calendar day high and low from MIDNIGHT TO MIDNIGHT (00:00 - 23:59) in New York time.
Why this matters:
- Session-based indicators miss crucial price action that occurs during overnight hours
- True midnight-to-midnight calculation gives you the ACTUAL daily range
- Essential for traders who need accurate previous day levels for support/resistance
- Works perfectly on 24-hour markets like futures (NQ, ES, YM, etc.)
Features:
✓ True calendar day high/low (00:00-23:59 NY time)
✓ Previous week high/low
✓ Customizable line colors, widths, and styles (solid, dashed, dotted)
✓ Optional labels with adjustable size, color, and spacing
✓ Values displayed on price scale
✓ Toggle individual levels on/off
✓ Optimized for 1-minute charts but works on all timeframes
Perfect for:
- Futures traders (NQ, ES, YM, RTY)
- Day traders using previous day levels as key support/resistance
- Swing traders tracking weekly ranges
- Anyone who needs accurate 24-hour high/low levels
Settings are clean and intuitive - just add to your chart and customize the appearance to match your setup!
Release Notes
-adjusted PWH/PWL calculation for accuracyRelease Notes
-improved PWH/PWL calculationRelease Notes
bug fixesRelease Notes
more bug fixesRelease Notes
more bug fixesRelease Notes
-fixed bug on 1m chart sometimes plotting incorrect valuesRelease Notes
-added previous month high/low-added breach protection to customize line appearance if breached
Release Notes
-bug fixes on breach detectionRelease Notes
-bug fixesProtected script
This script is published as closed-source. However, you can use it freely and without any limitations – 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.
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – 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.