HistoFractal ZZ

Can Anyone converte these indicators for MQ4?

Thanks

Regards
Files

https://c.mql5.com/3/128/HistoZZ.mql

https://c.mql5.com/3/128/Fractal_ZigZag.mql