When I do a back test it fills me at the high of the current bar. If I wanted to buy when the stock breaks the previous days high how would I put that in the formula?
For example, if i say if ........ then buy this bar,
how can I set it up to buy at the previous days high?