I have programmed it as:
Close < Swing High
Then
Enter Long Position With Stop Order, @ Swing High (offset +1)
Basically if the price is currently below the Swing High it will place the order one tick above it. Very simple.
However, I am having trouble trying to figure out how to avoid, or eliminate, a re-entry on the third bar. See Picture.
If bar two closes back under the swing high, a new entry is then valid and pending. I want to eliminate this, im assuming by making the bar since entry or exit greater than two? but It is not working properly, please help!
Thanks in advance,
Comment