You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
For the start, I'm just joined to this server and I'm an absolute newbie in forex at all. So please, don't kill me if will ask some stupid question and remember a saying "no stupid questions exists, only answers" ;) :)
So trying to learn "mql5" basics - (i have some programming background - other languages):
Looking for a way, how to calculate with mql5 script the swap, (in USD cents) what i will pay when holding a position overnight.
My current mql5 script is the next:
When attaching the above script to for example: 'EURAUD" it prints to the terminal:
symbol: EURAUD swap_long: -10.80 swap_short: 6.80 swapUSD_long: 0.00 swapUSD_short: 0.00
so here is a 10.8 points swap for long pos. How to convert this to "USD" (my account currecy?) with mql5? For this (probably need) somewhat to get:
Can someone give some insights how to do this?