Is it possible to get Indicator info into an EA?

Back to topics list To post a new topic, please log in or register
avatar
52
renzbub 2016.03.18 14:37
 
I recently purchased an Indicator from Market that I really like but I prefer it as an EA. Is there any way to code an EA to read an Indicator you place onto a chart?
avatar
125
zirkoner 2016.03.18 15:19 #
 
renzbub:
I recently purchased an Indicator from Market that I really like but I prefer it as an EA. Is there any way to code an EA to read an Indicator you place onto a chart?
Usually with iCustom().
avatar
13010
WHRoeder 2016.03.18 15:42 #
 
Just get the value of the indicator. Detailed explanation of iCustom - MQL4 forum
avatar
52
renzbub 2016.03.20 12:47 #
 
WHRoeder:
Just get the value of the indicator. Detailed explanation of iCustom - MQL4 forum

Yes using iCustom works as suggested and I can read values from the indicator within my EA okay but, is it possible to let an EA know when a signal has occurred from that indicator.  

EG say i have a MACD Divergence indicator, I understand how it can recognise the values of the histogram but what about when the divergence signal occurs between price and histogram? 

 

My real problem is I have bought an Indicator from Market called VJ Sniper. Your meant to trade it when for example a buy signal is generated and the trend line is up. You ignore the signal if its a buy signal and the trend is down.

But the problem with this to me is it gives unnecessary alarm signals. So im trying to figure out a way to make it sound an alarm only when on buy signal when trend lines are up and to not sound a buy alarm when the trend is down?

avatar
13010
WHRoeder 2016.03.20 15:07 #
 
renzbub: But the problem with this to me is it gives unnecessary alarm signals. So im trying to figure out a way to make it sound an alarm only when
If you have the code to it, you can modify it. Otherwise you can not do anything with it.
Back to topics list  

To add comments, please log in or register