OPEN-SOURCE SCRIPT

6 EMA SMA RMA + Forecasting

Description:

Hey hi, this Script is a bit simple. Let's start with some definitions.

Moving Average (MA)
In statistics, a moving average is a calculation used to analyze data points by creating a series of averages of different subsets of the full data set. In finance, a moving average (MA) is a stock indicator that is commonly used in technical analysis . The reason for calculating the moving average of a stock is to help smooth out the price data by creating a constantly updated average price . This makes this tool one of the most important for technical analysis .

Forecasting
Forecasting is the process of making predictions based on past and present data and most commonly by analysis of trends . In the same way that the moving average (MA) the forecasting is something highly desirable, in this way we opted to develop an indicator that allows the use of up to 6 moving averages combined with the forecasting.

In addition to having the option of up to 6 moving averages, these can be of different types, being able to choose between up to 3 options (it is proposed to add more options later) which are listed below.
  • Exponential Moving Average ( EMA )
  • Simple Moving Average ( SMA )
  • Running Moving Average (RMA)


In addition to the above, 2 prediction methods were added, which are listed and detailed below.
  • Repetition. Makes forecast repeating the last candle M times.
  • Linear Regression ( LR ). Linear Regression does N period LR forecast averaged with length-N Moving Average
Moving Averagesrmasma

开源脚本

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

想在图表上使用此脚本?

免责声明