Greetings!
Apologies for the delayed answer!
When reviewing your strategy you are using more conditions as you have described above. You can program it much more easier...
If you send me the whole strategy conditions I will create that for, if you like

I have attached the component for your description with assuming that
Quote:
previous Open must be lower than Upper Band and previous Close must be higher than Upper Band
means shift=2 and
Quote:
last Open
means shift=1. But while I tried to find an example for that I did not find anything. Probably you meant "last Open[..] and last Close
The conditions i made:
One chain:
prevOp < upperPrev
prevClose < upperPrev
second chain:
lastOp > lastUpper
prevClose < lastUpper
So right now I strongly believe that you meant something else...
Cheers