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

Skrypt open-source

W prawdziwym duchu TradingView autor tego skryptu opublikował go jako open source, aby inwestorzy mogli go zrozumieć i zweryfikować. Pozdrowienia dla autora! Możesz go używać bezpłatnie, ale ponowne użycie tego kodu w publikacji podlega Zasadom Regulaminu. Możesz go oznaczyć jako ulubione, aby użyć go na wykresie.

Chcesz użyć tego skryptu na wykresie?

Wyłączenie odpowiedzialności