MT4 Indicator Central
Account & Trade Tools non-repaint Free · MIT

Draw Profit (IceFX) — MT4 Trade Profit Indicator

Category
Account & Trade Tools
Platform
MetaTrader 4
Repaints?
No, updates on closed bars
Licence
MIT
Inputs
2
Price
Free
MetaTrader 4 chart with Draw Profit showing closed trades labeled by profit or loss, plus entry and exit arrows joined by dotted lines.
Draw Profit in MetaTrader 4. Open-source (MIT), by Ice FX.
// at a glance

Draw Profit by IceFX is a free, MIT-licensed MT4 profit indicator that plots your closed trades directly on the chart. Each trade gets a colored profit-or-loss label at its close candle, plus entry and exit arrows and an optional dotted line linking open to close price. It is a visual review tool for traders and EA users, not a signal generator.

If you want to see exactly where your trades closed and what each one made or lost without flipping through the account history tab, Draw Profit draws that information straight onto the chart. It is a review and journaling aid built by IceFX, released under the MIT licence, and it reads your trade history rather than predicting anything.

What is Draw Profit, and what does it do in MT4?

Draw Profit is a chart-window indicator for MetaTrader 4 that visualizes your closed trade history for the symbol on the current chart. For every completed buy or sell, it places a small colored label at the candle where the trade closed showing the result in account currency, in pips, or both. Green means the trade made money, red means it lost.

On top of the labels it can draw entry and exit arrows joined by a dotted line, so you can see at a glance where price was when you got in and out. It is the kind of tool you put on a chart to study how a strategy or an Expert Advisor actually performed, candle by candle, instead of reading rows of numbers.

On load and on each new candle, the indicator loops through your terminal's closed order history with OrdersHistoryTotal() and selects only the deals that match the current symbol. For each valid buy or sell it finds the candle where the order closed, computes the net result as OrderProfit + OrderSwap + OrderCommission, and renders a label there. Profit in pips is derived from the open and close prices, with an internal pip multiplier that adjusts for 3 and 5 digit quotes plus metals like XAU and XAG.

The profit labels themselves are drawn as small bitmaps using MetaTrader's built-in Canvas library, colored dark green for a gain and maroon for a loss, with the figure shown in white. When several trades close on the same candle, their results are accumulated so the label reflects the combined total for that bar. Optional order lines add an entry arrow, an exit arrow, and a dotted trend object connecting the two prices, and if enabled, separate markers for the stop loss and take profit levels that were set.

Because it only reads and draws data that already exists in your history, Draw Profit does not forecast price, generate buy or sell signals, or place any trades. It has zero indicator buffers and simply mirrors what your account has already done. The MagicFilter and CommentFilter inputs let you limit the display to a single EA or trade group when more than one system is running on the account.

Which Draw Profit inputs matter most?

These are the real inputs from the indicator. Most traders only touch ProfitMode and the filters, but here is what each one does.

InputDefaultWhat it controls
ShowProfitLabelstrueDraws the colored profit-or-loss label at each closed trade's close candle. Turn off if you only want the arrows and lines.
ProfitModePM_CURRENCYChooses what the label shows: PM_CURRENCY (account money), PM_PIPS (pips), or PM_BOTH (money plus pips in brackets).
ShowOrderLinestrueAdds the entry arrow, exit arrow, and a dotted trend line connecting the open price to the close price for each trade.
ShowSLTPLevelsfalseWhen order lines are on, also marks the stop loss and take profit levels the trade was set with. Off by default to reduce clutter.
MagicFilter-1Restricts the display to trades with this magic number. -1 means show all trades regardless of magic number, useful for isolating one EA.
CommentFilter(empty)Only shows trades whose order comment contains this text. Empty means no comment filtering. Handy for tagging a specific strategy.

How do you add Draw Profit to MetaTrader 4?

  1. Download and unzip the Draw Profit archive to a folder you can find.
  2. In MetaTrader 4, click File then Open Data Folder.
  3. Open MQL4 then the Indicators folder, and copy the indicator file from the zip into it.
  4. If the zip includes any .mqh include files, copy them into MQL4/Include keeping their folder structure.
  5. Back in MT4, right-click Indicators in the Navigator panel and choose Refresh.
  6. Drag Draw Profit from the Navigator onto the chart of the symbol you want to review.
  7. In the inputs tab set ProfitMode and any magic or comment filter, then click OK.

Where does Draw Profit help, and where does it fall short?

What Draw Profit does well, and where it falls short, with nothing hidden.

  • Free and MIT-licensed, so you can use and modify it without restriction.
  • Shows each closed trade's exact result in money or pips right where it happened on the chart.
  • Great for reviewing an EA's behavior visually, with magic-number and comment filters to isolate one system.
  • Uses MT4's built-in Canvas library for clean labels, with no extra files to install beyond the indicator.
  • Non-repainting by nature: it only draws history that has already closed, so labels do not move or vanish later.
  • It visualizes closed trade history, not live floating profit on currently open positions, so it is a review tool rather than a real-time monitor.
  • Only draws trades for the symbol on the current chart; you need it on each chart you want to inspect.
  • On a busy account with many trades, labels and arrows can crowd the chart and overlap near the same candles.
  • Provides no trade signals, alerts, or forecasts; reading it does not tell you what to do next.
  • Pip values depend on its internal multiplier matching your broker's quote digits; unusual CFD symbols may need a sanity check.
  • MT4 only. It will not run on MetaTrader 5.
// free download

Download Draw Profit free

Enter your email and we will send you Draw Profit for MetaTrader 4, packaged with its original MIT licence and a credit to Ice FX. Come back for any of the other free tools whenever you want one.

We never share or sell your email. One-click unsubscribe in every message.

Draw Profit: questions traders ask

Does Draw Profit repaint?

No. It only draws trades that have already closed, taken from your account history. Once a label is placed it reflects a settled result, so nothing recalculates or shifts on later bars.

Does it place trades or give signals?

No. It is purely a display tool. It reads and draws your existing trade history and never sends orders, alerts, or buy and sell signals.

Does it show floating profit on my open positions?

It is built to plot closed trades from history, labeling each one's final profit or loss at its close candle. It is a review tool for completed trades rather than a live floating-PnL panel.

Will it work on MetaTrader 5?

No. This is an MT4 indicator and uses MT4 trade-history functions. You would need a separate MT5 version.

How do I show only one EA's trades?

Set MagicFilter to that EA's magic number, or type part of its order comment into CommentFilter. The chart will then only display matching trades.

Is it really free?

Yes. Draw Profit is released by IceFX under the MIT licence, so it is free to use and modify with attribution to the original author.


More free MT4 tools