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

NOTE:
// STOCH RSI 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 RSI indicator which I have added some stuff for visual aid:
// STOCH RSI 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 RSI indicator which I have added some stuff for visual aid:
- Added middle line (50)
- Stoch RSI background turns green when K line crosses D line UPWARDS, K line is below the 50 level, and price is above 200 EMA
- Stoch RSI background turns red when K line crosses D line DOWNWARDS, K line is above the 50 level, and price is below 200 EMA
- Alert notification on the crossover candle with background colour change conditions met
版本注释
- Added OB/OS only crossover alerts (remember to disable the one you don't want as both are on by default)版本注释
FIxed a mistake in upper and lower band value版本注释
Fixed alert naming版本注释
1. Better way to toggle alerts on/off now2. You can now choose alerts to display with different MA filters: EMA, WMA, SMA, None.
Please let me know if there are any bugs especially on the Alerts itself.
版本注释
K line filter changed to D line instead to give a more accurate signal版本注释
Changed it back 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 lines as it seems to be the best solution版本注释
Added toggleable background colour change when k line crosses 50版本注释
Re-publishing as I accidentally updated this with the Stochastic instead.版本注释
Updated some stuff开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。