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)

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer