How to call a custom indicator inside an expert ?

 
How to call a custom indicator inside an expert ?
take by example the zigzag indicador
 

iCustom function

Reason: