Define the three tests before drawing the pattern
Label the lows L1, L2 and L3 in time order, with H1 between L1 and L2 and H2 between L2 and L3. A custom detector needs rules for selecting those swings. The following specification is illustrative; its thresholds are not TradingView defaults or measured optimal settings.
- A fixed 0.5-unit tolerance changes meaning across instruments. A percentage or volatility-scaled tolerance is a different model and needs its own denominator and tests.
- For a repeatable first version, evaluate the latest three qualifying lows. Do not skip a failed middle low simply because an older combination looks better.
- A 5% decline filter does not prove an established downtrend. It makes this example context rule measurable; another definition changes which candidates qualify.
| Rule | Illustrative specification | Reason to reject |
|---|---|---|
| Prior decline | L1 is at least 5% below the highest high of the preceding 20 bars | The example reversal-context filter is not met |
| Distinct pivots | Require three bars on either side with strictly higher lows; reject equal-low ties | An apparent low has not yet received three confirming bars |
| Price tolerance | Highest selected low minus lowest selected low is at most 0.5 price units | One low falls outside the permitted band |
| Spacing | Each low-to-low interval is 8 to 30 bars | Adjacent lows describe one cluster, or the interval is too long |
| Rebound and neckline | Use the highest high strictly between each pair of lows; each rebound is at least 3 units above both adjacent lows. Save the higher high as N | The intervening move is too small to pass this rule |