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提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。