Auto TrendLine Intelligence
May 30, 2026

The Auto TrendLine Intelligence [BOS+CHoCH+FVG] tool provides a multi-layered market structure analysis system that automates trend line detection alongside Smart Money Concepts (SMC) to identify institutional-grade entry and exit zones.
Usage
The Usage section describes how the script can be used, examples should be provided in this section. This tool functions as a complete overlay for identifying trend continuation and reversal points through structural breaks and liquidity zones.
Market Structure Identification
The indicator automatically plots Major (solid) and Minor (dashed) trend lines based on pivot lookback periods. Users can use Major lines to define the primary trend and Minor lines for refined entry timing. When price breaks these structural levels, the script labels the event as a Break of Structure (BOS) for trend continuation or a Change of Character (CHoCH) for potential reversals.
Supply and Demand Zones
Fair Value Gaps (FVG) are highlighted as shaded boxes when aggressive institutional moves leave imbalances. These zones act as magnets for price; once price returns to "fill" or mitigate the gap, the box is automatically removed to maintain chart clarity.
Entry Signals and Confluence
Signals are generated based on a five-layer confluence model:
- Trend Line Interaction: Price must touch or approach a support/resistance line.
- Trend Filter: Price must be relative to the 200 EMA (above for Long, below for Short).
- Momentum: RSI must not be in exhausted (overbought/oversold) territory.
- Volume: A volume spike must be present to confirm institutional participation.
- Price Action: The signal candle must close in the direction of the trade.
Details
The script executes five analytical engines simultaneously to provide a comprehensive view of the market:
- Trend Line Detection: Uses a pivot-based algorithm to connect swing highs and lows.
- SMC Events: Monitors closes above/below previous pivots to trigger BOS and CHoCH labels.
- Imbalance Mapping: Detects three-candle sequences to identify and track Fair Value Gaps.
- Liquidity Detection: Identifies "Equal Highs" and "Equal Lows" (double tops/bottoms) where stop orders are likely clustered, marking them as yellow dotted liquidity lines.
- Institutional Dashboard: A real-time data panel providing twelve metrics including market bias, ATR volatility, and current SMC status.
Settings
Trend Line Settings
- Pivot Lookback Length: Determines the significance of swing points. Lower values suit scalping; higher values suit swing trading.
- Show Major/Minor Trend Lines: Toggles the visibility of primary and secondary structural lines.
- Extend Lines Right: Extends trend lines to the infinite right of the chart.
- Line Width and Colors: Customizes the visual thickness and color of support and resistance lines.
Smart Money Concepts
- Show BOS/CHoCH: Toggles labels for Break of Structure and Change of Character.
- Show FVG: Toggles visibility of Fair Value Gap boxes.
- Show Liquidity Zones: Toggles dotted lines for equal highs and lows.
- FVG Transparency: Adjusts the opacity of the shaded imbalance zones.
Signal and Entry Settings
- ATR Buffer Multiplier: Adjusts how close price must be to a trend line to trigger a signal.
- Stop Loss ATR Multiplier: Sets the SL distance from the entry price based on volatility.
- Risk Reward Ratio: Defines the target for Take Profit 2 relative to the Stop Loss.
- Show TP/SL on Chart: Toggles the visual projected exit levels.
Filters and Dashboard
- Enable Volume/RSI Filters: Toggles the requirement for volume spikes and momentum alignment for signals.
- Show Dashboard: Toggles the real-time data panel.
- Dashboard Position: Moves the panel to different corners of the chart.
FAQ
How do I interpret the difference between BOS and CHoCH?
BOS (Break of Structure) indicates the trend is continuing in its current direction, while CHoCH (Change of Character) is the first signal that the trend may be reversing.
What timeframe is best for this indicator?
The indicator is adaptive. For scalping, use 1m or 5m timeframes with lower pivot lengths (5-7). For swing trading, use 4H or Daily timeframes with higher pivot lengths (10-15).
How can I access Auto TrendLine Intelligence [BOS+CHoCH+FVG]?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
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.

