Spiky Iguana Multi RSI Bands (Reverse RSI for the Price) by RRB

Spiky Iguana Multi RSI Bands by RagingRocketBull 2018
Version 1.0

This indicator shows multiple RSI Bands with prices corresponding to specified overbought/oversold RSI levels.
It is used to extrapolate the exact price levels currently matching a given set of RSI levels based on prior price/ RSI levels action.
You can think of it as a reverse RSI where RSI levels are moving dynamically around the price instead of price bouncing between straight lines.

- 6+6 = 12 customizable Overbought(R)/Oversold(S) RSI Levels + 6 Mean(M) lines
- Multicolor levels/fill ranges
- Show/Hide specific S/R/M levels and fill ranges

1. uses plot*, fill and is based on RSIBANDS_LB

Good Luck! Feel free to explore and learn from the code
Mã nguồn mở

Với tinh thần của TradingView, tác giả đã xuất bản tập lệnh theo mã nguồn mở, vì thế trader có thể dễ dàng hiểu và tùy chỉnh được. Bạn có thể sử dụng miễn phí, hoặc tùy chỉnh lại mã đã được cấp phép bởi Quy tắc Chung. Bạn có thể sử dụng nó trên biểu đồ.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?

Bình luận

+1 Phản hồi
This is very good indeed but it's hard for an eye to catch the price moving visually. Unfortunally, I'm not a programmer and can't help with it)
Phản hồi
@mrgr888n, you can hide everything in settings and leave just a couple of lines on the chart
Phản hồi
mrgr888n RagingRocketBull
@RagingRocketBull, yeah, I did this already
Phản hồi
Very beautiful code.
x = (len - 1) * ( adc * level / (100-level) - auc)
I don't quite understand this sentence. What logic is it based on? Can you explain it? Thx.
Phản hồi

this indicator is based on RSIBANDS_LB. Perhaps, LB himself can better explain how reverse RSI is calculated. I modified his code to add more levels.

RSI Levels are specified in percentages , so some sort of normalization is needed for x - that's what that line does.
auc = AvgU = average of all up moves in the last ep price bars
adc = AvgD = average of all down moves in the last ep price bars

This is how RSI is calculated (script uses the same formula):



Phản hồi
screens for reference:

Phản hồi