• Overview
  • Reviews
  • Comments

Writing SWAP

This utility records the swap, which allows you to monitor and analyze the changes in the swap.

The program writes a file with the swap data for every pair selected in the Market Watch. The data are recorded to a csv file at the specified time, the file is located in <terminal root directory>/MQL4/Files. File format:

Date Day TimeCurrency pair Long-swapShort-swap

16.01.2018

Mon

23:30

EURNOK

-34.81

27.14

16.01.2018

Mon

23:30

EURDKK

-0.022

-0.032

16.01.2018

Mon

23:30

EURGBP

-2.38

0.15

To start recording:

  1. Attach the Writing SWAP EA to any chart with no experts running, configure:
    1. OpenHH – hour to start recording
    2. OpenMM – minute to start recording
    3. FileName - name of the file for writing the data
  2. This file can be later analyzed using Excel.
No reviews