The best way to understand a program is to try to change it.
I don't try to predict the market. I just try to buy stocks that are cheap and hold them for the long term.