function start

 

hi every one,

could you explain me the rôle of function

start() in an expert advisor?

it start the program?

the program don`t start without this function?

I necessary to put the function return()

at the end of the program?

thanks in advance

 

MT4 System calls start() function to execute your code inside start() on each tick.

.

int start(){

... your code

return(0);

}

Reason: