Previous Day High
Free MT5 indicator that draws the Previous Day High and Low and marks close-confirmed breaks and rejections. 0 of 50 signals changed in the Lab's repaint test.

- Repainted
- 0 / 50
- Signals / week
- ≈ 3.9
- Tested on
- EURUSD M15
- Tested
- 2026-10-05
Overview
The Previous Day High indicator MT5 draws yesterday's high (PDH) and low (PDL) on your main price chart. It marks two close-confirmed arrows, Break Up and PDH Rejection, and shows a small Levels panel. In the Lab's repaint test, 0 of 50 logged signals changed after the bar closed. It helps intraday traders who use yesterday's range as their map for today.
The previous day high is a common intraday support and resistance reference: the highest price the market reached in the last full trading day. The indicator does not teach the concept. Its job is to put the level on your chart and mark the first time each day that price reacts to it.
What it draws on your chart
- PDH / PDL lines. These are yesterday's high and low, read from daily candles and carried across today's bars. A short trail of older days fades out behind them.
- Weekly High/Low. The previous week's high and low, drawn as faded dashed lines. They are replaced when a new week starts.
- Break Up arrow. This fires when a closed bar closes above the PDH and the bar before it closed at or below it. It only fires the first time in the trading day.
- PDH Rejection arrow. This fires when a closed bar's high reaches the PDH but the bar closes below it. It also only fires the first time in the trading day.
- Levels panel. It shows the PDH, the PDL, the previous week high, the distance from Bid to the PDH in points, whether the level has broken today, and how many rejections there have been today.
It draws in the main chart window, not a subwindow.
How the Lab tested it
The Lab ran version 1.00 (136.7 KB) on MT5 build 6230. It tested on EURUSD M15 from 2026-07-06 to 2026-10-02 with Raw Trading Ltd real ticks, and the test date was 2026-10-05.
- Repaint: 50 signals were logged and 0 changed. The maximum arrow delay was 0 bars. An arrow you see on a closed bar is the arrow you would have seen live, on that same bar.
- Frequency: 3.9 signals per week across both arrows: 1.8 Break Up and 2.1 PDH Rejection. That is a low-frequency tool, roughly one event per trading day.
- Follow-through: 48% of the 50 signals moved 1 ATR in the arrow's direction before moving 1 ATR against it. The median signal got there in 2 bars.
The chart below compares the follow-through of the two arrow types.
Scale zoomed in to show the difference (bars do not start at zero).
What 48% means for you: this is close to a coin flip. The arrows show where something happened at the level, not whether to trade it. The Lab's ifkit job tag for this tool is "location", and that is how you should use it.
Who it is for
It suits day traders on intraday charts who already trade around yesterday's range and want the levels drawn, the first reaction marked, and an alert. It does not suit you if you want a stand-alone buy or sell system.
How it works
- 1Reads the previous day's high and low from daily candles and carries them across the current day's bars.Inputs: InpShowPrevLow, InpHistoryDays
- 2Break: a bar closes above the previous day high after a close at or below it, once per day.
Break if Close > PDH and Close_prev <= PDHInputs: InpAlertOnBreak - 3Rejection touch: the high reaches the level but the bar closes below. First one each day is marked.
Touch if High >= PDH and Close < PDHInputs: InpAlertOnTouch - 4Signal strength is 1 to 5 from where the close sits in the bar range.
Break strength = (Close - Low) / Range x 5
Specifications
- Platform
- MetaTrader 5
- Version
- 1.00
- Type
- Indicator
- Window
- Main chart
- Draws
- 2 arrows, 2 zones, 1 panel
- Alerts
- popup, push, sound
- Repaints
- No (0 of 50 signals changed)
- Inputs
- 13
- Tested on
- MT5 build 6230 · 2026-10-05
Repaint test
No repaint detected. In a 6 Jul 2026 – 2 Oct 2026 test on EURUSD M15 (Raw Trading Ltd real ticks), 50 signals were logged at bar close and re-read at the end of the test: 0 changed. Arrows print on the bar that closes the signal, with no delay.
IndicatorFree — tested 2026-10-05 · MT5 build 6230 · Raw Trading Ltd real ticks. Results come from historical data, not live trading, and do not guarantee future results.
Signal statistics
Over 6 Jul 2026 – 2 Oct 2026 on EURUSD M15, the indicator printed 50 arrows. After 48% of them, price moved 1×ATR(14) in the arrow's direction before moving 1×ATR against it (median 2 bars). 2% reached neither level within 20 bars.
This measures price movement after the arrow, not a trading result. It includes no spread, commission, stop loss or position sizing.
What it draws
- Arrows (Break Up) from buffer 2, drawn on the closed bar.
- Arrows (PDH Rejection) from buffer 3, drawn on the closed bar.
- Rectangles (PDH / PDL Levels) drawn as chart objects, not buffers — they are not readable by iCustom() in an EA.
- Rectangles (Weekly High/Low) drawn as chart objects, not buffers — they are not readable by iCustom() in an EA.
- An on-chart panel (Levels); values shown in the panel are not exposed as buffers.
Inputs
| Input | Default | What it does |
|---|---|---|
| InpHistoryDays | 3 | Days drawn as PDH/PDL lines incl. yesterday (1-10), older ones fade out |
| InpShowPrevLow | true | Also draw the Previous Day Low (PDL) as a reference |
| InpShowWeekly | true | Draw Previous Week High/Low as faded dashed lines |
| InpExtendActiveLine | true | Extend today's PDH/PDL/weekly lines to the right (ray) |
| InpAlertOnBreak | true | Alert when a closed bar breaks above PDH (once per day) |
| InpAlertOnTouch | false | Alert when a closed bar touches PDH and closes below (once per day) |
| InpUsePopup | true | Show a popup Alert() window |
| InpUsePush | false | Send a push notification to MetaTrader mobile |
| InpUseSound | true | Play a sound |
| InpSoundFile | alert.wav | Sound file from the MT5 Sounds folder |
| Theme | Dark | Chart color theme |
| RestoreTheme | true | Restore the original chart colors when the indicator is removed |
| PanelScale | 1 | Panel size multiplier (0.6-2.0), DPI is applied automatically |
How to read it
Install: copy the file into your MT5 MQL5/Indicators folder (File → Open Data Folder), refresh the Navigator, and drag it onto a chart.
How one signal forms
The indicator reads yesterday's high from the daily candle and holds it as a flat line for the whole of today. Each closed bar is then checked against two rules:
- Break Up:
Close > PDHandClose_prev <= PDH. The bar has to close above the line. A wick poking through does not count. - PDH Rejection:
High >= PDHandClose < PDH. Price tagged the level and the bar finished back under it.
Only the first of each kind per trading day gets an arrow. The illustration below shows a typical day: a rejection, then a second touch with no arrow, then the break, then a later re-cross with no arrow.
Reading the arrows and a common misread
The most common misread is expecting an arrow on every cross of the line. Because of the once-per-day rule, a second break after price fell back gets no arrow. To check today's state, look at the panel's break status and rejection count rather than hunting for arrows.
The second misread is acting on a bar that is still forming. Both rules use the closed bar. If price is above the PDH right now but the bar has not closed, there is no break yet.
The tool also grades signal strength from 1 to 5 by where the close sits in the bar's range ((Close - Low) / Range x 5). A Break Up that closes near the bar's high scores higher. The facts do not record where this grade is displayed.
Decision rules
- Break Up: treat it as a long idea only when the next level above (for example the previous week high) leaves room of at least about 1 ATR. Skip it when the weekly dashed line sits just above the PDH, because the break runs straight into the next reference.
- PDH Rejection: treat it as a fade idea only when the panel shows no break yet today. Skip it once the level has already broken today, because the line is then acting as a floor rather than a ceiling.
These are rules for reading the chart. The Lab did not test them as a strategy.
Inputs to change first
| Input | Default | What changing it does |
|---|---|---|
InpHistoryDays | 3 | Days drawn as PDH/PDL lines including yesterday (1-10). Older segments are removed when lines rebuild on each new bar. |
InpShowPrevLow | true | Draws the PDL as a reference. Turn it off for a cleaner chart. |
InpShowWeekly | true | Previous week high and low as faded dashed lines. |
InpExtendActiveLine | true | Extends today's lines to the right as rays. |
InpAlertOnBreak | true | Alert on the first closed-bar break above the PDH each day. |
InpAlertOnTouch | false | Alert on the first rejection touch each day. |
PanelScale | 1 | Panel size multiplier (0.6-2.0). DPI is applied automatically. |
If you trade rejections, set InpAlertOnTouch to true first. With the default it stays silent on half of the arrow types.
Alerts
Alerts fire once per day per event, on a closed bar. InpUsePopup (on) shows an MT5 Alert() window, InpUseSound (on) plays InpSoundFile (default alert.wav from the MT5 Sounds folder), and InpUsePush (off) sends a notification to MetaTrader mobile.
Installation
- 1Download PreviousDayHigh.ex5 from the button above (Google Drive).
- 2In MetaTrader 5: File → Open Data Folder → MQL5 → Indicators. Copy PreviousDayHigh.ex5 there.
- 3Restart MT5 or right-click Indicators in Navigator → Refresh.
- 4Drag Previous Day High onto a chart. For push alerts, enable "Allow push notifications" under Tools → Options → Notifications.
- Tested on MT5 build 6230.
Key terms and guides
- Wick
- A wick is the thin line above or below a candlestick's body. It marks the highest and lowest prices traded in that period that price could not hold until the candle closed.
- Average True Range
- Average True Range (ATR) is a volatility indicator that shows how far price typically moves per candle, gaps included, averaged over a set number of candles. It measures the size of moves, not their direction.
- Every tick based on real ticks
- Every tick based on real ticks is the MT5 Strategy Tester mode that replays the actual bid and ask ticks your broker recorded, with the real changing spread, instead of ticks the tester invents from 1-minute bars.
- Previous day high
- The previous day high is the highest price a market reached during the last completed daily session. Traders use it as a key level where price often stalls, reverses or breaks out the next day.
- Candlestick
- A candlestick is one bar on a price chart that shows four prices for a set period: the open, high, low and close. A thick body spans the open and close, and thin wicks reach the high and low.
- Support
- Support is a price zone where a falling market has stopped and turned higher more than once because buyers stepped in there. Traders use it to choose where to buy, and they put the stop loss just below the zone so a clean break ends the trade.
More on this subject: Supply, demand & key levels guide, terms and tools
User reviews
No reviews yet. Members who download the tool can review it here.
Sign in and download the tool to review it.
Build a checklist with it
Previous Day High does one job on the chart: zone / level. Put it on the same chart as the tools below and the IndicatorFree panels merge into one checklist card, ordered trend, zone, signal, risk.
- Trend / contextDowntrendAdds the trend side: which way the market leans before you act on Previous Day High.
- Entry signalChange of CharacterAdds the entry signal: the moment to act once Previous Day High has set the scene.
The Lab has not tested these combinations. Each tool is tested on its own; the card only lines up what each one says. Free members get 2 new tools a day. If one has to wait until tomorrow, install BlackBox to raise the limit to 5 a day (20 on a live account).
FAQ
Does Previous Day High repaint?
No repaint detected. In a 6 Jul 2026 – 2 Oct 2026 test on EURUSD M15 (Raw Trading Ltd real ticks), 50 signals were logged at bar close and re-read at the end of the test: 0 changed. Arrows print on the bar that closes the signal, with no delay.
Can I use Previous Day High in an EA?
Yes. Read buffer 2 (Break Up) with iCustom() on bar 1 — the last closed bar.
Why can’t my EA read the zones?
Zones and the panel are chart objects, not indicator buffers, so iCustom() does not return them.
How do I get alerts on my phone?
Enter your MetaQuotes ID under Tools → Options → Notifications, tick "Enable push notifications", and keep the push alert input on.
Does it work on other pairs?
Tested on EURUSD only; other symbols not tested.
Does it give a signal when price breaks below the previous day low?
No. The PDL is drawn only as a reference line. Both arrows, Break Up and PDH Rejection, are tied to the previous day high.
Can I get the break alert on my phone?
Yes. Set `InpUsePush` to true, and MT5 sends the alert to the MetaTrader mobile app linked to your terminal. Popup and sound are on by default, and push is off.
Will it work on gold, indices or other pairs?
The inputs are not tied to any symbol, so it draws on any chart that has daily candles. The Lab only measured EURUSD M15, so results on other markets are untested.
Why did my chart colors change when I attached it?
The `Theme` input (default Dark) applies its own chart color theme. With `RestoreTheme` set to true, your original colors come back when you remove the indicator.
The panel is too small or too large on my screen. Can I resize it?
Yes. Change `PanelScale` anywhere from 0.6 to 2.0. Screen DPI is already applied automatically on top of that value.
Changelog
- 1.00Initial release: non-repainting Previous Day High/Low lines built from closed D1 bars, a fading multi-day trail (1-10 days), optional Previous Week High/Low dashed reference, once-per-day close-confirmed Break and. · 2026-10-09
Final verdict
The Lab's verdict
This is a clean, honest level tool. The repaint result is its strongest point: you can trust the arrows in history to look the way they looked live. Break arrows also resolve fast. Break Up signals had a median of 1 bar to reach 1 ATR, and none of them failed to reach 1 ATR either way within 20 bars. PDH Rejection signals took a median of 2 bars, and 3.7% of them stalled for 20 bars.
Its follow-through is close to a coin flip, so the arrows have no edge on their own. Use the tool to find the moment that matters at yesterday's high, and decide the trade with your own context.
Limits you should know
- One test, one market. All Lab numbers come from EURUSD M15 over about three months. Other pairs and timeframes are untested.
- Once per day only. Later re-breaks and re-tests are not marked, so a choppy day around the level shows just one arrow of each kind.
- Day boundaries come from your broker's daily candles. Two brokers with different server times can show different PDH values.
- Bullish breaks only. There is no arrow for a break of the PDL. The low is drawn as a reference line only.
Use it or skip it
- –You trade intraday around yesterday's range
- –You want one close-confirmed alert per day at the PDH
- –You already have a trend or bias filter of your own
- –You need history that does not repaint for review
- –You want a stand-alone buy/sell system
- –You trade swing positions on daily charts or higher
- –You need signals at the previous day low
- –You want every re-test of the level marked
Settings to start with
Start with the defaults, which are what the Lab tested. If you trade rejections, turn on InpAlertOnTouch. On M5, try InpHistoryDays at 5 to see older highs that price may revisit. That value is not tested by the Lab, so compare it with the default. On a busy chart, set InpShowPrevLow to false so only the line that generates arrows stays visible.





















