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精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


My published Scripts:
de.tradingview.com/u/KINSKI/

Appreciation of my work: paypal.com/paypalme/steffenhollstein

免责声明