The Breakout is a technical analysis tool designed to identify breakout opportunities in the market by detecting price movements through support and resistance levels. It plots potential entry points, stop-loss (SL), and take-profit (TP) levels based on user-defined percentages, helping traders visualize breakout setups on their charts.
How It Works Support and Resistance Detection: The indicator uses pivot points to identify support and resistance levels over a user-defined lookback period. Breakout Identification: A breakout is confirmed when the price crosses above a resistance level (bullish) or below a support level (bearish) and remains there for a specified number of bars. Entry, SL, and TP Levels: Upon a confirmed breakout, the indicator sets an entry point at the closing price and calculates SL, TP1, and TP2 levels based on user-defined percentages. Directional Filtering: To avoid conflicting signals, the indicator filters breakouts based on the current trade direction. A new entry in the opposite direction is only set if the price moves a user-defined percentage away from the previous entry or if the previous trade hits its SL, TP1, or TP2. Visuals: The indicator plots support and resistance lines, breakout labels, and entry/SL/TP levels on the chart. Users can choose to display only the latest entry or up to 5 recent entries. Features Customizable Settings: Adjust the lookback period for pivot points, breakout confirmation bars, SL/TP percentages, and more. Directional Change Control: A direction change is indicated when the price moves significantly in the opposite direction, helping to manage trend reversals. Multiple Entry Display: Option to show up to 5 recent entries for tracking multiple breakouts. Alerts: Receive alerts when a breakout is confirmed, including entry, SL, TP1, and TP2 levels. Settings Pivot Lookback Length: Number of bars to look back for identifying support and resistance levels (default: 5). Breakout Confirmation Bars: Number of bars the price must stay above/below the level to confirm a breakout (default: 2). Take Profit 1 (%): First take-profit level as a percentage above/below the entry (default: 2.0%). Take Profit 2 (%): Second take-profit level as a percentage above/below the entry (default: 4.0%). Stop Loss (%): Stop-loss level as a percentage below/above the entry (default: 1.0%). Show Multiple Entries: Toggle to display up to 5 recent entries or only the latest (default: false). Direction Change Threshold (%): Percentage the price must move away from the entry to allow a direction change (default: 2.0%). How to Use Add the Breakout Scanner to your chart. Adjust the settings to match your trading style (e.g., tweak the pivot lookback or SL/TP percentages). Watch for breakout labels ("Breakout") on the chart, indicating a confirmed breakout. Use the plotted entry, SL, TP1, and TP2 levels to plan your trades. Enable alerts to be notified of new breakouts in real-time. Notes This indicator is designed to assist with identifying breakout opportunities and does not guarantee specific results. Always combine it with other analysis and risk management techniques. The direction change feature helps filter breakouts in the opposite direction, but significant price movements may still trigger a new entry in the opposite direction. For best results, test the indicator on a demo account to understand its behavior in your preferred market and timeframe.
오픈 소스 스크립트
진정한 트레이딩뷰 정신에 따라 이 스크립트 작성자는 트레이더가 기능을 검토하고 검증할 수 있도록 오픈소스로 공개했습니다. 작성자에게 찬사를 보냅니다! 무료로 사용할 수 있지만 코드를 다시 게시할 경우 하우스 룰이 적용된다는 점을 기억하세요.
차트에서 빠르게 액세스하려면 이 스크립트를 즐겨찾기에 추가하세요 — 여기에서 자세히 알아보기.