TradingView
popularIguana77826
May 31, 2021 3:29 AM

6 EMA SMA RMA + Forecasting 

Bitcoin / United States DollarCoinbase

Description

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
Comments
Sinier
Thanks
vrycooldad
getting an error using the sma - "invalid number of bars back [-1] within the history referencing operator. the value must be >=0". any idea what I'm doing wrong?
dxf202169
hhhhhh
mendozaspace
Muchas gracias por este gran aporte
Gianpool2x
gracias Giovanni te adoro ,extraño el indicador patterns candles :)
More