EA for very simple correlation indicator

 

I need an EA for this indicator with the following characteristics:

1. Buy when green line crosses above the zero line (currencies balance point) and close the order if it cross down the same line (and insist on close if there are broker requotes)
2. Sell when line crosses below the zero line and close the order if it cross up the same line (and insist on close if there are broker requotes)
3. Which can be programmed TP, SL and prizes

Thanks . . .

Files:
Reason: