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!