As mentioned to you about a formula I'm working on at the moment I thought I'd post the underlying formula I'm using as a basis for my research.
To give credit where it's due, this was invented by someone of the name Jose Silva but I'm using it to see if I can use this as the basis of my research into using previous results generated by his formula to create a predictive model to generate or estimate "next peaks"!
Anyway, thought you might like a copy of it. It's helped my immensely in my trading.
I've modified it so it only displays Percentage change as it used to show lots of other information for trading options. If you'd like that one just post a message and I'll put that up as well.
Just create a new indicator and away you go!
pr:=Input("Peak/Trough %minimum change", 0.05,50,8);