//Demo Licence validity ... int DemoEndDay = 20; int DemoEndMonth = 12; int DemoEndYear = 2013; //Live Licence validity ... int LiveEndDay = 31; int LiveEndMonth = 12; int LiveEndYear = 2099; //Live Account info. int LiveAccountNo = 12345678; string LiveAccountName = "Abcdef Ghijklm"; ... ... ... int start(){ if(IsDemo()){ if(Year()>=DemoEndYear && Month()>=DemoEndMonth && Day()>DemoEndDay){ Comment("\n\nLicence to use this EA has expired ...", "\nTo get your full licence to use this expert advisor,", "\nPlease contact [عذراً, فقط الأعضاء يمكنهم مشاهدة الروابط ] !", "\nor visit http://oshaban.*************"); return(0); } } if(!IsDemo() && Year()>=LiveEndYear && Month()>=LiveEndMonth && Day()>LiveEndDay && !(AccountNumber() == LiveAccountNo || AccountName() == LiveAccountName)){ Comment(""); Comment("\n\nEA is not licenced for this Live Account !", "\nTo get your full Licence to use this expert advisor,", "\nPlease contact [عذراً, فقط الأعضاء يمكنهم مشاهدة الروابط ] !", "\nor visit http://oshaban.*************"); return(0); }
المواضيع المتشابهه | ||||
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
ورجعنا تاني ونقول الو يا كيبل | معاك علخط | منتدى تداول العملات العام | 8 | 29 - 03 - 2010 10:42 PM |
نكمل ونقول اجمد كاركاتير ساخر | linker | استراحة بورصات | 0 | 30 - 08 - 2009 09:30 AM |