Overview
Average Daily Range levels projected from today's open and from today's high and low, with a panel showing how much of the ADR is used.
ADR Levels shows how far a market usually travels in a day and how much of that distance today has already covered. It projects Average Daily Range levels from today's open and from today's high and low, and a small panel shows the ADR in pips and the percentage used so far. It helps with realistic targets and with spotting days that are already stretched.
How it works
- ADR is the average of
high - lowof the last N completed daily bars (today is not included). It is worked out once per day. - Levels from the open:
open + factor x ADRandopen - factor x ADR. With the default factor 0.5 the two lines are one full ADR apart, centred on the open. - Levels from today's range:
ADR high = today's low + ADRandADR low = today's high - ADR. These show where the day would stand if it made exactly an average range from its current extreme. They move when a new high or low is made, and they meet the opposite extreme once the full ADR has been covered. - Panel:
ADR in pips,today's range in pipsandtoday's range / ADR x 100percent used.
Lines run from the start to the end of the current server day and are only moved when today's high or low changes.
Inputs
| Input | Default | What it does |
|---|---|---|
| ADR days | 14 | Completed days in the average (1-100). |
| Open factor | 0.5 | Share of the ADR projected each way from the open. |
| Show open levels | true | Draws open + / - factor x ADR. |
| Show range levels | true | Draws low + ADR and high - ADR. |
| Open level colour | Steel blue | Colour of the dashed open levels. |
| Range level colour | Indian red | Colour of the solid range levels. |
| Line width | 1 | Width of the lines (1-5). |
| Show labels | true | Name and price on each line. |
| Show info panel | true | Shows ADR, today's range and percent used. |
| Panel corner | Right upper | Chart corner for the panel. |
| Panel colour | Dim gray | Panel text colour. |
| Font size | 9 | Panel font size; labels use one size smaller. |
How to use it
- In MetaTrader choose File > Open Data Folder.
- MT4: copy
FXN_AdrLevels.mq4intoMQL4/Indicators. MT5: copyFXN_AdrLevels.mq5intoMQL5/Indicators. - Restart the terminal, or right-click Indicators in the Navigator and choose Refresh. If the indicator does not appear, open the file in MetaEditor and press F7 to compile it.
- Drag the indicator onto a chart, adjust the inputs and press OK.
Use it on M5 to H1 charts. Fourteen days is a common setting; use 5 for a faster reading after a change in volatility, or 20 for a steadier one. When the panel shows that most of the ADR is already used, a large further move in the same direction is less common, but it does happen on news days.
Good to know
- Levels from today's high and low move during the day by design. The open levels are fixed once the day opens.
- The day follows your broker's server time. A broker with a short Sunday bar lowers the average; use more days to soften that.
- The ADR describes the past. A day can travel much less or much more than its average.
- One pip is 10 points on 3 and 5 digit symbols and 1 point otherwise.
- All objects use the prefix
FXN_ADR_and are removed with the indicator. It does not trade.
Trading carries risk. Test on a demo account first; past results do not predict future results.
At a glance
- What it is
- A free Indicator for MetaTrader 4, written in MQL4.
- What it does
- Average Daily Range levels projected from today's open and from today's high and low, with a panel showing how much of the ADR is used.
- Shared by
- Alex
- Licence
- MIT
- Version
- 1.0 (1 Dec 2026)
- Settings
- 15 inputs
- Lab check
- Compiled with MetaEditor build 2425 for MT4 on 1 Dec 2026: 0 errors, 0 warnings.
- Price
- Free to download
Settings read from the code
| Input | Type | Default | Note |
|---|---|---|---|
| InpGroup1 | string | === ADR === | ---- ADR ---- |
| InpAdrDays | int | 14 | Completed days in the average (1-100) |
| InpOpenFactor | double | 0.5 | Share of the ADR projected each way from today's open |
| InpGroup2 | string | === Levels === | ---- Levels ---- |
| InpShowOpenLvls | bool | true | Show open + / - ADR x factor |
| InpShowRangeLvls | bool | true | Show today's low + ADR and today's high - ADR |
| InpOpenColor | color | clrSteelBlue | Colour of the levels from the open |
| InpRangeColor | color | clrIndianRed | Colour of the levels from today's high and low |
| InpLineWidth | int | 1 | Line width (1-5) |
| InpShowLabels | bool | true | Show a name and price on each level |
| InpGroup3 | string | === Info panel === | ---- Info panel ---- |
| InpShowInfo | bool | true | Show the ADR and % used panel |
| InpCorner | ENUM_BASE_CORNER | CORNER_RIGHT_UPPER | Chart corner for the panel |
| InpInfoColor | color | clrDimGray | Panel text colour |
| InpFontSize | int | 9 | Font size |
How to use it
- Download the compiled file (or the source and compile it in MetaEditor).
- Put it in MetaTrader: File → Open Data Folder → MQL4 → Indicators, then refresh the Navigator.
- Test it on a demo account before any real money.
- Want changes? Open a copy in your Lab and ask for them in plain words.