Delete the iCustom indicator after got it.

 

Hello,

 I want to remove the custom indicator after I saved it. Because there is too many ZigZag indicators when test complete. I searched in forum but I didn't find an exact solution.

 Thank you 

Here is my code for getting ZigZag values 

for(int i=last_index;i<low_bar_index();i++)
{
  double zigzag_val=iCustom(NULL,PERIOD_CURRENT,"ZigZag",(int)round(bar_diff/12),5,3,0,i);

  if(zigzag_val>0)
  {
    h_support_values[j]=zigzag_val;
    last_index=i+1;
    break;
  }

}
 

You can't, it's managed by MT4 internally.

Just use a template.