A genetic algorithm is used to learn technical trading rules for Standard and Poor's composite stock index using data from 1963-69. In the out-of-sample test period 1970-1989 the rules are able to identify periods to be in the indexwhen returns are positive and volatility is low and out when the...