mgibson91

MG - MACD - Divergence - 1.0

The MACD indicator can produce some powerful divergence signals which can be useful confirmation for entering / exiting a trade.

This indicator generates and alert and plots (if enabled), when a divergence is detected. For example, if bullish (above zero) and two bearish MACD crosses are detected with the second being lower than the first, a bearish divergence alert is triggered. Theoretically a good place to take profit / possibly enter a short position if you have further confirmation.

Can also be configured to include continuation signals i.e. a bullish trend with two bullish MACD crosses where the second is higher than the first. This could indicate more bullish action ahead.


In order to illustrate how this indicator helps to sift out a good amount of false signals, I have highlighted in the above image in dark green, all of the divergence buy signals highlighted by the indicator and in light green, the rest of the MACD buy signals.

สคริปต์โอเพนซอร์ซ

ด้วยจิตวิญญาณของ TradingView อย่างแท้จริง ผู้เขียนสคริปต์นี้ได้เผยแพร่เป็นโอเพนซอร์ส เพื่อให้ผู้ค้าสามารถเข้าใจและตรวจสอบได้ ไชโยให้กับผู้เขียน! คุณสามารถใช้ได้ฟรี แต่การใช้รหัสนี้ซ้ำในสิ่งพิมพ์อยู่ภายใต้กฎระเบียบการใช้งาน คุณสามารถตั้งเป็นรายการโปรดเพื่อใช้บนชาร์ตได้

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ เงื่อนไขการใช้บริการ

ต้องการที่จะใช้สคริปต์นี้บนชาร์ตใช่ไหม?