alexgrover

Grover Llorens Cycle Oscillator [alexgrover & Lucía Llorens]

alexgrover Wizard 已更新   
Cycles represent relatively smooth fluctuations with mean 0 and of varying period and amplitude, their estimation using technical indicators has always been a major task. In the additive model of price, the cycle is a component :

Price = Trend + Cycle + Noise

Based on this model we can deduce that :

Cycle = Price - Trend - Noise

The indicators specialized on the estimation of cycles are oscillators, some like bandpass filters aim to return a correct estimate of the cycles, while others might only show a deformation of them, this can be done in order to maximize the visualization of the cycles.

Today an oscillator who aim to maximize the visualization of the cycles is presented, the oscillator is based on the difference between the price and the previously proposed Grover Llorens activator indicator. A relative strength index is then applied to this difference in order to minimize the change of amplitude in the cycles.


The Indicator

The indicator include the length and mult settings used by the Grover Llorens activator. Length control the rate of convergence of the activator, lower values of length will output cycles of a faster period.


here length = 50

Mult is responsible for maximizing the visualization of the cycles, low values of mult will return a less cyclical output.


Here mult = 1

Finally you can smooth the indicator output if you want (smooth by default), you can uncheck the option if you want a noisy output.


The smoothing amount is also linked with the period of the rsi.


Here the smoothing amount = 100.

Conclusion

An oscillator based on the recently posted Grover Llorens activator has been proposed. The oscillator aim to maximize the visualization of cycles.

Maximizing the visualization of cycles don't comes with no cost, the indicator output can be uncorrelated with the actual cycles or can return cycles that are not present in the price. Other problems arises from the indicator settings, because cycles are of a time-varying periods it isn't optimal to use fixed length oscillators for their estimation.

Thanks for reading !

If my work has ever been of use to you you can donate, addresses on my signature :)

版本注释:
Fixed repainting issues

Check out the indicators we are making at luxalgo: www.tradingview.com/u/LuxAlgo/
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?