I like a pattern where a detected cyclical inflection point is near a minimum followed by a predicted cyclical inflection point near a maximum.
Example for SAIC Science Applications International Corporation:
View attachment 262200
y axis is price. x axis is calendar days from 20210228 through 20210630 (123 calendar days). + signs are close prices (interpolated when the market was closed). smooth curve is parabola representing the trend (10 overlapping models). wavy curve is trend plus three cosine waves for the cyclical part (10 overlapping models).
A sample model is:
Code:
y = 91.2834777832031 - 0.141938492655754 * x + 0.00139776105061173 * x * x
+ 2.9154794216156 * cos(twopi / 40.1655085347047 * x + 3.46529150009155)
+ 2.08321166038513 * cos(twopi / 29.6157825190041 * x + 2.67856240272522)
+ 1.53341674804688 * cos(twopi / 23.8787345374999 * x + 1.54169023036957) ;
The trend is the parabola: 91.2834777832031 - 0.141938492655754 * x + 0.00139776105061173 * x * x.
The sum of the amplitudes is 2.9154794216156 + 2.08321166038513 + 1.53341674804688 == 6.53210783004761 which is the model's maximum absolute distance from the trend.
Software calculated the numeric values in the model (not including twopi) with genetic optimization for an attempted least squares fit.
The chart with the trend removed from this model (detrended) and the prices subtracted from the trend are:
View attachment 262201
This shows a cyclical inflection point on 20210630 (-5.40582674441694 away from the trend), and the next predicted cyclical inflection point on 20210715 (6.33096122298606 away from the trend).
These inflection points are close to the minimum and maximum for the combined cosine waves.
This predicts the next day (20210701) might be a good time to enter long and 20210715 might be a good time to exit.
The three cosine waves for this model are:
View attachment 262202
This visually shows the three cosine waves aren't too far from their minimums at the end of the actual data (20210630). And the three cosine waves are predicted to be close to their maximum on 20210715.