request information about a indicators

 
Hi

I am using zigzag indicators. how can I have a beep at the time of reverse of indicator's line? if I must add some statment in indicator's program, please let me know which statment and where.