MT5 drawdown indicator: what an on-chart one shows and what it loses
Short answer: an MT5 drawdown indicator is a program on your chart that reads the account's equity, remembers the highest value it has seen, and prints the gap as a number or a gauge. It works while you are looking at the screen. It has two weak spots. Its "peak" lives only as long as the indicator does, and it stops working whenever the terminal does. If you need a drawdown record that survives restarts and tells you which EA caused each dip, the record has to be kept outside the chart.
This guide covers what these indicators calculate, where they go wrong, and what to check before you trust one with a prop firm limit.
What a drawdown indicator calculates
Most of them work the same way. They read the account's equity and balance with AccountInfoDouble (ACCOUNT_EQUITY is the account equity, ACCOUNT_BALANCE the balance, ACCOUNT_PROFIT the current floating result). They keep a running maximum of equity, and they show:
- Drawdown from peak: peak equity minus current equity, in money and in percent.
- Floating result: the open profit or loss right now.
- Sometimes a daily figure: equity compared with where the day opened.
Many add a gauge or colour bands that turn amber and red at levels you set. As of November 2026, one free example on the MQL5 Code Base lists current drawdown, daily drawdown, floating P/L and configurable warning and danger levels.
Because they use equity, they include floating loss. That is the right number for a prop firm's daily and maximum loss rules, and it is why equity drawdown differs from the balance figure. Here is how balance and equity drawdown differ.
Where an on-chart indicator loses information
The peak is only as old as the indicator
An indicator can only take a maximum over the equity it has seen. When you attach it, it starts from the current equity. Per the MQL5 documentation, indicators are unloaded when the terminal closes, and when you change the symbol or timeframe of the chart they sit on. The next time it loads, it starts again from whatever equity is then.
Some indicators work around this by saving the peak to a file or to terminal global variables, which the documentation says are deleted after 4 weeks without use. Some don't. Some pages say so plainly: a listing for one free drawdown monitor describes its peak as tracked during the session. Before you rely on one, test it: note the peak, remove the indicator, attach it again, and see whether the peak survived.
This matters for any "maximum drawdown" rule measured from peak equity. If the indicator forgot the real peak last Tuesday, it will show a smaller drawdown than your prop firm does.
It goes quiet with the terminal
An indicator is code running inside the terminal. If the VPS reboots or the connection drops, it stops, and so does any warning it would have shown. Here is how to get an alert when an EA stops working.
It only warns someone who is looking
A red gauge helps only if you are at the screen, and most of the time you are not. MT5 can push a message to your phone from MQL5 with SendNotification, at most 10 calls a minute. That works only while the terminal runs. Here is what the phone app can and can't show.
It has one number for the whole account
An indicator that reads account equity sees the sum of every EA. When equity drops, it can't say whether the drop came from your gold grid or your breakout EA. You would have to read the positions yourself, with their magic numbers, at the moment it happens.
Which one is the right drawdown?
Check what the indicator measures before you compare it with a limit:
| Question | Why it matters |
|---|---|
| Is it equity-based or balance-based? | Balance ignores open losses, which is what usually breaches a limit |
| Is the peak kept across restarts? | If not, the maximum drawdown it shows is too small after any restart |
| Is the daily figure anchored where your firm resets? | Reset time and whether the anchor is balance or equity differ by firm. Here is how prop firms calculate it |
| Does it record history? | A gauge shows now. It can't show you last Wednesday's low |
What an external record adds
DrawGuard keeps the record outside the chart. A free EA attached to one chart sends the account's equity and every open position, with symbol, magic number, comment and floating profit, to a web dashboard every 60 seconds. You can use it next to an on-chart indicator. From that record:
- The record lives outside the chart, so removing an indicator or changing a chart doesn't touch it. Drawdown is tracked over global, daily, weekly and monthly periods at the same time.
- Three bases are shown: maximum (from peak equity), static (from the starting balance) and period loss (from where the day, week or month opened).
- Each day, week and month is broken down by symbol, magic number and comment, so you can see which EA caused a dip, not only that equity fell.
- Alerts (on paid plans) email you when drawdown crosses a limit you set, for example a warning at 70% and a critical level at 90%, with presets for common prop firm rules. A connectivity alert emails you when the EA stops sending data.
Data starts when the EA connects. It can import closed trade history, but it can't recover the floating drawdown from before it connected. The terminal still has to run, which in practice means a VPS. The free plan covers 1 account and has no alerts; paid plans start at $16 a month for 2 accounts, with a 14-day trial. See the plans, or try the live demo with no sign-up.
DrawGuard watches and warns. It never places or closes trades, and neither does an indicator. If you want positions closed at a limit, read about equity protector EAs.
When an indicator is enough
An on-chart indicator is a good choice when:
- you trade one strategy on one account and sit at the screen;
- you only want a quick read of current drawdown;
- you have confirmed that it keeps its peak across restarts.
Add an outside record when you run several EAs, use a VPS you don't watch, or have a prop firm limit you can't afford to misread. Here is how to measure drawdown across several EAs.
FAQ
Is there a built-in drawdown indicator in MT5?
Not one that tracks a live peak. The Trading Report shows account drawdown after the fact, built from price history. On-chart live drawdown comes from custom indicators you install.
Does a drawdown indicator keep its peak after I restart MT5?
It depends on the indicator. Indicators are unloaded when the terminal closes, so one that doesn't save its peak starts again from the current equity. Test it by removing and reattaching it.
Can an indicator close my trades at a drawdown limit?
No. An indicator draws information on a chart. Closing trades takes an EA, such as an equity protector, or the prop firm's own hard limit.
Does a drawdown indicator work while the VPS is down?
No. It runs inside the terminal, so it stops when the terminal or VPS stops. An external monitor can notice that data has stopped arriving and email you.