Need Help coding EA based on MA angle

 

I want some help to code EA which opens a long trade when the angle of the EMA slope is between +10 and +90 at close of the bar (eg 5 min or 15 min), and closes the long trade and opens a short trade when the angle of slope of EMA is between -10 and -90 at close of the bar.

Need help. I am willing to pay if needed.

 

when the angle of the EMA slope is between +10 and +90 ?

 

angles do not exist in a price chart.

 
Oh boy. Do I remember this conversation all too well. Eh 7? :)