ZigZag indicator in build 147 not working.

 
The the ZigZag indicator in bulid 147 is not working. Please correct this problem. There seems to be a problem in "SetIndexDigits" section of the code.
 
we'll fix it. thanx
 
something wrong also in build 148 for zigzag indicator. kindly check again.
 
hua you can change ZigZag custom indicator according your purposes