There are few brokers that manage the swaps differently.
For example they don't calculate it in floating swap column for open positions but put it directly in balance +/- overnight. With that kind of brokers (two of the major are there) the function marketinfo with argument swap return "0".
Actually i don't know if there is a solution for this issue, i stuck with them sometimes ago for the same reason.
A possible way is to import information about swap directly from their websites but of course is not simple as call a mt4 function.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
u need to ask your broker
thanks for the advice !
hope they know something about it
u need to ask your broker
yeah....
they don't know jack..
There are few brokers that manage the swaps differently.
For example they don't calculate it in floating swap column for open positions but put it directly in balance +/- overnight. With that kind of brokers (two of the major are there) the function marketinfo with argument swap return "0".
Actually i don't know if there is a solution for this issue, i stuck with them sometimes ago for the same reason.
A possible way is to import information about swap directly from their websites but of course is not simple as call a mt4 function.