Overview
Draws psychological round-number levels (00, 50 or any step in points) around the current price as light lines, with a limited count.
- What it is
- A free Indicator for MetaTrader 4, written in MQL4.
- What it does
- Draws psychological round-number levels (00, 50 or any step in points) around the current price as light lines, with a limited count.
- Shared by
- Alex
- Licence
- MIT
- Version
- 1.0 (1 Dec 2026)
- Settings
- 9 inputs
- Lab check
- Compiled with MetaEditor build 2425 for MT4 on 1 Dec 2026: 0 errors, 0 warnings.
- Price
- Free to download
Round Numbers draws psychological price levels such as 1.0800 and 1.0850 around the current price. Many orders, stops and option strikes cluster at these numbers, so price often pauses or reacts near them. The lines are light and limited in number, so they add context without cluttering the chart.
How it works
- You set a major step and a minor step in points. On a 5-digit pair 1000 points is 100 pips (the 00 levels) and 500 points is 50 pips (the 50 levels). For a 20-pip grid use 200.
- Levels are exact multiples of the step:
level = k x step x point. A minor level that falls on a major level is drawn only once, as major. - The indicator draws the levels within the chosen count of steps above and below the bid price, counted in the smaller step.
- It only redraws when price moves into another step zone, not on every tick.
Inputs
| Input | Default | What it does |
|---|---|---|
| Major step | 1000 | Major step in points (0 turns it off). |
| Minor step | 500 | Minor step in points (0 turns it off). |
| Levels each side | 10 | Number of steps above and below price to cover (1-50). |
| Major colour | Gray (120) | Colour of major levels. |
| Major style | Solid | Line style of major levels. |
| Minor colour | Light gray (160) | Colour of minor levels. |
| Minor style | Dot | Line style of minor levels. |
How to use it
- In MetaTrader choose File > Open Data Folder.
- MT4: copy
FXN_RoundNumbers.mq4intoMQL4/Indicators. MT5: copyFXN_RoundNumbers.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.
Pick steps that match the symbol. Examples: EURUSD (5 digits) 1000 / 500; USDJPY (3 digits) 1000 / 500 for 1.000 / 0.500 yen; gold with 2 digits 1000 / 500 for 10.00 / 5.00; an index with 1 digit 1000 / 500 for 100 / 50 points. Set Minor step to 0 to see only the big levels.
Good to know
- Steps are in points, so the same setting means different price distances on symbols with different digits; check the levels after attaching.
- The level price is shown in each line's description and tooltip; turn on Show object descriptions in the chart properties to see it on the chart.
- Round numbers are areas where reactions are common, not levels where price must turn.
- Levels never repaint; they are fixed prices.
- All objects use the prefix
FXN_RN_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.
Settings read from the code
| Input | Type | Default | Note |
|---|---|---|---|
| InpGroup1 | string | === Levels === | ---- Levels ---- |
| InpMajorStep | int | 1000 | Major step in points (1000 on 5-digit pairs = every 100 pips, 0 = off) |
| InpMinorStep | int | 500 | Minor step in points (500 on 5-digit pairs = every 50 pips, 0 = off) |
| InpLevelsEach | int | 10 | Levels above and below price, counted in the smaller step (1-50) |
| InpGroup2 | string | === Display === | ---- Display ---- |
| InpMajorColor | color | C'120,120,120' | Major level colour |
| InpMajorStyle | ENUM_LINE_STYLE | STYLE_SOLID | Major level style |
| InpMinorColor | color | C'160,160,160' | Minor level colour |
| InpMinorStyle | ENUM_LINE_STYLE | STYLE_DOT | Minor level style |
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.