

bez OrderModify error 1

Kod: Zaznacz cały
{
if((OrderMagicNumber()== magic78) && (OrderType() == OP_SELL)&&
(NormalizeDouble(Ask,Digits) < NormalizeDouble(OrderOpenPrice(),Digits)+ TP_Activated*Point)&&
(NormalizeDouble(OrderTakeProfit(),Digits) > (NormalizeDouble(Ask,Digits) - TPOpenShort*Point))&&
((TP_Level*Point) < (NormalizeDouble(Close[t3],Digits) - NormalizeDouble(Open[t3],Digits))))
{
OrderModify(OrderTicket(),NormalizeDouble(OrderOpenPrice(),Digits),
NormalizeDouble(OrderStopLoss(),Digits),(NormalizeDouble(Ask,Digits) - TP_Jumping*Point),0,Blue);
}
}