Market Structure & Fibonacci Zones + RR
By LuxAlgoJul 6, 2026
Market Structure & Fibonacci Zones + RR is an indicator on Vela, our next-generation charting platform, written in Pine Script®.
Market Structure & Fibonacci Zones + RR chains three jobs into one systematic workflow: it reads trend direction from pivots in the swing structure, projects a Fibonacci 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
Free to use
Run it on Vela. Go further with a paid plan.
- Up to 500 Custom Alerts, with webhook automation
- Up to 10× the chart history of Free
- Orderflow lookback up to full history
- More Quant usage to customize it, plus extra usage when you need it
- Futures data alongside crypto, stocks, forex and commodities
Also works on
Related indicators
All 17 Swing Structure Grammar indicatorsRun it on Vela. Make it yours with Quant.
Open this indicator free on Vela, our next-generation charting platform. Then ask Quant, our coding agent built into Vela, to retune it or turn it into a backtested strategy of your own.





