Hi Conor
Very useful script. However I could not find any currency conversion in the code for risk to measure in Account Currency, which is more likely to be amount of interest.
Thanks
Anil Varma #:
Hi Conor
Very useful script. However I could not find any currency conversion in the code for risk to measure in Account Currency, which is more likely to be amount of interest.
Thanks
The currency symbol I used was hardcoded, I wasn't sure if there was a way to retrieve the correct currency symbol automatically. The calculation itself is simple so the figures should still be accurate (just the currency symbol might be wrong)
Updated it now. I found a way to retrieve the currency symbol for the account currency. Also improved the code so there's no missing text labels.
ok

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
Risk translation of percentage risk:
Translate risk percentages to the monetary figure based on the account balance
Author: Conor Mcnamara