Is there anyway to address this?
Some ideas are the have price a certain number of ticks back within the range before the condition is met? Or a certain amount of time before condition is met?
These don't seem elegant and seem like a bad crutch i guess.
Lastly, the strategy is stopped everytime i run into one of these errors, if no solution for the above, is there at least a way to ignore that type of error and keep running the strategy?
if (isPossibleShort && Close[0] > _indicatorCandleLowForShort)
{
Print(Time[0] + " Create Limit Short");
EnterShortPosition();
isIndicatorCandleFired = false;
isPossibleShort = false;
EnterShortStopLimit(NumberOfContracts, limitPrice, stopPrice, "ShortOrder");
SetProfitTarget("ShortOrder", CalculationMode.Price, tpPrice);
SetStopLoss("ShortOrder", CalculationMode.Price, _indicatorCandleHighForShort, true);

Comment