trade from indicator

 

Hello


I have indicator file that send alert as short or buy signal


My question is how do I take that signal and trade with it.. I guess I can`t put Ordersend in indicator file so do I do?


Thank you from advance

 
ahmed124:

Hello


I have indicator file that send alert as short or buy signal


My question is how do I take that signal and trade with it.. I guess I can`t put Ordersend in indicator file so do I do?


Thank you from advance

you need to make an expert adviser based on that,
 
TIMisthebest:
you need to make an expert adviser based on that,
how do I send the Alert to the EA then?
 
ahmed124:
how do I send the Alert to the EA then?
One approach is to write an EA that reads the values (not the Alert) generated by your indicator (using iCustom) and uses those values to decide whether to take a trade.  The EA can then be coded to actually take the trade.  You will find lots more info on this in the MQL documentation and on Google (search on "MT4 iCustom" to get started) .
HTH
John