OPEN-SOURCE SCRIPT

Stochastic w/ Crossover Alerts (by WJ)

Aktualisiert
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)
Versionshinweise
Changed alerts to K line detection as it's better, apologies for the confusion and trouble of re-adding the indicator
Versionshinweise
Changed to both K and D line as it seems to be the best solution
Versionshinweise
Added sharper detection mode (toggleable) that also takes whether the k and d lines of the candle before crossover candle into account
Versionshinweise
Added middle line
Versionshinweise
Added toggleable background colour change when k line crosses 50
Versionshinweise
Added new alerts for non-OBOS crossovers
Versionshinweise
MA checking was slightly wrong (used OPEN instead of CLOSE), fixed
Versionshinweise
Updated some stuff
Stochastic Oscillator

Open-source Skript

Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun das Script auch andere Trader verstehen und prüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden. Die Nutzung dieses Codes in einer Veröffentlichung wird in unseren Hausregeln reguliert. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Möchten Sie dieses Skript auf einem Chart verwenden?

Haftungsausschluss