Can someone help convert my custom indicator

 

i need help converting my stochasting crossing custom indicator into an EA. it points direction on the main chart so i want to model that into an EA, but i have no programming experience. please help Thanks

Reason: