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.
Скрипт с открытым кодом

В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения. Вы можете добавить этот скрипт в избранное и использовать его на графике.

Отказ от ответственности

Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.

Хотите использовать этот скрипт на графике?