INVITE-ONLY SCRIPT

MACD w/ Divergences (Alert)

已更新
To best use the MACD Divergence indicators, adjust the following settings accordingly.
• MACD Bullish Divergence Under: <0 (lower for larger volatility and more bearish markets)
• MACD Bearish Divergence Above: >0 (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.
版本注释
Feature added to identify the divergences after MACD up/down crosses the signal line.
convergenceDivergenceMoving Average Convergence / Divergence (MACD)macdbearishdivergencemacdbullishdivergencemacd_divergencemacdivergence

仅限邀请脚本

仅限作者授权的用户访问此脚本,并且通常需要付费。您可以将其添加到收藏中,但是只有在向作者请求并获得许可之后,才能使用它。 请联系Phi-Deltalytics了解更多信息,或按照以下作者的说明操作。

TradingView不建议付费使用脚本,除非您100%信任作者并了解脚本的工作原理。在许多情况下,您可以在我们的社区脚本免费找到不错的开源替代方案。

作者的说明

Message for access.

想在图表上使用此脚本?

警告:请在申请访问权限之前阅读

Building the future global economic system
更多:

免责声明