OPEN-SOURCE SCRIPT

RSI vs BITFINEX BTC Longs/Shorts Margin Ratio Percentage Rank

업데이트됨
This indicator plots the RSI of the current token with a color based on percentage rank of the RSI of BITFINEX:BTCUSDLONGS divided by BITFINEX:BTCUSDSHORTS, with a plot of the moving average of the RSI. It can optionally plot the RSI in white and the ratio RSI in color, or the ratio as background color. It can also plot the raw ratio rather than the percentage rank if selected.

I was interested in the ratio of BITFINEX:BTCUSDLONGS to BITFINEX:BTCUSDSHORTS as a measure of market sentiment and how that sentiment would magnify RSI changes. The volatility of the BTCUSDLONGS : BTCUSDSHORTS ratio was too low to get a good read, using a percent rank of the RSI of the ratio made the results more visible.

This indicator should be used on a BTC chart.
릴리즈 노트
The colors can make it had to see the MA in the background or "ratio and RSI" modes, so added an option to have different color transparency options above / below the MA.
Updated the chart to show all three color options available in the indicator.
릴리즈 노트
1.02
• When I released "RSI vs Longs/Shorts Margin Ratio Percentage Rank" I thought I'd let this BTC only indicator die off, but I then thought about allowing all of the BITFINEX:BTCxxxLONGS and BITFINEX:BTCxxxSHORTS pairs to be included in the one ratio. So this indicator now has the option to add the LONGS and SHORTS pairs for USD, UST, EUR, EUT, JPY and GBP. The second indicator on the chart shows the USD and UST ratios, while the third indicator shows the EUR, EUT, JPY and GBP ratios. This appears to be showing regional variations to BTC market sentiment.
• Added RBlG spectrum, I like Red Black Green spectrum as a background color, as seen in the bottom indicator on the chart.
• Moved to a drop down list for plot style.
• Added an option to plot the top and bottom lines.
릴리즈 노트
1.03
• Aligned with 'RSI vs Longs/Shorts Margin Ratio Percentage Rank' v1.01

• Got rid of the average, not needed

• Added alerts
Alerts can be triggered and or shown on the chart when the Ratio is Above / Below specified values, with the option to filter by the RSI being beyond the displayed upper and lower limits and or the RSI above / below its moving average.
The four indicators displayed in this update show the 1hr BTCBUSD with alerts based on:
Indicator 1: RSI Beyond Bands, RSI MA Filter, Ratio Below 5 and Ratio Above 95
Indicator 2: RSI Beyond Bands, Ratio Below 2 and Ratio Above 98
Indicator 3: Ratio Below 1 and Ratio Above 100
Indicator 4: RSI MA Filter, Ratio Below 2 and Ratio Above 98

• Moved request.security to a function
bitfinexbtcusdbitfinexlongsbitfinexshortsRelative Strength Index (RSI)sentiment

오픈 소스 스크립트

진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

차트에 이 스크립트를 사용하시겠습니까?

면책사항