Trading strategies optimization using a Genetic Algorithm under the Directional Changes paradigm