How EA to Get specific value from Zig Zag

 
Hi ,
I want to get some values from Zig Zag indicator:
1.lasthigh
2.lastlow
3.lasthighpos
4.lastlowpos
Please if someone can help please describe it.
Thank you.
Jeff
 
You have to use iCustom function.
For more details, review my "iCustom function mystery" article here:
http://www.metatrader.info/node/40