Download MetaTrader 5
To add comments, please log in or register
Develop trading robots to order. Make profit with Freelance service!
Luis
226
Luis 2015.04.06 17:33 

Ok this is very strange, Im working with a indicator bought in the mql5.com marker.  The indicator in question is this one:  https://www.mql5.com/en/market/product/4518


Ok so I have this indicator activated in my terminal and I can make use of it. And in the image below you will see that I can access the values as normal.


But Im trying to make an EA for this indicator and I use the iCustom function to access the values: iCustom(Symbol(),Period(),"adaptive-rsi",0,1);

The thing is that this function is not giving me the values exactly is giving me simillar values that is very strage, but I need the exact values. I have contacted the client and the says that this indicator has a special algorotim and you cant retrieve the values with only the .ex4.   Is that even possible?


Gordon Gekko
647
Gordon Gekko 2015.04.06 19:55  
BeLikeWater:

Ok this is very strange, Im working with a indicator bought in the mql5.com marker.  The indicator in question is this one:  https://www.mql5.com/en/market/product/4518


Ok so I have this indicator activated in my terminal and I can make use of it. And in the image below you will see that I can access the values as normal.


But Im trying to make an EA for this indicator and I use the iCustom function to access the values: iCustom(Symbol(),Period(),"adaptive-rsi",0,1);

The thing is that this function is not giving me the values exactly is giving me simillar values that is very strage, but I need the exact values. I have contacted the client and the says that this indicator has a special algorotim and you cant retrieve the values with only the .ex4.   Is that even possible?


Maybe this works (for the latest value):

iCustom(Symbol(),Period(),"adaptive-rsi",0,0);

Luis
226
Luis 2015.04.06 22:12  
No the index doesnt matter....
whroeder1
13599
whroeder1 2015.04.06 23:31  
ggekko: iCustom(Symbol(),Period(),"adaptive-rsi",0,0);
Your screen shot shows the indicator name is ARSI. The name must match the indicator file (minus the extension) exactly. Detailed explanation of iCustom - MQL4 forum
Luis
226
Luis 2015.04.07 15:11  
Sorry WHRoeder but the indicator filename doesnt match ARSI as you say, it is different.
Keith Watford
Moderator
7887
Keith Watford 2015.04.07 21:28  
BeLikeWater:


The thing is that this function is not giving me the values exactly is giving me simillar values that is very strage, but I need the exact values. I have contacted the client and the says that this indicator has a special algorotim and you cant retrieve the values with only the .ex4.   Is that even possible?


Most likely that the indicator is repainting closed bars
Luis
226
Luis 2015.04.14 12:04  
GumRai:
Most likely that the indicator is repainting closed bars
That sounds interesting I will take a look onto that
/
To add comments, please log in or register