Previous Day High and Low Breakout Strategy
Jun 5, 2019

The Previous Day High and Low Breakout Strategy indicator identifies key daily price levels to execute breakout trades based on the prior day's range. It aims to capture momentum shifts when the market moves beyond established daily boundaries, providing a systematic approach to intraday trend following.
Usage
The strategy is primarily used on intraday timeframes to monitor price action relative to the previous day's extremes.
- Long Entry: Triggered when the current price breaks above the Previous Day High (PDH).
- Short Entry: Triggered when the current price breaks below the Previous Day Low (PDL).
The script automatically colors the bars to reflect the current market state: green for a bullish breakout and red for a bearish breakout. Traders can use these levels as dynamic support and resistance or as triggers for automated execution.
Details
The strategy utilizes the request.security function to fetch the high and low values from the daily ('D') timeframe, ensuring that the levels remain constant throughout the current trading session regardless of the chart's intraday timeframe. The logic is based on the principle that breaking a previous day's high often indicates strong bullish conviction, while breaking a previous day's low indicates bearish dominance.
Settings
- Daily High Plot: Visual representation of the previous day's high price.
- Daily Low Plot: Visual representation of the previous day's low price.
- Barcolor: Updates the chart candles based on the breakout direction (Bullish/Bearish).
FAQ
How do I access the Previous Day High and Low Breakout Strategy?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
On which timeframes does this strategy work best?
The strategy is designed for intraday timeframes (e.g., 5m, 15m, 1h) as it relies on price levels derived from the Daily timeframe.
Can I set alerts for these breakouts?
Yes, the script includes built-in alert conditions that trigger when the price crosses above the daily high or below the daily low, allowing for real-time notifications.
Free indicator
Get free access to this indicator on the platforms below.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.