INVITE-ONLY SCRIPT
已更新 Breakout Patterns Detector: Triangle & Wedge [Splirus]

This indicator identifies Breakout Patterns such as Ascending Triangles, Descending Triangles, Symmetric Triangles, Ascending Wedges, and Descending Wedges, using candlestick charts and Trendlines. It provides visual cues, stop-loss (SL), and take-profit (TP) levels, alongside a detailed dashboard to evaluate performance. The indicator supports two alert modes: Manual Mode for trader notifications and Bot Mode for automated trading signals.
To achieve optimal results, users are encouraged to experiment with indicator parameters and analyze the dashboard summary to find the perfect configuration for each timeframe, pair, and market condition.
Pattern Identification
The indicator detects the following breakout patterns based on pivot highs and lows:
Patterns are identified using configurable left and right bars for small and big patterns, with slope thresholds normalized by ATR. A trend confirmation filter ensures breakouts align with market direction, and users can adjust breakout confirmation bars to validate signals.
The goal is to fine-tune these settings to suit specific timeframes and pairs, as each combination may require a unique setup for optimal performance.
Stop-Loss Calculation
Stop-loss levels are calculated dynamically based on pattern type and breakout direction:
The indicator calculates leverage based on a user-defined risk tolerance percentage. Users should adjust the SL buffer and risk tolerance to balance risk and reward, monitoring the dashboard to assess how these settings impact performance across different timeframes and pairs.
Take-Profit Calculation
Three take-profit levels (TP1, TP2, TP3) are calculated using pattern height and user-defined multipliers:
TP levels are set as:
TP1 = Breakout price ± (Height × TP1 Multiplier).
TP2 = Breakout price ± (Height × TP2 Multiplier).
TP3 = Breakout price ± (Height × TP3 Multiplier, with a 1.5x adjustment for Wedges).
Experiment with TP multipliers to optimize the risk-reward ratio, using the dashboard to evaluate TP hit rates and overall profitability for each configuration.
Symmetric Triangle:

Ascending/Descending Wedge:

Ascending/Descending Triangles:

Finding the Perfect Configuration
The indicator’s dashboard provides a comprehensive summary of performance metrics, including total trades, TP1/TP2/TP3 hits, SL hits, profit/loss percentages, and win rates for bullish, bearish, and combined trades. These metrics are crucial for identifying the ideal parameter settings:
Alert Modes
The indicator supports two alert modes to suit different trading styles:
Manual Mode: Generates alerts for breakouts with entry price, SL, TP1/TP2/TP3, and leverage, tailored for Crypto or Forex markets. Use this mode to manually evaluate signals while refining configurations.
Bot Mode: Sends automated trading signals. To avoid conflicts, Bot Mode ensures no short position alert is triggered while a long position is active, and vice versa. This mode is ideal once you’ve identified an optimal configuration via the dashboard.
Additional Features
Usage Notes
Disclaimer
This indicator is intended for educational purposes only and should not be considered financial advice. Trading involves significant risk, and past performance is not indicative of future results. Users are strongly advised to thoroughly test and validate the indicator’s signals in a demo environment before using it in live trading. The author is not responsible for any financial losses incurred while using this indicator. Always conduct your own research and consult with a qualified financial advisor before making trading decisions.
To achieve optimal results, users are encouraged to experiment with indicator parameters and analyze the dashboard summary to find the perfect configuration for each timeframe, pair, and market condition.
Pattern Identification
The indicator detects the following breakout patterns based on pivot highs and lows:
- Ascending Triangle: Flat upper trendline, rising lower trendline.
- Descending Triangle: Flat lower trendline, declining upper trendline.
- Symmetric Triangle: Converging trendlines with similar slopes (within a user-defined threshold).
- Ascending Wedge: Both trendlines slope upward, converging.
- Descending Wedge: Both trendlines slope downward, converging.
Patterns are identified using configurable left and right bars for small and big patterns, with slope thresholds normalized by ATR. A trend confirmation filter ensures breakouts align with market direction, and users can adjust breakout confirmation bars to validate signals.
The goal is to fine-tune these settings to suit specific timeframes and pairs, as each combination may require a unique setup for optimal performance.
Stop-Loss Calculation
Stop-loss levels are calculated dynamically based on pattern type and breakout direction:
- Symmetric Triangle: SL is set at the first pivot of the opposite trendline, adjusted by a buffer percentage.
- Ascending/Descending Triangle: SL is placed at the breakout trendline’s price, plus the buffer.
- Ascending/Descending Wedge: SL is set at the second pivot of the opposite trendline, adjusted by the buffer.
The indicator calculates leverage based on a user-defined risk tolerance percentage. Users should adjust the SL buffer and risk tolerance to balance risk and reward, monitoring the dashboard to assess how these settings impact performance across different timeframes and pairs.
Take-Profit Calculation
Three take-profit levels (TP1, TP2, TP3) are calculated using pattern height and user-defined multipliers:
- For Ascending/Descending Triangles, height is the difference between the max and min prices within the pattern.
- For Symmetric Triangles and Wedges, height is the vertical distance between trendlines at the pattern’s start.
TP levels are set as:
TP1 = Breakout price ± (Height × TP1 Multiplier).
TP2 = Breakout price ± (Height × TP2 Multiplier).
TP3 = Breakout price ± (Height × TP3 Multiplier, with a 1.5x adjustment for Wedges).
Experiment with TP multipliers to optimize the risk-reward ratio, using the dashboard to evaluate TP hit rates and overall profitability for each configuration.
Symmetric Triangle:
Ascending/Descending Wedge:
Ascending/Descending Triangles:
Finding the Perfect Configuration
The indicator’s dashboard provides a comprehensive summary of performance metrics, including total trades, TP1/TP2/TP3 hits, SL hits, profit/loss percentages, and win rates for bullish, bearish, and combined trades. These metrics are crucial for identifying the ideal parameter settings:
- Timeframe and Pair Variability: Each timeframe (e.g., 15m, 30min, 1H, 4H, Daily) and pair (e.g., BTC/USD, EUR/USD) behaves differently. Adjust parameters like left/right bars, minimum pattern length, and breakout confirmation bars to match the volatility and trend characteristics of the chosen pair and timeframe.
- Parameter Tuning: Modify slope thresholds, trend confirmation filters, and bars inside the pattern to filter out false breakouts. For example, a higher breakout confirmation bar setting may reduce signals but increase reliability on longer timeframes.
- Dashboard Analysis: Focus on the dashboard’s win rate, profit/loss ratio, and TP/SL hit frequencies. A “Perfect” win rate (>66%) or high TP hit rate indicates a strong configuration. If the SL hit rate is high, consider tightening the trend confirmation filter or increasing the SL buffer.
- Iterative Testing: Test different combinations of settings (e.g., small vs. big patterns, aggressive vs. conservative breakout confirmation) and compare dashboard results over time. The goal is to find a balance where the indicator consistently delivers high win rates and profitability for your specific trading setup.
Alert Modes
The indicator supports two alert modes to suit different trading styles:
Manual Mode: Generates alerts for breakouts with entry price, SL, TP1/TP2/TP3, and leverage, tailored for Crypto or Forex markets. Use this mode to manually evaluate signals while refining configurations.
Bot Mode: Sends automated trading signals. To avoid conflicts, Bot Mode ensures no short position alert is triggered while a long position is active, and vice versa. This mode is ideal once you’ve identified an optimal configuration via the dashboard.
Additional Features
- Historical Patterns: Displays past trendlines with customizable transparency and extension, helping users analyze how patterns performed under different settings.
- Customizable Settings: Adjust pattern size, breakout confirmation, trend filters, and visual preferences (colors, dashboard location) to match your trading style.
- Market Compatibility: Supports Crypto and Forex markets across all timeframes, but requires careful tuning for each market type.
Usage Notes
- Start with default settings and monitor the dashboard to establish a baseline performance for your chosen timeframe and pair.
- Gradually adjust one parameter at a time (e.g., left/right bars, TP multipliers) and compare dashboard results to identify improvements.
- Use historical pattern analysis to understand how past breakouts performed under different configurations, guiding your optimization process.
- Once a high win rate and profitability are achieved, consider automating trades with Bot Mode for consistent execution.
Disclaimer
This indicator is intended for educational purposes only and should not be considered financial advice. Trading involves significant risk, and past performance is not indicative of future results. Users are strongly advised to thoroughly test and validate the indicator’s signals in a demo environment before using it in live trading. The author is not responsible for any financial losses incurred while using this indicator. Always conduct your own research and consult with a qualified financial advisor before making trading decisions.
版本注释
Minor Fix - Updates:- Updated Dashboard information ( Results / WinRate )
- Added MACD Filter for Breakout confirmation ( Possibility to Active/Desactive the Filter )
- Updated Alert Messages
- Updated Default Parameters
仅限邀请脚本
只有经作者批准的用户才能访问此脚本。您需要申请并获得使用权限。该权限通常在付款后授予。如需了解更多详情,请按照以下作者的说明操作,或直接联系splirus。
除非您完全信任其作者并了解脚本的工作原理,否則TradingView不建议您付费或使用脚本。您还可以在我们的社区脚本中找到免费的开源替代方案。
作者的说明
To get access to the Indicator, please contact me and I will add you access, so you can test it and decide if you want to continue using it or not.
My username is: @Splirus on Telegram
Thanks for interest. Regards.
提醒:在请求访问权限之前,请阅读仅限邀请脚本指南。
✅ For VIP SIGNALS contact:
t.me/splirus
✅ Ready to level up? My invite-only indicators deliver real-time alerts and insights.
🔓 Unlock them for advanced trading strategies!
🔔 DM for invites or questions about prices.
t.me/splirus
✅ Ready to level up? My invite-only indicators deliver real-time alerts and insights.
🔓 Unlock them for advanced trading strategies!
🔔 DM for invites or questions about prices.
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
仅限邀请脚本
只有经作者批准的用户才能访问此脚本。您需要申请并获得使用权限。该权限通常在付款后授予。如需了解更多详情,请按照以下作者的说明操作,或直接联系splirus。
除非您完全信任其作者并了解脚本的工作原理,否則TradingView不建议您付费或使用脚本。您还可以在我们的社区脚本中找到免费的开源替代方案。
作者的说明
To get access to the Indicator, please contact me and I will add you access, so you can test it and decide if you want to continue using it or not.
My username is: @Splirus on Telegram
Thanks for interest. Regards.
提醒:在请求访问权限之前,请阅读仅限邀请脚本指南。
✅ For VIP SIGNALS contact:
t.me/splirus
✅ Ready to level up? My invite-only indicators deliver real-time alerts and insights.
🔓 Unlock them for advanced trading strategies!
🔔 DM for invites or questions about prices.
t.me/splirus
✅ Ready to level up? My invite-only indicators deliver real-time alerts and insights.
🔓 Unlock them for advanced trading strategies!
🔔 DM for invites or questions about prices.
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。