Account History Exporter
- Utilidades
- Yuriy Bykov
- Versión: 1.24
- Actualizado: 23 enero 2023
Realiza la exportación del historial de transacciones de la cuenta comercial actual.
El archivo se guarda en la carpeta de datos, que se puede abrir a través del menú principal del terminal: Archivo -> Abrir directorio de datos (Ctrl+Shift+D) e ir a la carpeta MQL5/Archivos .
El nombre del archivo se genera automáticamente o se configura manualmente a través de los parámetros del script.
El archivo de historial se puede usar para analizar el historial en Excel (es posible que deba abrirse a través del Asistente de importación) o para simular la misma secuencia de operaciones en otro servidor comercial usando un Asesor experto Receptor de historial simple .
Formato de archivo
El encabezado es lo primero
DATE,TICKET,TYPE,SYMBOL,VOLUME,ENTRY,PRICE,STOPLOSS,TAKEPROFIT,PROFIT,COMMISSION,FEE,SWAP,MAGIC,COMMENT
Después y hasta el final del archivo, hay líneas con valores de campo separados por comas para una transacción.
Valores de campo por línea:
- FECHA - fecha en formato AAAA.MM.DD HH:MM:SS
- TICKET - ticket de trato (entero)
- TIPO: tipo de oferta de ENUM_DEAL_TYPE (entero)
- SÍMBOLO - instrumento comercial (cadena)
- VOLUMEN - volumen de transacciones (número real)
- ENTRADA - tipo de trato de ENUM_DEAL_ENTRY (entero)
- PRECIO - precio de transacción (Número Real)
- STOPLOSS - Nivel de Stop Loss (Número Real)
- TAKEPROFIT - Nivel Take Profit (Número Real)
- BENEFICIO - beneficio comercial, para abrirlo es igual a 0 (número real)
- COMISIÓN - importe de la comisión (Número Real)
- TARIFA- monto de la tarifa (número real)
- INTERCAMBIO- tamaño de intercambio (número real)
- MAGIC - número del experto que hizo el trato