• Overview
  • Reviews
  • Comments

Trade history MT4

The indicator plots charts of profit taken at the Close of candles for closed (or partially closed) long and short orders individually. The indicator allows to filter orders by the current symbol and specified expert ID (magic number), to set the start time and the periodicity of profit reset (daily, weekly or monthly) to calculate the profit chart. The indicator also displays the floating (not fixed) profit of the orders opened after its was launched, according to the filter settings at the candle closure. It is the analog of the Trade history for the MetaTrader 5 platform.

The indicator works with any timeframes and instruments. It can be useful for analysis of efficiency of multiple experts trading on different symbols and directions on one account from a certain point of time.

The available history of orders fixing a profit is used to plot charts of the fixed profit. The profit values of orders are used excluding commissions, i.e. the indicator uses the values listed in the "Profit" column of the "Account History" tab in the "Terminal" window of the MetaTrader 4 terminal. To allow the indicator to display the full trading history, it is necessary to select the "All History" option in the context menu of the "Account History" tab.


Indicator operation in the strategy tester

The trial version of the indicator is available for testing in the MetaTrader 4 Strategy Tester. In testing mode, the indicator always displays the trading history of the real or demo account from the "Account History" tab of the "Terminal" window, and not the history of trading during the test from the "Results" tab of the "Tester" window (see the last screenshot for this description).


Indicator Parameters

  • Current symbol only - boolean parameter (true/false), indicating the need for filtering orders by the current symbol.
  • Use expert ID filter - boolean parameter (true/false), indicating the need for filtering orders by expert advisor ID (magic number).
  • Expert ID (magic number) - expert advisor ID (integer) which is used in filtering orders by expert ID (for manual trading expert ID equals 0). This parameter is not used when the Use expert ID filter option is set to false.
  • Show profit curves for buy & sell orders - boolean parameter (true/false), indicating the need to display separate charts of fixed profit for long and short orders.
  • Start time - date & time parameter, specifying the initial time moment for calculating charts of fixed profit.
  • Reset profit at - parameter of enumeration type with the values no_reset, day_begin, week_begin, month_begin. It indicates the need for daily, weekly or monthly reset of profits.


The indicator graphic series (lines)

  • Floating profit - line (solid yellow by default) showing floating (not fixed) profit of orders opened according to the filter settings at the candle closure since the indicator was launched. The indicator buffers 0 and 5 are used to plot this line.
  • Fixed profit - line (solid lime by default) showing fixed profit at the candle closure for closed (or partially closed) long and short orders according to the filter settings. The indicator buffers 1 and 6 are used to plot this line.
  • Fixed profit (buy) - line (dotted blue by default) showing fixed profit at the candle closure for closed (or partially closed) long orders according to the filter settings. This line is not visible when the Show profit curves for buy & sell orders option is set to false. The indicator buffers 2 and 7 are used to plot this line.
  • Fixed profit (sell) - line (dot red by default) showing fixed profit at the candle closure for closed (or partially closed) short orders according to the filter settings. This line is not visible when the Show profit curves for buy & sell orders option is set to false. The indicator buffers 3 and 8 are used to plot this line.
  • Invisible service buffer - hidden auxiliary buffer 4 which should be ignored.
No reviews