OPEN-SOURCE SCRIPT

Oscillating Length Moving Averages

***CREDIT TO TradingView's TA Library*** (tradingview.com/script/BICzyhq0-ta/), Attempted to use "import TradingView/ta/4" to import the library, but for whatever reason
some of the functions failed to work, while others had no issue, so I opted to just copy paste what I wanted to use.

This moving average uses an oscillator to influence the length used during calculation. Extremely customizable/tunable with ability to change Max and Min length values, length multiplier, length multiple,4 different settings ,( <Incline, >Decline , <>Peak, ><Trough), many of the moving averages seen in the library above,+ linear regression curve and the standard ta.wma.

Step1:Get Inputs
Steo3:Select Oscillator to use for Length Oscillation
step4Get the Difference of highest and lowest, Divide the source by the difference
step5: Logic Selection, for Length Values <Incline, >Decline , <>Peak, ><Trough
step6:Select Final Filtering method
step7:plot
adjustableaveragecurvecustomindicatorlengthmovingMoving AveragesOscillatorswhales

开源脚本

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

想在图表上使用此脚本?

免责声明