Hi Eugene!
I attempted to use the Adaptive Laguerre indicator in a Rotation Strategy and found that it hangs the process when used with the Dow 30 (or any other DataSet).
CODE:
Please log in to see this code.
It does not seem to have a similar issue with any other indicator that I have tried.
Vince
Size:
Color:
Click on DWDP symbol (the one with the shortest history). Does it help?
Size:
Color:
Hi Eugene!
Yes, using DWDP does get it to run, but if I use the code below
CODE:
Please log in to see this code.
allows me to use nearly any symbol. This was the issue that I found with the Adaptive Laguerre since I surely do not want to use the symbol with the shortest strategy! ;)
Vince
Size:
Color:
Have you thought about substituting the Adaptive Laguerre filter for some other adaptive filter like John Ehlers' DSMA (Deviation-Scaled Moving Average)? Just curious. The DSMA filter won't have as much phase delay as the Laguerre filter.
Size:
Color:
Vince, yesterday I deliberately suggested to use the shortest symbol because it was reasonable to believe that the issue with AdaptiveLaguerre has to do with synchronization. Being the symbol with the shortest history, obviously DWDP doesn't have the bars for a lot of dates. So Wealth-Lab synchronizes its data by prepending zero data. For this reason you should choose a data loading range equal for all included symbols.
It's easy to prove by dropping the AdaptiveLaguerre onto any chart which is altered with a Strategy code like this:
CODE:
Please log in to see this code.
Provided there are enough bars loaded the indicator will make Wealth-Lab freeze.
As the indicator code was submitted by a WL4 community member more than a decade ago (rather than came with a S&C article by Mr. Ehlers as usual) it's impossible to tell whether the issue is caused by the formula itself or its implementation.
So the natural fix is to make AdaptiveLaguerre skip processing the bar if the DataSeries has a zero value on it. Look for the patch in C.Indicators v2019.04.
Size:
Color:
superticker,
Thanks! Yes. I am examining all of the various "smoothers" to understand the positives/negatives of each. The Adaptive Laguerre is just the next one on my list.
Vince
Size:
Color:
QUOTE:
So the natural fix is to make AdaptiveLaguerre skip processing the bar if the DataSeries has a zero value on it. Look for the patch in C.Indicators v2019.04.
Thanks Eugene!
Vince
Size:
Color:
Size:
Color:
So a "double" Thanks! ;)
Vince
Size:
Color:
Bug fixed in Community Indicators v2019.04:
* Fix: AdaptiveLaguerre makes WL freeze if DataSeries has many zero bars
Size:
Color: