OPEN-SOURCE SCRIPT
Taught to Trade - Configurable Stochastics

A stochastic oscillator that exposes the parts most versions hide. It plots fast %K, slow %K, and slow %D, and lets you choose the smoothing method — SMA, EMA, WMA, or HMA — instead of forcing plain SMA. Same classic stochastic math, with more control over how it responds.
How to use: Read overbought/oversold levels and %K/%D crosses the way you would with any stochastic. Faster smoothing (HMA/WMA) reacts sooner but produces more false turns; slower smoothing (SMA) is steadier but later. Set your own alerts from the conditions provided.
Where it fails: Stochastics whipsaw in strong trends — they can sit "overbought" while price keeps rising. This is best used as ranging or confirmation context, not as a standalone trigger. Signals evaluate on the bar close and can change intrabar.
Educational tool only. Not investment advice, and it does not send buy or sell signals.
How to use: Read overbought/oversold levels and %K/%D crosses the way you would with any stochastic. Faster smoothing (HMA/WMA) reacts sooner but produces more false turns; slower smoothing (SMA) is steadier but later. Set your own alerts from the conditions provided.
Where it fails: Stochastics whipsaw in strong trends — they can sit "overbought" while price keeps rising. This is best used as ranging or confirmation context, not as a standalone trigger. Signals evaluate on the bar close and can change intrabar.
Educational tool only. Not investment advice, and it does not send buy or sell signals.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.