Someone with basic skills would have been able to fix that code, and given that it's in the old style MQL4, I have my doubts if you even know how to code at all.
I can only conclude that you are trying to sell another person's EA as your own.
Someone with basic skills would have been able to fix that code, and given that it's in the old style MQL4, I have my doubts if you even know how to code at all.
I can only conclude that you are trying to sell another person's EA as your own.
If you are using a code generator to produce your code (from your strategy), then we cannot help you.
Code generators usually produce very bad code, and it's quality cannot be considered good enough to sell as a product.
Plus, you don't have enough basic MQL coding knowledge to be able to then be able to modify it correctly.
Also, since you will be selling it, it's not really fair for you to be asking for "free help". Consider hiring someone in Freelance section to do it for you.
- 2022.10.28
- www.mql5.com
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I managed to extract this code from some Youtubers, however I have not been able to add the code to be able to license my strategies focused on the account number of any broker
int start()
{
int hard_accnt = 1818798 ; // <--- Type user Account
int accnt = AccountNumber();
if (accnt != hard_accnt)
{
Alert ("Su cuenta no esta registrada (" + DoubleToStr(accnt,0) + ") por favor contactenos !");
return(0);
}
string batas="2022.12.12 00:00"; // Year, Month, Date, Expiration
int tt=StrToTime(batas);
if(TimeCurrent()>tt)
{
Alert(" License Ended Please Visit ");
return(0);
}