NeoButane

Stochastic RSI with Divergences

Took my other Log RSI script and plugged in Stochastic RSI to see how divergences play on an oscillator with two lines. Turns out divergences are good at predicting changes in the oscillator but that doesn't mean that the oscillator will always mimic price action.

Log vs. no log is virtually the same.

Credits to
@fskrypt for introducing geometric mean
Divergences by @RicardoSantos (@JustUncleL's edit)
Aug 08
Release Notes: Added toggle for using average of K and D or only K for divergences
Aug 08
Release Notes: Added toggle for (low strikerate) hidden divergences. Now off by default.
Remove from Favorite Scripts Add to Favorite Scripts
My published indicators: https://www.tradingview.com/u/NeoButane/#published-scripts

Bitcoin Core jar: 1Nam3db9hNMDNNxKMj4uypj9Hxh4oUfHEK

Sorry if I haven't replied to your message yet, I'm a bit backlogged :)

Comments

thanks!!!!!
+1 Reply
Good job
+1 Reply
Thank you, very useful!
+1 Reply
Thanks :)
+1 Reply
is there any way to adjust the lookback period?
Reply
how can I get the ALARM???
Reply
NeoButane yanebaby3
@yanebaby3,

alertcondition(regular_bearish_div, "Regular Bearish Stoch RSI", "Regular bearish div. on SRSI")
alertcondition(regular_bullish_div, "Regular Bullish Stoch RSI", "Regular bullish div. on SRSI")
alertcondition(hidden_bearish_div, "Hidden Bearish Stoch RSI", "Hidden bearish div. on SRSI")
alertcondition(hidden_bullish_div, "Hidden Bullish Stoch RSI", "Hidden bullish div. on SRSI")

Add that to the bottom. Just a FYI it will let you know two candles late
Reply
Redallica NeoButane
@NeoButane, Is there a way to make the alerts sent quicker than 2 days late ? let's say just one day ? What do we need to change in the code ?
Thanks
Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Refer a friend My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out