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 אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יוכלו להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אבל השימוש החוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.

רוצה להשתמש בסקריפ זה בגרף?

כתב ויתור