for example, I want to buy break out (EMINI: ES), suppose it is 1 minute chart
the logic is : buy break out when there is a 1 tick higer than the past 12 bars, stop at the previous low which is higher low. How to program these two actions?
1: open buy when there is new break out;
2: stop at...