OPEN-SOURCE SCRIPT

Relative Strength

מאת ‎Capeya‎
מעודכן
Relative Strength show the quotient (ratio) between a numerator (Your Security) and a common denominator (SPX, BTC, ...).
I inspired myself from already established indicators. But I've made my own because I had some issues with others.

Sometimes the moving average weren't fixed but where floating through the window.
Sometimes the colors (Up, Down) were inaccurate because the compiler didn't notice infinitesimal changes (0.0001 > 0.0002)

Thanks.

(The Relative Strength indicator is at the top of the chart.)
הערות שחרור
Added colors on SMA: If RS > SMA then green, else Red.
Fixed some other stuffs: Symbol template for ticker input...
הערות שחרור
The moving average is colored based on its own slope.
Can be displayed or not.
הערות שחרור
Added color customization,
Added color for Relative Strength All Time High.
הערות שחרור
Possible to color based on X previous highs instead of all time high only.
If the lookback value is set to 0 then it looks for ATH;
Else it will look for the input, previous highs.

Modified for Tronsom
הערות שחרור
NA
Oscillators

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

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

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

כתב ויתור