I am trying to set up the following simple idea, but it seems there is no way to set a condition on the current bar.
The idea is a breakout entry with a stop buy order conditional on that the current close does not break below a certain level.
More specifically, say I am working on 5 min chart and the breakout level is the previous high, but the price should not fall below the previous low.
The code would be:
Code: Select all
Buy ("Entry") 100 shares next bar High stop;
Kind regards
Domenico