السلام عليكم ورحمة الله وبركاته
هلا وغلا
يظهر لي الاخطاء التاليه عند محاولة اضافه #property strict
الرجاء المساعده وشكرا لك
Print("Open Sell Error: "+GetLastError());
Print("Open Buy Error: "+GetLastError());
Print("Open Sell Error: "+GetLastError());
Print("Open Buy Error: "+GetLastError());
Print("Open Buy Error: "+GetLastError());
Print("Open Buy Error: "+GetLastError());
Alert("Open Buy Error: "+GetLastError()+" Ask: "+string(Ask)+" TP: "+string(TP)+" SL: "+string(SL));
else
Alert("Open Sell Error: "+GetLastError()+" Bid: "+string(Bid)+" TP: "+string(TP)+" SL: "+string(SL));
else
close=OrderClose(ticket,lot_to_close,Ask,3*P);
}
ClosedNumber++;
if(ClosedNumber>2)
return(ClosedNumber);
}
close=OrderClose(OrderTicket(),OrderLots(),Ask,3*P );
}
Price+=OrderOpenPrice()*OrderLots();
lots+=OrderLots();
if(lots!=0)
return(Price/lots);
else
return(Price/lots);
else
return(0);
return(OrderComment());
modify=OrderModify(OrderTicket(),OrderOpenPrice(), NormalizeDouble(Ask+TrailingStop*point,Digits),Ord erTakeProfit(),0,Red);
}
modify=OrderModify(OrderTicket(),OrderOpenPrice(), NormalizeDouble(OrderOpenPrice()-BreakEvenPips*point,Digits),OrderTakeProfit(),0,Re d);
}
action=OrderModify(ticket,OrderOpenPrice(),OrderSt opLoss(),AvTP(type)-Av_TP*point,0);
}
}
العلامات المرجعية