#include <Math/Stat/Math.mqh>
or
#include <Math/Stat/Stat.mqh>
The latter includes all math declarations in the Stat module.
Thanks @lippmaje. But besides that, it's better to go with NormalizeDouble.
Documentation on MQL5: Conversion Functions / NormalizeDouble
- www.mql5.com
NormalizeDouble - Conversion Functions - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
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
This mql5 code gives the compile time error for MathRound "wrong parameters count", any idea why?
Here is the link for the MathRound.
https://www.mql5.com/en/docs/standardlibrary/mathematics/stat/mathsubfunctions/statmathround
Thank you