Do you mean with the help of charts?
An example would be to buy when price rises above a level where it has stopped to rise before or where it has twice stopped to rise before, a breakout of a double top or base.
People have identified many chart patterns. They are explained in books and...