OPEN-SOURCE SCRIPT
RSI adjusted SuperTrend

This script is a variation on the SuperTrend.
The original function is from Tradingview, the difference is that I added a calculation with RSI
First 50 is subtracted from the RSI.
The absolute value of this number is on its turn divided with 100 or 50 (settings: 'Divide RSI value by')
-> this gives the 'aRSI', which is similar to a percentage
Finally a last calculation is made:
- lower * 'aRSI' is subtracted from the lower band
- upper * 'aRSI' is added to the upper band
If you want to see the Regular ST -> Toggle 'Show Regular ST'
Settings:
- factor (for both SuperTrends)
- ATR length (for SuperTrends)
- RSI length (for 'RSI adjusted SuperTrend')
Cheers!
The original function is from Tradingview, the difference is that I added a calculation with RSI
First 50 is subtracted from the RSI.
The absolute value of this number is on its turn divided with 100 or 50 (settings: 'Divide RSI value by')
-> this gives the 'aRSI', which is similar to a percentage
Finally a last calculation is made:
- lower * 'aRSI' is subtracted from the lower band
- upper * 'aRSI' is added to the upper band
If you want to see the Regular ST -> Toggle 'Show Regular ST'
Settings:
- factor (for both SuperTrends)
- ATR length (for SuperTrends)
- RSI length (for 'RSI adjusted SuperTrend')
Cheers!
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Who are PineCoders?
tradingview.com/chart/SSP/yW5eOqtm-Who-are-PineCoders/
TG Pine Script® Q&A: t.me/PineCodersQA
- We cannot control our emotions,
but we can control our keyboard -
tradingview.com/chart/SSP/yW5eOqtm-Who-are-PineCoders/
TG Pine Script® Q&A: t.me/PineCodersQA
- We cannot control our emotions,
but we can control our keyboard -
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Who are PineCoders?
tradingview.com/chart/SSP/yW5eOqtm-Who-are-PineCoders/
TG Pine Script® Q&A: t.me/PineCodersQA
- We cannot control our emotions,
but we can control our keyboard -
tradingview.com/chart/SSP/yW5eOqtm-Who-are-PineCoders/
TG Pine Script® Q&A: t.me/PineCodersQA
- We cannot control our emotions,
but we can control our keyboard -
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.