Tuesday, October 12, 2021

How to protect forex indicators using broker id

How to protect forex indicators using broker id


how to protect forex indicators using broker id

14/03/ · There was a question in blogger.com forum whether brokers can "see" the sources of indicators and experts of their clients or not. Unfortunately this thread seems to be deleted. At least I couldn't find it. But their answer was that they can't. So, this is the "official" answer The foreign exchange market has had some scammers operating within it. Learn how you, as a forex trader, can protect yourself from falling victim to these brokers when opening an account. There are a few quick and simple ways you can use to detect these broker and steer clear of them STEP #4: Adding EAL MQL4 code to protect Expert Advisors with the License Key Add property strict. Before adding the MQL4 code, we need to make sure that the EA has a strict property set. If EA does not have it the protection and License Key authorization will work fine, but it is strongly recommended to have the strict property set. This way you make sure that your EA meets the latest MQL4 coding



Learn to Protect your MetaTrader (MT4) Programs Easily



In this tutorial, Rimantas explains how anyone can protect MT4 Expert Advisors and Indicators with EA Licensing system EAL from Signal Magician. EAL will give you a custom MQL4 code to add to your EA or Indicator so you can connect it with the EAL system, how to protect forex indicators using broker id. You can create time-limited license keys with expiration date and also limit the amount of MT4 accounts for each license.


You must add each EA and Indicator to the EAL system as a product if you want to protect them with the License Key. Each product can have multiple license types like Standard, PRO, Gold, Platinum, or whatever you want to call them. Each license type will have its ID which we will have to add to the MQL4 code of the EA. It is how the EAL system will know how to protect forex indicators using broker id EA is connecting for the authorization of a License Key.


For this example, we will use the Moving Average Expert Advisor which is available in every MT4 default installation, how to protect forex indicators using broker id. We also add a product website which is the URL of the website where users can find more information about the product and buy it. I use my website URL as an example, but apparently, you should put your website URL there ��. Current version — this is where you enter the version number of your product.


It will be visible on the EAL system, and users will always know if they have the latest version or not. If you upgrade your EA with new features or fix bugs, how to protect forex indicators using broker id, you should update this number too as you release the new version of your EA.


MT4 Real account limit — this is where you enter the amount of Live MT4 accounts this particular license type allows to use with the product. MT4 Demo account limit — this is where you enter the amount of Demo MT4 accounts this particular license type allows to use with the product.


For example, we create a PRO license and allow using it on 5 Live MT4 accounts and 10 Demo MT4 accounts at the same time. EAL system will automatically lock License Key to each MT4 account number where the EA is attached. We call it Activation. For this particular license type, we give 15 Activations. Users are allowed to delete old Activations and transfer the License Key anytime to any other MT4 account if there are free Activations left for his license. It is where you can select Offers that should activate this particular license type upon purchase.


I will not cover this part here and create another tutorial for setting up payment systems. You can also create trial access to products on Signal Magician via the MailChimp signup form. We can see the PRO license type already created. We set the Standard license to work on 1 Live MT4 account and 2 Demo MT4 account at the same time.


Now that we have license types created we can proceed to the next step and prepare the files required for the protected EA. But before that, note the License ID of both license types.


We will need these numbers later when we add MQL4 code to the EA. It will open the MT4 Data Folder where you need to add additional files before creating and compiling protected How to protect forex indicators using broker id Advisors. If you have multiple MT4 terminals on your computer and do not know which one to use, then my simple recommendation is to use the one which already has your EA or Indicator code.


You can change the terminal later if you want. Click that link and open the downloaded package. Move both windows next to each other as illustrated in the image. Now right-click anywhere on the white area in the MT4 Data Folder on the left and then how to protect forex indicators using broker id on the Paste menu. Usually, it should not appear, unless it is not the first time you are copying these files.


MetaEditor uses these files during the EA compilation. They give a visual explanation in case the user sets something incorrectly in the MT4 or EA settings. Your users will NOT need these files to use the EA. You need to keep these files secret and not reveal to anyone. For example, if the user does not allow DLL library calls which are necessary for the EALthe EA will display a screenshot explaining how to enable them.


If the user does not install how to protect forex indicators using broker id DLL library into his MT4, the EA will not be able to function because the DLL file is missing. In such a case, the user will see this screenshot on his MT4.


If the user does not enter the License Key, he will see this screenshot on his MT4. It gives a clue where to enter the How to protect forex indicators using broker id Key. And if the user inputs a wrong License Key, then the EA will display this screenshot. It shows where the user can find his License Key. This way I made it easier to add MQL4 code to the Expert Advisors we want to protect.


