I'm trying to set up following strategy:
When a condition is met buy at the next bar at Price x, if it is reached.
Sell at price y within the same bar. Price y is reached in every case because it's the Close price of that bar.
Price x might be reached or not.
Using EnterLongStop() doesn't always buy when the condition is met.
Using EnterLongLimit() also does some entries, when the condition is not met.
SetProfitTarget() is used to exit.
What must be changed to get the desired behaviour?
Comment