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.
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。