Note the date in the file name. It is the file version. I never change this file. If I make any changes to this file, it will have another date in its name. If you start using one version and later want to use another version you should make sure the rest of the MQL4 code in your EA matches the same version too. Your users will NOT need this file to use the EA. You need to keep this file secret and not reveal it to anyone. Note the file name because we will use it in the EA.


It will be a part of the EAL MQL4 code. I named the DLL file to match the product name and added EAL at the beginning to give myself a clue that this DLL is for the EA Licensing system. It will help to differentiate between different DLL file versions if there happen to be new versions in the future as the EAL system gets upgrades.


It can be an EA or Indicator you have. I will continue explaining how to add the MQL4 code to the Expert Advisor, but the same steps can be applied to the Indicator as well.


In fact, you might also learn some MQL4 code after how to protect forex indicators using broker id implementation ��.


The first step is to open the MetaEditor. It is the software that allows us to edit MQL4 code and compile apps for MT4. It will load the MetaEditor and should have the Moving Average EA already loaded for editing.


You can also click on the yellow icon in the top toolbar of an MT4 terminal to open the MetaEditor. This way the MetaEditor should open and load all previously opened files. We use the same original name and add the PRO at the end which indicates that this is the PRO version of the EA. We already know that the PRO version allows more MT4 account numbers as we created previously in the EAL system of the Signal Magician panel.


I recommend you keep this practice and always change version number when you update the EA. For example, you add new features or fix bugs in the 1. This way your users will know that this is a new version and it will be less confusing for yourself too. Also, it is very convenient when helping customers if they have trouble with the EA. Imagine a scenario where a user reports a bug. You fix it and send EA version 1. You ask the user to send the screenshots of the chart and then notice that there is an old EA 1.


If the file name did not have a version number, you would not saw that coming �� It happened to me several times, and for the past six years I am always adding a version number in the file name.


We need to create two copies of this EA because we need one for the PRO license and another for the Standard license. Having different files for each license type also means that they can have different features or parameters. For example, the Standard license might have fewer parameters available in the EA Inputs.


We will get to this later. Important to mention that it would make more sense to create this copy only after implementing the EAL MQL4 code, how to protect forex indicators using broker id we will do this before adding the code to illustrate how the same EA can have different license types with slightly different parameters or features.


We already know that the Standard version allows less MT4 account numbers as we created previously in the EAL system of the Signal Magician panel. It turns these 3 parameters into regular global parameters. Users will not see them in the EA Inputs tab. Warning messages are usually not that bad, and the EA might still work, but if you get error messages, how to protect forex indicators using broker id, it means your EA did not compile no EX4 file createdand you how to protect forex indicators using broker id use it.


In case there are errors they will be explained in the Toolbox and tell you on which line MetaEditor found the error. But if you do everything right, there should be no errors, unless your EA is coded in some unusual way.


In this case, we got 0 errors and 0 warnings. It means the EA did compile successfully and MetaEditor created the EX4 file. We can now use the EA. Never provide the MQ4 file or MQH files and keep them secret. We attach the EA to the chart and get this window loaded. Then we switch to the Inputs tab and see two parameters here. Remember, we hide the other 3 parameters. It means the EA still uses them at their default values, but users cannot change them.


It is an example of how you can have different license types that offer various features and parameters for customers. Mostly, users probably will use the Standard license, but those who need more advanced features and parameters will gladly pay more for the PRO version. Before adding the MQL4 code, how to protect forex indicators using broker id, we need to make sure that the EA has a strict property set.


If EA does not have it the protection and License Key authorization will work fine, but it is strongly recommended to have the strict property set.




Mql4 Lock Protection Online I Protect Forex Robot Indicators Mql Files

, time: 2:30






how to protect forex indicators using broker id

The foreign exchange market has had some scammers operating within it. Learn how you, as a forex trader, can protect yourself from falling victim to these brokers when opening an account. There are a few quick and simple ways you can use to detect these broker and steer clear of them 14/03/ · There was a question in blogger.com forum whether brokers can "see" the sources of indicators and experts of their clients or not. Unfortunately this thread seems to be deleted. At least I couldn't find it. But their answer was that they can't. So, this is the "official" answer 30/06/ · How to protect forex indicators using broker id /3/14 · The result is that we talk to this respective customer and explain it to him. If he does not change his style – respectively his EA – we will block his account and close it, if he is not willing to follow our advice

No comments:

Post a Comment