All John Ehlers Indicators... - page 76

Fabio Geraci
369
Fabio Geraci  

Here you are, thanks

Files:
Fabio Geraci
369
Fabio Geraci  

your test EA does not work with me

Files:
capture_1.jpg 162 kb
Mladen Rakic
201590
Mladen Rakic  
fabio.geraci:
your test EA does not work with me

fabio.geraci

That is not an EA

That is an indicator. To test it as an EA, remove #property lines of code

____________________

Also, as far as I see from your picture it is working OK. You are comparing 15 minute indicator values on that chart with 1 hour indicators values (retrieved using iCustom() function). They can not be the same in 99.99% of cases

Mladen Rakic
201590
Mladen Rakic  
fabio.geraci:
Here you are, thanks

fabio.geraci

I used this code for testing :

#property indicator_chart_window

int init() { return(0); }

int start()

{

double greenAdpvCC = iCustom(Symbol(), 60, "AdpvCyberCycle", 0, 0);

double redAdpvCC = iCustom(Symbol(), 60, "AdpvCyberCycle", 1, 0);

Comment("return values from indicator are : "+greenAdpvCC," green value, ",redAdpvCC," red value");

return(0);

And the results are the following :

As you can see the results are OK

The only things left are if some of the parameters type is incorrect (ie, that maybe PeriodIndiis not integer or that AdpvCC is not string) or AdpvCC is not set to correct name

Files:
test.png 108 kb
Fabio Geraci
369
Fabio Geraci  

Sorry and thank you for you politeness. yes it does work and the number are the same on the H1 chart. I plug the test EA on a live chart and it is ok. so the question now is why it does not work on the tester.

Fabio Geraci
369
Fabio Geraci  

actually it does not work on h1 as soon as it moves to new candle it goes bad

Mladen Rakic
201590
Mladen Rakic  

Upgraded adaptive Laguerre RSI too : Adaptive Laguerre RSI - mtf.ex4

Mladen Rakic
201590
Mladen Rakic  

There are adapting and adapting. Here is one more version : Adaptive Laguerre RSI - mtf 2.ex4

_________________________

This one is not using the original John Ehlers adapting, but a completely different type. The difference is enormous, and frankly I like this one better (upper is the original John Ehlers type of adapting, lower is this one)

Mladen Rakic
201590
Mladen Rakic  

Newest version of adaptive Laguerre filter posted here : https://www.mql5.com/en/forum/173574/page667

Files:
Mladen Rakic
201590
Mladen Rakic  
mladen:
Re: All John Ehlers Indicators...

There are adapting and adapting. Here is one more version : Adaptive Laguerre RSI - mtf 2.ex4

_________________________

This one is not using the original John Ehlers adapting, but a completely different type. The difference is enormous, and frankly I like this one better (upper is the original John Ehlers type of adapting, lower is this one)

Some more upgrades to the adaptive Laguerre RSI : adaptive_laguerre_rsi_-_mtf_3.ex4