As you know, divergence can be problematic to implement.
Based on the above specifications, this is my attempt.
We use fractals are used as a reference point, other alternatives, like zig zag should be considered.
The indicator is designed as a helper only, and will not provide any alert.
Only most recent pivot points are consiresed, historical alert are not provided.
This is only a starting point to build on, your suggestions are welcome, feel free to modify.