Using any type of price action, technical indicators, or other price based method to define rules with the objective of buying when price is going up, selling when price stops going up, and likewise sell short and cover.
The idea is to use statistics generated from simulation, "back testing"...