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!
LuxAlgo Dev: www.luxalgo.com
PineCoder: www.pinecoders.com
- We cannot control our emotions,
but we can control our keyboard -
PineCoder: www.pinecoders.com
- We cannot control our emotions,
but we can control our keyboard -