Define the lows, spacing and rebound before searching
For a repeatable double bottom chart pattern, label the first low L1, the second low L2 and the highest high strictly between them N. The following custom specification is illustrative. Its thresholds are neither recommended settings nor a reproduction of the TradingView detector. Use ordinary price candles and evaluate the latest two confirmed lows when no candidate is active.
- The fixed rebound threshold belongs to this numerical example. It has a different meaning on a $5 stock and a $500 stock. A percentage or volatility-based alternative needs its own definition.
- The prior-decline filter is a measurable choice, not proof of a persistent downtrend. Changing that filter changes the candidate sample.
- Keep a candidate active for 20 completed bars starting with L2 confirmation. Freeze L1, L2 and N for that window; do not keep raising N as later highs appear.
| Decision | Illustrative rule | What it excludes |
|---|---|---|
| Prior decline | The close immediately before L1 is at least 8% below the close 20 bars before L1 | A W inside a flat range that lacks this chosen reversal context |
| Distinct lows | Each low has three bars on each side with strictly higher lows; reject ties | A low still waiting for its three right-side bars |
| Low tolerance | Absolute difference between L1 and L2 divided by L1 is at most 1%; require positive prices | A second low outside the permitted band |
| Spacing | 10 to 40 bars between the selected low bars, inclusive | Neighboring candles that belong to one test, or a stale pairing |
| Rebound height | N exceeds the higher of L1 and L2 by at least 3.5 price units | A shallow bounce between otherwise similar lows |