Daniel Arges: Does anybody have an example to use exponential calculation in MQL5?
I need to calculate a i (return tax) by a specific time. Let's say, I need to perfor this calculation: (FV/PV)ˆ(1/n)-1
I couldn't apply properly MathExp(), or exp().
double result = pow( FV / PV, 1.0 / n ) - 1.0;
MathExp() or exp() is for the Exponential function for Euler's Number ( "e^x", where e = 2.7182818284590452353602874713527 ).
Robert72:
Do not double post.
Your other post has been deleted.
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 coders,
Does anybody have an example to use exponential calculation in MQL5?
I need to calculate a i (return tax) by a specific time. Let's say, I need to perfor this calculation: (FV/PV)ˆ(1/n)-1
I couldn't apply properly MathExp(), or exp().
Thanks