Mis à jour
Trendline Breakouts Targets Pro [MarkitTick]

💡 The Trendline Breakouts Targets Pro is a comprehensive and advanced technical analysis framework designed to automate the process of trendline projection and trade management. By allowing traders to define specific temporal anchor points, the algorithm calculates precise trajectories and actively monitors price action for structural breakouts. It removes the ambiguity often associated with manual charting by establishing strict mathematical rules for trendlines, while offering a robust suite of validation filters and dynamic profit-taking mechanisms. This tool bridges the gap between static chart drawings and active, real-time algorithmic execution monitoring.
This is the professional version of the free indicator Trend Break Targets
✨ Originality and Utility
This script distinguishes itself from standard drawing tools by transforming a static concept into a reactive, multi-stage trade management system.
🔬 Methodology and Concepts
● Algorithmic Trendline Construction
The foundational logic relies on the precise detection of local market extremes. The algorithm scans historical data surrounding the user-defined Start and End dates to locate mathematical Pivot Highs or Pivot Lows. Once these primary anchors are established, the script calculates the slope—the exact rate of price change over time—and projects a linear equation into the future to serve as the breakout threshold.
● Multi-Domain Validation Engine
A structural break of the trendline is necessary but not sufficient for a signal. The engine requires secondary confirmations:
● Fibonacci-Scaled Target Mechanics
The framework calculates an initial Base Distance, representing the vertical span between the breakout price and the nearest logical pivot point. Subsequent profit targets are derived via geometric multipliers:
🎨 Visual Guide

● Core Chart Elements
● Trade Management Zones
📖 How to Use

