OPEN-SOURCE SCRIPT

KINSKI RSI Short/Long

מעודכן
Extends the display of the Relative Strength Index (RSI) by shorts and longs from Bitmex and shows them as a diagram.

How to interpret the display?
- blue line is the default Relative Strength Index
- red line means "oversold
- green line "overbought"
- grey dotted line up/down indicates the optimal range for up and down movements 30 to 70
- in general, the reaching or crossing of the thresholds in the direction of the mid-range is seen as a possible buy or sell signal
- RSI values (blue line) of over 70 percent are considered "overbought", values below 30 percent "oversold

Which settings can be made?
- Selection for the "Currency". Default value is "BTCUSD". Currently only the following currencies are supported "BTCUSD", "ETHUSD", "ETCUSD", "OMGUSD", "XLMUSD", "XTZUSD".
- Selection for calculation formula ("Calculation"). The default value is "hlc3".
- Field for the moving average value ("RSI Length"). The default value is 14, but values of 7, 9 or 25 are also common. The shorter the period under consideration, the more volatile the indicator is, but with longer periods, fewer signals are triggered.
- furthermore you can make layout adjustments via the "Style" menu
הערות שחרור
  • extend the supported currencies: "BTCUSD", "ETHUSD", "ETCUSD", "EOSUSD", "IOTUSD", "LTCUSD", "OMGUSD", "XRPUSD", "XMRUSD", "XLMUSD", "XTZUSD", "ZECUSD"
  • changed the styling for Overbought and Oversold lines


Hint
the description text for red and green line is wrong. here now the correct description:
- red line indicates the number of SHORTS. Line up/down means many/less.
- green line indicates the number of LONGS. Line up/down means many/less.
הערות שחרור
  • Display optimized for RSI line. Overbought zone (shows a possible sell-signal) is shown in red. Oversold zone (shows a possible buy signal) is displayed in green.
הערות שחרור
  • removed no more needed Option "Up/Down Movements: On/Off"
הערות שחרור
- PineScript 4 compatibility increased. Deprecated attribute "transp" replaced by function color.new()
הערות שחרור
  • Convert to PineScript5
  • add optional Divergence Identification (enabled by default)
הערות שחרור
  • Code optimization: define type "color"
bitmexbitmexlongshortBTCUSDETCUSDETHUSDOMGUSDRelative Strength Index (RSI)XLMUSDXTZUSD

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

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

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

כתב ויתור