Class CRandom – library MetaTrader 5

Class CRandom - library for MetaTrader 5
MathRand() Function The standard random number generator in MQL has a fairly limited number of possible values from 0 to 32767 (15-bits usable, 2^15 = 32,768 values). It is classified as linear congruential generator (LCG) which is considered a very basic random number generator. The implementation of MQL MathRand() can be found here: https://www.mql5.com/en/docs/predefined/_randomseed This generator … Read more