Hi all, here is the following requirements, should be a really quick job: - initial code from an indicator in Pine Script given, the indicator display the highs and lows using pivothigh() and pivotlow() from Pine Script. - The code needs to be usable within an EA, I am not looking for an indicator to be made - Following the code logic to identify highs and lows: higher high, higher low, lower low and lower high needs