I have updated any Divergence for Many Indicators v6 in TradingView, based on Divergence for Many Indicators v4, everyone can give it a try.

1. The code has been updated to Pine Script version V6.

2. The previous Divergence for Many Indicators v4 had the lengths of indicators like MACD and RSI hardcoded, which led to inconsistencies in timing when referring to MACD. I have added custom parameters.

3. I added an alert indicator that combines bottom divergence and top divergence into one. This way, for the custom watchlist alerts, one alert is enough, after all, the premium subscription only allows for alerts on 2 custom watchlists, which can save one.