what are the codes related to the zig zag indicator?

 

hi all,

i've just learned that this zigzag indicator exists and i'm tempted to try and create a code and use it's values. However I'm not sure what codes are related to it.

By this I mean I've searching the help but found only 3 articles that include the word zigzag, 1 is how to draw it, and the other 2 i didn't quite understand if they can be used or not (sorry i'm not very good at programming yet)

Also when I use the indicator I'm noticing there aren't values on each candles like most other indicators but only at turning points (which I guess it's what one needs)


can someone please guide me as to where should I be searching to learn more about how to retrieve and use the values of the zigzag? (default settings suffice for now)

thanks in advance