# Market Structure & Fibonacci Zones + RR

Market Structure & Fibonacci Zones + RR is an indicator on [Vela](https://vela.luxalgo.com/chart), our next-generation charting platform, written in Pine Script®.

Market Structure & Fibonacci Zones + RR detects breaks of structure, projects a Fibonacci zone between the 38.2% and 50% retracement behind each one, and waits for price to confirm inside the zone before drawing an automatic risk/reward box: stop at the origin of the trend, target at your chosen ratio. A complete, systematic pullback-entry workflow on a single chart.

- Indicator in the LuxAlgo Library, by LuxAlgo, published Jul 6, 2026.
- Access: free.
- Concepts: [Swing Structure Grammar](https://www.luxalgo.com/library/concept/swing-structure-grammar/) (primary), [Fib Retracement](https://www.luxalgo.com/library/concept/fib-retracement/), [R-multiple Framework](https://www.luxalgo.com/library/concept/r-multiple-framework/)
- Open on Vela: https://vela.luxalgo.com/chart?pineScriptCodeId=cmr9lhdlx002ll404fsxiab3b
- Page: https://www.luxalgo.com/library/indicator/market-structure-fibonacci-zones-rr/

**Market Structure & Fibonacci Zones + RR** chains three jobs into one systematic workflow: it reads trend direction from pivots in the [swing structure](https://www.luxalgo.com/library/concept/swing-structure-grammar/), projects a [Fibonacci retracement](https://www.luxalgo.com/library/concept/fib-retracement/) zone behind every break of structure, and manages the resulting setup with an automatically drawn risk/reward box.

## How to Trade the Market Structure & Fibonacci Zones + RR?

- **BOS line and label**: printed when price closes above the last pivot high while the trend is bearish or neutral, or below the last pivot low while it is bullish or neutral, marking a flip in trend direction.
- **Fibonacci box**: after a confirmed break, the zone from the 38.2% to the 50% retracement of the break leg marks where a pullback may end; it stays active until price interacts with it.
- **Confirmed entries only**: a setup triggers when price returns into the box and shows reversal evidence, such as a candle closing in the trend's direction.
- **Automatic trade frame**: the risk/reward box places the stop at the origin of the trend and the take profit at your configured ratio.

The script tracks each setup's state internally (trend, mitigation, trigger), so each zone can move from projection to mitigation to entry; with Show Only Valid Setups on, zones that never trigger are cleared when the next break of structure prints.

## Market Structure & Fibonacci Zones + RR Settings

- **Market Structure Term**: Short, Mid, or Long pivot sensitivity. Short yields frequent signals suited to scalping, Long maps major trends.
- **Show Only Valid Setups**: clears non-triggered setups to keep the workspace focused on active opportunities.
- **Risk/Reward Ratio**: the target multiple; at 2.0 the take profit sits twice as far away as the stop.
- **Bullish Color** / **Bearish Color**: styling for buy-side and sell-side elements.

## Frequently Asked Questions

### How should I read the Fibonacci box?

As an optimal-trade-entry zone: the area where a pullback within the fresh structure is often expected to end. Wait for price to trade back into it and confirm before acting. The indicator itself demands that confirmation.

### Are there related tools built on the same idea?

Yes. [MSS Sweep Fib Retrace](https://www.luxalgo.com/library/indicator/mss-sweep-fib-retrace/) anchors a comparable retracement entry to structure shifts and liquidity sweeps. For pullback traders it is a natural next study.

### How do I access Market Structure & Fibonacci Zones + RR?

It's a free LuxAlgo Library indicator. Add it to your chart from this page. You can also hand it to Quant, our coding agent, to backtest from right here. You can also copy the source code from this page and run it anywhere Pine Script® runs.

## Related indicators

- [Swing Structure Scanner](https://www.luxalgo.com/library/indicator/swing-structure-scanner/) (Swing Structure Grammar): markdown at https://www.luxalgo.com/library/indicator/swing-structure-scanner.md
- [HTF Swing Structure Signals](https://www.luxalgo.com/library/indicator/htf-swing-structure-signals/) (Swing Structure Grammar): markdown at https://www.luxalgo.com/library/indicator/htf-swing-structure-signals.md
- [Candlestick Structure](https://www.luxalgo.com/library/indicator/candlestick-structure/) (Swing Structure Grammar): markdown at https://www.luxalgo.com/library/indicator/candlestick-structure.md
- [Price Action Concepts](https://www.luxalgo.com/library/indicator/luxalgo-price-action-concepts/) (Swing Structure Grammar): markdown at https://www.luxalgo.com/library/indicator/luxalgo-price-action-concepts.md
- [Market Structure (Intrabar)](https://www.luxalgo.com/library/indicator/market-structure-intrabar/) (Swing Structure Grammar): markdown at https://www.luxalgo.com/library/indicator/market-structure-intrabar.md
- [Market Structure Oscillator](https://www.luxalgo.com/library/indicator/market-structure-oscillator/) (Swing Structure Grammar): markdown at https://www.luxalgo.com/library/indicator/market-structure-oscillator.md
- [Fibonacci Toolkit](https://www.luxalgo.com/library/indicator/fibonacci-toolkit/) (Fib Retracement): markdown at https://www.luxalgo.com/library/indicator/fibonacci-toolkit.md
- [Fibonacci Grid](https://www.luxalgo.com/library/indicator/fibonacci-grid/) (Fib Retracement): markdown at https://www.luxalgo.com/library/indicator/fibonacci-grid.md

---

Source: https://www.luxalgo.com/library/indicator/market-structure-fibonacci-zones-rr/ (LuxAlgo Library). Free to use with attribution: https://www.luxalgo.com/library/license/
