TradingView
Tutorial05
30 maj 2021 09:32

Stochastic RSI w/ Crossover Alerts (by WJ) 

Bitcoin / TetherUSBinance

Beskrivning

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:
  • 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

Versionsinformation

- Added OB/OS only crossover alerts (remember to disable the one you don't want as both are on by default)

Versionsinformation

FIxed a mistake in upper and lower band value

Versionsinformation

Fixed alert naming

Versionsinformation

1. Better way to toggle alerts on/off now
2. 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.

Versionsinformation

K line filter changed to D line instead to give a more accurate signal

Versionsinformation

Changed it back to K line detection as it's better, apologies for the confusion and trouble of re-adding the indicator

Versionsinformation

Changed to both K and D lines as it seems to be the best solution

Versionsinformation

Added toggleable background colour change when k line crosses 50

Versionsinformation

Re-publishing as I accidentally updated this with the Stochastic instead.

Versionsinformation

Updated some stuff
Kommentarer
gilvel2009
is there a way to set an alert when it crosses over (trend reversal)
Tutorial05
@gilvel2009, wym crosses over
Tweezer_Karanam
Thank you very for publishing the indicator .I Love this this indicator . I am testing this today and found that alert for "Stoch RSI Crossover (OS/OB)" not generating. One more thing is crossup is only highlighting not the cross down. It try fix it still not working ,I might be missing something. Would you please look into this when ever you get time ?
Tutorial05
@Tweezer_Karanam, might be filtered by the MA. Try switching MA to None and see if it shows. Do the bars get coloured? If they do the alerts should work. You have to set alerts for every bar close
bangyaz
hi @Tutorial05
What do you think if your stoch indicator added with predicting the occurence of choch/BOS for first step (as additional confluence) before triggering alert?

And when the price pulls back and then touches the OS/OB level (that we set ourselves), it will trigger an alert?

So the step will be :
ChoCh/BOS
Price pullback which touch OS/OB level (we set ourselves)
Candle close
Alert triggered

Let me know if this may apply charges
Thank you so much before :)
bangyaz
hi tutorial05, what do you think if these setup is added with predicting the occurence of choch/BOS first (as additional confluence), then when the price pulls back and then touches the OS/OB level (that we set ourselves), it will trigger an alert?
Sensus
I really like this indicator but man its hard to get the alert to work .. Only works like 50 % of the time .. Im trying to use the OB/OS alert
Tutorial05
@Sensus, what are u trying to do and what are your settings
Sensus
@Tutorial05, Hi ! Thank you for your reply .. Im trying to get the alerts to fire when there is a cross over on the 1 h TF on BTC .. But out of 3 possible times it only did it once and on all 3 occasions it was indeed either in the OS or OB section .. My settings in the inputs section of the indicator : Upper band 80 , Lower band 20 and i only have the Crossover alert Background colour ( OB/OS Level ) On/Off ,,, Alert settings in Trading View : Condition : Stoch RSI Crossover ( OS/OB ). Trigger : Once per bar. Im i missing something ?
Tutorial05
@Sensus, have u checked whether both k and d are in the ob os zones? Are visuals not detecting the crossovers or only alerts?
Mer