# Rising/falling Three Methods

Rising/falling Three Methods is an indicator on [Vela](https://vela.luxalgo.com/chart), our next-generation charting platform, written in Pine Script®.

Detects rising and falling three methods patterns with 2 to 5 middle candles contained inside the first candle's range, long first and resolution bodies at 1.2x a 14-bar average, and a 50-bar SMA trend filter by default. Draws the containment zone, labels completions R3M or F3M, and extends an invalidation level from the far end of the range, with three completion alerts.

- Indicator in the LuxAlgo Library, by LuxAlgo, published Jul 28, 2026.
- Access: free.
- Concepts: [Rising/falling Three Methods](https://www.luxalgo.com/library/concept/rising-falling-three-methods/) (primary)
- Open on Vela: https://vela.luxalgo.com/chart?pineScriptCodeId=j5e2sdv05mh1ws2uei9teflo
- Page: https://www.luxalgo.com/library/indicator/rising-falling-three-methods/

**Rising/falling Three Methods** scans every confirmed bar for the classic five-candle continuation template and its practical variants. A long body with the trend, a pause of small contained candles, then another long body finishing past where the first candle closed completes the [rising or falling three methods](https://www.luxalgo.com/library/concept/rising-falling-three-methods/); the build shades the containment zone, labels the completion R3M or F3M, and extends the invalidation level (the first candle's opposite extreme) past the resolution bar.

## How to Trade the Rising/falling Three Methods?

- **R3M / F3M label**: the continuation confirms at the close of the resolution candle; the tooltip records middle-candle count and invalidation price.
- **Invalidation level**: a return through the far end of the containment range negates the pattern, its natural stop reference, drawn dashed.
- **Volume convention**: with the optional check on, the pause must contract in volume and the resolution expand, the flag convention applied to the candlestick form.

## Rising/falling Three Methods Settings

- **Minimum Middle Candles** (default 2) and **Maximum Middle Candles** (default 5): the accepted pause lengths; the classical form uses exactly three.
- **Containment Basis** (default High-Low Range): Real Body adds the strict body-within-body reading, rarer and cleaner.
- **Containment Tolerance %** (default 0): allowance for minor violations; a middle-candle close through the far end always voids.
- **Body Average Length** (default 14), **Long Body Factor** (default 1.2), **Small Body Factor** (default 0.5): what counts as long impulse and small resting bodies.
- **Trend Filter** (default SMA) with **Trend Length** (default 50): context at the first candle.
- **Volume Confirmation** (default off): ignored without volume data.
- **Containment Zone** and **Pattern Labels** (on), **Invalidation Level** (on) with **Extension** (default 10).

## Frequently Asked Questions

### Isn't this just a flag in candlestick language?

Same market behavior, different test. A [bull and bear flag detector](https://www.luxalgo.com/library/indicator/bull-bear-flag/) fits sloped boundaries to swing structure of any width; the three methods is a fixed candle template with explicit containment, body sizes and confirming close.

### Why didn't a textbook-looking sequence fire?

Usually the bodies: the first and resolution candles must exceed the Long Body Factor times the average body, each middle body must fit the Small Body Factor of the first body, and the last middle candle must close on the counter-trend side of the first close.

### Does the pattern repaint?

No. Detection runs on confirmed bars, so the zone, label and invalidation line appear at the close of the resolution candle and never redraw afterward.

## Related indicators

- [On-neck / In-neck / Thrusting](https://www.luxalgo.com/library/indicator/on-neck-in-neck-thrusting/) (Chart & Candlestick Patterns): markdown at https://www.luxalgo.com/library/indicator/on-neck-in-neck-thrusting.md
- [Swing Highs/Lows & Candle Patterns](https://www.luxalgo.com/library/indicator/swing-highs-lows-candle-patterns/) (Hammer): markdown at https://www.luxalgo.com/library/indicator/swing-highs-lows-candle-patterns.md
- [Reversal Candlestick Structure](https://www.luxalgo.com/library/indicator/reversal-candlestick-structure/) (Hammer): markdown at https://www.luxalgo.com/library/indicator/reversal-candlestick-structure.md
- [Candlestick Structure](https://www.luxalgo.com/library/indicator/candlestick-structure/) (Doji): markdown at https://www.luxalgo.com/library/indicator/candlestick-structure.md
- [Evening Star](https://www.luxalgo.com/library/indicator/evening-star/) (Chart & Candlestick Patterns): markdown at https://www.luxalgo.com/library/indicator/evening-star.md
- [Hanging Man](https://www.luxalgo.com/library/indicator/hanging-man/) (Chart & Candlestick Patterns): markdown at https://www.luxalgo.com/library/indicator/hanging-man.md
- [Candlestick Channels](https://www.luxalgo.com/library/indicator/candlestick-channels/) (Hammer): markdown at https://www.luxalgo.com/library/indicator/candlestick-channels.md
- [Belt Hold](https://www.luxalgo.com/library/indicator/belt-hold/) (Chart & Candlestick Patterns): markdown at https://www.luxalgo.com/library/indicator/belt-hold.md

---

Source: https://www.luxalgo.com/library/indicator/rising-falling-three-methods/ (LuxAlgo Library). Free to use with attribution: https://www.luxalgo.com/library/license/
