New: the Top 10 Non-Repainting MT4 Indicator Pack is free to download

98 free indicators for MetaTrader 4 & 5

Previous Day High Low Indicator MT4

Free Previous Day High Low indicator for MT4. Draws yesterday's high, low, open, close and last week's range. Settings, strategy and install guide. Free download, link emailed in seconds.

MT4Non-repaintingChannels & Levels
Data Windowprevious-day-high-low-indicator-mt4
PlatformMT4 Build 600+
File.mq4 / .ex4 in .zip
Version1.0
Size4.0 KB
RepaintsNo
TypeChannels & Levels
UpdatedNov 22, 2026
DownloadsNew listing
Download free (4.0 KB)
  • Enter your email, the download link arrives in seconds
  • Free bonus reports on the next page

Indicators are analysis tools, not trade signals. Forex trading on margin carries a high risk of loss. Test on a demo account first.

EURUSD · H4 · previewPrevious Day High Low Indicator MT4 v1.0
Previous Day High Low Indicator MT4 on EURUSD H4Non-repainting
How it works →
Overview

The Previous Day High Low indicator for MT4 draws yesterday’s high and low as horizontal lines across today’s session, with the exact price printed on each line. You can also add the previous day’s open and close, and the previous week’s high and low, so the key reference levels for the session are on your chart before you place a trade.

The previous day’s high and low are among the most watched intraday levels in forex. Traders use them to judge whether today is breaking out of yesterday’s range or staying inside it. This free MetaTrader 4 indicator draws those levels automatically and keeps them up to date as each new day begins.

What Is the Previous Day High Low Indicator?

It is a levels tool. It reads the completed daily candle before today and marks its extremes on any intraday chart:

  • PDH — previous day high.
  • PDL — previous day low.
  • PD Open and PD Close — optional previous day open and close.
  • PWH and PWL — optional previous week high and low.

These levels matter because many participants see the same numbers. Stop orders often cluster just beyond the previous day’s extremes, so price reaction around them, either a rejection or a clean break, can tell you a lot about who is in control of the session.

How it works

The indicator takes the high, low, open and close of the previous D1 bar using MT4’s iHigh, iLow, iOpen and iClose functions. If that bar is a short Sunday candle and IgnoreSundayCandle is on, it uses the Friday bar instead. Each level is drawn as a horizontal line that starts at the first bar of the current day and extends ExtendBars bars past the latest candle, with a label at the right end showing the level’s name and price. Weekly levels come from the previous W1 bar and start at the beginning of the current week.

The lines update on every tick so they stay attached to the right edge of the chart, and they move to the new values automatically when a new day or week begins. Days are defined by your broker’s server time, because that decides where each D1 bar starts and ends.

Key Features

  • Previous day high and low, plus optional open, close and previous week high and low.
  • Price labels with the exact level, formatted to your symbol’s digits.
  • Lines limited to the current day (or week), so they do not clutter older price history.
  • Separate colors, styles and widths for daily and weekly levels.
  • Optional handling of broker Sunday candles.
  • All objects use the prefix MT4I_PDHL_ and are removed when you delete the indicator.

How to Trade With the Previous Day High Low Indicator

Breakout of the previous day’s range

  1. Wait for a candle on your trading timeframe (M15 or H1 are common) to close above PDH or below PDL.
  2. Prefer breakouts during active sessions such as the London or New York open; the Trading Sessions indicator linked below marks them for you.
  3. Enter on the close, or on a retest of the broken level from the other side.
  4. Place the stop back inside yesterday’s range, beyond the breakout candle’s opposite end.

Rejection (false break) setups

  1. Watch for price to push through PDH or PDL and then close back inside the range.
  2. That failed break often means the stops beyond the level were taken and the move ran out of buyers or sellers.
  3. Enter in the direction of the rejection, with the stop beyond the wick, and target the middle of yesterday’s range or the opposite level.

Using the weekly levels

With ShowWeekly on, the previous week’s high and low add a second, larger frame around the daily levels. A break of the previous day high that runs straight into the previous week high has little room to travel, so many traders lower their target or skip the trade. A break of yesterday’s range that also clears last week’s range is a bigger event and has more open space above or below it.

Inside days

When price spends the whole session between PDH and PDL, the market is consolidating. Range traders fade the edges; breakout traders wait for the next session to resolve it. An inside bar indicator on the D1 chart marks these days automatically.

Previous day levels gain weight when they line up with other references. Check them against daily pivot points and the session VWAP. Size each trade from the actual stop distance with the position size calculator.

Best Settings

  • Scalping and day trading (M1 to M15): keep the defaults, PDH and PDL with labels. Add ShowWeekly when price is trading near last week’s extremes.
  • Range context: turn on ShowClose; many traders watch whether price opens above or below the previous close.
  • Cleaner chart: set DayLineStyle to Dot with DayLineWidth 1 so the levels stay in the background.
  • Labels: raise LabelFontSize to 10 or 11 on high-resolution screens so the prices stay readable, and increase ExtendBars if the labels overlap the latest candles.
  • Sunday candles: leave IgnoreSundayCandle on unless your broker has no Sunday session, in which case it has no effect.