⚙️ Inputs and Settings
● Temporal Configuration
● Filter Toggles
● Aesthetic Customization
🔍 Deconstruction of the Underlying Scientific and Academic Framework
● Linear Interpolation in Time-Series Data
At its mathematical core, the indicator relies on linear extrapolation to project localized price action into future periods. By calculating the differential in price over the specific time elapsed between Point 1 and Point 2, the algorithm deduces a constant rate of change (the slope). This slope is incrementally multiplied by the progressing bar index to continuously update the exact dynamic threshold required for a valid breakout.
● Calculus-Based Local Extrema Detection
The proprietary pivot detection system acts as an algorithmic representation of local maxima and minima found in differential calculus. It utilizes a comparative scanning array to determine if a candidate data point holds the absolute highest or lowest value relative to a strictly defined, symmetrical subset of neighboring values. This isolates true structural shifts from standard market noise.
● Proportional Geometric Scaling
Target generation applies the mathematical principles of the Fibonacci sequence—specifically the 1.618 and 2.618 ratios—to financial time-series modeling. By calculating the initial Base Distance between the breakout threshold and the closest structural extreme, the script employs these golden ratios to systematically estimate future points of momentum exhaustion and liquidity resting areas.
● Multivariate Boolean Logic Matrices
The confirmation engine operates as a complex Boolean logic gate system. In order to switch the execution state from passive to triggered, it requires a simultaneous intersection of multiple independent variables. This logical AND operation effectively cross-references volume behavior, structural hierarchy, and momentum oscillators, functioning as a strict probabilistic filter designed to minimize Type I errors (false positives) in breakout trading.
● 🔓 vs 🔒 (Pro vs. Free)
● Logic & Signal Generation
• Free: Relies on localized, static price-action crossovers (close > trendline) to define a breakout. It uses isolated pivot calculations and Fibonacci constants (1.618, 2.618) to project targets statically without forward-looking validation.
• Pro: Introduces a robust Multi-Factor Confluence Engine. Breakout triggers are strictly gated behind mandatory, user-configurable boolean arrays including Volume confirmation (SMA crossover), momentum (MACD crosses, RSI thresholds), trend filters (SMA positioning), and structural validation (CHOCH and strict Swing Breaks). This severely minimizes false positives (whipsaws) and ensures high-probability market entries.
● Trade Management Architecture
• Free: Fire-and-forget logic. Once a line is broken, standard targets are drawn instantly without ongoing state tracking.
• Pro: Employs a sophisticated State-Machine architecture (tradeStage tracking). The algorithm tracks active positions dynamically through stages (Aiming for T1, Aiming for T2, etc.), progressively recalculating and adjusting active conditions. This enables dynamic progressive visuals where profit and loss boxes physically update on the chart chart based on the real-time lifecycle of the trade.
● Risk Management & Capital Preservation
• Free: Lacks native Stop-Loss (SL) computation. Focuses entirely on Take-Profit (TP) zones, leaving risk management up to the discretionary trader.
• Pro: Integrates a highly quantitative Risk Management Module. Calculates precise Stop-Loss levels natively tied to dynamic baseline distances (e.g., maintaining specific risk-to-reward ratios like setting SL distance at exactly 1/3 of the target distance). As the trade progresses through higher stages, the SL structure dynamically adjusts to lock in equity and manage downside risk systematically.
● Algorithmic Execution & Automation
• Free: A purely visual tool with no internal alert framework or payload generation.
• Pro: Built for automated execution. The Pro build features a strict JSON Alert Engine evaluating exclusively on barstate.isconfirmed. It dynamically constructs JSON payloads passing the ticker, timeframe, trade side, precise entry, dynamic TP, and progressive SL values directly to external webhooks, algorithmic bridges, or proprietary execution bots.
● Memory Management & Execution Efficiency
• Free: Standard historical buffer handling, suitable for everyday retail charting.
• Pro: Implements strict compile-time optimizations and max_bars_back overrides for high, low, and close arrays. This prevents buffer limit runtime errors when the indicator is scanning deep historical datasets for algorithmic backtesting, ensuring seamless performance across extensive quantitative studies.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. I expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion.
This is the professional version of the free indicator Trend Break Targets
✨ Originality and Utility
This script distinguishes itself from standard drawing tools by transforming a static concept into a reactive, multi-stage trade management system.
- Automated Extrapolation: Traders simply input two specific dates, and the indicator mathematically plots the exact trendline based on confirmed historical extremes, ensuring absolute objectivity.
- Progressive Targeting Protocol: Instead of relying on fixed reward zones, the indicator recalculates its Stop Loss and Take Profit levels dynamically as the market successfully breaches consecutive target thresholds.
- Multi-Tiered Authentication: It prevents premature entries by requiring strict confluence. Users can mandate up to six independent technical confirmations—ranging from Volume surges to RSI thresholds—before a breakout is deemed valid.
- Comprehensive Risk Visualization: The script generates clean, translucent boxes directly on the chart, allowing traders to instantly visualize their exact risk-to-reward parameters without requiring external measurement tools.
🔬 Methodology and Concepts
● Algorithmic Trendline Construction
The foundational logic relies on the precise detection of local market extremes. The algorithm scans historical data surrounding the user-defined Start and End dates to locate mathematical Pivot Highs or Pivot Lows. Once these primary anchors are established, the script calculates the slope—the exact rate of price change over time—and projects a linear equation into the future to serve as the breakout threshold.
● Multi-Domain Validation Engine
A structural break of the trendline is necessary but not sufficient for a signal. The engine requires secondary confirmations:
- Volume SMA: Ensures the breakout candle demonstrates elevated participation by comparing its volume to a defined Simple Moving Average.
- Structural CHOCH: Validates that the broader market structure has shifted by confirming a break of the most recent swing high or low.
- Momentum Filtering: Utilizes the Relative Strength Index (RSI) and MACD crossovers to ensure sufficient momentum is backing the directional move.
● Fibonacci-Scaled Target Mechanics
The framework calculates an initial Base Distance, representing the vertical span between the breakout price and the nearest logical pivot point. Subsequent profit targets are derived via geometric multipliers:
- Target 1 reflects a standard 1:1 projection of the established Base Distance.
- Target 2 is mathematically derived using the 1.618 golden ratio extension.
- Target 3 maps extreme exhaustion points using the 2.618 sequence multiplier.
🎨 Visual Guide
● Core Chart Elements
- Anchor Point Labels (1 & 2): Clearly display the historical origin coordinates used to construct the primary trend trajectory.
- Dynamic Trendline: The central diagonal axis extending continuously from the anchor points across the right side of the chart.
- Swing Point Nodes: Highly visible circular plots that track recent Pivot Highs and Pivot Lows, giving traders immediate context on local market structure.
- Breakout Alerts: Distinct directional labels that populate exactly on the candle that breaches the line and satisfies all active confirmation filters.
● Trade Management Zones
- Profit Target Boxes: Translucent graphical regions that illustrate the active take-profit zones based on current trade progression.
- Stop Loss Boxes: Contrasting shaded areas displaying the active risk threshold, recalculating automatically as targets are reached.
- Embedded Value Markers: Exact numerical price quotes printed adjacent to the visual boxes to eliminate guesswork during order placement.
📖 How to Use
- Establish the Origin Coordinates: Access the primary configuration menu and set the Start Date (Point 1) and End Date (Point 2) corresponding to the structural highs or lows of the trend you are monitoring.
- Calibrate Validation Sensitivity: Toggle mandatory condition filters such as Volume Spikes, SMA positioning, or RSI limits to match the volatility of your chosen asset.
- Await Algorithmic Confirmation: Monitor the chart until the system prints a validated Breakout or Breakdown marker. This signifies that the slope has been breached with full technical confluence.
- Execute and Manage: Utilize the drawn Profit and Loss boxes to structure your orders. As price achieves Target 1, observe the automated shifting of the Stop Loss zone to secure capital, and adjust your trailing stops accordingly.
⚙️ Inputs and Settings
● Temporal Configuration
- Start Date / End Date: The precise timestamps defining the baseline anchors for trend projection.
- Pivot Left / Right Lengths: Dictates the strictness of structural extreme detection; higher values demand greater isolation for a candle to be categorized as a pivot.
- Fallback Lookback: A safety mechanism defining how many bars to scan for an extreme if a standard pivot is not immediately present.
- Target Extend Bars: Controls the horizontal visual length of the generated target and stop-loss boxes.
● Filter Toggles
- Require Volume Confirmation: Activates the volume SMA prerequisite.
- Require CHOCH / Swing Break: Enforces a fundamental shift in local market structure before signaling.
- Require MACD / SMA / RSI: Toggles standard momentum and moving average positioning filters.
● Aesthetic Customization
- Color Modules: Independent color selection for trendlines, breakout markers, target zones, and stop-loss regions.
- Display Overrides: Master switches to toggle visibility for secondary targets, all static targets simultaneously, or historical swing points to maintain a decluttered workspace.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
● Linear Interpolation in Time-Series Data
At its mathematical core, the indicator relies on linear extrapolation to project localized price action into future periods. By calculating the differential in price over the specific time elapsed between Point 1 and Point 2, the algorithm deduces a constant rate of change (the slope). This slope is incrementally multiplied by the progressing bar index to continuously update the exact dynamic threshold required for a valid breakout.
● Calculus-Based Local Extrema Detection
The proprietary pivot detection system acts as an algorithmic representation of local maxima and minima found in differential calculus. It utilizes a comparative scanning array to determine if a candidate data point holds the absolute highest or lowest value relative to a strictly defined, symmetrical subset of neighboring values. This isolates true structural shifts from standard market noise.
● Proportional Geometric Scaling
Target generation applies the mathematical principles of the Fibonacci sequence—specifically the 1.618 and 2.618 ratios—to financial time-series modeling. By calculating the initial Base Distance between the breakout threshold and the closest structural extreme, the script employs these golden ratios to systematically estimate future points of momentum exhaustion and liquidity resting areas.
● Multivariate Boolean Logic Matrices
The confirmation engine operates as a complex Boolean logic gate system. In order to switch the execution state from passive to triggered, it requires a simultaneous intersection of multiple independent variables. This logical AND operation effectively cross-references volume behavior, structural hierarchy, and momentum oscillators, functioning as a strict probabilistic filter designed to minimize Type I errors (false positives) in breakout trading.
● 🔓 vs 🔒 (Pro vs. Free)
● Logic & Signal Generation
• Free: Relies on localized, static price-action crossovers (close > trendline) to define a breakout. It uses isolated pivot calculations and Fibonacci constants (1.618, 2.618) to project targets statically without forward-looking validation.
• Pro: Introduces a robust Multi-Factor Confluence Engine. Breakout triggers are strictly gated behind mandatory, user-configurable boolean arrays including Volume confirmation (SMA crossover), momentum (MACD crosses, RSI thresholds), trend filters (SMA positioning), and structural validation (CHOCH and strict Swing Breaks). This severely minimizes false positives (whipsaws) and ensures high-probability market entries.
● Trade Management Architecture
• Free: Fire-and-forget logic. Once a line is broken, standard targets are drawn instantly without ongoing state tracking.
• Pro: Employs a sophisticated State-Machine architecture (tradeStage tracking). The algorithm tracks active positions dynamically through stages (Aiming for T1, Aiming for T2, etc.), progressively recalculating and adjusting active conditions. This enables dynamic progressive visuals where profit and loss boxes physically update on the chart chart based on the real-time lifecycle of the trade.
● Risk Management & Capital Preservation
• Free: Lacks native Stop-Loss (SL) computation. Focuses entirely on Take-Profit (TP) zones, leaving risk management up to the discretionary trader.
• Pro: Integrates a highly quantitative Risk Management Module. Calculates precise Stop-Loss levels natively tied to dynamic baseline distances (e.g., maintaining specific risk-to-reward ratios like setting SL distance at exactly 1/3 of the target distance). As the trade progresses through higher stages, the SL structure dynamically adjusts to lock in equity and manage downside risk systematically.
● Algorithmic Execution & Automation
• Free: A purely visual tool with no internal alert framework or payload generation.
• Pro: Built for automated execution. The Pro build features a strict JSON Alert Engine evaluating exclusively on barstate.isconfirmed. It dynamically constructs JSON payloads passing the ticker, timeframe, trade side, precise entry, dynamic TP, and progressive SL values directly to external webhooks, algorithmic bridges, or proprietary execution bots.
● Memory Management & Execution Efficiency
• Free: Standard historical buffer handling, suitable for everyday retail charting.
• Pro: Implements strict compile-time optimizations and max_bars_back overrides for high, low, and close arrays. This prevents buffer limit runtime errors when the indicator is scanning deep historical datasets for algorithmic backtesting, ensuring seamless performance across extensive quantitative studies.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. I expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion.
Notes de version
Optimizing indicator performance and execution speedNotes de version
This release evolves the indicator from a manually anchored breakout tool into a fully automated, confluence-driven trade engine. Trendline construction can now be derived automatically from validated market structure, with additional integrity checks that assess a line's slope profile, its age, and how many times price has genuinely respected it before any signal is permitted. Breakout validation has been rebuilt around a weighted confluence scoring framework, allowing each confirmation layer — volume behaviour, relative participation, candle quality, penetration depth, follow-through, retest behaviour, higher-timeframe bias, volatility regime, and session context — to be individually enabled, weighted, and combined into a single tunable conviction threshold rather than a rigid all-or-nothing gate. Trade management is now adaptive: stop placement supports multiple derivation modes, targets can align to nearby structure, a minimum risk-to-reward gate filters low-quality setups, and break-even progression is available after the first objective is reached. Finally, the release adds a live analytics dashboard with visual confluence metering and a complete event-driven alert and webhook layer that emits structured entry, target, and invalidation payloads with fully configurable action fields.Notes de version
Trendline Breakouts Targets Pro — Update SummaryNon-Repainting Signal Integrity
Swing detection, session state, volatility regime and fallback range references now resolve exclusively from fully confirmed data. Swing markers, anchor points and every level derived from them lock in place once printed and no longer shift as the live bar develops. What you saw when a signal appeared is what remains in history, which means backtest review and live trading now speak the same language.
Chart-Type Protection
The indicator now verifies that it is running on a standard chart type before doing anything else. On synthetic chart types the prices shown are not real transactable prices, so any entry, stop or target drawn from them would be untradeable. Instead of silently producing misleading levels, the script stops with a clear on-screen explanation.
Real-Time Target and Stop Tracking
Once a trade is active, target and stop-loss contact is now evaluated against the live bar rather than waiting for the previous bar to be referenced. Stage progression, trailing stop advancement and trade completion all register the moment price actually reaches the level, removing the lag that previously delayed visual updates on the chart.
Confirmed-Close Alert Delivery
All trade alerts — entry, each target and stop-loss — now dispatch only on confirmed bar close. Alerts are additionally stage-aware and mutually exclusive: a stop-loss event takes precedence over a target event on the same bar, and each target can only fire while the trade is actually working toward it. The result is one clean, ordered notification stream with no duplicate or contradictory messages.
Hardened Webhook Payloads
Custom action text entered in the alert settings is now sanitised before being written into the outgoing payload. Quotation marks or escape characters typed into those fields can no longer break the message structure, so third-party automation platforms receive a valid, parseable payload every time.
Flexible Anchor Date Matching
Manual Point 1 and Point 2 selections now resolve to the first bar at or after the chosen moment rather than requiring an exact timestamp match. Anchors now land reliably across all timeframes, session-gapped instruments and holiday-affected calendars instead of silently failing to register.
Higher Timeframe Safety Fallback
If the selected higher-timeframe bias source is set below the active chart timeframe, the indicator automatically falls back to the chart timeframe rather than producing an invalid request. The bias filter now stays functional regardless of how the chart timeframe is changed after setup.
Duplicate Anchor Detection
If both manual anchor points resolve to the same bar, the indicator now reports it explicitly rather than attempting to build a trendline from a single point. You are told immediately what to correct instead of being left with a missing or nonsensical line.
Stop Placement Guarantee
Structure-based stop losses are now guaranteed to sit on the protective side of the trendline. The stop can no longer be positioned at or beyond the entry reference, which eliminates the invalid risk readings and distorted risk-to-reward values that could previously appear in unusual structural conditions.
Live Trade Protection in Auto Mode
With Auto Trendline enabled, newly formed swing pairs no longer overwrite a trade that is already in progress. An active setup is allowed to run to its conclusion before the engine adopts the next qualifying trendline, so targets and stops are no longer wiped mid-trade.
Refinements
- Touch counting now registers each distinct approach to the trendline once rather than accumulating on every bar spent inside the tolerance band, making the minimum-touch requirement a true measure of validation.
- Pivot-based target derivation is now restricted to structure formed after the anchor point, preventing stale pre-setup levels from influencing target placement.
- The retest window now expires cleanly, so a pending breakout that never receives its retest is released instead of lingering.
- Optional filters are now fully inert when switched off — disabled confirmations no longer evaluate in the background or influence the readings shown on the dashboard.
- Target 2 and Target 3 zones now anchor to the same values reported everywhere else, eliminating minor boundary mismatches in the all-targets display.
- Anchor point labels now follow the configured label text colour instead of a fixed colour, so custom themes stay visually consistent.
- All numeric inputs now carry sensible upper limits, preventing extreme entries that could stall loading or produce unusable output.
- Substantial performance work throughout: the dashboard renders only when needed, the trendline updates in place rather than being rebuilt each bar, drawing-object usage was reduced significantly, and internal scanning routines now exit as soon as a result is determined. Loading is noticeably faster and far lighter on chart resources.
Disponible dans l'espace payant
Cet indicateur n'est disponible que pour les abonnés MarkitTick. Abonnez-vous pour accéder à ce script et à d'autres de MarkitTick.
💡 Proprietary indicators. Original research. Built by analysts who trade.
📢 Free Telegram: t.me/MarkitTick_Updates
👑 Premium: markittick.com
📢 Free Telegram: t.me/MarkitTick_Updates
👑 Premium: markittick.com
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Disponible dans l'espace payant
Cet indicateur n'est disponible que pour les abonnés MarkitTick. Abonnez-vous pour accéder à ce script et à d'autres de MarkitTick.
💡 Proprietary indicators. Original research. Built by analysts who trade.
📢 Free Telegram: t.me/MarkitTick_Updates
👑 Premium: markittick.com
📢 Free Telegram: t.me/MarkitTick_Updates
👑 Premium: markittick.com
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.