I have a quite reliable indicator (not the souce code) that is displaying alerts for buy/sell and buy close / sell close.
I would like to write an EA that can use those alerts generated by this indicator to apply buy or sell based on the alert.
Can somebody help me ????
Thanks in advance
Would I just replace my email alerts with OrderSend()
Basically Buy & Sell as it follows indicator. Take Profit setting isn`t set as a value like the scalpers, but dependent on the signal direction change, example: red arrow (sell) would close a buy order if one was open, and open a sell order at the same time. Blue arrow (buy) would close the sell order, and open a buy order at the same time. Minimum H1 TF(optional).
No, you cannot place orders from an Indicator . . . you need an EA or Script for that. You can read the buffers of your Indicator from an EA using iCustom: https://docs.mql4.com/indicators/iCustom
Thanks RaptorUK, was just having a look at that.
if there is open order for buy signal before it get the sell signal, the ea should close the buy order and open the sell order either in positive or negative of the open trade
just want to find out if you've finished your EA. I've the same issue; i have an indicator(has an alert and email function) which i'm trying to convert to EA, so it could place orders when an alert triggers. Please could you help me with a detailed procedure on how to go about this.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.