yummyprofit

The best MACD line + MACD signal + MACD histogram Divergences

Hi everyone,

Here is a script that synthesizes divergence signals from the MACD indicator, including 3 options: 

- MACD divegence 
- MACD signal divergence 
- MACD histogram divergence

Scripts are used for learning and research purposes. THESE ARE NOT BUY/SELL SIGNALS.
If you have a better idea, share it here or contact me via msg. I will improve this script better in next version.


Settings:
Basically, you only need to care about 2 parameters:

- MACD Source: There are 3 options: macdLine, signLine and histLine.
- Lookback Level For Divs: Number of previously adjacent peak.
- Other parameters, you can research more

Feel free to use, share, comment & provide feedback.
Get indicator or strategy trading signals at yummyprofit.
Good luck!

Protected script
This script is published closed-source but you may use it freely. You can favorite it to use it on a chart. You cannot view or modify its source code.
Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?