Download MetaTrader 5

How to get rollover info through MQL?

To add comments, please log in or register
user0123
24
user0123  
How to get rollover info through MQL? Is there any default function to do so?
qjol
3243
qjol  

of cource by using MarketInfo MODE_SWAPLONG and MODE_SWAPSHORT or (in B600 >) SymbollInfoDouble SYMBOL_SWAP_LONG and SYMBOL_SWAP_SHORT

it's all in the book

user0123
24
user0123  
qjol:

of cource by using MarketInfo MODE_SWAPLONG and MODE_SWAPSHORT or (in B600 >) SymbollInfoDouble SYMBOL_SWAP_LONG and SYMBOL_SWAP_SHORT

it's all in the book


I am using FXCM demo account. When I try something like:

Print (MarketInfo("USDJPY",MODE_SWAPLONG));

No matter what symbols I try, it always returns 0. What have I done wrong?

qjol
3243
qjol  
ask them it's depend on the broker
To add comments, please log in or register