|
Random number generation will work just fine, but you can do it with time as well.
if (CurrentTime() % 2 == 0)
openLong;
else
openShort;
Instead of CurrentTime(), you could also use Seconds() or really anything that returns the same number of odd as even values (I'm counting zero as an even value here).
-MRE-
__________________
I'm open to professionally developing EAs. PM me if you're interested.
|