Hello, Could someone help me with the AFL code for ZIG function peak and trough detection? I want to check if the last ZIG value is a Peak or a Trough. Do I need to use loop code or is there a way to use LastValue to detect this condition?
Regards Richard