Would I use SYMBOL_SWAP_MODE_INTEREST_CURRENT?
https://www.mql5.com/en/docs/constants/environment_state/marketinfoconstants
At bottom of page.
SYMBOL_SWAP_MODE_INTEREST_CURRENT
Swaps are charged as the specified annual interest from the instrument price at calculation of swap (standard bank year is 360 days)
Sorry. I'm talking about the interest that you either earn or are charged when you close or hold a position.
Yes. Some call it swap. Some rollover. My broker has a web page that I can go to, to figure out the interest. It's a pain in the neck. I was hoping that there was code where I bring these rates into my EA. I would like to make trades based on the side of the currency pair that pays interest.
Thanks!
Yes. Some call it swap. Some rollover. My broker has a web page that I can go to, to figure out the interest. It's a pain in the neck. I was hoping that there was code where I bring these rates into my EA. I would like to make trades based on the side of the currency pair that pays interest.
Thanks!
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Is there code or command for finding how much interest is earned per day on trades and balance?
Thanks!