OPEN-SOURCE SCRIPT

[PUZ]Relativ Strength Index [MTB]

Here I provide you with my new RSI indicator.

This RSI has some advantages over the normal Tadingview RSI.
The RSI is usually calculated exclusively on a Candel Close basis. My RSI is calculated on a Candel Close, Open, High, Low basis, which makes it look a little smoother. Furthermore, there are not only 3 support and resistance lines but a total of 7 where the rsi can bounce. These lines can all be set variably under the Style settings.
In addition, the RSI also shows divergences and hidden divergences via red and blue lines.

There is also the option to make trend settings

Option one involves determining the trend based on various selectable moving averages. You can also select the time frame for trend determination.
The trend is shown by coloring the background in the RSI green and red. Of course you can also switch the background on and off.

The second trend option is to determine a Fibbonacci line which is displayed red or green on LVL 100 depending on the trend direction.
In this trend calculation you can also select the time frame yourself and you can use the sensitivity to determine how many previous candels are taken into account to determine the trend.
If a candel close occurs above the 0.5 and 0.236 Fibb LVL, the trend turns green.
If a candel close occurs below the 0.5 and 0.786 Fibb LVL, the trend turns red.

A final additional feature is an output module where the RSI data is scaled between 0 and 1 in order to further process this data in future scripts.

A huge thank you goes out to djmad for providing his math library and another thank you to jdehorty for providing his MLExtension library
CyclesRelative Strength Index (RSI)

Mã nguồn mở

Theo tinh thần TradingView thực sự, tác giả của tập lệnh này đã xuất bản dưới dạng nguồn mở để các nhà giao dịch có thể hiểu và xác minh. Chúc mừng tác giả! Bạn có thể sử dụng miễn phí. Tuy nhiên, bạn cần sử dụng lại mã này theo Quy tắc nội bộ. Bạn có thể yêu thích nó để 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 đồ?

Thông báo miễn trừ trách nhiệm