Download MetaTrader 5

trade from indicator

To add comments, please log in or register
Publish your article and get a reward!
ahmed124
10
ahmed124 2014.10.14 03:30 

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

Mehrdad Shiri
4480
Mehrdad Shiri 2014.10.14 03:43  
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,
ahmed124
10
ahmed124 2014.10.14 04:58  
TIMisthebest:
you need to make an expert adviser based on that,
how do I send the Alert to the EA then?
John Townsend
83
John Townsend 2014.10.14 23:47  
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
To add comments, please log in or register