OPEN-SOURCE SCRIPT

Stochastic w/ Crossover Alerts (by WJ)

Actualizado
NOTE:
// STOCHASTIC 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 indicator which I have added some stuff for visual aid:
  • Stochastic background turns green when K line crosses D line UPWARDS, D line is below the oversold level, and price is above selected MA
  • Stochastic background turns red when K line crosses D line DOWNWARDS, D line is above the overbought level, and price is below selected MA
  • Alert notification on the crossover candle with background colour change when conditions are met (MA filter)
Notas de prensa
Changed alerts to K line detection as it's better, apologies for the confusion and trouble of re-adding the indicator
Notas de prensa
Changed to both K and D line as it seems to be the best solution
Notas de prensa
Added sharper detection mode (toggleable) that also takes whether the k and d lines of the candle before crossover candle into account
Notas de prensa
Added middle line
Notas de prensa
Added toggleable background colour change when k line crosses 50
Notas de prensa
Added new alerts for non-OBOS crossovers
Notas de prensa
MA checking was slightly wrong (used OPEN instead of CLOSE), fixed
Notas de prensa
Updated some stuff
Stochastic Oscillator

Script de código abierto

Siguiendo fielmente el espíritu de TradingView, el autor de este script lo ha publicado en código abierto, permitiendo que otros traders puedan entenderlo y verificarlo. ¡Olé por el autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la reutilización de este código en la publicación se rige por las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

¿Quiere utilizar este script en un gráfico?

Exención de responsabilidad