Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

Scripts

Export trade history to CSV v2 - script for MetaTrader 5

Fernando Morales

Views:
672
Rating:
votes: 6
Published:
2019.02.17 19:08
Updated:
2019.02.17 19:10

This is the version 2 of my script to export the trade history from MT5 selected between two dates. The resulting file is CSV that can be opened/imported with any spreadsheet software.

The CSV can be found in the folder \MQL5\Files

Following data columns are exported:

  • Position ID
  • Type
  • Symbol
  • Volume
  • Open Date/Time
  • Open Price
  • Close Date/Time
  • Close Price
  • TakeProfit, data not available using HistoryOrderGetDouble(order_ticket, ORDER_TP)
  • StopLoss, data not available using HistoryOrderGetDouble(order_ticket, ORDER_SL)
  • Position PnL
  • Position PnL (points)
  • Swap
  • Swap (points)
  • Commission
  • Commission (points)
  • Total PnL
  • Total PnL (points)
  • MagicNumber
  • Comment, this includes the comment of each deal separated by /
  • Deal in ID, this includes the ticket of the in deal
  • Deal out ID, this includes the ticket of each out deals


Kalman velocity - multi time frame version Kalman velocity - multi time frame version

Kalman velocity - multi time frame version

Kalman filter - multi time frame version Kalman filter - multi time frame version

Short description.

Kalman filter - with candles or bars Kalman filter - with candles or bars

Kalman filter - with candles or bars, multi time frame version

ConsecutiveRSI ConsecutiveRSI

Set the number of consecutive candles along with RSI level for a valid signal.