I use strategy builder to create my strats. For most of them I can't use targets and stops with the atm functionality in the tab Stops and Targets. I am programming the exits under conditions, because they employ dynamic values based on vairables. I am repeatedly facing the following problem:
When the bar with the entry drops already below the stop or shoots above the target, the stop order or target limit order throw an error, becaue the close of the bar is already below the stop value or above the limit value. This is shown in the screenshot, where the horizontol shows the stop value. It is only executed after the price closed back above and the stop order could finally be placed. What could be an elegant way to solve this problem? I have been thinking about running it on a lower time frame and use an additional series for the logic, but it makes it much more complicated incl. the testing and I would like to avoid it, if possible.
Thanks!
Philipp

Comment