Distribution Control

Add Expiry Date

Inject an automatic expiry check into EA, indicator, or utility source or compiled files—bots stop working after your chosen date.

What this feature does

Add Expiry inserts a date check into the correct init or tick handler so the program exits or refuses to run after the expiry date. Works for expert advisors, indicators, and utilities.

Choose Source mode to get modified .mq4/.mq5 you recompile yourself, or Compiled mode to receive a ready .ex4/.ex5 with expiry baked in.

Add Expiry Date tool with date picker

1 Upload your EA or indicator source file

2 Pick expiry date for timed licenses

3 Add Expiry — Source or Compiled output

Step-by-step usage

  1. Open /pages/code-enhancements/add-expiry-date.
  2. Upload your .mq4 or .mq5 file.
  3. Pick expiry date (must be in the future for active licenses).
  4. Set output filename.
  5. Click Add Expiry - Source for .mq4/.mq5 output, or Add Expiry - Compiled for .ex4/.ex5.
  6. Distribute the output file to clients; after expiry date the tool stops functioning.
  • Tip: Use UTC-aligned dates and communicate timezone to buyers.
  • Tip: Combine with Account Binding so only approved accounts can run before expiry.
  • Tip: Keep original source archived for renewals—extend expiry by processing a fresh copy.