# CBC Flip with Targets and Filters

CBC Flip with Targets and Filters is an indicator on [Vela](https://vela.luxalgo.com/chart), our next-generation charting platform, written in Pine Script®.

Candle By Candle flip signals confirmed strictly on closes beyond the prior candle's high or low, each plotted with ATR-scaled targets and stops. A session-anchored VWAP filter aligns entries with or against intraday value, while outcome markers and a hit-rate dashboard grade every setup on the chart. A non-repainting framework for systematic price-action traders.

- Indicator in the LuxAlgo Library, by LuxAlgo, published Feb 16, 2026.
- Access: free.
- Concepts: [Two-bar Reversal](https://www.luxalgo.com/library/concept/two-bar-reversal/) (primary), [Profit Target Taxonomy](https://www.luxalgo.com/library/concept/profit-target-taxonomy/)
- Open on Vela: https://vela.luxalgo.com/chart?pineScriptCodeId=cmpwn0sfa0010vhsgnmwh4s1i
- Page: https://www.luxalgo.com/library/indicator/cbc-flip-with-targets-and-filters/

**CBC Flip with Targets and Filters** builds a complete signal framework around Candle By Candle logic: a bias flip confirms only when a candle closes beyond the previous candle's high or low, a stricter cousin of the [two-bar reversal](https://www.luxalgo.com/library/concept/two-bar-reversal/) that ignores intrabar wicks entirely. Every confirmed flip plots ATR-scaled [profit targets](https://www.luxalgo.com/library/concept/profit-target-taxonomy/) and stops, an optional session-anchored VWAP filter aligns signals with intraday value, and outcome markers grade each setup where it happened.

## How to Trade the CBC Flip with Targets and Filters?

- **Bullish flip triangle**: the candle closed above the prior high; target and stop draw at their ATR multiples.
- **Bearish flip triangle**: a close below the prior low mirrors the setup downward.
- **Confirmation VWAP mode**: longs only above the session VWAP, shorts only below it: trend-following alignment with intraday flow.
- **Contrarian VWAP mode**: takes flips against value for mean-reversion trades.
- **Circle and X markers**: a circle means the target was reached first, an X means the stop was.

Flips confirm only on closed candles, and each target and stop is set once from the flip's close and ATR, so signals and levels do not repaint: history reflects what live execution would have shown. Targets count as reached on a touch, and stops do too unless Require candle close to stop is enabled. A dashboard adds hit rate, sample size, and progress toward the active target.

## CBC Flip with Targets and Filters Settings

- **ATR Length**: volatility lookback behind target and stop sizing.
- **Target ATR Multiplier** / **Stop ATR Multiplier**: distances of the profit target and stop from the flip.
- **Require candle close to stop**: trigger stops on a touch, or only once a candle closes beyond the level.
- **Show Daily Anchored VWAP** / **Filter Bias by VWAP**: display the session VWAP and pick No Filter, Confirmation, or Contrarian.
- **Historical Trade Count**: sample size behind the hit-rate statistic; other toggles cover flip labels, outcome markers, label size, and the dashboard.

## Frequently Asked Questions

### Does the CBC Flip indicator repaint?

No. Flips, targets, and stops all compute from confirmed closes, so nothing redraws later and history matches real-time behavior, which is what makes the on-chart hit rate meaningful.

### Where does the VWAP filter help most?

The filter anchors to the daily session, so it earns its keep intraday. Confirmation mode keeps you on the side of dominant session flow; Contrarian mode hunts exhaustion flips back toward value when price is stretched.

### How do I get the CBC Flip with Targets and Filters?

It is free on the LuxAlgo Library, no subscription required. If close-confirmed reversal logic appeals to you, the [Three Bar Reversal Pattern](https://www.luxalgo.com/library/indicator/three-bar-reversal-pattern/) explores a related structure over three candles. You can also copy the source code from this page and run it anywhere Pine Script® runs.

## Related indicators

- [Candle 2 Closure](https://www.luxalgo.com/library/indicator/candle-2-closure/) (Two-bar Reversal): markdown at https://www.luxalgo.com/library/indicator/candle-2-closure.md
- [Market Structure Targets Model](https://www.luxalgo.com/library/indicator/market-structure-targets-model/) (Profit Target Taxonomy): markdown at https://www.luxalgo.com/library/indicator/market-structure-targets-model.md
- [Targets For Overlay Indicators](https://www.luxalgo.com/library/indicator/targets-for-overlay-indicators/) (Profit Target Taxonomy): markdown at https://www.luxalgo.com/library/indicator/targets-for-overlay-indicators.md
- [Long Wick Detector](https://www.luxalgo.com/library/indicator/long-wick-detector/) (Pin Bar): markdown at https://www.luxalgo.com/library/indicator/long-wick-detector.md
- [The Strat](https://www.luxalgo.com/library/indicator/the-strat/) (Inside Bar): markdown at https://www.luxalgo.com/library/indicator/the-strat.md
- [N Bar Reversal Detector](https://www.luxalgo.com/library/indicator/n-bar-reversal-detector/) (Three-bar Reversal): markdown at https://www.luxalgo.com/library/indicator/n-bar-reversal-detector.md
- [Wide-range Bar](https://www.luxalgo.com/library/indicator/wide-range-bar/) (Chart & Candlestick Patterns): markdown at https://www.luxalgo.com/library/indicator/wide-range-bar.md
- [Engulfing Bar](https://www.luxalgo.com/library/indicator/engulfing-bar/) (Chart & Candlestick Patterns): markdown at https://www.luxalgo.com/library/indicator/engulfing-bar.md

---

Source: https://www.luxalgo.com/library/indicator/cbc-flip-with-targets-and-filters/ (LuxAlgo Library). Free to use with attribution: https://www.luxalgo.com/library/license/
