After taking profit sometimes the chart still meets the entry conditions, and my strategy would enter the trade again and exit immediately because it also hits the profit target and repeat this process.
For example if my condition was to go long if current bar close is above previous bar high and profit target 5 ticks above previous high, after hitting the profit target the entry condition is still met and the trade would be entered again and closed immediately.
I do not want to use BarsSinceExit() > 1 because if stopped out on entry bar I want to be able to re-enter the trade on the same bar if price moves back. How can I solve this problem? Thanks in advance!

Comment