Enter if the pattern breaks, if it breaks upward, enter buy; if it breaks downward, enter sell