Indicator to EA?

 

i have an indicator that signals sell and buy. how do i convert it to perform auto buy and sell?

 

...

You must use it within an expert advisor (indicators can not execute trading functions, so it must be an expert advisor). Some more info on how you can write expert advisors (and use indicators from an EA) you can find here : https://www.mql5.com/en/forum/173136 and here https://www.mql5.com/en/forum/173171

trexy123:
i have an indicator that signals sell and buy. how do i convert it to perform auto buy and sell?