السلام عليكم
استاذ سمير
ممكن تعدل لنا الكود التالي
حيث انه بعد وضع الحساب الحقيقي في كود الاكسبرت
تظهر الرسالة التالية This expert works only for this account 2096856403
رغم انه الحساب المفروض الذي يشتغل عليه
الرسالة
الحساب الحقيقي
كود:
int liveAccountNumber = 2096856403;
//+------------------------------------------------------------------+
if( AccountNumber() != liveAccountNumber )
{
Alert("This expert works only for this account 2096856403");
return(0);
}
else
{
return(1);
}
}
//+------------------------------------------------------------------+
int start()
{
if (!AccountNumber()) return(-1);
//-----
//put at the top before Init() function
string ExpiryDate="2018.11.01";
//put in the Init() function
if(TimeCurrent() >= StrToTime(ExpiryDate)){
Alert(" ++ EA has expired.CONTACT .for new version");
return(0);
} مستعجل جدا بارك الله فيك