Download MetaTrader 5
To add comments, please log in or register
Interested in Signals activity? Come and track!
user0123
24
user0123 2014.03.24 04:25 
How to get rollover info through MQL? Is there any default function to do so?
qjol
3243
qjol 2014.03.24 04:39  

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 2014.03.24 14:04  
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 2014.03.24 14:13  
ask them it's depend on the broker
/
To add comments, please log in or register