ka66

[KA] Rate of Change

Rate of Change (ROC)

Given a source series, calculates a running Rate of Change -- simply the percentage difference between the current value of said source to the value N bars back.

One nicety here, compared to the stock tradingview indicator is allowance to force plot certain bounds. This allows more visibility on the relative movement of the series within the plotted bounds.

For example, you know the particular bounds for a timeframe, and can visibly see when those bounds are violated.

See:

StockCharts ROC Explanation


Inputs:

  • Source Series, anything indicator series on chart
  • N Bars, the reference no. of bars to compare change since.
  • Mandatory % Bounds, if value specified, this +value and -value, will be plotted
סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יכולים להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אך שימוש חוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.

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