In Amibroker, Theres already "ZigZag" Pre-defined function. But, im wondering where i can find that code (the code inside ZigZag Function).if anyone could provide this code for me it would be greatful.
I'm trying to code a piece of code in AFL to get Zigzag retracements.
I found something on the library which unfortunately didn't work properly so I'm trying to fix it.
function GetXSupport(Lo, Percentage, Back)
return ((BarCount -...