JavaStockPrices 5 and 20 period moving average example. made this in a few hours. requires Apache httpclient library based on 1-minute data periods from Yahoo Finance.