OPEN-SOURCE SCRIPT

Moving Averages Selection

已更新
Hello everyone, I present my first script. In it I collect a group of fully configurable moving averages, both in color, value and selection of the ones we want to observe.
The moving averages I collect are 3 of each of the following types:

EMA: An exponential moving average ( EMA ) is a type of moving average (MA) that places a greater weight and significance on the most recent data points.

SMA: It is simply the average price over the specified period. The average is called "moving" because it is plotted on the chart bar by bar, forming a line that moves along the chart as the average value changes.

HMA: The Hull Moving Average ( HMA ) attempts to minimize the lag of a traditional moving average while retaining the smoothness of the moving average line. Developed by Alan Hull in 2005, this indicator makes use of weighted moving averages to prioritize more recent values and greatly reduce lag.

RMA: The Rolling Moving Average, sometimes referred to as "Smoothed Moving Average", gives the recent prices most weighting, though the historic prices are also weighted, each given less weighting further back in time.

WMA: The weighted moving average ( WMA ) is a technical indicator that traders use to generate trade direction and make a buy or sell decision. It assigns greater weighting to recent data points and less weighting on past data points.

I am open to any opinion and advice for improvement, greetings, I hope you find it useful :)
版本注释
New moving average included!!
This time is the turn of the Kaufman’s Adaptive Moving Average (KAMA) : When market volatility is low, Kaufman’s Adaptive Moving Average remains near the current market price, but when volatility increases, it will lag behind. What the KAMA indicator aims to do is filter out “market noise” – insignificant, temporary surges in price action.
movingavarageMoving Averagesmultitimeframeoptions

开源脚本

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

想在图表上使用此脚本?

免责声明