OPEN-SOURCE SCRIPT

Slope Normalizer

מעודכן
Brief:
This oscillator style indicator takes another indicator as its source and measures the change over time (the slope). It then isolates the positive slope values from the negative slope values to determine a 'normal' slope value for each.
** A 'normal' value of 1.0 is determined by the average slope plus the standard deviation of that slope.

The Scale
This indicator is not perfectly linear. The values are interpolated differently from 0.0 - 1.0 than values greater than 1.0.
  • From values 0.0 to 1.0 (positive or negative): it means that the value of the slope is less than 'normal' **.
  • Any value above 1.0 means the current slope is greater than 'normal' **.
  • A value of 2.0 means the value is the average plus 2x the standard deviation.
  • A value of 3.0 means the value is the average plus 3x the standard deviation.
  • A value greater than 4.0 means the value is greater than the average plus 4x the standard deviation.

Because the slope value is normalized, the meaning of these values can remain generally the same for different symbols.

Potential Usage Examples/b]
Using this in conjunction with an SMA or WMA may indicate a change in trend, or a change in trend-strength.
  • Any values greater than 4 indicate a very strong (and unusual) trend that may not likely be sustainable.
  • Any values cycling between +1.0 and -1.0 may mean indecision.
  • A value that is decreasing below 0.5 may predict a change in trend (slope may soon invert).
הערות שחרור
Simpler cleaner use of deviation value.
הערות שחרור
Clean out unused DataCleaner reference.
OscillatorsslopestandarddevationStandard Deviation (Volatility)trendtrendstrengthtrendstrengthindicator

סקריפט קוד פתוח

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

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

כתב ויתור