You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi, where i must put that code please,i have tried put it after int init{}, just work for the lock the account, but the indicator not appear..
<Decompiled code removed>
how to add demo account restriction to this code ?
If MT5 so you can read this article:
Securing MQL5 code: Password Protection, Key Generators, Time-limits, Remote Licenses and Advanced EA License Key Encryption Techniques
"Most developers need to have their code secured. This article will present a few different ways to protect MQL5 software. All examples in the article will refer to Expert Advisors but the same rules can be applied to Scripts and Indicators. The article starts with simple password protection and follows with key generators, licensing a given brokers account and time-limit protection. Then it introduces a remote license server concept. My last article on MQL5-RPC framework described Remote Procedure Calls from MetaTrader 5 to any XML-RPC server."
"I will make use of this solution to provide an example of a remote license. I will also describe how to enhance this solution with base64 encoding and provide advice for PGP support to make ultra-secure protection for MQL5 Expert Advisors and Indicators. I am aware that MetaQuotes Software Corp. is providing some options for licensing the code directly from the MQL5.com Market section. This is really good for all developers and will not invalidate ideas presented in this article. Both solutions used together can only make the protection stronger and more secure against software theft."
Forum on trading, automated trading systems and testing trading strategies
Flag encryption and license management:
Sergey Golubev, 2020.10.24 14:55
And it is something which can be used together with MQL5 Cloud Protector
----------------
Besides, you can use Freelance service to find the developer/coder who can code/inprove/fix something for you or consult you concerning the subject.
Example for MT4 EA:
How for example MT5 EA?
Forum on trading, automated trading systems and testing trading strategies
EA limit code
Fernando Carreiro, 2017.09.10 22:17
Here is a sample of my own code that I use, but it is up to you to implement properly. I'm not offering any support on it. It is up to you to do the necessary research and learning.