Generating uniformly distributed random numbers
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.
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?