Skip to content

Trade History

The MT Monitor Trade History component allows to generate two types of reports:

  • Trades: displays MT4 trades the way they appear in the MT4 server.
  • Orders: displays MT4 trades as buy and sell trades the way they are sent to the XCore. It also allows tracking the accumulated buy and sell volumes, in addition to net positions on a per symbol basis.

Filtration panel description:

Field description
Time Frame Filter by the required time interval for the history of trades
Accounts Filter by Groups and/or Accounts on one or multiple servers
Symbols Filter by Securities and/or Symbols on one or multiple servers

Note: If no securities or symbols are selected from the filter panel, then all securities and symbols will be displayed
Trade Report

The Trades Report displays the MT4 trades the way they are presented in the MT4 as open and closed trades. For closed trades there will only be one entry representing the two sides of the order. Closed trades will have a valid CloseTime at which point the trade was closed in addition to a final close price at which the trade was closed.

Field Description
Server the name of the MT Server
Order the unique MT4 ticket number of the trade
Login the login of the MT4 account that placed the trade
Symbol the traded symbol as appears in the MT4 Server
State - OpenNormal: Indicates that trade was opened normally as a new trade and the trade was still open by the time the report was generated
- ClosedNormal: Indicates that an open trade was closed normally from the MT4 server
- ClosedPart: Indicates that trade was partially closed and a new trade has been opened with the remaining size
- OpenRemand: Represents the remainder of a trade that was partially closed
- ClosedBy: Indicates that trade was closed by another trade of opposite side
Cmd the side of the trade, buy or sell
Volume notional volume of the trade

Note: notional volume = lots x contract size
OpenTime the date and time at which trade was opened
OpenPrice the price at which trade was opened
SL the stop loss price defined in MT4, if any
TP the take profit price defined in MT4, if any
Commission the amount of commission
CloseTime - for closed trades, it shows the date and time at which the trade was closed
- for open trades, it shows “-“
Swaps the amount of swaps that were applied
ClosePrice - for closed trades, it shows the price at which the trade was closed
- for open trades, it shows the current price at which time the report was generated (it keeps changing while the trade is still open every time the report is generated)
Commission Agent the amount of agent commission
Profit - for closed trades, it shows the realized profit of the closed trade
- for open trades, it shows the unrealized (floating) profit based on the current price and this keeps changing while the trade is still open every time the report is generated
Comment the comment that appears in MT4 server
Magic order identifier (Magic Number) set by a client’s Expert Advisor
Conv Rate 1 the basic currency rate of the instrument against the deposit currency by the moment of opening a position
Conv Rate 2 the basic currency rate of the instrument against the deposit currency by the moment of closing a position
Reason Reason — a reason of placing the order:

- Client — the order is placed manually by a client via the client terminal;
- Expert — the order is placed by a client using an Expert Advisor;
- Dealer — the order is placed by a dealer via the manager terminal;
- Signal — the order is placed as a result of copying a trade signal according to a subscription in the client terminal;
- Gateway — the order is placed via the STP gateway.
- Mobile — the order is placed via MetaTrader 4 for iPhone or Android.
- Web — the order is placed via WebTerminal.
- API — the order is placed via Server API or Manager API.
Digits Symbol Digits as it is configured on the MT4
GW Volume the volume used when the order was passed to an external trade server via the gateway
Expiration the expiration time of the pending order
Taxes taxes for commission
GW Order the order is placed via the MetaTrader 4 STP gateway
Activation for internal use
GW Open Price difference between the order open price in the external system and the order open price on the local trade server. Specified in pips. The total open price on the gateway is obtained by adding the difference to the order open price on the local server
GW Close Price difference between the order close price in the external system and the order close price on the local trade server. Specified in pips.The total close price on the gateway is obtained by adding the difference to the order close price on the local server
Margin Rate the coefficient of conversion of the order margin currency into the deposit currency
Timestamp Used for internal purposes. If the timestamp of a record has changed, it means that the record has changed.
Order Report

The Orders Report displays the MT4 trades as buy and sell orders, the way they are sent to the XCore. For closed trades, it shows two entries that represent both sides of the trade, the first being the actual MT4 trade and the latter being the opposite side of the trades. All orders are sorted chronologically depending on the time at which the trade was opened/closed in the MT4.

This report allows us to track each order the way it was sent to the XCore. In addition, it keeps tracking of the total volumes and net positions on a per symbol basis at each point in time an order was placed.

Field Description
Server the name of the MT Server
Id the Id of the opening order
Entry ID the Id of the closing order
Login the login of the MT4 account that placed the trade
Symbol the traded symbol as appears in the MT4 Server
Cmd the side of the trade, buy or sell
Entry MT4 ticket number. This one is not unique as for closed trades the same entry will appear twice since closed trades are split into two different orders of opposite sides
Exit this only appears next to orders that belong to the second side of a closed MT4 trade.

- for trades that were closed normally in the MT4 the relationship between Entry and Exit is 1 to 1 and the same value is displayed which is the MT4 ticket number
- for partially closed trades, the relationship between Entry and Exit is 1 to many as partially closed trades will open new tickets, and once closed they will be linked back to the initial trade
Volume the notional volume of the trade (lot x contract)
Time date and time at which the order was opened
Price order price, open price for open entries, and close price for closed entries
PnL the pnl of the closing order
Commission the amount of commission
Swaps the amount of swaps that were applied
Trade Life Time between the opening and closing of the trade.
Commission Agent the amount of agent commission