OPEN-SOURCE SCRIPT
Updated Stochastic RSI w/ Crossover Alerts (by WJ)

NOTE:
// STOCH RSI CODE TAKEN FROM DEFAULT INDICATOR
// I HAVE ONLY MADE SOME ADJUSTMENTS FOR VISUAL AID
// I MADE THIS FOR MY OWN USE BUT HAVE DECIDED TO PUBLISH AND SHARE IN CASE ANYBODY WANTS TO USE IT
This is the normal default built-in Stochastic RSI indicator which I have added some stuff for visual aid:
// STOCH RSI CODE TAKEN FROM DEFAULT INDICATOR
// I HAVE ONLY MADE SOME ADJUSTMENTS FOR VISUAL AID
// I MADE THIS FOR MY OWN USE BUT HAVE DECIDED TO PUBLISH AND SHARE IN CASE ANYBODY WANTS TO USE IT
This is the normal default built-in Stochastic RSI indicator which I have added some stuff for visual aid:
- Added middle line (50)
- Stoch RSI background turns green when K line crosses D line UPWARDS, K line is below the 50 level, and price is above 200 EMA
- Stoch RSI background turns red when K line crosses D line DOWNWARDS, K line is above the 50 level, and price is below 200 EMA
- Alert notification on the crossover candle with background colour change conditions met
Release Notes
- Added OB/OS only crossover alerts (remember to disable the one you don't want as both are on by default)Release Notes
FIxed a mistake in upper and lower band valueRelease Notes
Fixed alert namingRelease Notes
1. Better way to toggle alerts on/off now2. You can now choose alerts to display with different MA filters: EMA, WMA, SMA, None.
Please let me know if there are any bugs especially on the Alerts itself.
Release Notes
K line filter changed to D line instead to give a more accurate signalRelease Notes
Changed it back to K line detection as it's better, apologies for the confusion and trouble of re-adding the indicatorRelease Notes
Changed to both K and D lines as it seems to be the best solutionRelease Notes
Added toggleable background colour change when k line crosses 50Release Notes
Re-publishing as I accidentally updated this with the Stochastic instead.Release Notes
Updated some stuffOpen-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.