How can I protect a code with a password (mt5)?

 

I have two questions:

1- How to set a password for the code that I designed?

( So that no one else copies it )

2- If the code is long (more than 235 lines), will there be a problem or delay in executing the orders?

Thank you.

Nedal B.

 
  1. If the input variable doesn't match the internal password, fail initialization.
  2. Why would it long? Why would it delay anything?
  3. Why not just use the market to sell it and avoid the problem entirely?
 
Nedal Burdukani:

I have two questions:

1- How to set a password for the code that I designed?

( So that no one else copies it )

2- If the code is long (more than 235 lines), will there be a problem or delay in executing the orders?

Thank you.

Nedal B.

Reason: