make a demo version

 

hi

i wonder how to make a demo version of my EA for Customer

can somone help??

 
Upload it to market they will be able to download a demo version.
 
Seyedmasoud Hashemi:

hi

i wonder how to make a demo version of my EA for Customer

can somone help??

first you need to pass validation :)

 

If it's for a Freelance Order you can hand over the ex4/5 with a time limit of a few days so your customer can test it for a couple of day's and then it becomes inoperative.

Here is an Example.

//+------------------------------------------------------------------+
//| Expert initialization function                                   |
//+------------------------------------------------------------------+
int OnInit()
{
//---
   if(TimeCurrent() > D'2020.05.27')// D'Year.Month.Day'
      {
         MessageBox("Demo expired","Warning !");
         return(INIT_FAILED);
      }

//---
   return(INIT_SUCCEEDED);
//+------------------------------------------------------------------+  
 

Also if its for freelance , you can place a link to your project in the top of the code .
This will appear as the text in copyright and lead to link when clicked.
Problem is this is in the abount tab of the program when it loads so they might not see it.
You can place notifications inside the program ,on the chart , bright colors big boxes.
Most times clients forget about projects ,or ,they cant find them easily or at all.
If you do not make it clear that what they see is a demo (visible) then they might assume 
its done expecially if everything works well .(clients assume that you get the money once a project locks -in escrow-)

#property copyright "Link To MQL Project >>> Click Here "
#property link      "https://www.mql5.com/en/job"