Smart FlexRange Breakout

May 10, 2025

Static chart image
Support and Resistance
Volume Based
Signals
Candlestick
Pivot Based (Retrospective)

The Smart FlexRange Breakout indicator identifies trading opportunities by detecting price breakouts from dynamic resistance (CALL) and support (PUT) levels derived from high-impact candlestick analysis.

Usage

The indicator is designed to help traders capitalize on volatility by highlighting key breakout points and subsequent price targets.

  • Setup: Users should first configure the market type, search period (1–6 hours), and the base timeframe (15, 30, or 60 minutes) to align with their specific trading strategy and asset class.
  • Signals: A BUY signal is triggered when the price crosses above the upper "CALL" resistance line. Conversely, a SELL signal is generated when the price crosses below the lower "PUT" support line.
  • Targets: Once a breakout occurs, the tool automatically plots up to 8 Take-Profit (TP) levels based on a user-defined percentage, providing clear exit points.
  • Trend Confirmation: The inclusion of Pivot Point-based trend lines helps traders identify the broader market direction to filter out counter-trend signals.

Details

The core logic of the script relies on scoring candles within a specific lookback period to find the "Most Important Candle." This importance is determined by a weighted combination of:

  1. Candlestick Patterns: Reversal patterns like Hammers or Engulfing candles receive higher scores.
  2. Volume Analysis: Candles with significant trading volume relative to the lookback period are prioritized.

The high and low of this most significant candle become the dynamic breakout boundaries. A dotted centerline is also plotted at the midpoint to act as a visual pivot; prices above the centerline indicate bullish momentum toward the resistance, while prices below suggest bearish pressure toward support.

Settings

General Settings

  • Market: Select the specific market or exchange to synchronize the analysis start times.
  • Search Hours: Define the number of hours (1-6) the script analyzes to find the key candle.
  • Timeframe: Choose between 15, 30, or 60-minute candle intervals for the analysis.
  • TP Percentage (%): Sets the distance between each take-profit target level.
  • Timezone: Adjust the local time offset to match your region.

Visuals and Targets

  • Enable TP1–TP8: Individual toggles to display specific take-profit levels on the chart.
  • Line Styles/Colors: Customize the appearance of upper/lower breakout lines and trend lines.
  • TP Offset: Controls the horizontal positioning of target labels for better chart clarity.

Main Trend Line Settings

  • Main Trend Line Length: Adjusts the period used for the Pivot Point trend line calculation.
  • Trendline Style/Color: Visual customization for the bullish and bearish trend lines.

FAQ

How do I access Smart FlexRange Breakout?

You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.

How are the CALL and PUT levels calculated?

These levels represent the high and low of the most significant candle found within the specified "Search Hours" period, determined by candlestick patterns and volume.

Can I use this on any timeframe?

While you can use the indicator on any chart, the internal analysis logic is specifically optimized for 15, 30, and 60-minute candle data as selected in the settings.

Free access on the following platforms
tradingviewSymbolTradingView
Open in your browser

This in-app browser is not compatible with Get Access from the library.

Tap the menu (...) at the top of your screen and select "Open in Browser", "Open in Safari", or "Open in Chrome" to continue.

ninjatraderNinjaTrader
Open in your browser

This in-app browser is not compatible with Get Access from the library.

Tap the menu (...) at the top of your screen and select "Open in Browser", "Open in Safari", or "Open in Chrome" to continue.

metatrader4MetaTrader 4/5
Open in your browser

This in-app browser is not compatible with Get Access from the library.

Tap the menu (...) at the top of your screen and select "Open in Browser", "Open in Safari", or "Open in Chrome" to continue.

thinkorswimThinkorswim
Open in your browser

This in-app browser is not compatible with Get Access from the library.

Tap the menu (...) at the top of your screen and select "Open in Browser", "Open in Safari", or "Open in Chrome" to continue.

Trading & investing are risky and many will lose money in connection with trading and investing activities. All content on this site is not intended to, and should not be, construed as financial advice. Decisions to buy, sell, hold or trade in securities, commodities and other investments involve risk and are best made based on the advice of qualified financial professionals. Past performance does not guarantee future results.

Hypothetical or Simulated performance results have certain limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not been executed, the results may have under-or-over compensated for the impact, if any, of certain market factors, including, but not limited to, lack of liquidity. Simulated trading programs in general are designed with the benefit of hindsight, and are based on historical information. No representation is being made that any account will or is likely to achieve profit or losses similar to those shown.

Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.

As a provider of technical analysis tools and strategies, we do not have access to the personal trading accounts or brokerage statements of our customers. As a result, we have no reason to believe our customers perform better or worse than traders as a whole based on any content, tool, or platform feature we provide.

Charts used on this site are by TradingView in which the majority of our technical indicators are built on. TradingView® is a registered trademark of TradingView, Inc. www.TradingView.com TradingView® has no affiliation with the owner, developer, or provider of the Services described herein.

Market data is provided by CBOE, CME Group, BarChart, Massive, CoinAPI. Select U.S. equities data is provided through Massive. CBOE BZX real-time U.S. equities data is licensed from CBOE and provided through BarChart. Real-time futures data is licensed from CME Group and provided through BarChart. Select cryptocurrency data, including major coins, is provided through CoinAPI. All data is provided “as is” and should be verified independently for trading purposes.

This does not represent our full Disclaimer. Please read our full disclaimer.

© 2026 LuxAlgo Global, LLC.