Use the public Simple Decycler formula
The September 2015 Stocks & Commodities Traders Tips page publishes the calculation alongside the Decyclers article. Let P be price, H the high-pass component and D the Decycler. The formulas below use radians; the published degree argument 0.707 × 360 / L becomes 0.707 × 2π / L. L is the high-pass period, and brackets refer to earlier bars.
- At L = 125, α = 0.034920868, q = 0.965079132 and k = 0.965383999. Keep full precision internally; these displays are rounded.
- The example preserves 0.707 from the published formula. Replacing it with 1/√2 changes the coefficients slightly. Record this choice when comparing ports.
- D + H = P is an arithmetic identity. It does not mean the two outputs are statistically independent or that their squared amplitudes add to the input energy.
| Quantity | Calculation |
|---|---|
| Angle and coefficient | θ = 0.707 × 2π / L; α = (cos θ + sin θ − 1) / cos θ |
| Feedback and input weights | q = 1 − α; k = (1 − α/2)² |
| High-pass component | H = k(P − 2P[1] + P[2]) + 2qH[1] − q²H[2] |
| Price overlay | D = P − H |