Inside Bar Breakout FailureSimple indicator to highlight Inside Bar Breakout Failure patterns on chart.
Cerca negli script per "break"
[JR] Multi Bollinger Heat Bands - EMA/Breakout optionsA little, yet hopefully useful update over my previous "Multi Bollinger Heat Bands". For those who like quick visual cue's.
In short: It's your Basic Bollinger Bands, but 3 of them, and some pointy things.
In full:
Three stacked SMA based Bollinger Bands designed just to give you a quick visual on the "heat" of movement.
Set inner band as you would expect, then set your preferred additional multiplier increments for the outer 2 bands.
Option to use EMA as alternative basis, rather than SMA.
Breakout indication shapes, which have their own multiplier (but still tied to same length/period as the BB's) so you can make them pop on their own separate "band".
[RS]Bollinger Bands Breakout Candles V0EXPERIMENTAL: a experiment using bollingers and directional momentum, Breakout detector.
Opening Range Breakout with 2 Profit Targets.Opening Range Breakout with 2 Profit Targets.
Updated Indicator now works on all Symbols with Many Different Session Options.
***Known PineScript Issue…While the Opening Range is being Formed the lines only adjust for that individual bar. Just reset Indicator after Opening Range Completes.
***All Times are Based on New York Time
Session Options Forex U.S. Banks Open (8:00), Gold U.S. Open (8:20), Oil U.S. Open (9:00), U.S. Cash Session - Stocks (9:30), NY Forex Open (17:00) , Europe Open (02:00), or if you choose Setting 0 the Session Runs from 00:00 to 00:00 (Midnight to Midnight).
***Ability to use 60 minute Opening Range, 30 minute, 15 minute, and many other options.
***However you can manually change the times in the Inputs Tab to adjust for any session you prefer. This is useful for Day Light Savings Adjustments. Also the default times work if your charts are set to EST Time. If you use A different time zone in your settings you need to Adjust the times in the inputs tab.
Initially Opening Range High and Low plot as Yellow Lines. If Price Goes Above Opening Range then Line Turns Green. If Price Goes Below Opening Range Line Turns Red.
By default the First Profit Target is 1/2 the Width of the Opening Range and the 2nd Profit Target is 1 Times the Opening Range. However these are Adjustable in the Inputs Tab.
By Default the Opening Range Length is 1 Hour. However, you can Change the Opening Range Length to 15 min, 30 min, 2 hours etc. in the Inputs Tab.
Plots a 1 Above or Below Candle when 1st Profit Target is Achieved, and a 2 when 2nd Profit Target is Achieved.
Breakout in 20 daysbreakout condition
1. current close price must be higher than all close prices in 20 days
2. close prices change in 20 days must be less than 20%
3. current volume must be greater than previous volume by 10%
ブレイクアウト条件
1. 最新の終値が直近20日のすべての終値より高い
2. 直近X日の終値の変動率が20%以下
3. 最新の出来高が前日の出来高より10%大きい
Breakout Strategy IndicatorBreakout strategy indicator version.
Backtested strategy version can be found on my published scripts
Breakout Strategy #1Breakout above previous pivot points trigger a long. Close below pivot lows trigger the exit.
Most effective during trends.
Breakout Range Short Strategy BacktestBreakout Range Short Strategy
You can change long to short in the Input Settings
Please, use it only for learning or paper trading. Do not for real trading.
Breakout Range Long Strategy Backtest Breakout Range Long Strategy
You can change long to short in the Input Settings
Please, use it only for learning or paper trading. Do not for real trading.
Swing Point Volume Z-Score — Statistical Volume Spike & BreakoutSwing Point Volume Z-Score — Statistical Volume Spike & Breakout Detector
Unlock a more precise approach to trading with Swing Point Volume Z-Score, a Pine Script v5-powered TradingView indicator built by bearbearbull23. This tool spots statistically significant volume spikes at structural swing points—ideal for identifying high-probability breakouts and institutional activity.
Core Features:
Volume Z-Score Calculation: Quantifies how many standard deviations today’s volume deviates from the mean—filtering out noise and highlighting notable volume surges.
Automated Swing Detection: Identifies key hinge points (higher highs/lower lows) using Leviathan’s proven structure logic.
Higher Timeframe (HTF) Confirmation: Adds confidence with intuitive ✔ (confirmed) or ✖ (not confirmed) markers—select HTF manually or let the indicator auto-adapt.
Visual Volume Strength Alerts:
🟩 Green (1.0–2.0) – Above-average volume, early interest
🟧 Orange (2.0–3.0) – Elevated activity, potential breakout forming
🟥 Red (3.0+) – Extreme volume—often driven by institutional involvement
Why It Stands Out:
Statistically Objective: Removes guesswork with standardized volume thresholds.
Structure-Focused: Targets swing point zones ideal for accumulation, distribution, and breakout setups.
Customizable & Adaptive: Toggle between “Basic” and “Advanced” display, adjust colors, label sizes, table placement, and HTF options.
Multi-Market & Multi-Timeframe Ready: Perfect for forex, stocks, crypto, and futures on 15m+ charts.
Ideal For:
Traders seeking volume-backed breakout confirmations, those analyzing support/resistance zones, or anyone wanting to gauge institutional presence with statistical precision.
Pro Tip: Combine with trend analysis tools and apply strict risk-management protocols for maximum signal reliability.
Why This Works Better
Keyword Density & Variety: Includes high-impact keywords like “Volume Spike,” “Breakout Detector,” “Institutional Volume,” boosting visibility in TradingView search.
Clarity & Benefits: Shifts from purely descriptive to user-centered benefits—highlighting what traders gain.
Structure & Skimmability: Organized with headers and bullet points, making it easy for users to digest and for TradingView’s algorithm to index key terms.
ATR Squeeze BackgroundThis simple but powerful indicator shades the background of your chart whenever volatility contracts, based on a custom comparison of fast and slow ATR (Average True Range) periods.
By visualizing low-volatility zones, you can:
* Identify moments of compression that may precede explosive price moves
* Stay out of choppy, low-momentum periods
* Adapt this as a component in a broader volatility or breakout strategy
🔧 How It Works
* A Fast ATR (default: 7 periods) and a Slow ATR (default: 40 periods) are calculated
* When the Fast ATR is lower than the Slow ATR, the background is shaded in blue
* This shading signals a contraction in volatility — a condition often seen before breakouts or strong directional moves
⚡️ Why This Matters
Many experienced traders pay close attention to volatility cycles. This background indicator helps visualize those cycles at a glance. It's minimal, non-intrusive, and easy to combine with your existing tools.
🙏 Credits
This script borrows core logic from the excellent “Relative Volume at Time” script by TradingView. Credit is given with appreciation.
⚠️ Disclaimer
This script is for educational purposes only.
It does not constitute financial advice, and past performance is not indicative of future results. Always do your own research and test strategies before making trading decisions.
MA Crossover Detector
The Moving Average Crossover Detector is a custom indicator that visually shows buy and sell signals clearly on the chart. based on the crossing of two moving averages — a popular and beginner-friendly tool in technical analysis.
It plots two moving averages — One fast (short period) and one slow (long period) — and highlights crossover points:
✅ Buy Signal (Golden Cross) – When the fast MA crosses above the slow MA.
❌ Sell Signal (Death Cross) – When the fast MA crosses below the slow MA.
✅ Features
Visual: Clearly shows crossovers on the chart.
Customizable: Choose periods, types, styles, etc.
Alert-ready: You can set alerts for crossovers.
The Moving Average (MA) Crossover Strategy is one of the simplest and most widely used strategies in technical analysis for trading stocks, forex, crypto, and other markets. It relies on the interaction between two moving averages to generate buy and sell signals.
Core Components
Short-Term Moving Average (Fast MA) : Reacts quickly to price changes (e.g., 9-period or 20-period).
Long-Term Moving Average (Slow MA) : Reacts more slowly to price changes (e.g., 21-period or 200-period).
How the Strategy Works
Bullish Crossover (Golden Cross):
Occurs when the fast MA crosses above the slow MA. Interpreted as a buy signal, indicating a potential uptrend.
Bearish Crossover (Death Cross):
Occurs when the fast MA crosses below the slow MA. Interpreted as a sell signal, indicating a potential downtrend.
Common Variants
Short-term trading
9 EMA
21 EMA
Swing trading
20 SMA
50 SMA
Long-term investing
50 SMA
200 SMA
Pros
Easy to understand and implement
Works well in trending markets
Can be automated for backtesting and execution
Cons
Lagging indicator: MAs are based on past prices, so signals come after the move has started.
Choppy markets = whipsaws: Generates false signals in sideways/range-bound conditions.
May underperform in volatile or mean-reverting environments
Tips for Improvement
Use confirmation tools : e.g., RSI, MACD, volume analysis, price action
Add filters : Trend filter (ADX), volatility filter (ATR), or time filter (session-based)
Combine with price structure : Support/resistance, breakouts, pullbacks
Breakout and Breakdown Indicator with RetestsThis indicator is designed to help traders identify high-probability breakout and breakdown points based on the first 5 minutes of market activity (9:30 am to 9:35 am). It works effectively on both the 1-minute and 5-minute timeframes, making it ideal for day traders and scalpers.
This indicator is a better indicator of my previous 5-Minute Opening Range Breakout indicator.
Key Features:
Dynamic Support and Resistance Lines: Automatically plots the highest and lowest price levels from 9:30 am to 9:35 am, providing essential support and resistance zones.
Breakout/Breakdown Detection: Identifies and marks successful breakout and breakdown points only after a confirmed retest, ensuring more accurate signals.
Visual Markers: Uses customizable green diamonds for successful breakouts and red diamonds for successful breakdowns, allowing easy identification on the chart.
Customization Options:
Change Colors: You can personalize the color of the breakout and breakdown markers, the label text, and the lines drawn from the 9:30 am to 9:35 am window.
Adapt to Your Chart: Adjust the indicator to match your preferred charting theme, ensuring it blends seamlessly with your trading setup.
How It Works:
Plots Key Levels: Identifies the highest and lowest prices during the first 5 minutes of trading (9:30 am to 9:35 am) and plots them on the chart.
Monitors Retests: Waits for a retest of these levels before confirming a breakout or breakdown.
Labels Breakouts/Breakdowns: After a retest, successful breakouts are marked with green diamonds and "Breakout" text, while breakdowns are marked with red diamonds and "Breakdown" text.
Why Use This Indicator?
Avoid False Signals: The retest requirement helps filter out false breakouts and breakdowns, offering more reliable trading signals.
Works Across Timeframes: Suitable for both 1-minute and 5-minute charts, allowing flexibility for different trading styles.
Some what Customizable: Adjust colors to fit your charting preferences and enhance visual clarity.
Recommended Use: Combine this indicator with other technical analysis tools, such as volume, candlestick patterns, or moving averages, for more informed trading decisions.
Breakout Confirmation🔍 Indicator Name: Breakout Confirmation (Body + Volume)
📌 Purpose:
This indicator is designed to detect high-probability breakout setups based on price structure and volume strength. It identifies moments when the market breaks through a key support or resistance level, confirmed by two consecutive strong candles with large real bodies and high volume.
⚙️ How It Works
1. Support and Resistance Detection
The indicator uses pivot points to identify potential horizontal support and resistance levels.
A pivot high or pivot low is considered valid if it stands out over a configurable number of candles (default: 50).
Only the most recent valid support and resistance levels are tracked and displayed as horizontal lines on the chart.
2. Breakout Setup
The breakout condition is defined as:
First Candle (Breakout Candle):
Large body (compared to the recent body average)
High volume (compared to the recent volume average)
Must close beyond a resistance or support level:
Close above resistance (bullish breakout)
Close below support (bearish breakout)
Second Candle (Confirmation Candle):
Also must have a large body and high volume
Must continue in the direction of the breakout (i.e., higher close in bullish breakouts, lower close in bearish ones)
3. Signal Plotting
If both candles meet the criteria, the indicator plots:
A green triangle below the candle for bullish breakouts
A red triangle above the candle for bearish breakouts
📈 How to Interpret the Signals
✅ Green triangle below a candle:
Indicates a confirmed bullish breakout.
The price has closed above a recent resistance level with strength.
The trend may continue higher — possible entry for long positions.
🔻 Red triangle above a candle:
Indicates a confirmed bearish breakout.
The price has closed below a recent support level with strength.
Potential signal to enter short or exit long positions.
⚠️ The plotted horizontal lines show the last key support and resistance levels. These are the zones being monitored for breakouts.
📊 How to Use It
Timeframe: Works best on higher timeframes (1H, 4H, Daily), but can be tested on any chart.
Entry: Consider entries after the second candle confirms the breakout.
Stop Loss:
For longs: Below the breakout candle or the broken resistance
For shorts: Above the breakout candle or broken support
Take Profit:
Based on previous structure, risk:reward ratios, or using trailing stops.
Filter with Trend or Other Indicators (optional):
You can combine this with moving averages, RSI, or market structure for confluence.
🛠️ Customization Parameters
lengthSR: How many candles to look back for identifying support/resistance pivots.
volLength: Length of the moving average for volume and body size comparison.
bodyMultiplier: Multiplier threshold to define a “large” body.
volMultiplier: Multiplier threshold to define “high” volume.
✅ Ideal For:
Price action traders
Breakout traders
Traders who use volume analysis
Anyone looking to automate the detection of breakout + confirmation setups
Breaking Bar [5ema]I reused some functions, made by (i believe that):
@LeviathanCapital: Market Sessions.
-----
How to use?
More suitable for Scalping
1. Plan A: Break out the highest bar
Find the bar with the largest range (high – low) and high volume of the previous N bars.
When the price close breaks down to highest bar, give a SELL signal.
When the price close breaks up the highest, give a BUY signal.
2. Plan B: Break out the bar opened market
The price close breaks through the open bar, give a Buy and Sell signal.
Market sessions: Tokyo, London, Sydney, New York.
-----
How to set up?
Choose the plan.
Lookback bar to find highest bar.
Right bar: What position of signal will appear from the open market bar (or high bar).
Number break: The maximum bars have price close breaked before giving signal.
Session time: The open and close of market.
-----
This indicator is for reference only, you need your own method and strategy.
If you have any questions, please let me know in the comments.
Breakout & Distribution DetectorHow the Script Works:
1. Bollinger Bands:
• The upper and lower Bollinger Bands are used to detect volatility and potential breakouts. When the price closes above the upper band, it’s considered a bullish breakout. When the price closes below the lower band, it’s a bearish breakout.
2. RSI (Relative Strength Index):
• The RSI is used for momentum confirmation. A bullish breakout is confirmed if the RSI is above 50, and a bearish breakout is confirmed if the RSI is below 50.
• If the RSI enters overbought (above 70) or oversold (below 30) levels, it signals a distribution phase, indicating the market may be ready to reverse or consolidate.
3. Moving Average:
• A simple moving average (SMA) of 20 periods is used to ensure we’re trading in the direction of the trend. Breakouts above the upper Bollinger Band are valid if the price is above the SMA, while breakouts below the lower Bollinger Band are valid if the price is below the SMA.
4. Signals and Alerts:
• BUY Signal: A green “BUY” label appears below the candle if a bullish breakout is detected.
• SELL Signal: A red “SELL” label appears above the candle if a bearish breakout is detected.
• Distribution Phase: The background turns purple if the market enters a distribution phase (RSI in overbought or oversold territory).
• Alerts: You can set alerts based on these conditions to get notifications for breakouts or when the market enters a distribution phase.
Breaks and Retests with Volatility Stop [HG]The "Breaks and Retests with Volatility Stop " indicator is a powerful tool designed to assist traders in identifying key support and resistance levels, breakouts, retests, and potential trend reversals. This indicator combines two essential components: support and resistance detection, and a Volatility Stop indicator for improved risk management. Below are the key features of this indicator:
**Support and Resistance Detection:**
- **Lookback Range:** Users can customize the lookback range, determining how many bars are considered when identifying support and resistance levels. This allows for flexibility in capturing short-term or longer-term levels.
- **Bars Since Breakout:** The indicator helps traders spot retests by allowing them to specify the number of bars that should occur since a breakout before considering it a potential retest.
- **Retest Detection Limiter:** Traders can set a limit on how many bars should be actively checked during a potential retest event. This feature prevents retest alerts from occurring too late, ensuring more accurate results.
- **Breakouts and Retests:** Users can choose to display or hide breakout and retest events separately, tailoring the indicator to their specific trading strategy.
- **Repainting Options:** The indicator offers three repainting options: "On," "Off: Candle Confirmation," and "Off: High & Low." This provides flexibility in choosing the repainting behavior that suits your trading style.
**Styling Options:**
- **Outline and Extend:** Traders can customize the appearance of support and resistance boxes by selecting outline styles and extension preferences.
- **Label Types and Sizes:** The indicator offers two label types, "Full" and "Simple," allowing traders to choose the level of detail displayed on the chart. Additionally, users can adjust the label size for better visibility.
- **Customizable Colors:** Support and resistance levels can be color-coded to match your preferred charting style, enhancing visibility and clarity.
- **Override Text Color:** If desired, traders can override the text color for labels, providing further customization of the indicator's appearance.
**Alerts and Notifications:**
- The indicator generates various alerts and notifications to keep traders informed about critical market events, including:
- New Support and Resistance Levels
- Support and Resistance Breakouts
- Support and Resistance Retests
- Potential Support and Resistance Retests
**Volatility Stop Indicator:**
- The "Breaks and Retests with Volatility Stop " indicator also includes a Volatility Stop component, which helps traders manage risk by indicating potential stop-loss levels based on market volatility. The Volatility Stop is color-coded to reflect the current trend direction, making it easy to identify potential trend reversals.
In summary, this TradingView indicator is a comprehensive tool designed to enhance your technical analysis and trading decisions. It provides support and resistance levels, breakout and retest alerts, and incorporates a Volatility Stop indicator for risk management, making it a valuable addition to any trader's toolkit.
Breakout Volume PROBreakout Volume PRO
Real + Projected Volume Detection
This advanced volume indicator detects breakouts based on both actual and projected volume, allowing you to anticipate strong market moves before the current candle closes.
🔹 Key Features:
Volume breakout detection based on configurable moving average and multiplier.
Early signal when projected volume exceeds threshold before candle close.
Distinct coloring for bullish, bearish, and early breakout volume.
Customizable volume threshold area and base average.
Compatible with any timeframe, including daily and intraday.
Colors:
🔵 Blue: Bullish breakout
🔴 Red: Bearish breakout
🟠 Orange: Projected breakout in progress
⚪️ Gray: Normal volume
Perfect for identifying accumulation, distribution, or high-volume events that may precede price breakouts.
Breakout Swing High LowThis open-source indicator identifies swing high and swing low breakouts, providing clear visual signals for potential trend entries. It is designed for traders who use price action to spot breakout opportunities in trending markets.
How It Works
Swing Detection: The indicator uses a user-defined lookback period (default: 4 candles) to identify swing highs (peaks) and swing lows (troughs). A swing high is confirmed when a candle's high is higher than the surrounding candles, and a swing low is confirmed when a candle's low is lower.
Breakout Signals: A green triangle below the candle signals a breakout above the most recent swing high, indicating a potential buy opportunity. A red triangle above the candle signals a breakout below the most recent swing low, indicating a potential sell opportunity. Each swing level triggers only one breakout signal to avoid clutter.
Visualization: Swing high levels are drawn as green dashed lines, and swing low levels as red dashed lines, extending 15 candles for clarity. Breakout signals are marked with small triangles.
How to Use
Apply the Indicator: Add the indicator to your TradingView chart.
Adjust Lookback: Set the "Lookback Candles" input (default: 4) to control the sensitivity of swing detection. Smaller values detect shorter-term swings, while larger values identify more significant levels.
Interpret Signals:
Green triangle (below candle): Consider a buy opportunity when price breaks above a swing high.
Red triangle (above candle): Consider a sell opportunity when price breaks below a swing low.
Combine with Other Tools: Use in conjunction with trend indicators (e.g., 50-period EMA) or support/resistance levels to filter signals in trending markets.
Timeframes: Works best on higher timeframes (e.g., 1H, 4H) in trending markets to avoid false breakouts in sideways conditions.
Breakout Detection using EMAs and Mansfield Relative StrengthThis script identifies breakout opportunities based on a combination of price action, volume, and relative strength. It is designed for daily timeframe charts and helps traders pinpoint strong bullish setups with the following criteria:
Price Action: Stock price is above both the 10-day EMA and 5-week EMA.
EMA Trends: The 10-day EMA is above the 20-day EMA, and the 5-week EMA is above the 10-week EMA, confirming bullish momentum.
Customizable Parameters: Customize the index for the Mansfield Relative Strength, the volume multiplier, and the price breakout look-back period.
Price Breakout: The price is at a 3-month high, indicating strength.
Volume Breakout: A volume spike occurs, surpassing the 20-day average volume by a user-defined multiplier.
Features:
Generates clear breakout signals with a green triangle below the bar.
Integrated Mansfield Relative Strength for relative performance analysis.
Alerts for when all conditions are met, ensuring you never miss an opportunity.
How to Use:
Add this script to a daily chart of your chosen stock.
Look for green triangle signals indicating a potential breakout.
Adjust the parameters to suit your trading strategy and preferred index for the Mansfield Relative Strength.
This tool is ideal for swing traders looking to combine technical analysis with relative strength metrics for high-conviction bullish setups.
Breakout Squeeze – Early Detector (BRK-SQZ)
What it does
Squeeze — price goes quiet (Bollinger Band Width compresses vs its recent average).
Fuel — volume expands vs its 20-bar average.
Level — price takes out a recent high.
Quality — the close is near the top of the candle’s range.
When those stack up you get a signal. You can choose Strict (safer, later) or Early (faster, noisier).
What you’ll see on the chart
Blue background → in a squeeze (coiled).
Orange dots (bottom) → volume currently above threshold.
Green tiny caret (above bar) → price is testing/clearing the breakout level.
Aqua diamond labeled “PRE” (above bar) → Pre-Signal (any 3 of 4 checks are true). Early heads-up.
Lime triangle “BRK” (below bar) → Confirmed Long breakout (all 4 checks pass).
Tip: PRE can fire intrabar for early notice. The BRK triangle is your confirmation.
Inputs (the only knobs that matter)
Early (default): high or close can break the level; looser volume/close filters.
Strict: close must break the level; stronger volume/close placement.
Core
BB Length (20), BB Mult (2.0)
Squeeze Lookback (40) — moving average window for BB Width.
Squeeze Threshold (sqzFactor) (0.60) — lower = tighter squeeze requirement.
Breakout
Breakout Lookback (brkLen) (20) — new high must clear the prior N bars.
Volume
Volume SMA Length (20)
Volume Spike ≥ (Early/Strict) (1.5 / 2.0) — multiplier vs avg volume.
Candle Quality
Close-in-Range (Early/Strict) (0.65 / 0.80) — 0.80 = close in top 20% of bar.
Options
Fire intrabar (ON = earlier PRE/BRK; OFF = bar-close only).
Plot Signal Labels (on/off).
Debug paints (show/hide squeeze tint, volume dots, breakout carets, PRE).
Alerts (set these, you’re done)
Create two alerts from the indicator’s Condition dropdown:
BRK-SQZ Pre-Signal
Trigger: Once per bar (for early pings).
Purpose: tells you the coil is heating up before the rip.
BRK-SQZ Long
Trigger: Once per bar close (clean confirmation) or Once per bar if you want it faster.
Purpose: confirms the breakout when all checks align.
How to trade it (framework, not rules)
First touch after a long squeeze is the highest-odds signal.
On Daily, manage risk with ATR or a structure stop under the base.
Scale out into strength; let a runner ride if the squeeze was multi-week.
Installation (60 seconds)
Add indicator.
Keep Mode = Early, Fire intrabar = ON.
Set alerts for Pre-Signal (Once per bar) and Long (Once per bar close).
Save inputs as a Template and apply across your watchlist.
FAQ
Q: Why did PRE fire but no BRK?
A: One of the four checks failed at close (often volume or close-placement). That’s the filter doing its job.
Q: I want even earlier signals.
A: Lower volMult_early, reduce brkLen, or enable intrabar signals. Expect more noise.
Q: Can I get bearish signals?
A: Not yet. I can ship a mirrored Breakdown version on request.
Q: Can I screen a whole watchlist?
A: This version is chart-based. I can add a mini screener panel with a consolidated alert if you want.
Changelog
v6.1 — Early/Strict modes, PRE (3-of-4), squeeze tint, volume dots, breakout carets, BRK triangle, intrabar option, two alert conditions.
Disclaimer
This is a tool, not advice. Markets slip, wick, and change regime. Size responsibly and test your settings on your market/timeframe.
Breakout: HHHL & LLHL + Close ConditionWhat This Script Does:
Green triangle below the bar = Bullish breakout (Higher High + Higher Low + Close > Previous High)
Red triangle above the bar = Bearish breakdown (Lower High + Lower Low + Close < Previous Low)