the orders are executed at 1.5723 however the price don't reach it.
this is the code from barupdate method:
double priceRange=(10000*(Bollinger(1, 5).Upper[0]-Bollinger(1, 5).Lower[0]));
EnterLongLimit(Swing(5).SwingHigh[0], n+"");
SetProfitTarget("", CalculationMode.Ticks, priceRange);
SetStopLoss("", CalculationMode.Ticks, 3*priceRange, false);

Comment