How to get rollover info through MQL?

 
How to get rollover info through MQL? Is there any default function to do so?
 

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

 
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?

 
ask them it's depend on the broker
Reason: