Introduction
Securely distribute and control usage of Metatrader EAs and Indicators with our licensing system. Monetize your products with ease..
Getting Started
Instructions for adding licensing code to an Expert Advisor and Indicator in both MetaTrader 4 (MT4) and MetaTrader 5 (MT5):
- For MetaTrader 4 (MT4) Expert Advisor
- For MetaTrader 4 (MT4) Indicator
- For MetaTrader 5 (MT5) Expert Advisor
- For MetaTrader 5 (MT5) Indicator
- Special Instruction For MAC and Metatrader's VPS
The above steps describe how to implement a licensing code in an Expert Advisor/Indicator for MetaTrader 4 (MT4) and MetaTrader 5 (MT5). First, a unique Product Code is generated as an identifier for the license. The Expert Advisor's code is then modified by replacing a string with the generated Product Code. The Expert Advisor is compiled, and the resulting .ex4 (or .ex5) file is provided to the client. The client is instructed to input the provided Serial Key when attaching the Expert Advisor to a chart. The Expert Advisor internally validates the license by comparing the Product Code and Serial Key using the MetaTraderValidation library. If validation is successful, the Expert Advisor functions normally; otherwise, it takes appropriate action based on the implementation. This process helps protect the Expert Advisor and ensures that only authorized clients can use it.