INVITE-ONLY SCRIPT
已更新 RSI w/ MAs & Divergences (Alert)

This script fires off real-time RSI Divergence alerts.
To best use the RSI Divergence indicators, adjust the following settings accordingly.
• RSI Bullish Divergence Under: 20 – 45 (lower for larger volatility and more bearish markets)
• RSI Bearish Divergence Above: 55 – 80 (higher for larger volatility and more bullish markets)
Key Notes:
1. Set "Once Per Bar" instead of "Once Per Bar Close" alert.
The strategy already uses prior bar close (instead of current bar close) for calculation. This ensures that the signals will stay as they are after fired off, even when the current bar price is still changing.
2. It's OKAY to see the "alert may trigger differently than expected" warning.
Reason why you are seeing this warning is because we used a function called valuewhen() in our strategy. This function does not look at the entire history of data and has several limitations. For instance, on a 30min resolution, at the end of 2018, the function will be able to find past occurrences of BTC exceeding 16k. However, the function won't be able to find such occurrences at the end of 2019. Since our strategy is only concerned with very recent events, these limitations will not impact our results or cause repainting. You can find out more about this in the TradingView Wiki.
To best use the RSI Divergence indicators, adjust the following settings accordingly.
• RSI Bullish Divergence Under: 20 – 45 (lower for larger volatility and more bearish markets)
• RSI Bearish Divergence Above: 55 – 80 (higher for larger volatility and more bullish markets)
Key Notes:
1. Set "Once Per Bar" instead of "Once Per Bar Close" alert.
The strategy already uses prior bar close (instead of current bar close) for calculation. This ensures that the signals will stay as they are after fired off, even when the current bar price is still changing.
2. It's OKAY to see the "alert may trigger differently than expected" warning.
Reason why you are seeing this warning is because we used a function called valuewhen() in our strategy. This function does not look at the entire history of data and has several limitations. For instance, on a 30min resolution, at the end of 2018, the function will be able to find past occurrences of BTC exceeding 16k. However, the function won't be able to find such occurrences at the end of 2019. Since our strategy is only concerned with very recent events, these limitations will not impact our results or cause repainting. You can find out more about this in the TradingView Wiki.
版本注释
Divergence min/max look-back periods enabled. 仅限邀请脚本
只有作者授权的用户才能访问此脚本。您需要申请并获得使用许可。通常情况下,付款后即可获得许可。更多详情,请按照下方作者的说明操作,或直接联系Phi-Deltalytics。
TradingView不建议您付费购买或使用任何脚本,除非您完全信任其作者并了解其工作原理。您也可以在我们的社区脚本找到免费的开源替代方案。
作者的说明
Building the future global economic system
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
仅限邀请脚本
只有作者授权的用户才能访问此脚本。您需要申请并获得使用许可。通常情况下,付款后即可获得许可。更多详情,请按照下方作者的说明操作,或直接联系Phi-Deltalytics。
TradingView不建议您付费购买或使用任何脚本,除非您完全信任其作者并了解其工作原理。您也可以在我们的社区脚本找到免费的开源替代方案。
作者的说明
Building the future global economic system
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。