scarf

RSI Trendspotter

scarf Wizard 已更新   
Had a bit of a TA epiphany with RSI so bear with me. The time since RSI was last overbought/sold is a solid trend indicator. This may seem obvious but after x number of years trading it hit me like a smack in the face. I've coded this for easy visualisation. They're fairly simple changes but it's making a big difference in my trendspotting already.

In the example CMG hasn't been overbought for 183 days, so the RSI is mostly green:
Before that it hadn't been oversold for 199 days, so RSI is mostly red:
And before that it was ranging like a maf*ckin' sine wave, so the RSI shows green, red, green, red, etc.:
Finally, normal RSI for comparison. Same data, but now with pretty colours:
I've also added overbought/oversold highlights cause that just makes the whole charting thing a lot easier. Enjoy!
版本注释:
Bugger, I said overbought when I mean oversold and vice-versa
版本注释:
Added plot descriptions so peeps and change colours easily. Thanks to FLOW for the feedback
版本注释:
Fixed an issue with colour and the source. Due to Pine Script limitations it's not possible to make this look the same on a black chart, so you will need to manually adjust the colours when you add it to your chart

开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?