OPEN-SOURCE SCRIPT
MACD Divergence with alerts

I got chat gpt to make the default MACD indicator visualy show when a divergence occurs on the chart. And you can have alerts when this happens.
The way it works is it just checks to see if the high/low (green candle followed by red candle) histogram is higher or lower then current price histogram.
Although not 100 percent accurate. I've been using without any problems for awhile and thought i should share it.
Have fun...
The way it works is it just checks to see if the high/low (green candle followed by red candle) histogram is higher or lower then current price histogram.
Although not 100 percent accurate. I've been using without any problems for awhile and thought i should share it.
Have fun...
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。