Download MetaTrader 5
To add comments, please log in or register
Have you published a program in the Market? Place it in your blog as well - the widget will help!
Viper
8
Viper 2008.05.06 18:54 

I would like to include the carry charge in my estimated profit/loss calculations. How can my EA get that information ? Is it available through a MarketInfo() call ?


Any help would be greatly appreciated.


Thanks in advance.

~

Brian Dee - Random Trader
1764
Brian Dee - Random Trader 2008.05.07 16:43  

V


Check this https://docs.mql4.com/constants/marketinfo for info on SWAPs


Good Luck

-BB-

Viper
8
Viper 2008.05.09 14:23  
BarrowBoy:

V


Check this https://docs.mql4.com/constants/marketinfo for info on SWAPs


Good Luck

-BB-

Thanks, but I'm still confused... it didn't say anything about carry interest.


MODE_SWAPLONG 18 Swap of the long position.
MODE_SWAPSHORT 19 Swap of the short position.


Do these values give the carry interest if long or short ? If so, they didn't take ANY effort to say so :-)


Thanks again.

Brian Dee - Random Trader
1764
Brian Dee - Random Trader 2009.11.18 16:25  
Viper wrote >>


Do these values give the carry interest if long or short ?

Yes

Swap, aka rollover, aka carry interest

-BB-

/
To add comments, please log in or register