Is there a way to program a strategy to anticipate, in the current bar, if a condition will be met at the close of that bar? I use range bars in my strategy. I can physically see that at the close of current bar the condition will be met. If I were trading manually I would place a stoplimit order a tick above/below the close. I would like my strategy to anticipate as well and place a stop limit order at what is going to be the open of the next bar during the current bar in which the condition for entry is being met.
Rick

Comment