OPEN-SOURCE SCRIPT

LedgerStatusToolbox fork3: EMA/SMA that stays on a specific time

My (akd) radically cut down fork#3 of the "Ledger Status Toolbox"

  • which had included many more options that I don't need
  • but was missing the 4hourly, and hourly = which I added here
  • and yes, I kicked out the weekly. Hardly ever looking at that anyways. Shall I reintroduce it for fork4 ?


The huge advantage of this approach, over other SMA/EMA indicators:
It stays on the chosen (e.g. daily) data, and calculates the moving averages for that data. Even if you switch the chart to different time candles (like hours or weeks).

So whatever time resolution candles you look at, these indicator lines stay in the same place.

Thanks to krogsgard. Check out his "Ledger Status Toolbox" it also has Bollinger bands (but those are always on "current" I think?). A very powerful tool, just too powerful for most times for me newb. So I cut it down to this mini version. Enjoy!
Exponential Moving Average (EMA)Moving AveragesSimple Moving Average (SMA)

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明