Chews Opening Range Breakout - FibonacciVisual tool for taking a Fibonacci retracement-backed opening range breakout.
How it works:
Short a first red candle. Long a first green candle.
You decide which Fibonacci % you prefer your stop loss to be, the plot and label will represent your decision.
Fibonacci logic is close --> open.
Recommendations:
Use a lower time frame interval like 3m.
Extra Notes:
On higher priced stocks, you may see some discrepancy (~$0.1!) when plotting a Fibonacci Retracement compared to the suggested stop loss.
Since this discrepancy happens on inherently more volatile stocks, I have chosen to neglect the discrepancy instead of going for point perfect stop loss exits.
Realistically, it won't matter unless you get very unlucky.
Fibonacci drawing is not a feature of what this indicator plots. It's there for reference, but I can add if requested.
I drafted this simple code to help me visualize automating this strategy.
"That's spoicy!"
ToDo: Add an optional two-sided ORB. Higher chance of success since it is meant for reversals.
스크립트에서 "breakout"에 대해 찾기
Pivot-Based Channels & Bands [Misu]█ This Indicator is based on Pivot detection to show bands and channels.
The pivot price is similar to a resistance or support level. If the pivot level is breached, the price should continue in that direction. Or the price could reverse at or near this level.
█ Usages:
Use channels as a support & resistance zone.
Use bands as a support & resistance zone. It is also very powerfull to use it as a breakout.
Use mid bands & mid channels as a trend direction or trade filter as a more usual moving average.
█ Parameters:
Show Pivot Bands: show bands.
Show Pivot Mid Band: show mid bands.
Show Pivot Channels: show channels.
Show Pivot Mid Channel: show mid channels.
Deviation: deviation used to calculate pivot points.
Depth: depth used to calculate pivot points.
Bulu BreakoutI designed this indicator to trade 52 weeks high breakout. It tests three conditions 1)close above 52weeks high 2)close above upper Bollinger band 3) adx <30. any candle that satisfies all these condition will change its color to black. i also added 44sma to this script to find high probable trade. if the black candle is near 44 sma it is more reliable.
Beekay Range-BreakerIdentifies scripts that are trading within a range for quite some time.
How to read:
1. Both the orange and the blue boxes are overlapping each other indicates that the price has been in that range.
2. The white line shows the price direction.
3. The white line crossing up/down can be seen as a breakout.
NOTE: Kindly validate the signals based on further analysis before taking a call .
Johnny 5 Breakout IndicatorThis is an indicator to help you catch when coins breakout. You can set an alert with this indicator.
Auto trendline (Spicytrader) DESCENDING
Real time identification of trend lines
Get ready before the next breakout.
The trend lines are formed by two adjacent troughs in a bearish or bullish market.
You don’t need to draw the trend lines by hand anymore.
GET ACCESS : spicytrader.com
Auto trendline (Spicytrader) ASCENDING
Real time identification of trend lines
Get ready before the next breakout.
The trend lines are formed by two adjacent troughs in a bearish or bullish market.
You don’t need to draw the trend lines by hand anymore.
GET ACCESS : spicytrader.com
VCP + TTM Squeeze Breakout Detection ToolThis open-source script combines two powerful concepts into a single breakout detection tool:
1. **VCP (Volatility Contraction Pattern)**
Based on Mark Minervini’s principle of structured volatility contraction.
The script identifies low ATR environments combined with a strong trend filter using EMA 50, EMA 100, and EMA 200.
A pivot high is fixed using a rolling high from the last X candles.
2. **TTM Squeeze (inspired by Beardy_Fred's Pro version)**
This module compares Bollinger Bands to Keltner Channels.
When the Bollinger Bands fit inside the Keltner Channels, it signals volatility compression.
The script classifies the squeeze intensity into four stages using colored dots:
- **Green:** No squeeze
- **Black:** Light compression
- **Red:** Medium compression
- **Orange:** Strong compression
A linear momentum oscillator adds directional confirmation by plotting aqua bars above price if momentum is positive.
---
### **Signal Logic**
- **Yellow Dots (Setup Potential)**
Appear when VCP criteria are met **and** either momentum is bearish or the squeeze is still active (non-green).
- **Green Dots (Breakout Active)**
Appear only when:
- Price breaks above pivot high
- EMA filter is valid
- Squeeze has resolved (green)
- Volume is higher than the previous bar
- Momentum is positive
Breakout status is removed once volume AND true range drop below their respective short-term averages.
---
### **Visual Elements**
- 3 EMA Lines: EMA 50 (blue), EMA 100 (orange), EMA 200 (red)
- Pivot line (red), based on recent high
- Colored squeeze state (dots at zero line)
- Yellow dots (pre-breakout tension)
- Green dots (confirmed breakout)
- Aqua bars above price (momentum strength)
---
**Note:**
This script is for educational purposes only and does not constitute financial advice.
No alerts included yet. No external dependencies. No embedded advertising.
---
**License**
Portions of the TTM Squeeze code are derived from “Beardy Squeeze Pro” and are used under the terms of the Mozilla Public License 2.0.
www.mozilla.org
Multi-Timeframe BPR Structure Breakout System(BPR结构突破)## 策略介绍
量子多频BPR结构突破系统是一款基于机构订单流分析的高级价格行为工具,通过智能识别大时间框架上的FVG(公允价值缺口)和BPR(突破回抽确认)模式,为交易者提供精准的市场结构突破信号。
## 核心算法原理
### 多时间框架FVG检测
系统实时监控1小时和4小时级别的FVG形成,通过量子级算法过滤无效缺口,仅保留具有交易价值的关键价格真空区域。
### BPR结构确认机制
当价格重新测试FVG区域并形成特定K线模式时,系统自动识别为BPR结构,标志着机构资金对该区域的认可和确认。
## 实战应用指南
### 图表分析方法
**📊 FVG区域识别**
**🎯 BPR交易信号**
- **看涨BPR**:价格回调至看涨FVG区域后出现反转信号
- **看跌BPR**:价格反弹至看跌FVG区域后出现反转信号
- **纯净模式**:确保价格在形成过程中未干扰FVG完整性
### 交易决策流程
**突破确认模式**
1. 识别大时间框架FVG形成
2. 等待价格回抽至FVG区域
3. 观察BPR结构确认信号
4. 沿FVG方向入场交易
**风险管理系统**
### 多时间框架协同分析
**机构资金流向判断**
```pinescript
高价值交易信号特征:
1. 1小时和4小时FVG区域重合
2. 关键支撑阻力位附近的BPR
3. 成交量放大的突破确认
4. 多个时间框架信号共振
## 策略介绍内容(英文)
```markdown
## Strategy Introduction
The Quantum Multi-Timeframe BPR Structure Breakout System is an advanced price action tool based on institutional order flow analysis, providing precise market structure breakout signals by intelligently identifying FVG (Fair Value Gaps) and BPR (Breakout Pullback Retest) patterns on higher timeframes.
## Core Algorithm Principle
### Multi-Timeframe FVG Detection
The system continuously monitors FVG formations on 1-hour and 4-hour timeframes, using quantum-level algorithms to filter out invalid gaps and retain only key price vacuum zones with trading value.
### BPR Structure Confirmation Mechanism
When price retests FVG zones and forms specific candlestick patterns, the system automatically identifies them as BPR structures, indicating institutional recognition and confirmation of these areas.
## Practical Application Guide
### Chart Analysis Method
**📊 FVG Zone Identification**
**🎯 BPR Trading Signals**
- **Bullish BPR**: Price pulls back to bullish FVG zone then shows reversal signals
- **Bearish BPR**: Price bounces to bearish FVG zone then shows reversal signals
- **Clean Pattern**: Ensures price doesn't interfere with FVG integrity during formation
### Trading Decision Process
**Breakout Confirmation Mode**
1. Identify higher timeframe FVG formation
2. Wait for price retracement to FVG zone
3. Observe BPR structure confirmation signals
4. Enter trades in FVG direction
**Risk Management System**
### Multi-Timeframe Synergy Analysis
**Institutional Fund Flow Judgment**
```pinescript
High-value trade signal characteristics:
1. 1H and 4H FVG zone overlap
2. BPR near key support/resistance levels
3. Volume-expanded breakout confirmation
4. Multiple timeframe signal resonance
Bullish Breakout - SBStep 1 – Chart Setup
Timeframe: 5-minute
Studies to add:
VWAP (Session VWAP)
EMA 9 & EMA 20 (trend filter)
Bullish Breakout – Clean v6.1
⚙️ Step 2 – Indicator Settings (scalping mode)
Resistance lookback: 15
Volume confirmation: ON, multiplier = 1.2–1.3 (lighter requirement, more signals).
RSI filter: ON, threshold = 55 (looser than intraday swing).
MACD filter: ON
HTF filter: ON → timeframe = 15m, EMA = 50 (so trades align with short-term trend).
Retest check: ON (safer signals).
ATR stop/targets: ON → ATR length 14, Stop = 1.0×ATR, T1 = 0.7×ATR, T2 = 1.4×ATR.
Visuals: Stealth Mode ON (just arrows + compact label).
🎯 Step 3 – Entry Rules
Wait for a green breakout arrow under a 5m bar.
Confirm conditions:
Price is above VWAP.
EMA 9 > EMA 20 (micro trend bullish).
Optional: RSI > 55 and volume above SMA×1.2.
Enter at close of breakout bar.
Aggressive: enter right on arrow.
Conservative: enter only if teal retest dot confirms.
🛡️ Step 4 – Risk/Exit Plan
Stop loss: red ATR line (~1×ATR below entry).
Target 1 (T1): yellow ATR line (~0.7×ATR above entry).
Target 2 (T2): green ATR line (~1.4×ATR above entry).
Management:
Sell 70% at T1, move stop to entry.
Let 30% run to T2 or trail with EMA 9.
🔔 Step 5 – Alerts
Set TradingView alerts for:
Bullish Breakout (green arrow)
Breakout Retest Confirmed (teal dot)
So you don’t miss quick setups during the session.
⚡ Extra Scalping Tips
Focus on liquid tickers (ORCL, MSFT, AAPL, NVDA, etc.) — tight spreads, good volume.
Trade first 2–3 hours after market open for best volatility.
Avoid scalping right before big news (FOMC, earnings).
Don’t overstay: average 10–30 minutes per trade.
Consolidation Breakout Signal//@version=5
indicator("Consolidation Breakout Signal", overlay=true, timeframe="")
// Inputs
length = input.int(20, "Consolidation Lookback")
atrMult = input.float(1.5, "ATR Breakout Multiplier")
bbLength = input.int(20, "Bollinger Band Length")
bbMult = input.float(2.0, "Bollinger Band Width Multiplier")
// ATR for volatility
atr = ta.atr(length)
// Bollinger Bands for consolidation
basis = ta.sma(close, bbLength)
dev = bbMult * ta.stdev(close, bbLength)
upperBB = basis + dev
lowerBB = basis - dev
bbWidth = (upperBB - lowerBB) / basis * 100
// Define consolidation as narrow BB width
consolidation = bbWidth < ta.sma(bbWidth, length)
// Breakout conditions
breakUp = consolidation and close > upperBB and close > close + atrMult * atr
breakDown = consolidation and close < lowerBB and close < close - atrMult * atr
// Plot Bollinger Bands
plot(upperBB, "Upper BB", color=color.new(color.blue, 70))
plot(lowerBB, "Lower BB", color=color.new(color.blue, 70))
// Plot signals
plotshape(breakUp, title="Breakout Up", style=shape.labelup, color=color.green, text="UP 🔼", size=size.large, location=location.belowbar)
plotshape(breakDown, title="Breakout Down", style=shape.labeldown, color=color.red, text="DOWN 🔽", size=size.large, location=location.abovebar)
// Alerts
alertcondition(breakUp, title="Breakout Up Alert", message="Big Up Move Likely 🚀")
alertcondition(breakDown, title="Breakout Down Alert", message="Big Down Move Likely 📉")
TradeX ORB SniperTradeX ORB Sniper — Multi-Range Opening Breakout Framework
This invite-only script is a structured Opening Range Breakout (ORB) tool designed to map price interaction with multiple predefined ranges. It is not a collection of generic settings — all versions and filters are coded in-house and connected through a shared logic engine.
Purpose & Core Design
The ORB Sniper provides four internally coded modes, each referencing a distinct opening range. Depending on market context, ranges may include:
Pre-market session range
5-minute opening range
15-minute opening range
Volume-adaptive range variations
Each mode ensures consistent logic across timeframes, allowing traders to analyze breakout dynamics in a rule-based framework.
Breakout Highlighting
When price closes above or below the active range, the script highlights that candle in gold/yellow (“Get Ready Candle”). This highlight is informational only, serving as a visual marker of when price has left the defined range.
Zone Projection & Box Mapping
To help visualize breakout dynamics, the script plots risk and reward boxes:
Risk Box — initial region mapped from the selected range
Reward Box — projected continuation area based on range displacement
These elements are configurable, giving traders flexibility in how the breakout context is displayed.
Custom Visual Inputs
Users can adjust all visual components directly from the settings panel:
ORB Mode — toggle between V1–V4 range types
Risk Box Color — customize the risk region’s display
Reward Box Color — adjust continuation box visuals
Get Ready Candle Color — select the breakout candle highlight color
Inputs in Status Line — optional summary display at the top of the chart
This ensures the framework is adaptable to any chart theme or personal preference.
Development Process
The ORB Sniper was first modeled in Python, where volume, volatility, and technical variations were looped through to refine range definitions. The most effective rules were then coded into Pine Script, creating a streamlined, repeatable breakout framework.
Disclaimer
This is an original, closed-source TradeX Labs tool. It references known concepts (opening ranges, volume dynamics) within a proprietary rule-based framework. It is intended for visual analysis only and does not provide trade signals or guarantee results. Default settings are for illustration; traders should adjust configuration to their instrument and timeframe.
Recent Range DetectorOverview
The Recent Range Detector is a specialized indicator designed to identify when an asset is currently range-bound, providing traders with clear support and resistance levels for range trading strategies. Unlike traditional indicators that focus on trend detection, this tool specifically answers the question: "Is the price range-bound right now, and what are the exact trading levels?"
Key Features
✅ Smart Range Detection - Uses a multi-factor scoring system to identify legitimate ranges
✅ Dynamic Support/Resistance Levels - Automatically calculates and displays key trading levels
✅ Range Quality Scoring - Provides confidence levels (Strong/Moderate/Weak Range)
✅ Touch Validation - Counts actual price touches to confirm range reliability
✅ Breakout Detection - Alerts when price exits the established range
✅ Visual Clarity - Clean boxes, lines, and labels for easy interpretation
How It Works
The indicator analyses recent price action using three core metrics:
Touch Quality (40%) - How many times price has respected support/resistance levels
Containment Quality (40%) - What percentage of recent bars stayed within the range
Recent Respect (20%) - Whether the latest price action confirms the range
These combine into a Range Score (0-1) that determines range strength and reliability.
Settings & Parameters
Range Lookback Period (Default: 15)
Number of bars to analyse for range detection
Shorter periods = more responsive to recent ranges
Longer periods = more stable, fewer false signals
Range Tolerance (Default: 2.0%)
Tolerance for price touches around exact highs/lows
Lower values = stricter range requirements
Higher values = more flexible range detection
Minimum Touches (Default: 3)
Required number of support/resistance touches for valid range
Higher values = more confirmed ranges, fewer signals
Lower values = more sensitive, earlier detection
Visual Options
Show Range Box: Displays the range boundaries
Show Support/Resistance Lines: Extends levels into the future
Understanding the Output
Range Score (0.000 - 1.000)
0.7+ = Strong Range (Green) - High confidence range trading setup
0.5-0.7 = Moderate Range (Yellow) - Decent range with some caution
0.3-0.5 = Weak Range (Orange) - Low confidence, be careful
<0.3 = Not Ranging - Avoid range trading strategies
Range Status Classifications
Strong Range - Perfect for range trading strategies
Moderate Range - Good range with normal risk
Weak Range - Marginal range, use smaller positions
Not Ranging - Price is trending or too choppy for range trading
Key Metrics in Info Table
Range Size (%) - Size of the range relative to price level
5-15% = Ideal range size for most strategies
<5% = Tight range, lower profit potential
>15% = Wide range, higher profit potential but more risk
Support/Resistance Levels - Exact price levels for entries/exits
Use these as your key trading levels
Support = potential buy zone
Resistance = potential sell zone
Total Touches - Number of times price respected the levels
3-5 touches = Newly formed range
6-10 touches = Well-established range
10+ touches = Very strong, reliable range
Price Position (%) - Current location within the range
0-20% = Near support (potential long opportunity)
80-100% = Near resistance (potential short opportunity)
40-60% = Middle of range (wait for better entry)
Visual Elements
Range Box
Green Box = Strong Range (Score ≥ 0.7)
Yellow Box = Moderate Range (Score 0.5-0.7)
Orange Box = Weak Range (Score 0.3-0.5)
Support/Resistance Lines
- Horizontal lines showing exact trading levels
- Extend into the future for forward guidance
- Colour matches the range strength
Background Colouring
- Subtle background tint during range periods
- Helps quickly identify ranging vs trending markets
Breakout Signals
- 📈 RANGE BREAK UP - Price breaks above resistance
- 📉 RANGE BREAK DOWN - Price breaks below support
- Only appears for confirmed ranges (Score ≥ 0.5)
Trading Applications
Range Trading Strategy
1. Look for Range Score ≥ 0.5
2. Buy near support (Price Position 0-20%)
3. Sell near resistance (Price Position 80-100%)
4. Set stops just outside the range
5. Exit on breakout signals
Breakout Strategy
1. Identify strong ranges (Score ≥ 0.7)
2. Wait for volume-confirmed breakout
3. Enter in breakout direction
4. Use previous resistance as support (or vice versa)
Market Context
- Strong ranges often occur after trending moves
- Use higher timeframes to confirm overall market structure
- Combine with volume analysis for better entries/exits
Best Practices
What to Look For
✅ Range Score ≥ 0.5 for trading consideration
✅ Multiple touches (5+) for confirmation
✅ Clear price rejection at levels
✅ Reasonable range size (5-15% for most assets)
✅ Recent price respect of boundaries
What to Avoid
❌ Trading ranges with Score < 0.3
❌ Very tight ranges (<3% size) - low profit potential
❌ Ranges with only 1-2 touches - not confirmed
❌ Ignoring breakout signals
❌ Trading against the higher timeframe trend
Alerts Available
- Range Detected - New range formation
- Range Break Up - Upward breakout
- Range Break Down - Downward breakout
- Range Ended - Range condition ended
Timeframe Recommendations
- Daily Charts - Best for swing trading ranges
- 4H Charts - Good for intermediate-term ranges
- 1H Charts - Suitable for day trading ranges
- Lower Timeframes - May produce more noise
Conclusion
The Recent Range Detector eliminates guesswork in range identification by providing objective, quantified range analysis. It's particularly valuable for traders who prefer range-bound strategies or need to identify when trending strategies should be avoided.
Remember: No indicator is perfect. Always combine with proper risk management, volume analysis, and broader market context for best results.
Disclaimer
This indicator is for educational purposes only and should not be considered as financial advice. Trading involves risk, and past performance does not guarantee future results. Always conduct your own research and consider your risk tolerance before making any trading decisions.
SR-PrecisionZoneSR-PrecisionZone — Dynamic Support & Resistance Mapping
SR-PrecisionZone is a precision-engineered support and resistance zone indicator designed for traders who value structure, accuracy, and real-time adaptability. It intelligently detects clusters of pivot points to highlight price levels that have historically acted as strong support or resistance — and projects these zones into the current market with customizable sensitivity.
- Key Features
Dynamic Zone Construction
Automatically detects key support and resistance zones based on pivot clustering logic, with customizable width and minimum strength thresholds.
Strength-Weighted Transparency
Zone opacity reflects the number of pivot hits — the more respected the level, the more visible the zone becomes. This allows traders to instantly gauge the strength of each zone at a glance.
Real-Time Zone Development
Zones appear live as pivot criteria are met; no lag or historical-only rendering.
Breakout & Breakdown Detection
Automatic breakout/breakdown tags highlight when price leaves a zone, helping spot continuation or reversal setups.
Multi-Timeframe Adaptive
Works effectively on intraday, swing, and macro timeframes with a tunable lookback window.
Clean Visual Hierarchy
Support and resistance zones extend 10 bars beyond the current candle, with MA overlays plotted above zones for clear visibility.
- Inputs & Settings
Source: Choose between High/Low or Close/Open pivots
Maximum Channel Width (%): Controls how far apart pivots can be to qualify as a zone
Minimum Strength: Sets how many pivot hits are required for a zone to appear
Lookback Period: Adjusts how far back the script evaluates pivot clusters
Customizable Colors: Separate colors for support, resistance, and mid-zone overlap
Breakout Tags: Optional visual markers for when price breaks out of a zone
MA Overlays: Two optional moving averages (SMA/EMA) to provide additional context
- Ideal Use Cases
Identifying high-probability support/resistance levels
Spotting breakout or fakeout setups
Enhancing confluence in technical strategies
Filtering entries/exits based on structural zones
Double Fractal Entry📘 Double Fractal Entry – Original Structure-Based Entry System
Double Fractal Entry is a proprietary indicator that uses dynamic fractal structure to generate actionable buy/sell signals, with automatic Stop-Loss and Take-Profit placement. Unlike classic fractal tools or ZigZag-based visuals, this script constructs real-time structural channels from price extremes and offers precise entry points based on breakout or rejection behavior.
It is designed for traders who want a clear, structured approach to trading price action — without repainting, lagging indicators, or built-in oscillators.
🧠 Core Logic
This script combines three custom-built modules:
1. Fractal Detection and Channel Construction
- Fractals are detected using a configurable number of left/right bars (sensitivity).
- Confirmed upper/lower fractals are connected into two continuous channels.
- These channels represent real-time structure zones that evolve with price.
2. Entry Signal Logic
You can choose between two signal types:
- Breakout Mode – Triggers when price breaks above the upper fractal structure (for buys) or below the lower one (for sells).
- Rebound Mode – Triggers when price approaches a fractal channel and then rejects it (forms a reversal setup).
Each signal includes:
- Entry arrow on the chart
- Horizontal entry line
- Stop-Loss and Take-Profit lines
3. SL/TP Calculation
Unlike tools that use ATR or fixed values, SL and TP are dynamically set using the fractal range — the distance between the most recent upper and lower fractals. This makes the risk model adaptive to market volatility and structure.
📊 Visuals on the Chart
- 🔺 Green/Red triangle markers = confirmed fractals
- 📈 Lime/Red channel lines = evolving upper/lower structure
- 🔵 Blue arrow = signal direction (buy/sell)
- 📉 SL/TP lines = dynamically drawn based on fractal spacing
- 🔁 Signal history = optional, toggleable for backtesting
⚙️ Settings and Customization
- Fractal sensitivity (bars left/right)
- Entry mode: Breakout or Rebound
- SL and TP multiplier (based on fractal range)
- Visibility settings (signal history, lines, colors, etc.)
💡 What Makes It Unique
This is not just a variation of standard fractals or a ZigZag wrapper.
Double Fractal Entry was built entirely from scratch and includes:
- ✅ A dual-channel system that shows the live market structure
- ✅ Entry signals based on price behavior around key zones
- ✅ Volatility-adaptive SL/TP levels for realistic trade management
- ✅ Clean, non-repainting logic for both manual and automated use
The goal is to simplify structure trading and provide precise, repeatable entries in any market condition.
🧪 Use Cases
- Breakout mode – Ideal for trend continuation and momentum entries
- Rebound mode – Great for reversals, pullbacks, and range-bound markets
- Can be used standalone or combined with volume/trend filters
⚠️ Disclaimer
This tool is intended for technical analysis and educational use. It does not predict future market direction and should be used with proper risk management and strategy confirmation.
Quantum Breakout System**Quantum Breakout System (QBS) by @profitgang**
**Description:**
The Quantum Breakout System combines multi-dimensional fractal analysis with a novel “quantum energy” momentum indicator to identify high-probability support and resistance breakout zones. It plots colored boxes around the latest primary fractals—red/orange/yellow for resistance and lime/green/blue for support—each labeled “Strong”, “Medium” or “Weak” to convey relative breakout strength. Optional background fills highlight pre-breakout staging areas.
**Key Features:**
* **Multi-Timeframe Fractals:** Detects primary fractals on the current chart, with adjustable lookback lengths.
* **Quantum Energy Momentum:** Computes an energy score by blending short, medium, and long RSI-based momentum; scaled by ATR-normalized volatility.
* **Dynamic Breakout Zones:** Plots color-coded boxes around fractals, with embedded labels indicating “Resistance — Strong/Medium/Weak” and “Support — Strong/Medium/Weak.”
* **Pre-Breakout Staging:** Semi-transparent background fills show upcoming breakout windows to help you prepare.
* **Fully Customizable:** User inputs for fractal lengths, energy smoothing, prediction bars, confidence thresholds, and label sizing.
* **Non-Repainting Logic:** All signals are evaluated on bar close to ensure historical consistency.
**Inputs & Controls:**
• Primary/secondary/tertiary fractal lengths
• Quantum energy smoothing and time-weight ratios
• Prediction bars ahead & confidence threshold
• Toggle fractal boxes, staging zones, and labels
• Label text size and color transparency
Resistance boxes (res_col):
Red = Strong breakdown potential (quantum_energy > 0.7)
Orange = Medium potential (0.5 < quantum_energy ≤ 0.7)
Yellow = Weak potential (quantum_energy ≤ 0.5)
Support boxes (sup_col):
Lime = Strong breakout potential (quantum_energy > 0.7)
Green = Medium potential (0.5 < quantum_energy ≤ 0.7)
Blue = Weak potential (quantum_energy ≤ 0.5)
**Usage & Disclaimer:**
This indicator is designed to help spot potential breakout areas—it does **not** guarantee future performance. Always backtest and use proper risk management. By using QBS, you acknowledge that @profitgang and TradingView are not responsible for any trading outcomes.
Happy trading!
Double Fractal Entry📘 Double Fractal Entry – Original Structure-Based Entry System
Double Fractal Entry is a proprietary indicator that uses dynamic fractal structure to generate actionable buy/sell signals, with automatic Stop-Loss and Take-Profit placement. Unlike classic fractal tools or ZigZag-based visuals, this script constructs real-time structural channels from price extremes and offers precise entry points based on breakout or rejection behavior.
It is designed for traders who want a clear, structured approach to trading price action — without repainting, lagging indicators, or built-in oscillators.
🧠 Core Logic
This script combines three custom-built modules:
1. Fractal Detection and Channel Construction
- Fractals are detected using a configurable number of left/right bars (sensitivity).
- Confirmed upper/lower fractals are connected into two continuous channels.
- These channels represent real-time structure zones that evolve with price.
2. Entry Signal Logic
You can choose between two signal types:
- Breakout Mode – Triggers when price breaks above the upper fractal structure (for buys) or below the lower one (for sells).
- Rebound Mode – Triggers when price approaches a fractal channel and then rejects it (forms a reversal setup).
Each signal includes:
- Entry arrow on the chart
- Horizontal entry line
- Stop-Loss and Take-Profit lines
3. SL/TP Calculation
Unlike tools that use ATR or fixed values, SL and TP are dynamically set using the fractal range — the distance between the most recent upper and lower fractals. This makes the risk model adaptive to market volatility and structure.
📊 Visuals on the Chart
- 🔺 Green/Red triangle markers = confirmed fractals
- 📈 Lime/Red channel lines = evolving upper/lower structure
- 🔵 Blue arrow = signal direction (buy/sell)
- 📉 SL/TP lines = dynamically drawn based on fractal spacing
- 🔁 Signal history = optional, toggleable for backtesting
⚙️ Settings and Customization
- Fractal sensitivity (bars left/right)
- Entry mode: Breakout or Rebound
- SL and TP multiplier (based on fractal range)
- Visibility settings (signal history, lines, colors, etc.)
💡 What Makes It Unique
This is not just a variation of standard fractals or a ZigZag wrapper.
Double Fractal Entry was built entirely from scratch and includes:
- ✅ A dual-channel system that shows the live market structure
- ✅ Entry signals based on price behavior around key zones
- ✅ Volatility-adaptive SL/TP levels for realistic trade management
- ✅ Clean, non-repainting logic for both manual and automated use
The goal is to simplify structure trading and provide precise, repeatable entries in any market condition.
🧪 Use Cases
- Breakout mode – Ideal for trend continuation and momentum entries
- Rebound mode – Great for reversals, pullbacks, and range-bound markets
- Can be used standalone or combined with volume/trend filters
🔒 Invite-Only Notice
This is an invite-only script with a fully closed source.
All logic is original and developed by the author. It does not use or copy public open-source scripts, built-in indicators (RSI, MA, etc.), or repainting tricks. The entire entry and risk system is based on custom structural logic built from real-time price action.
⚠️ Disclaimer
This tool is intended for technical analysis and educational use. It does not predict future market direction and should be used with proper risk management and strategy confirmation.
Clarix 5m Scalping Breakout StrategyPurpose
A 5-minute scalping breakout strategy designed to capture fast 3-5 pip moves, using premium/discount zone filters and market bias conditions.
How It Works
The script monitors price action in 5-minute intervals, forming a 15-minute high and low range by tracking the highs and lows of the first 3 consecutive 5-minute candles starting from a custom time. In the next 3 candles, it waits for a breakout above the 15m high or below the 15m low while confirming market bias using custom equilibrium zones.
Buy signals trigger when price breaks the 15m high while in a discount zone
Sell signals trigger when price breaks the 15m low while in a premium zone
The strategy simulates trades with fixed 3-5 pip take profit and stop loss values (configurable). All trades are recorded in a backtest table with live trade results and an automatically updated win rate.
Features
Designed exclusively for the 5-minute timeframe
Custom 15-minute high/low breakout logic
Premium, Discount, and Equilibrium zone display
Built-in backtest tracker with live trade results, statistics, and win rate
Customizable start time, take profit, and stop loss settings
Real-time alerts on breakout signals
Visual markers for trade entries and failed trades
Consistent win rate exceeding 90–95% on average when following market conditions
Usage Tips
Use strictly on 5-minute charts for accurate signal performance. Avoid during high-impact news releases.
Important: Once a trade is opened, manually set your take profit at +3 to +5 pips immediately to secure the move, as these quick scalps often hit the target within a single candle. This prevents missed exits during rapid price action.
Opening Range Breakout🧭 Overview
The Open Range Breakout (ORB) indicator is designed to capture and display the initial price range of the trading day (typically the first 15 minutes), and help traders identify breakout opportunities beyond this range. This is a popular strategy among intraday and momentum traders.
🔧 Features
📊 ORB High/Low Lines
Plots horizontal lines for the session’s high and low
🟩 Breakout Zones
Background highlights when price breaks above or below the range
🏷️ Breakout Labels
Text labels marking breakout events
🧭 Session Control
Customizable session input (default: 09:15–09:30 IST)
📍 ORB Line Labels
Text labels anchored to the ORB high and low lines (aligned right)
🔔 Alerts
Configurable alerts for breakout events
⚙️ Adjustable Settings
Show/hide background, labels, session window, etc.
⏱️ Session Logic
• The ORB range is calculated during a defined session window (default: 09:15–09:30).
• During this window, the highest high and lowest low are recorded as ORB High and ORB Low.
📈 Breakout Detection
• Breakout Above: Triggered when price crosses above the ORB High.
• Breakout Below: Triggered when price crosses below the ORB Low.
• Each breakout can trigger:
• A background highlight (green/red)
• A text label (“Breakout ↑” / “Breakout ↓”)
• An optional alert
🔔 Alerts
Two built-in alert conditions:
1. Breakout Above ORB High
• Message: "🔼 Price broke above ORB High: {{close}}"
2. Breakout Below ORB Low
• Message: "🔽 Price broke below ORB Low: {{close}}"
You can create alerts in TradingView by selecting these from the Add Alert window.
📌 Best Use Cases
• Intraday momentum trading
• Breakout and scalping strategies
• First 15-minute range traders (NSE, BSE markets)
Bollinger Bands Entry/Exit ThresholdsBollinger Bands Entry/Exit Thresholds
Author of enhancements: chuckaschultz
Inspired and adapted from the original 'Bollinger Bands Breakout Oscillator' by LuxAlgo
Overview
Pairs nicely with Contrarian 100 MA
The Bollinger Bands Entry/Exit Thresholds is a powerful momentum-based indicator designed to help traders identify potential entry and exit points in trending or breakout markets. By leveraging Bollinger Bands, this indicator quantifies price deviations from the bands to generate bullish and bearish momentum signals, displayed as an oscillator. It includes customizable entry and exit signals based on user-defined thresholds, with visual cues plotted either on the oscillator panel or directly on the price chart.
This indicator is ideal for traders looking to capture breakout opportunities or confirm trend strength, with flexible settings to adapt to various markets and trading styles.
How It Works
The Bollinger Bands Entry/Exit Thresholds calculates two key metrics:
Bullish Momentum (Bull): Measures the extent to which the price exceeds the upper Bollinger Band, expressed as a percentage (0–100).
Bearish Momentum (Bear): Measures the extent to which the price falls below the lower Bollinger Band, also expressed as a percentage (0–100).
The indicator generates:
Long Entry Signals: Triggered when the bearish momentum (bear) crosses below a user-defined Long Threshold (default: 40). This suggests weakening bearish pressure, potentially indicating a reversal or breakout to the upside.
Exit Signals: Triggered when the bullish momentum (bull) crosses below a user-defined Sell Threshold (default: 80), indicating a potential reduction in bullish momentum and a signal to exit long positions.
Signals are visualized as tiny colored dots:
Long Entry: Blue dots, plotted either at the bottom of the oscillator or below the price bar (depending on user settings).
Exit Signal: White dots, plotted either at the top of the oscillator or above the price bar.
Calculation Methodology
Bollinger Bands:
A user-defined Length (default: 14) is used to calculate an Exponential Moving Average (EMA) of the source price (default: close).
Standard deviation is computed over the same length, multiplied by a user-defined Multiplier (default: 1.0).
Upper Band = EMA + (Standard Deviation × Multiplier)
Lower Band = EMA - (Standard Deviation × Multiplier)
Bull and Bear Momentum:
For each bar in the lookback period (length), the indicator calculates:
Bullish Momentum: The sum of positive deviations of the price above the upper band, normalized by the total absolute deviation from the upper band, scaled to a 0–100 range.
Bearish Momentum: The sum of positive deviations of the price below the lower band, normalized by the total absolute deviation from the lower band, scaled to a 0–100 range.
Formula:
bull = (sum of max(price - upper, 0) / sum of abs(price - upper)) * 100
bear = (sum of max(lower - price, 0) / sum of abs(lower - price)) * 100
Signal Generation:
Long Entry: Triggered when bear crosses below the Long Threshold.
Exit: Triggered when bull crosses below the Sell Threshold.
Settings
Length: Lookback period for EMA and standard deviation (default: 14).
Multiplier: Multiplier for standard deviation to adjust Bollinger Band width (default: 1.0).
Source: Input price data (default: close).
Long Threshold: Bearish momentum level below which a long entry signal is generated (default: 40).
Sell Threshold: Bullish momentum level below which an exit signal is generated (default: 80).
Plot Signals on Main Chart: Option to display entry/exit signals on the price chart instead of the oscillator panel (default: false).
Style:
Bullish Color: Color for bullish momentum plot (default: #f23645).
Bearish Color: Color for bearish momentum plot (default: #089981).
Visual Features
Bull and Bear Plots: Displayed as colored lines with gradient fills for visual clarity.
Midline: Horizontal line at 50 for reference.
Threshold Lines: Dashed green line for Long Threshold and dashed red line for Sell Threshold.
Signal Dots:
Long Entry: Tiny blue dots (below price bar or at oscillator bottom).
Exit: Tiny white dots (above price bar or at oscillator top).
How to Use
Add to Chart: Apply the indicator to your TradingView chart.
Adjust Settings: Customize the Length, Multiplier, Long Threshold, and Sell Threshold to suit your trading strategy.
Interpret Signals:
Enter a long position when a blue dot appears, indicating bearish momentum dropping below the Long Threshold.
Exit the long position when a white dot appears, indicating bullish momentum dropping below the Sell Threshold.
Toggle Plot Location: Enable Plot Signals on Main Chart to display signals on the price chart for easier integration with price action analysis.
Combine with Other Tools: Use alongside other indicators (e.g., trendlines, support/resistance) to confirm signals.
Notes
This indicator is inspired by LuxAlgo’s Bollinger Bands Breakout Oscillator but has been enhanced with customizable entry/exit thresholds and signal plotting options.
Best used in conjunction with other technical analysis tools to filter false signals, especially in choppy or range-bound markets.
Adjust the Multiplier to make the Bollinger Bands wider or narrower, affecting the sensitivity of the momentum calculations.
Disclaimer
This indicator is provided for educational and informational purposes only.
ATR Pulse Breakout ATR Pulse Breakout is a versatile volatility-based indicator that identifies buy and sell signals using an adaptive ATR trailing stop strategy. By dynamically tracking market volatility, this indicator highlights potential trend reversals and breakout opportunities with precision.
Features:
• Signals generated when price crosses the ATR-based trailing stop, indicating actionable buy and sell points
• Two extended horizontal lines marking the high and low of the breakout candle for clear visualization
• Semi-transparent candle highlights to emphasize signal bars
• Buy and Sell arrows with customizable colors and labels for easy identification
• User inputs for ATR length, multiplier, and smoothing method to adjust sensitivity
Trading Approaches:
• Aggressive Traders: May enter immediately after the signal candle closes on the 15-minute timeframe to capitalize on early momentum
• Conservative Traders: Should wait for a confirmed breakout above or below the highlighted lines before entering, reducing false signals and enhancing trade reliability
Usage:
Ideal for traders looking to capture volatility-driven moves, ATR Pulse Breakout works well for day trading, swing trading, and longer-term strategies. Use the signals alongside your preferred risk management and confirmation tools to improve trading accuracy.
Developed with care by Ats9, combining robust volatility measures with clean visual cues for improved trade decision-making.
EMA Cross Strategy + Breakout Entry (Trend Filtered)A High-Probability Trading Strategy Using EMAs and Long-Term Trend Filters in Pine Script
In financial markets, successful trading often depends on identifying high-probability setups with consistent rules and clear confirmations. The Pine Script developed here combines the simplicity of exponential moving average (EMA) crossovers with the robustness of long-term trend filtering, enhancing entry timing and reducing exposure to false signals. This essay explains the strategy’s logic, technical components, strengths, and its potential effectiveness for active traders.
Introduction to the Strategy
This Pine Script trading strategy is built upon two foundational components:
1. EMA Crossovers: A well-established technique where a fast EMA (8-period) and a slower EMA (21-period) are used to detect short-term momentum shifts.
2. Trend Filtering Using SMA: A 100-period simple moving average (SMA) acts as a long-term trend indicator. Only trades in the direction of the dominant trend are considered valid.
These two elements are combined to create a high-probability, trend-following system that aims to capture meaningful price movements while avoiding low-quality entries that typically occur during sideways or choppy markets.
⸻
Core Entry Logic
The script defines two distinct entry conditions designed to complement each other:
1. Standard EMA Crossover Entry (Type A)
This is a classic momentum entry condition. When the 8 EMA crosses above the 21 EMA, it indicates a shift in short-term momentum. However, this signal alone is insufficient in many market conditions, especially when the broader trend is unclear or reversing. To mitigate this risk, the crossover is only accepted when the 100 SMA is in an uptrend, defined as the SMA currently being higher than its value on the previous bar. This ensures the strategy only takes long entries in bullish environments, aligning with the principle of trading with the trend.
2. Breakout Entry After Trend Reversal (Type B)
The second entry condition captures powerful “breakout” opportunities that often follow a fresh trend reversal. Specifically, when the 100 SMA transitions from a downtrend to an uptrend, the script starts a 15-bar lookback window. If, during that window, the price, 8 EMA, and 21 EMA all rise above the long-term SMA, it is considered a confirmation of trend strength and momentum alignment. A long entry is then signaled.
This condition is designed to capitalize on early participation in new uptrends, catching strong price expansions that typically follow a change in market direction.
⸻
Exit Logic
The exit logic is intentionally simple and tied to the same framework as entries. A position is exited when the 8 EMA crosses below the 21 EMA, and the 100 SMA remains in an uptrend. This ensures that exits are aligned with weakening momentum while the larger trend remains bullish. This avoids premature exits during minor pullbacks and focuses on retaining trades during sustained uptrends.
Notably, exits do not occur when the long-term trend has flipped bearish. This design choice prevents “reverse trend” noise from triggering exits too early and instead focuses purely on short-term weakness within a bullish macro backdrop.
⸻
Technical Components of the Script
The Pine Script is structured with clear and logical components:
1. Inputs: The user can customize the periods for the fast EMA, slow EMA, long-term SMA, and the trend-reversal lookback window (defaulted to 15 bars).
2. Trend Detection: The long-term trend is calculated using the slope of the 100 SMA. If the SMA is rising, the trend is marked as bullish and is visually plotted in green; otherwise, it is plotted in red.
3. State Management: The script tracks how many bars have passed since the long-term trend turned bullish. This is managed using a var integer variable that resets upon trend reversal and increments while the trend remains up.
4. Entry and Exit Signals: These are plotted as shape markers on the chart — green triangles for entry and red triangles for exit — providing visual clarity.
Each of these components works in harmony to ensure that trade signals are issued only in favorable environments with multiple confirmations.
⸻
Benefits of the Strategy
There are several key advantages to using this hybrid strategy:
1. Filters Out Choppy Markets
By requiring the long-term SMA to be in an uptrend for any entry or exit signal to be valid, the strategy avoids noisy, sideways price action where EMA crossovers are more likely to produce false signals.
2. Dual Entry Approach
The inclusion of two different entry types allows the strategy to both:
• Capture new trends as they emerge (Breakout Entry).
• Ride existing trends using EMA crossover logic (Standard Entry).
This dual approach balances early participation with trend confirmation, offering flexibility for different market conditions.
3. Clear Exit Criteria
By tying exits to a momentum weakening signal (EMA crossover down), traders are not left guessing when to exit. This supports consistent execution and reduces emotional decision-making.
4. Trend Alignment
Aligning both entry and exit decisions with the broader trend increases the probability that trades will move in the desired direction. This is a cornerstone of successful trend-following strategies.
5. Modular Design
The script’s modularity allows traders to easily expand it with backtesting functions, alerts, or additional filters like RSI, ATR, or volume-based conditions, depending on their individual trading needs.
⸻
Use Cases and Applications
This strategy is particularly well-suited for swing traders and position traders operating on the 4-hour or daily timeframes. It is also effective on trending assets like equity indices, major stocks, or cryptocurrencies with defined directional movement.
Additionally, this script can be used as a signal engine in a larger portfolio of strategies, where only trades with trend confirmation are allowed to proceed. It can also function as a discretionary trading aid, helping traders visually identify when technical conditions align favorably.
⸻
Conclusion
This enhanced EMA crossover strategy, powered by a long-term trend filter and a secondary breakout entry condition, offers a robust and disciplined approach to navigating financial markets. By focusing on trading in the direction of a confirmed uptrend and using both momentum and structural price behavior for entry confirmation, the strategy aims to minimize whipsaw trades and maximize participation in sustained bullish moves.
Its simple logic, visual clarity, and strong filtering mechanisms make it both practical for new traders and a valuable foundation for more advanced systems. Whether used as-is or further expanded with custom features, this Pine Script serves as an excellent tool for executing a structured, high-probability trading plan.