OPEN-SOURCE SCRIPT

KINSKI RSI Short/Long

Mis à jour
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
Notes de version
  • 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.
Notes de version
  • 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.
Notes de version
  • removed no more needed Option "Up/Down Movements: On/Off"
Notes de version
- PineScript 4 compatibility increased. Deprecated attribute "transp" replaced by function color.new()
Notes de version
  • Convert to PineScript5
  • add optional Divergence Identification (enabled by default)
Notes de version
  • Code optimization: define type "color"
bitmexbitmexlongshortBTCUSDETCUSDETHUSDOMGUSDRelative Strength Index (RSI)XLMUSDXTZUSD

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?

Clause de non-responsabilité