Open Harmonics · Pattern guide
Crab
A moderate B (38.2–61.8% of XA) followed by a long extension: D completes at about 161.8% of XA, well beyond X.
Idealised bullish shape. The strategy only trades bullish patterns.
The rule, exactly as coded
From classifyStrictSymmetrical in harmonic_master_ledger_quant.pine (commit adaa8cb). Ratios are distances between points; "≈" means within ±6% of the value. Patterns are checked in order and the first match wins (this is #4).
BC/AB between 0.5 and 0.886 (lower bound is the min C retracement input, no tolerance)(line 412)AB/XA between 0.382 and 0.618(line 419)AD/XA ≈ 1.618(line 419)- C not beyond A (line 411)
- D beyond X (line 419)
How it exits
D extends well below X, so the stop sits 1% under D. Half the position takes profit at 1.5R, the stop on the rest moves to entry, and it runs to 2R (3R if D sits on the monthly Camarilla S3). How the exits work, and what we tested →
Results by timeframe
Every Crab the script found across about 500 stocks, no hand-picking and no filters. R is the gain or loss as a multiple of the amount risked; a setup is two equal halves, so its outcome is −1, +0.75, +1.75 or +2.25. The 95% range is clustered by instrument.
| Timeframe | Setups | Share of TF | Win rate | Mean R (95% range) | Profit factor | −1 / +0.75 / +1.75 / +2.25 |
|---|---|---|---|---|---|---|
| 15-minute | 565 | 3.4% | 44.1% | +0.11 (+0.01 to +0.22) | 1.20 | 313 / 56 / 185 / 4 |
| 1-hour | 336 | 2.5% | 44.9% | +0.16 (+0.03 to +0.30) | 1.30 | 182 / 31 / 116 / 4 |
| 4-hour | 98 | 2.5% | 52.0% | +0.30 (+0.05 to +0.55) | 1.64 | 46 / 13 / 38 / 0 |
| Daily | 28 | 1.3% | 46.4% | +0.21 (-0.25 to +0.67) | 1.38 | 15 / 2 / 11 / 0 |
Year by year (mean R)
| Year | 15-minute | 1-hour | 4-hour | Daily |
|---|---|---|---|---|
| 2016 | — | +0.53 n=34 | +0.43 n=7 | +1.06 n=4 |
| 2017 | — | +0.61 n=24 | +1.04 n=6 | -0.08 n=6 |
| 2018 | — | +0.02 n=26 | -0.04 n=14 | -0.42 n=3 |
| 2019 | — | +0.17 n=23 | +0.52 n=12 | +0.38 n=2 |
| 2020 | — | -0.29 n=39 | -0.42 n=3 | +0.38 n=2 |
| 2021 | — | +0.31 n=31 | +0.75 n=11 | — |
| 2022 | — | +0.01 n=34 | +0.18 n=7 | +0.12 n=4 |
| 2023 | +0.22 n=84 | +0.12 n=43 | +0.01 n=17 | -0.31 n=4 |
| 2024 | +0.04 n=172 | +0.18 n=34 | +0.12 n=4 | +1.75 n=2 |
| 2025 | +0.31 n=176 | +0.39 n=25 | +0.00 n=10 | -1.00 n=1 |
| 2026 | -0.13 n=133 | -0.08 n=23 | +0.82 n=7 | — |
Backtests on today's Nasdaq-100 / S&P 500 members (survivorship bias), TradingView Strategy Tester, 0.01% commission, no slippage, all entry filters off. Education and research only — not financial advice.