The Magic of Math in Stock Market Trading