ZigZag Non Repaint EA

Would like to convert attached indicator to Mt4/Mt5 Ea.

EA will buy when indicator draw line pointing down and sell when indicator draw line pointing up.

Parameters:

TP

SL

BE

TS

Close on opposite signal

If anyone could help make such ea

ZIG ZAG NRP.mq4.7z (942 Bytes)