ch0sen / Publications
Forum
Random order functionality
Hello, I'm trying to create an Expert Advisor (EA) that can generate random BUY or SELL orders, and I'm using the following for this: // Generate random number (0 or 1) MathSrand (( int ) TimeLocal ()); int randomChoice = MathRand () % 2 ; So far, the EA has only placed 15 consecutive BUY