OPEN-SOURCE SCRIPT

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.
Bitcoin (Cryptocurrency)moving_averageMoving Averagessma

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?


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.
更多:

免責聲明