Override MT4 function

 

Hi, is it possible to redeclare mt4 function?

Example:

bool Print(int a, int b)

{

if(a>b) {

return true;

}

else {

return false;

}



From now function Print will compare two integers.

Any similar or different way to override MT4 function?

 
okt:

Any similar or different way to override MT4 function?

There is no function overloading in MQL4.

Reason: