you also have to take into account, that if you start the random walk walk of a virtual stock's price at, say, 50 points. you'll have to call it quits when price reaches 0, you can't go on and on under 0.
same with the martinggale strategy, if you have unlimited money, you'll never lose, but...