OPEN-SOURCE SCRIPT
更新済 Stochastic w/ Crossover Alerts (by WJ)

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 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)
リリースノート
Changed alerts to K line detection as it's better, apologies for the confusion and trouble of re-adding the indicatorリリースノート
Changed to both K and D line as it seems to be the best solutionリリースノート
Added sharper detection mode (toggleable) that also takes whether the k and d lines of the candle before crossover candle into accountリリースノート
Added middle lineリリースノート
Added toggleable background colour change when k line crosses 50リリースノート
Added new alerts for non-OBOS crossoversリリースノート
MA checking was slightly wrong (used OPEN instead of CLOSE), fixedリリースノート
Updated some stuffオープンソーススクリプト
TradingViewの精神に則り、この作者はスクリプトのソースコードを公開しているので、その内容を理解し検証することができます。作者に感謝です!無料でお使いいただけますが、このコードを投稿に再利用する際にはハウスルールに従うものとします。
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、この作者はスクリプトのソースコードを公開しているので、その内容を理解し検証することができます。作者に感謝です!無料でお使いいただけますが、このコードを投稿に再利用する際にはハウスルールに従うものとします。
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。