Using these 3 function : OnTester(), OnTesterInit(), OnTesterPass(),OnTesterDeinit() and have no result!

Chaiya Srisawat  

Hello, I try to test function OnTester(), OnTesterInit(), OnTesterPass(),OnTesterDeinit() using belows code.

However  It is print out only Ontester() but others is no log-result.

Please advise what is wrong in using these function.. Chaiya



//+------------------------------------------------------------------+

//|                                                           TT.mq5 |

//|                        Copyright 2019, MetaQuotes Software Corp. |

//|                                             https://www.mql5.com |

//+------------------------------------------------------------------+

#property copyright "Copyright 2019, MetaQuotes Software Corp."

#property link      "https://www.mql5.com"

#property version   "1.00"

//+------------------------------------------------------------------+

//| Expert initialization function                                   |

//+------------------------------------------------------------------+

input int test=1;

int OnInit()

  {

//---

   

//---

   return(INIT_SUCCEEDED);

  }

//+------------------------------------------------------------------+

//| Expert deinitialization function                                 |

//+------------------------------------------------------------------+

void OnDeinit(const int reason)

  {

//---

   

  }

//+------------------------------------------------------------------+

//| Expert tick function                                             |

//+------------------------------------------------------------------+

void OnTick()

  {

//---

   

  }

//+------------------------------------------------------------------+

//| Tester function                                                  |

//+------------------------------------------------------------------+

double OnTester()

  {

//---

   double ret=0.0;

//---

Print("Tester");

//---

   return(ret);

  }

//+------------------------------------------------------------------+

//| TesterInit function                                              |

//+------------------------------------------------------------------+

void OnTesterInit()

  {

//---

   Print("TestINIT");

  }

//+------------------------------------------------------------------+

//| TesterPass function                                              |

//+------------------------------------------------------------------+

void OnTesterPass()

  {

//---

   Print("TestPASS");

  }

//+------------------------------------------------------------------+

//| TesterDeinit function                                            |

//+------------------------------------------------------------------+

void OnTesterDeinit()

  {

//---

   Print("TestDEINIT");

  }

//+------------------------------------------------------------------+