Licensing System Overview
How FXNook licensing protects your EA, and what your customers see.
FXNook licensing is built into your EA when you compile it, with one include line. It stops copies passed around forums, stops refunded buyers, and shows buyers your product is genuine.
How it works
- Built in at compile time. One
#includeline adds the check to your EA. - No DLL. It uses MetaTrader’s own WebRequest, so customers never need to allow DLL imports for licensing. It works on MT4 and MT5.
- Signed answers. You have a private signing secret, written into your licensing file and compiled into your EA. Every answer from FXNook is signed with it (HMAC-SHA256), so a faked answer is refused.
- Bound to a trading account. Each licence runs on the account the customer bought it for.
What it guards
The check sits in front of every way an EA can trade: OnInit, OnTick (or start() in old MT4 code), OnTimer, OnChartEvent for buttons and trade panels, and on MT5 also OnTrade, OnTradeTransaction and OnBookEvent.
What happens on the customer’s side
- The check runs on start, every 15 minutes, and within about a minute of an admin revoking or suspending the licence.
- Expiry is enforced on the customer’s clock at the exact moment.
- If refused, the EA stays on the chart, trades nothing, and the FXNook badge says why. It resumes by itself when fixed.
- If FXNook cannot be reached, the EA runs on its last verified answer for your offline allowance.
- In the Strategy Tester no check is made, so buyers can backtest freely.
Was this guide helpful?
Thank you - that helps us improve these guides.
Need help?
Most questions are answered by the guides above. If yours is not, our team will help.
Open Support Ticket