Adding price labels to zig plot

Is there an easy way to plot the price value and the size of the price leg (i.e. how much did the market move from the high to low or low to high) to the zig plot in the following code? Thanks.

pr=Param(“ZigZag change amount”,1,1,50,1);
zzHiLo=Zig(x,pr);
Plot( zzHiLo, “”, colorSkyblue, styleLine);

These functions should help get you started:

https://www.amibroker.com/guide/afl/plottext.html
https://www.amibroker.com/guide/afl/peak.html
https://www.amibroker.com/guide/afl/trough.html
https://www.amibroker.com/guide/afl/peakbars.html
https://www.amibroker.com/guide/afl/troughbars.html

See if you can figure it out using a combination of those. If you get stuck, post how far you’ve got back here for help.