One idea that I'm experimenting with that could help is fitting cycles with left or right translation.Right. Now, if all price action looked like this then trading would be much easier!
https://en.wikipedia.org/wiki/Sine_wave#/media/File:ComplexSinInATimeAxe.gif
For example, here is a 4-month chart (123 calendar days with interpolation on days the market was closed) of iShares iBoxx $ High Yield Corporate Bond ETF (HYG) with a parabola as a trend line added to cosine wave to fit the low prices of the bar:
And here is the same chart with a cosine wave with the same cosine wave but also left-translated to fit the prices a little better:
The waves isolated from the trend were:
