• Información general
  • Comentarios
  • Discusión
  • Novedades

Trade history MT4 demo

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.

This is a demo version of the Trade history MT4 indicator. It works only on demo accounts and with the symbols that contain "EURUSD" in their names.

The full version of the instrument works with any account types, instruments and timeframes. The indicator 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. 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 before starting the indicator.

Additional features of new versions of the indicator are described in the What's New tab.


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.
  • Profit values in - parameter of enumeration type with the values deposit_currencypercentage_of_start_balance, points to select profit units.
  • Take into account commissions and swaps - boolean parameter (true/false), indicating the need for accounting of commission and swap of orders when calculating profit in units of deposit currency or percentage of start balance.
  • 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 profit.
  • Reset profit at - parameter of enumeration type with the values no_resetday_beginweek_beginmonth_begin. It indicates the need for daily, weekly or monthly reset of profits.
  • Draw trade signs in the main window - the need for drawing trade signs in the main window of a current chart.


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 hay comentarios
Versión 1.2 2019.07.02
Added new features:
- selection of profit units using the new parameter "Profit values ​​in" (deposit currency, percentage of balance, points);
- accounting of commission and swap of orders (the new parameter "Take into account commissions and swaps") when calculating profit in units of deposit currency or percentage of balance;
- drawing trade signs in the main window of a current chart (the new parameter "Draw trade signs in the main window").

The limitations of the demo version of the indicator have been changed: now it works only on demo accounts and with the symbols that contain "EURUSD" in their names.