algoros

Historical Average

This indicator calculates the sum of all past candles for each new candle.

For the second candle of the chart, the indicator shows the average of the first two candles. For the 10th candle, it's the average of the last ten candles.
Simple Moving Averages (SMAa) calculate the average of a specific timeframe (e.g. SMA200 for the last 200 candles). The historical moving average is an SMA 2 at the second candle, an SMA3 for the third candle, an SMA10 for the tenth, an SMA200 for the 200th candle etc.

Settings:

  • You can set the multiplier to move the Historical Moving Average along the price axis.
  • You can show two Historical Moving Averages with different multipliers.
  • You can add fibonacci multipliers to the Historical Moving Average.

This indicator works best on charts with a lot of historical data.

Recommended charts:
  • INDEX:BTCUSD
  • BLX

But you can use it e.g. on DJI or any other chart as well.

I had to lose 1400 BTC first to find out how easy crypto can make you financially free.

Check out my website to see more of my work.
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?