Does It Repaint?

No. The Previous Day High Low indicator is non-repainting. Every level comes from a daily or weekly candle that has already closed, so the prices do not change during the day. The lines are redrawn on each tick only to keep them stretched to the latest candle; their price never moves until a new day or week starts. For background, see our guide to repainting in MT4 indicators.

How to Install

Download the free file, then in MetaTrader 4 open File > Open Data Folder > MQL4 > Indicators and copy previous-day-high-low-indicator-mt4.mq4 into that folder. Restart the terminal or right-click Indicators in the Navigator and choose Refresh, and the indicator compiles and appears under Indicators > Custom. Drag it onto a chart and adjust the inputs in the window that opens. The full walkthrough, with fixes for common problems, is in our guide on how to install indicators in MT4. This is an MT4 file, so it will not load in MetaTrader 5 (the two platforms use different file formats), and the MT4 mobile apps cannot run custom indicators at all, as explained in our MT4 mobile indicators guide.

Related Indicators

See every scalping indicator in the library.

Trading on margin carries a high level of risk, so test any new tool on a demo account before you use it with real money.

Previous Day High Low Indicator MT4 on an EURUSD H4 MT4 chart

Previous Day High Low Indicator MT4 on a MetaTrader chart. Click to enlarge.

Repaint verdict: does not repaint. We read the source: every value is calculated on closed bars and never rewritten, so what you see in history is what you would have seen live.

Free pack

Get the Top 10 Non-Repainting Indicator Pack

Ten MT4 indicators that draw on closed bars only, in one zip with install notes for each.

Settings

Inputs, defaults and what they change

  • ShowOpen (default false) — Also draw the previous day’s open.
  • ShowClose (default false) — Also draw the previous day’s close.
  • ShowWeekly (default false) — Also draw the previous week’s high and low, starting from the first bar of the current week.
  • ShowLabels (default true) — Show each level’s name and price (for example “PDH 1.08452”) at the right end of the line.
  • IgnoreSundayCandle (default true) — If the previous D1 bar is a short Sunday candle (some brokers have one), use the Friday bar instead.
  • HighColor (default DodgerBlue) — Previous day high line color.
  • LowColor (default OrangeRed) — Previous day low line color.
  • OpenColor (default Silver) — Previous day open line color.
  • CloseColor (default Gold) — Previous day close line color.
  • WeekHighColor (default RoyalBlue) — Previous week high line color.
  • WeekLowColor (default FireBrick) — Previous week low line color.
  • DayLineStyle (default Solid) — Line style for the daily levels. MT4 only draws dotted or dashed lines at width 1.
  • DayLineWidth (default 2) — Line width for the daily levels.
  • WeekLineStyle (default Dash) — Line style for the weekly levels.
  • WeekLineWidth (default 1) — Line width for the weekly levels.
  • ExtendBars (default 10) — How many bars past the current candle the lines and labels extend.
  • LabelFontSize (default 8) — Font size of the price labels.
Install

How to install it in MetaTrader 4

  1. Step 1Download and unzip

    Enter your email, open the download link we send you and extract the .mq4 / .ex4 file from the zip.

  2. Step 2Open the data folder

    In MetaTrader, go to File → Open Data Folder.

  3. Step 3Copy into Indicators

    Place the file in MQL4 → Indicators, then restart MetaTrader or refresh the Navigator panel.

  4. Step 4Attach it to a chart

    Find it under Navigator → Indicators and drag it onto any chart.

First time installing an indicator? Watch the 75-second video or follow the screenshots in our MT4 install guide: every click in MetaTrader, plus fixes for an indicator that won't show up.

Free forex calculators
FAQ

Previous Day High Low Indicator MT4 questions

MT4 has no built-in tool for this, so you either draw the lines by hand each day or use a custom indicator. Install this indicator, drag it onto an intraday chart, and it draws the previous day’s high and low with price labels automatically.

They mark the extremes of the last full session, and many traders watch them. Stop orders often sit just beyond them, so price tends to react around these levels, either rejecting them or breaking through with momentum.

The daily candle depends on the broker’s server time zone. A broker on a different time zone, or one with a Sunday candle, will have a different previous day high and low. IgnoreSundayCandle skips a Sunday D1 bar so Monday uses Friday’s levels.

Yes. Set ShowWeekly to true. The indicator then draws the previous week’s high and low from the first bar of the current week, using its own colors and a dashed style by default.

No. The levels come from the completed previous day and week, so their prices stay fixed for the entire current day. The lines only extend to the right as new candles form.

It is designed for intraday charts, from M1 up to H4. Day traders often watch it on M5, M15 and H1, where the reaction around yesterday’s extremes is easy to see.

Previous Day High Low Indicator MT4
Size
4.0 KB
Version
1.0
Repaints
No
Download free
Free packTop 10 Non-Repainting Indicators

Ten closed-bar MT4 indicators in one zip.

Get the pack

Previous Day High Low Indicator MT4Free · 4.0 KB

Download

Where should we email your download link?

Use an email you can check right now: the download link goes straight to this inbox.