![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Hi forum,
I am using the following lotsize calculation:
For me it works 100% ok. I have a EUR account. But when a friend uses that on his GBP account, the lotsize is always too low. It works also 100% for him when trading currencies but when he trades the S&P, gold, silver or other CFDs, it seems to me that his money on risk is calculated in USD. Because when he uses 1% on a 10k account (=100 GBP), the real amount of risk is only 68.90 GBP (I see that by moving the mouse over the stoploss line, then the real amount is shown). Interestingly 100 USD is around 69 GBP at the moment.
But why does it work without any problems (even with all CFDs) on my Euro based account?
I guess it depends on the broker but is there a way to fix it in my code?