sehweijun

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:
  • 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
Notas de Lançamento: - Added OB/OS only crossover alerts (remember to disable the one you don't want as both are on by default)
Notas de Lançamento: FIxed a mistake in upper and lower band value
Notas de Lançamento: Fixed alert naming
Notas de Lançamento: 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.
Notas de Lançamento: K line filter changed to D line instead to give a more accurate signal
Notas de Lançamento: Changed it back to K line detection as it's better, apologies for the confusion and trouble of re-adding the indicator
Notas de Lançamento: Changed to both K and D lines as it seems to be the best solution
Script de código aberto

No verdadeiro espírito TradingView, o autor deste script o publicou com código aberto, para que os traders possam compreendê-lo e verificá-lo. Um brinde ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para utilizá-lo em um gráfico.

Quer usar esse script no gráfico?

Comentários

Awesome indicator! It was just the one I was looking for. Thank you for helping out.
Resposta
@murpie, with pleasure
Resposta
Love the indicator! Could you make a specific alert for when it crosses in the over bought and over sold? Currently the alert is activated at any cross. Been able to have an alert for both long and short would be great!
Resposta
sehweijun rubberbandman13
@rubberbandman13, ok will do it when i find time
Resposta
sehweijun rubberbandman13
@rubberbandman13, hello i've just added it onto the updated version, remember to disable the middle crossover as both are on by default
Resposta
This is just what I was looking for -- thank you for sharing!
Resposta
sehweijun roboqueer
@roboqueer, with pleasure!
Resposta
Hi, how can I add an alert for buy and sell. BTW very good indicator that works fine.
Resposta
sehweijun Khaldoon131
@Khaldoon131, hello, create alert on your chart and select the indicator, the alert will appear
Resposta