The authors developed a stock market forecasting system based on artificial neural networks that has been trained with the S&P 500 composite indexes of past twenty years. The system products the forecasts and adjusts itself by comparing its forecasts wit