The Problem with Traditional Trendlines
Manual trendlines are subjective. Two traders can draw completely different lines on the same chart. And once price breaks a trendline, most traders have no framework for judging whether the breakout is genuine or a fakeout.
AIO Trendlines with Liquidity solves both problems: automated trendline detection with configurable strength parameters, quality-scored breakouts rated ★ to ★★★, and TPO-based liquidity lines that show where price is statistically most likely to be attracted.
Automated Trendline Detection
Trendlines are built from pivot highs and pivot lows with multiple noise filters:
- Strength parameter (default 14): Controls how many bars must exist on each side of a pivot to qualify
- Minimum slope filter (default 0.3%): Eliminates near-horizontal lines that are really support/resistance, not trendlines
- Minimum pivot distance (default 1.0%): Adjacent pivots must be at least 1% apart in price to avoid clustering
- Touch tolerance (default 0.5%): How close price must be to “touch” the trendline
Breakout Quality Scoring (★ to ★★★)
When price breaks through a trendline, AIO Trendlines doesn’t just label it “B Up” or “B Down” — it rates the breakout quality:
Scoring Factors for B Up / B Down
- Volume spike: Is volume ≥ 150% of the 20-bar average? Volume confirms participation.
- Candle body quality: A strong close well beyond the trendline (not just a wick) increases quality
- HTF alignment: Is the higher-timeframe MA confirming the direction?
★ = Basic breakout (meets minimum criteria)
★★ = Good breakout (volume + body confirmation)
★★★ = Excellent breakout (all factors aligned)
You can filter signals to only show ★★+ or ★★★ only — dramatically reducing noise while keeping the highest-probability setups.
The Up Buy / Down Sell System
The most sophisticated signal in this indicator isn’t the breakout itself — it’s what happens after:
- B Up fires: Price breaks above the upper trendline
- Price continues to break the Trendline Pivot High (TPH)
- Price retraces ~50% of the breakout move
- “Up Buy” signal fires at the retracement
This sequence captures the classic “breakout → retest → continuation” pattern that professional traders use. The 50% retracement requirement means you’re entering at a better price than the initial breakout, with confirmation that the breakout level is holding as support.
The same logic applies in reverse for Down Sell signals.
TPO-Based Liquidity Lines
This is perhaps the most unique feature. Traditional “liquidity” indicators simply draw horizontal lines at random swing points. AIO Trendlines uses actual Time-Price-Opportunity (TPO) analysis — the same methodology used by Market Profile traders.
How TPO Liquidity Works
- Divide each session’s price range into bins (configurable resolution)
- Count how many time periods price spent in each bin (TPO count)
- Merge nearby levels that are within tolerance
- Score each level based on TPO count AND position within the range
Probability Ratings
- Very High (★★★): 1-print levels at the extreme top/bottom 10% of the range — 85-95% probability of being tested. These are single-print (one TPO) levels at extremes, meaning price touched this level exactly once and reversed. Institutional theory says these levels “must” be revisited.
- High (★★): 1-print levels in the 10-30% edge zone — 65-70% probability
- Medium (★): 2-print levels at edges — 40-50% probability
Market Type Presets
Different markets have different volume profiles. AIO provides optimized presets:
- Forex: Tighter bins, lower merge tolerance (lower volatility)
- Crypto: Wider bins, higher merge tolerance (volatile, 24/7)
- Stocks: Medium settings, session-based
- Futures: Similar to stocks but with wider ranges
Trendline Support & Resistance Mode
Beyond breakouts, the indicator detects pullbacks to trendlines as S/R signals:
- Price must have been at least 1% away from the trendline (pullback distance)
- Within the lookback window, price must have moved away and returned
- Pivot confirmation at the touch point increases quality
- Separate minimum bars and price between consecutive S/R signals prevents clustering
MA S/R Mode & HTF Filter
The indicator also supports Moving Average-based S/R (price bouncing off a configurable MA) and a Higher Timeframe MA filter that requires the HTF trend to align with the signal direction. Signal Mode lets you choose “Trendline only,” “MA only,” or “All.”
Practical Trading Strategy
The Breakout → Retest → Continuation
- Wait for ★★+ B Up/B Down signal with volume confirmation
- Do NOT chase the breakout
- Wait for the Up Buy/Down Sell signal (50% retracement)
- Enter at the retracement level
- Stop loss below the broken trendline level
- Target: Next TPO liquidity line (★★★ levels are magnetic)
See Trendline Scoring & Liquidity in Action
Automated trendlines with quality-rated breakouts and probability-rated liquidity targets.
View on TradingViewTry All AIO Indicators Free for 5 Days
Full access to the entire suite. No credit card required.
Start Free Trial