OPEN-SOURCE SCRIPT
Updated

KINSKI RSI Short/Long

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

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.