Tutorial05

Stochastic w/ Crossover Alerts (by WJ)

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

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?