Contract specifications MT4

 

Hi All, 

Does anyone know how can I export Contract specifications (the one under CTRL + M shortcut) to Excel/.csv or where can i find it in MT4 files? It would be great if there is possibility to download them in a bulk. The most important for me is to get all swap values.


Thanks in advance

Failaps

 
Failaps:

Hi All, 

Does anyone know how can I export Contract specifications (the one under CTRL + M shortcut) to Excel/.csv or where can i find it in MT4 files? It would be great if there is possibility to download them in a bulk. The most important for me is to get all swap values.


Thanks in advance

Failaps

Hi there

the info you are looking for, or better (for others) have been looking for, can be found as so:

check out calling params for :  SymbolInfoDouble()

it accepts items from the enumeration : ENUM_SYMBOL_INFO_DOUBLE
among those, you can find :  SYMBOL_SWAP_SHORT,  SYMBOL_SWAP_LONG

The important part is likely: which is positive, which is negative, such to close the negative side and, perhaps, if the model\algorithm allows it, to re-open it later, depending on the the difference between costs for swap and commission.

Reason: