EnterShortLimit(DefaultQuantity, entry_priceShort, "");
SetProfitTarget(CalculationMode.Ticks, a);
When price hits the entry_priceShort, it's short in the market. I use 60min bars.
If the bar that triggers the short also has prices of the profittarget (in the bar), the strategy automatic calculates this as a profitable trade. However, if you look at a shorter timeframe you see that price first hits the profittarget and then the entry_short. So actually there is no profit, the trade is still on...
How can I avoid this? How can I set for example profit target one bar later?
Comment