Forecasting exchange rates of foreign currencies using artificial neural networks.