EA protection!?

 

Hello i want to protect my ea!?

I can make it work on 1 account and also make it work for a limeted time (period protection)

But i want both!! account number protection and period protection!

How must i do that?


Your help would be welcome

 

Easy!

Test for both conditions:

int start()
{

while ( AllowedAccount( AccountNumber() ) && AllowedPeriod())

{

Trade(); //make sure to add additional checks inside your code to make tampering more difficult

}

return(0);

}


bool AllowedAccount( int current_account ) { <...decoding algorithm here...> }

bool AllowedPeriod() { <...is period ok? true | false...> }


 
Please Mr, Try to give examples that you protect it, so I can better understand
 
seek3:

Hello i want to protect my ea!?

I can make it work on 1 account and also make it work for a limeted time (period protection)

But i want both!! account number protection and period protection!

The moment you publish your executable, someone will decompile it and remove the protections. By putting code in DLLs you add protection.