This 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 "Lookback Level For Divs", this is the number of previously adjacent peak.
Feel free to use, share, comment & feedback. Get indicator trading signals at yummyprofit. Good luck!