ZigZag - Does anybody have a ZZ indicator that calculate not on high/low but on open/close? thanks

 
Looking for a ZZ indicator that calculate on open/close
 

https://www.mql5.com/en/code/10076 ZZ of Denis Orlov seems to have that feature

Reason: