how to put buy and sell condiation into ea from this indicator

 

how to put buy and sell condiation into ea from this indicator( AltrTrend_Signal indicator )

( blue arrow = buy and red arrow = sell )

pleas see attched mql4 file.

 

iCustom()

 

if you like, I can finish this with a negotiated price... it only does buys right now and it is not optimized...

Files:
baba-v1.mq4  10 kb
Reason: