hardhu:
You can use the mql4 code of MathInRangeRandom, it works exactly the same with mql5.
Hello everybody,
I need help on how to generate uniformly distributed random numbers in MQL5. I know that for MQL4 there exists a function mathinrangerandom that does this job, is there anythig equivalent for MQL5?
angevoyageur:
You can use the mql4 code of MathInRangeRandom, it works exactly the same with mql5.
Thanks a lot for your answer. Have you also any suggestion in the case the task is to generate random integer numbers in a specific range?
You can use the mql4 code of MathInRangeRandom, it works exactly the same with mql5.
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
Hello everybody,
I need help on how to generate uniformly distributed random numbers in MQL5. I know that for MQL4 there exists a function mathinrangerandom that does this job, is there anythig equivalent for MQL5?