TRI - Multi-Timeframe Support and ResistanceTRI - MULTI-TIMEFRAME SUPPORT & RESISTANCE v3.0.0
DESCRIPTION:
Advanced multi-timeframe Support & Resistance indicator using ta.pivothigh/ta.pivotlow
to display pivot-based S/R levels from higher timeframes on your current chart.
Features smart pivot positioning, dynamic level merging, and comprehensive alert system.
KEY FEATURES:
Multi-timeframe pivot detection using ta.pivothigh/ta.pivotlow on candle body
Smart pivot positioning - pivots are placed on the correct candle type (bullish for highs, bearish for lows)
Automatic timeframe selection - configure different S/R timeframes for each chart timeframe
Dynamic level merging - nearby levels are merged based on ATR tolerance (newer wins)
Mitigated level tracking - shows recently broken levels with distinct styling
Smart visualization - always shows N closest levels above and below current price
Comprehensive alert system with 9 different alert types
Significant breakout detection with configurable parameters
Memory efficient - automatic cleanup of expired levels
HOW IT WORKS:
The indicator uses ta.pivothigh() and ta.pivotlow() on the selected higher timeframe.
Pivot highs are positioned on bullish candles (using close price).
Pivot lows are positioned on bearish candles (using close price).
If the pivot candle is not the correct type, it searches back up to 5 candles.
Only unbreached levels are displayed as active support/resistance.
When a level is breached, it becomes a "mitigated level" with distinct styling.
Mitigation is checked only after the first candle following the pivot (to avoid false triggers).
LEVEL MERGING:
Nearby levels of the same type are automatically merged based on ATR tolerance.
The newer pivot always wins, replacing older levels within the tolerance range.
Tolerance = HTF ATR × Merge Tolerance setting (default 0.5 ATR).
VISUALIZATION:
The indicator always displays the N closest levels above and below the current price.
Levels are sorted by distance, ensuring the most relevant S/R are always visible.
Active levels show as solid lines, mitigated levels as dashed lines.
ALERT SYSTEM:
Breakout (any level) - triggers when any level is broken with coherent candle
Breakout Support - triggers when a support level is broken by bearish candle
Breakout Resistance - triggers when a resistance level is broken by bullish candle
New Pivot (any) - triggers when a new pivot is detected
New Pivot Support - triggers when a new support pivot is detected
New Pivot Resistance - triggers when a new resistance pivot is detected
Significant Breakout (any) - triggers on high-quality breakouts
Significant Breakout Support - high-quality support breakout
Significant Breakout Resistance - high-quality resistance breakout
SIGNIFICANT BREAKOUT CRITERIA:
A breakout is considered "significant" when:
Candle direction is coherent (bearish for support, bullish for resistance)
At least X% of the candle body crosses the level (configurable, default 50%)
Opposite wick is limited to Y% of candle range (configurable, default 30%)
Example: For a bearish candle breaking support, the upper wick must be small.
TIMEFRAME CONFIGURATION:
Configure different S/R timeframes based on current chart timeframe:
1m-5m charts → Default 4h S/R
15m charts → Default 4h S/R
30m-1h charts → Default 4h S/R
4h charts → Default 4h S/R
Daily charts → Default Daily S/R
Weekly charts → Default Weekly S/R
Monthly charts → Default Monthly S/R
All timeframes are configurable via input settings.
SETTINGS OVERVIEW:
Timeframe Configuration - Set S/R timeframe for each chart timeframe
Pivot Detection - Max levels, left/right bars, merge tolerance, level extension
Mitigation Settings - How long mitigated levels remain visible
Visual Settings - Colors, line width, price scale display
Significant Breakout - Min body cross %, max opposite wick %
Debug - Show pivot detection markers
指標和策略
Price Action Visualizer (EMA/SMA Color Bars)This custom Pine Script indicator, "EMA(21) vs SMA(30) Color Bars," provides a unique and immediate visual representation of market bias by dynamically painting the candlesticks based on their position relative to two critical moving averages.
💡 What It Does:
The indicator calculates and plots the 21-period Exponential Moving Average (EMA) and the 30-period Simple Moving Average (SMA). It then analyzes the closing price of each candle and colors the entire candlestick (body and border) according to pre-defined trend conditions.
This visualization allows traders to identify strong trend environments versus periods of consolidation or indecision at a glance, removing the need to constantly check the price relationship manually.
🎨 Color Conditions and Meaning:
The indicator uses three distinct color states to signal the market's current momentum:
Color,Condition,Market Interpretation
🟢 GREEN,Closing Price is ABOVE both the 21 EMA AND the 30 SMA.,Strong Bullish Trend: Suggests high momentum and confirmation of an uptrend. Ideal for long bias.
🔴 RED,Closing Price is BELOW both the 21 EMA AND the 30 SMA.,Strong Bearish Trend: Suggests high downward pressure and confirmation of a downtrend. Ideal for short bias.
⚫ GRAY,"Closing Price is in any other state (e.g., between the two MAs, or under one and over the other).","Neutral / Consolidation: Indicates uncertainty, low momentum, or potential trend exhaustion/reversal. Caution is advised."
🔧 Customization Options:The indicator is fully customizable, allowing users to fine-tune the periods to match their preferred trading style (e.g., scalping, swing trading).Dĺžka EMA (Length EMA): Allows you to change the period for the Exponential Moving Average (default is 21).Dĺžka SMA (Length SMA): Allows you to change the period for the Simple Moving Average (default is 30).
True Gap Finder with Revisit DetectionTrue Gap Finder with Revisit Detection
This indicator is a powerful tool for intraday traders to identify and track price gaps. Unlike simple gap indicators, this script actively tracks the status of the gap, visualizing the void until it is filled (revisited) by price.
Key Features:
Active Gap Tracking: Finds gap-up and gap-down occurrences (where Low > Previous High or High < Previous Low) and actively tracks them.
Gap Zones (Clouds): Visually shades the empty "gap zone" (the void between the gap candles), making it instantly obvious where price needs to travel to fill the gap. The cloud disappears automatically once the gap is filled.
Dynamic Labels: automatically displays price labels at the origin of the gap, showing the specific price range (High-Low) that constitutes the gap. Labels are positioned intelligently to avoid cluttering current price action.
Alerts: Configurable alerts notify you the moment a gap is filled.
Customization: Full control over colors, clouds, labels, and alert settings to match your chart style.
How it works: The indicator tracks the most recent gap. If a new gap forms, it becomes the active focus. When price moves back to "close" or "fill" this gap area, the lines and clouds automatically stop plotting, giving you a clean chart that focuses only on open business.
Core Suite Essentials This script provides institutional-grade, multi-factor market analysis in a unified toolkit. Its true sophistication lies in its ability to reveal the critical interplay—the "dance"—between its core components, offering a profound view of market structure, momentum, and trend health that goes far beyond standard indicators.
Core Differentiators
Reveals the Core Trend "Dance":
The script masterfully visualizes the critical interaction between three foundational elements:
Ichimoku (Tenkan Sen & Kijun Sen): The leading actors defining momentum and equilibrium.
Bollinger Middle Band (BBM): The dynamic stage of support/resistance.
This interaction provides an institutional-grade read on trend integrity:
Strong Trend: A clean, bullish alignment with the Tenkan Sen leading, the Kijun Sen following, and the BBM acting as firm support confirms a powerful, unified move.
Trend Break Warning: The BBM moving between the Tenkan and Kijun signals convergence and compression, a critical alert of weakening momentum and a potential reversal.
Multi-Timeframe Momentum Confirmation:
This core trend analysis is fortified with a layered momentum gauge, providing a robust, institutional-style confirmation system:
Proprietary RSI-Based Bands across weekly, daily, and intraday frames.
Stochastic Channels (Sto12/Sto50) for additional context on price position.
Strategic Filters for Swing & Position Traders:
For higher-timeframe analysis, it delivers essential quantitative tools:
AnEMA29 Angle: Objectively quantifies trend strength and direction.
PDMDR (DMI Ratio): Measures directional dominance to filter low-conviction markets.
Integrated Cross-Asset Intelligence:
Completing the institutional perspective is a Correlation & Hedging Assistant, contextualizing price action against peers and identifying strategic opportunities based on RSI divergences.
Conclusion
This is not a mere collection of indicators; it is a consolidated analytical workstation. It captures the nuanced "dance" of the core trend triad, layers on multi-timeframe momentum confirmation, and provides strategic filters for timing and cross-asset context. This holistic, institutional-grade approach delivers a definitive and actionable market narrative.
ICHIMOKU
@insomniac_vampire
(SM3) Volume Profile Tool-kit1st pine script. It is a work in progress. I use this to mark previous day high and low value areas as well as overnight volume profile for NYSE open strategy.
Kernel EnvelopeKernel Envelope is a non-repainting dynamic band system designed to identify price overextension, trend exhaustion, volatility expansion, and high-probability reversal points.
Using a kernel-based smoothing technique, the indicator builds adaptive upper and lower envelopes that respond fluidly to market structure while maintaining exceptional stability for systematic trading.
These envelopes form the core of the system and allow traders to:
Detect bullish rebounds from the lower band
Detect bearish rejections from the upper band
Filter trend-following entries using volatility context
Identify zones where price is statistically stretched
Highlight exhaustion points during impulsive moves
The indicator also includes an integrated pivot-based trendline engine, which draws dynamic support and resistance levels derived from structural highs and lows.
These lines auto-extend forward and include breakout alerts, making them ideal for breakout traders, liquidity hunters, and structure-based strategies.
Key Features
Fully non-repainting envelope calculation
Adaptive smoothing responsive to market volatility
Clean gold/silver visual theme for maximum clarity
Glow-style rendering for enhanced band visibility
Automatic trendline generation using pivot points
Breakout alerts for upper and lower trendlines
Rebound and rejection alerts on envelope interaction
Works on all markets and timeframes
Whether you trade reversals, breakouts, or trend continuation setups, Kernel Envelope provides a reliable, low-noise framework for identifying high-quality trade signals.
Acknowledgment
This indicator is inspired by the original Nadaraya-Watson Envelope by LuxAlgo, whose work served as the foundation for further research and development.
Follow Me on X
For more indicators, updates, automated strategies, and educational content, you can follow me here:
X (Twitter): x.com
Shannon Entropy (Quant Lab)🟦 Shannon Entropy = The level of "order" or "chaos" in the market.
This indicator gives you the answer to the question:
"Is the market currently orderly and understandable, or is it random and chaotic?"
No other classical indicator can accurately show this.
The value of Entropy is between 0 and 1:
⸻
🟩 1) Entropy = 0.0 – 0.3 → Structured, orderly, readable market
During these periods, the price:
• A trend forms • Ranges work clearly • Patterns (head & shoulders, flag, triangle) form smoothly • Systems like Z-score, VWAP, EMA work very cleanly • Data for modeling (algorithmic strategies, ML) is high quality
Think of this region as follows:
The market "works according to rules," it's easy to trade.
⸻
🟧 2) Entropy = 0.3 – 0.7 → Normal behavior region
In this region:
• Neither too orderly nor too chaotic
• Most systems operate at an average rate • We can say the market is healthy
It is tradable; however, the conditions are not perfect.
⸻
🟥 3) Entropy = 0.7 – 1.0 → Chaos / Noise / Manipulation region
This is the MOST DANGEROUS REGION OF THE MARKET.
What happens?
• Prices jump randomly left and right. • Wicks increase excessively. • Fake breakouts multiply. • The win rate of strategies decreases. • Trend-following systems constantly generate "false signals." • Even mean-reversion systems are caught off guard. • ML models learn junk data during these periods. • Generally, news, liquidation cascades, and manipulation periods increase entropy.
This period perfectly illustrates:
"There is no logic in this market right now — it's moving randomly."
Therefore, it's a period where you need to be very careful:
Reduce position size. • Trade less. • Avoid unnecessary risks. • Tighten stop losses. • Don't use leverage.
This is your risk alert panel.
⸻
🔥 The real superpower Entropy gives you: Trend selection and system selection
Entropy → Determines which strategy you will use.
✔ Low Entropy → Trend following or mean-reversion that works like a toy
✔ High Entropy → Even opening a trade is risky
✔ Normal Entropy → Most strategies work
Building a strategy without this information is unprofessional.
⸻
🧠 Critical summary (you can even copy and paste it as a description in TradingView):
Low entropy → market is structured, patterns & trends are reliable
High entropy → market is chaotic, noisy, unpredictable; avoid aggressive trading
Entropy tells you if your strategy has a high chance or low chance of working
⸻
🟦 Signals Entropy gives in practice:
🔹 Entropy is falling →
The market is stabilizing → A major trend or strong move is approaching.
🔹 Entropy is rising →
The market is becoming chaotic → Sudden spike, a period of trading in prayer mode, extra risk.
🔹 Low Entropy + VR > 1 + High ER → FULL TREND MARKET
A true “trend paradise” period.
🔹 Low Entropy + VR < 1 + High FDI → RANGE MARKET
A paradise of mean reversion.
🔹 High Entropy + High VoV → DANGEROUS PERIOD
Big explosions, news, and liquidations happen here.
⸻
⭐ IN SHORT:
Entropy = an indicator of how randomly the market behaves.
• 0–0.3 → regular, good, reliable market
• 0.3–0.7 → normal market
• 0.7–1.0 → chaotic, dangerous market
It tells you at a glance whether you should trade during this period or not.
ICT Breaker Blocks [Exponential-X]🔄 Breaker Blocks
Overview
Breaker Blocks automatically identifies failed order blocks that have reversed their polarity. When an order block gets broken, it often becomes a powerful support or resistance zone in the opposite direction. This indicator tracks these institutional "flips" based on ICT (Inner Circle Trader) concepts, helping identify where price is likely to find strong support or resistance after a structural break.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 What This Indicator Does
Detects Breaker Blocks:
• 🔵 Bullish Breaker Blocks (BB+) - Failed bearish order blocks that became support
• 🟣 Bearish Breaker Blocks (BB-) - Failed bullish order blocks that became resistance
• Tracks order blocks first, then monitors when they break
• Converts broken order blocks into breaker blocks automatically
• Shows when breakers get tested by price
How Breakers Form:
1. Order block forms (last opposite candle before strong move)
2. Price returns and breaks through the order block
3. Broken order block becomes a breaker block with flipped polarity
4. Old resistance becomes new support (or vice versa)
Visual Display: Smart Features:
• Auto-timeframe adjustment for optimal detection
• ATR-based strength filtering
• Active block highlighting
• Test tracking
• Distance calculator
• Duplicate prevention
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📚 Understanding Breaker Blocks
What Are Breaker Blocks?
Breaker blocks are failed order blocks that price has broken through. In ICT methodology:
• When institutions place orders creating an order block
• If that level fails and price breaks through
• The zone often becomes strong support/resistance in the opposite direction
• This represents institutional position flipping
Why Breakers Form:
• Failed Defense: Institutions couldn't defend the original level
• Position Flip: Institutions reversed their position
• Stop Hunt Complete: After sweeping stops, new levels form
• Polarity Change: Old resistance becomes new support (or vice versa)
Key Difference From Order Blocks: [/b>
• Order Block: Original institutional level (unbroken)
• Breaker Block: Failed order block that flipped polarity
• Breakers often provide STRONGER reactions than original OBs
• Represents where institutions changed their strategy
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔵 Bullish Breaker Blocks Explained
Formation Process:
1. Step 1: Bearish order block forms (last bullish candle before drop)
2. Step 2: Price breaks ABOVE this bearish OB
3. Step 3: The broken bearish OB becomes a bullish breaker
4. Step 4: Now acts as SUPPORT when price returns
What It Means:
• Old resistance level failed
• Institutions flipped from selling to buying
• When price returns, zone acts as strong support
• Higher probability long setup than regular support
Trading Bullish Breakers:
Entry Setup:
• Wait for price to retrace back to bullish breaker
• Look for rejection/bounce from the breaker zone
• Enter long when price respects the breaker as support
• Stop loss: Below the breaker block
• Target: Recent high or opposite breaker
Why It Works:
Failed resistance becoming support is a strong technical signal indicating structural change in market sentiment.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🟣 Bearish Breaker Blocks Explained
Formation Process:
1. Step 1: Bullish order block forms (last bearish candle before rally)
2. Step 2: Price breaks BELOW this bullish OB
3. Step 3: The broken bullish OB becomes a bearish breaker
4. Step 4: Now acts as RESISTANCE when price returns
What It Means:
• Old support level failed
• Institutions flipped from buying to selling
• When price returns, zone acts as strong resistance
• Higher probability short setup than regular resistance
Trading Bearish Breakers:
Entry Setup:
• Wait for price to retrace back to bearish breaker
• Look for rejection/reversal from the breaker zone
• Enter short when price respects the breaker as resistance
• Stop loss: Above the breaker block
• Target: Recent low or opposite breaker
Why It Works:
Failed support becoming resistance indicates structural change and often leads to continuation moves.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 How To Use This Indicator
Strategy 1: Breaker Block Retest
Timeframes: 15min, 1H, 4H
Style: [/b> Swing trading, reversal entries
Rules:
1. Identify active breaker block (bright color, not gray)
2. Wait for price to return to the breaker zone
3. Look for reversal confirmation (pin bar, engulfing, rejection)
4. Enter in the direction the breaker suggests
5. Stop: Beyond opposite side of breaker
6. Target: 2-3R or previous structure
Example - Bullish Breaker:
• Bullish breaker at $48,000-$48,500
• Price drops to $48,200 (enters breaker)
• Bullish pin bar forms
• Enter long at $48,600, stop at $47,800
• Target: $50,000+
Strategy 2: Multi-Timeframe Breakers
Timeframes: Combine 1H + 4H or 15min + 1H
Style: [/b> High-probability setups
Rules:
1. Identify breaker on higher timeframe (4H or Daily)
2. Switch to lower timeframe (1H or 15min)
3. Look for lower TF breaker WITHIN higher TF breaker
4. Trade the lower TF breaker in same direction as HTF
5. Stop: Below lower TF breaker
6. Target: Edge of higher TF breaker or beyond
Why It Works: Alignment across timeframes increases probability
Strategy 3: Breaker + Order Block Confluence
Timeframes: 1H, 4H
Style: High-conviction trades
Rules:
1. Find breaker block that overlaps with fresh order block
2. This creates double institutional zone
3. Wait for price to reach confluence area
4. Enter on first touch with confirmation
5. Stop: Beyond confluence zone
6. Target: 3-5R
Why It Works: Two ICT concepts aligned = maximum probability
Strategy 4: Breaker Breakout
Timeframes: [/b> 5min, 15min, 1H
Style: Trend continuation
Rules:
1. Price approaches breaker block
2. Instead of respecting it, price breaks THROUGH
3. This indicates very strong momentum
4. Enter breakout in direction of break
5. Stop: Back inside the breaker
6. Target: 2-3R
Why It Works: When breakers fail, momentum is extremely strong
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ Settings Explained
Core Settings
Auto-Adjust for Timeframe (Default: ON)
• Automatically optimizes detection for current chart
• 1min: 3 bars lookback
• 5min: 4 bars lookback
• 15min: 5 bars lookback
• 1H: 6 bars lookback
• 4H+: 8-12 bars lookback
• Recommended: Keep ON
Manual Detection Length (Default: 5)
• Only used when Auto-Adjust is OFF
• Lookback period for finding order blocks
• Lower = more sensitive
• Higher = more selective
Display Settings
Show Bullish/Bearish Breaker Blocks
• Toggle each type independently
• Customize colors (default: cyan and fuchsia)
• Tip: Use colors that stand out from order blocks
Max Breaker Blocks to Display (Default: 10) [/b>
• Limits visible breakers
• Lower (5-8): Cleaner chart
• Higher (15-30): More context
• Recommended: 10-15
Show Breaker Block Labels [/b>
• Displays BB+ and BB- text
• Shows 🎯 on active (nearest) breaker
• Turn OFF for minimal appearance
Extend Blocks (bars) (Default: 50)
• How far to extend boxes to the right
• Recommended: 40-60 bars
Filters
Block Strength Filter (Default: Medium)
• Low: 0.5x ATR - More breakers, more noise
• Medium: 1x ATR - Balanced
• High: 1.5x ATR - Only strongest breakers
• Note: Breakers are naturally less common than OBs
• For learning: Use Low to see more examples
• For trading: Use Medium or High
Min Block Size % (Default: 0.1)
• Minimum breaker size as % of price
• Filters tiny insignificant blocks
• Adjust based on instrument volatility
Advanced
Show Tested Blocks (Default: OFF) [/b>
• When ON: Shows gray boxes for tested breakers
• When OFF: Breakers disappear after test
• Use ON: For learning and analysis
• Use OFF: For clean active trading
Highlight Active Block (Default: ON)
• Highlights nearest breaker to current price
• Active block shown with brighter color and 🎯
• Recommended: Keep ON
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📱 Info Panel Guide
Bullish BB Count Bearish BB Count
• Number of active (untested) bearish breaker blocks
• More bearish breakers = More resistance zones above
Bias Indicator [/b>
• ⬆ Bullish: More bullish breakers (support > resistance)
• ⬇ Bearish: More bearish breakers (resistance > support)
• ↔ Neutral: Equal breakers on both sides
Near Indicator
• Shows nearest active breaker and distance
• Example: "Bull BB -1.5%" = Bullish breaker 1.5% below price
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📱 Alert Setup
This indicator includes 2 alert types:
1. Price Entering Bullish Breaker [/b>
• Fires when price touches bullish breaker block
• Action: Watch for bounce/support
2. Price Entering Bearish Breaker
• Fires when price touches bearish breaker block
• Action: Watch for rejection/resistance
To Set Up Alerts:
1. Click "Alert" button (clock icon)
2. Select "Breaker Blocks"
3. Choose alert type
4. Configure notifications
5. Click "Create"
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💎 Pro Tips & Best Practices
✅ DO:
• Wait for confirmation before entering at breakers
• First touch of breaker has highest reliability
• Use breakers with trend direction for best results
• Combine with order blocks and FVGs for confluence
• Check multiple timeframes for breaker alignment
• Respect breakers - they're stronger than regular S/R
• Use proper stop placement beyond the breaker
⚠️ DON'T:
• Don't trade every breaker - quality over quantity
• Don't ignore breaker breaks - very strong momentum signal
• Don't use tight stops - allow room for wicks
• Don't expect all breakers to hold
• Don't trade against strong momentum through breakers
• Don't confuse breakers with regular order blocks
🎯 Best Timeframes:
• Scalping: 5min, 15min (quick breaker tests)
• Day Trading: 15min, 1H (balanced)
• Swing Trading: 1H, 4H, Daily (major breakers)
🔥 Best Markets:
• Excellent: BTC, ETH, Forex majors, ES, NQ
• Good: Gold, Oil, Major indices
• Note: Breakers need volatility to form
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎓 Advanced Concepts
Breaker Strength Hierarchy
From weakest to strongest:
1. Support/Resistance lines
2. Order Blocks (unbroken)
3. Breaker Blocks (broken OBs) ← Often strongest
4. Multiple breakers stacked together
Breaker vs Order Block Priority
If breaker and order block overlap:
• Breaker takes precedence
• Failed levels are more significant
• Price respects breakers more reliably
Nested Breakers [/b>
When lower timeframe breaker exists within higher timeframe breaker:
• Trade lower TF breaker first
• Use higher TF breaker as final target
• Highest probability setups
Multiple Breaker Tests [/b>
• First test: Highest probability
• Second test: Still valid but weaker
• Third test: Likely to break through
Breaker Breakouts [/b>
When price breaks through breaker:
• Extremely strong momentum signal
• Old level completely invalidated
• Trade the breakout aggressively
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 Common Patterns [/b>
Pattern 1: The Perfect Flip
• Bearish OB forms
• Price breaks above it cleanly
• Becomes bullish breaker
• First retest bounces perfectly
• High-probability setup
Pattern 2: The Double Break
• Bullish OB breaks down (becomes bearish breaker)
• Price tests it and rejects
• Later breaks back up through breaker
• Very strong momentum signal
Pattern 3: The Breaker Ladder [/b>
• Multiple breakers stacked like stairs
• Price bounces from one to next
• Each breaker provides support/resistance
Pattern 4: The Failed Breaker
• Breaker forms but gets broken immediately
• Shows extreme momentum
• Don't fight it - trade the breakout
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🙏 If You Find This Helpful
• ⭐ Leave your feedback
• 💬 Share your experience in the comments
• 🔔 Follow for updates and new tools
Questions about breaker blocks? Feel free to ask in the comments.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Version History [/b>
• v1.0 - Initial release with auto-timeframe detection and polarity flip tracking
Lead/Lag Correlation (Quant Lab)How to use it? (Briefly)
• otherSymbol: The asset you think could be the leader
• Example: If you are on a BTC chart → BINANCE:ETHUSDT, TOTAL3, USDT.D etc.
• lagBars:
• If you say 5: You are looking to see if there is a correlation between the movement of the other instrument 5 bars ago and your current movement. • In other words, is the other one leading?
• corr (green/red line):
• Close to +1 → strong positive correlation
• Close to -1 → strong negative correlation
• Close to 0 → no correlation
Lead/Lag interpretation:
• If the correlation is high for a specific lagBars (e.g., 0.7+):
➜ The otherSymbol you chose could be a strong "leader" for your current chart. In other words, its movement 5 bars ago is now explaining yours.
Bar Number IndicatorBar Number Indicator
This Pine Script indicator is designed to help intraday traders by automatically numbering candlesticks within a user-defined trading session. This is particularly useful for strategies that rely on specific bar counts (e.g., tracking the 1st, 18th, or 81st bar of the day).
Key Features:
Session-Based Counting: Automatically resets the count at the start of each new session (default 09:30 - 16:00).
Timezone Flexibility: Includes a dropdown to select your specific trading timezone (e.g., America/New_York), ensuring accurate session start times regardless of your local time or the exchange's default setting.
Smart Display Modes: Choose to show "All" numbers, or filter for "Odd" / "Even" numbers to keep your chart clean.
Custom Positioning: Easily place the numbers Above or Below the candlesticks.
Minimalist Design: Numbers are displayed as floating text without distracting background bubbles.
Dynamische Open/Close Levels mit Historie🎯 Key Features
This indicator provides clean, configurable horizontal lines showing the Open and Close prices of a higher chosen timeframe (e.g., the last 5-minute candle), serving as dynamic support and resistance levels.
Unlike traditional indicators that draw messy "steps" across your entire chart, this tool is designed for clarity and precise control.
Controlled History: Easily define how many of the last completed periods (e.g., 5-minute blocks) should remain visible on the chart. Set to 0 for only the current, active levels.
No Stepladder Effect: Uses advanced drawing methods (line.new and object management) to ensure the historical levels remain static and do not clutter your chart history.
Dynamic Labels: The labels (e.g., "Open (5)") automatically adjust to show the timeframe you configured in the indicator settings, eliminating confusion when switching timeframes.
Customizable: Full control over colors, line length, and label positioning/size.
💡 Ideal Use Case
Perfect for scalpers and day traders operating on lower timeframes (1m, 3m) who want to quickly visualize and respect crucial price action levels from a higher context (e.g., 5m, 15m, 1h).
Rolling Skewness & Kurtosis (Quant Lab)🔹 Skewness (Asymmetric Risk)
• Skew > 0 (green) → Right tail heavier:
• More frequent positive extreme movements
• Higher probability of pump/sharp rally
• Skew < 0 (red) → Left tail heavier:
• Higher risk of crash, dump, liquidation
• Skew ≈ 0 → Distribution is symmetrical, neither right nor left side is dominant
🔹 Excess Kurtosis (Intensity of Extreme Movements)
• Kurt > 0 → Fat tails:
• More extreme movements compared to a normal distribution
• Increased risk of unexpected large spikes, flash moves
• Kurt < 0 → Thin tail:
• More “calm” distribution, fewer extreme movements
This pair tells you:
“Which direction could this instrument explode in right now?
and has the intensity of extreme movements increased?”
Fractal Dimension (Katz, Quant Lab)This indicator estimates the Katz Fractal Dimension of the price series over a rolling window.
It computes:
• L = sum of absolute price changes within the window
• d = maximum distance between any point and the first point in the window
• n = window length
Then applies Katz’s formula:
FDI = ln(n) / (ln(n) + ln(d / L))
The resulting Fractal Dimension typically lies between 1.0 and 2.0:
• FDI ≈ 1.0–1.3 → Strong, directional trend (low randomness)
• FDI ≈ 1.3–1.5 → Mixed / transitional behavior
• FDI ≈ 1.5–2.0 → Noisy, choppy, mean-reverting / range market
Entry Scanner Conservative Option AKeeping it simple,
Trend,
RSI,
Stoch RSI,
MACD, checked.
Do not have entry where there is noise on selection, look for cluster of same entry signals.
If you can show enough discipline, you will be profitable.
CT
Variance Ratio & Efficiency Ratio (Quant Lab)1️⃣ Variance Ratio (VR)
Formula:
VR ≈ Var(q-step returns) / (q × Var(1-step returns))
Interpretation:
• VR ≈ 1 → The market is like a random walk; neither trend nor mean-reversion is dominant.
• VR > 1 → Trend behavior is dominant.
• Trend-following systems (EMA, Supertrend, breakout) work better.
• VR < 1 → Mean-reversion is dominant.
• Range/reversal strategies (Z-score, Bollinger fade, RSI reversal) work better.
In short:
• VR > 1 → Trending market
• VR < 1 → Mean-reverting market
This tells you:
“Should I build a trend system or a mean-reversion system for this instrument?”
⸻
2️⃣ Efficiency Ratio (ER)
Formula logic:
ER = |Close_now – Close_n-bars-ago| / Σ|Close_i – Close_{i+1}|
In other words:
• Numerator → Net movement over N bars
• Denominator → Total noise over N bars
Interpretation:
• ER ≈ 1 → The price has moved in almost a straight line in one direction.
→ The trend is very efficient, noise is low.
• ER ≈ 0 → The price has fluctuated a lot but hasn't gone anywhere definitively.
→ A complete noise/range market.
This tells you:
“How clear is the trend in this last N bars, and how much noise is there?”
⸻
🔥 The intelligence provided by both together:
• VR > 1 and ER is high (0.6–1.0) →
➜ Strong, high-quality trend. Golden age for trend-following.
• VR > 1 but ER is low (0.2–0.4) →
➜ Trend exists but there is a lot of noise, many fake movements. • VR < 1 and ER is low →
➜ Net range / sideways market. Ideal for mean-reversion.
Rolling Z-Score (Quant Lab)What does this Z-Score measure?
• src (default = close) → the value of the series you selected
• len → the window you are measuring based on the average of the last few bars
• Z ≈ 0 → price close to the average
• Z > 2 → price 2 standard deviations above the average (extremely positive deviation)
• Z < -2 → 2 standard deviations below the average (extremely negative deviation)
In modern mean-reversion strategies:
• Z > +2 → short / take profit candidate
• Z < –2 → long / dip buy candidate
Standard Deviation Levels with Settlement Price and VolatilityStandard Deviation Levels with Settlement Price and Volatility.
This indicator plots the standard deviation levels based on the settlement price and the implied volatility. It works for all Equity Stocks and Futures.
For Futures
Symbol Volatility Symbol (Implied Volatility)
NQ VXN
ES VIX
YM VXD
RTY RVX
CL OVX
GC GVZ
BTC DVOL
The plot gives you an ideas that the price has what probability staying in the range of 1SD,2SD,3SD ( In normal distribution method)
Please provide the feedback or comments if you find any improvements
Rahul Prakash's BUY/SELL signal for momentum tradeBuy or Sell signal with just on one confirmation candle.
Show a Buy singal then wait for the confirmation candle, is a strong Buy signal.
Show a Sell singal then wait for the confirmation candle, is a strong Sell signal.
You can use as a free version and earn money. Please are taking lots of price for this type of indicator.
ATR R-LevelsATR-R Levels is built for clarity of risk management.
The script takes your account size, chosen risk %, and the market’s volatility, then turns all of that into exact stop-loss, take-profit, and position size so there’s no guessing.
It’s inspired by key principles from NNFX, especially ATR-based stop placement and fixed-risk position sizing, but redesigned for fast intraday crypto trading. You get the same consistency and discipline NNFX is known for, adapted to a much shorter timeframe.
ATR-R Levels gives you:
A volatility-based stop using ATR
A clean 2R (or custom R-multiple) target
Automatic position sizing based on your risk rules
A simple HUD showing ATR, entry, stop, TP, size, and risk
Optional net profit estimates after fees
Let me know what you think or if you use it!
Auto Trend Lines [GT] - Major & Minor Auto Trend Lines — Smart Dynamic Trend Detection
This script automatically detects and plots key trend lines on your chart, helping traders quickly visualize market structure without manually drawing trendlines. It identifies swing highs and lows, filters noise, and dynamically updates trend lines as new price data forms—making it useful for both discretionary and systematic traders.
Features
1. Automatic Trend Line Detection
Finds meaningful support and resistance trend lines based on swing points and price structure.
2. Dynamic Updating
Trend lines adjust as new highs/lows form, keeping the chart aligned with real-time market conditions.
3. Noise Filtering
Built-in filtering logic reduces false trend lines by focusing on significant pivots rather than minor fluctuations.
4. Multi-Timeframe Friendly
Works across all chart timeframes, from scalping to swing trading.
5. Clean, Minimalist Visuals
Designed to enhance your chart without clutter—ideal for traders who want clarity.
How to Use
1. Add the script to any chart.
2. Let the auto-trend system highlight major market directions.
3. Combine trend lines with your preferred indicators or price action techniques for stronger confluence.
Best For
1. Trend-following traders
2. Price-action enthusiasts
3. Support/resistance based strategies
4. Beginners who want automatic trend detection
5. Advanced traders who want a quick visual validation tool
Disclaimer
This tool is for educational and analytical purposes only. It should not be considered financial advice or used as a standalone trading system. Always confirm signals with your own analysis and risk management.
Quality Detector (Buffett Style) + Beta [Solid]This indicator acts as an on-chart fundamental screener, designed to instantly evaluate the quality and financial health of a company directly on your price chart.
The concept is inspired by "Buffettology" principles: looking for large, profitable companies with low debt. Additionally, it includes a Beta calculation to assess market volatility risk.
The tool displays a panel in the bottom-right corner featuring four key metrics and a final verdict.
How it Works & Metrics Used
The script retrieves quarterly fundamental data ("FQ") and performs calculations to verify if the asset meets specific criteria.
1. Market Cap (Size)
What it is: The total market value of the company's outstanding shares.
Goal: To identify established, large-cap companies.
Default Threshold: Must be greater than $10 Billion.
2. ROE - Return on Equity (Quality)
What it is: A measure of financial performance calculated by dividing net income by shareholders' equity.
Goal: To find companies that are efficient at generating profits from shareholders' capital.
Default Threshold: Must be higher than 15%.
3. Total Debt to Equity (Health)
What it is: A ratio indicating the relative proportion of shareholders' equity and debt used to finance a company's assets.
Calculation: This script manually calculates this ratio by fetching TOTAL_DEBT and dividing it by TOTAL_EQUITY from fundamental data to ensure robustness across different symbols.
Goal: To ensure the company is not overly leveraged.
Default Threshold: Must be lower than 1.5.
4. Beta (Risk/Volatility)
What it is: A measure of a stock's volatility in relation to the overall market (S&P 500).
Calculation: It is calculated by comparing the asset's returns against SPY (S&P 500 ETF) returns over a 252-day period (approx. 1 trading year).
Goal: To understand if the stock is more volatile (Beta > 1) or less volatile (Beta < 1) than the market.
Note: Beta does not affect the final "Quality" score but serves as an extra risk indicator, highlighting in orange if Beta > 1.
The Verdict (Scoring System)
The indicator assigns a score from 0 to 3 based on the first three fundamental metrics (Size, ROE, and Debt/Equity).
If a metric passes the threshold, it gets a green background and +1 point.
If it fails, it gets a red background.
Final Verdict:
💎 QUALITY GEM: The company passed all 3 fundamental checks (Score = 3/3).
⚠️ DISCARD: The company failed one or more fundamental checks.
Settings
You can customize the thresholds to fit your own investment strategy in the indicator settings:
Minimum Market Cap (in Billions).
Minimum ROE (%).
Maximum Debt/Equity Ratio.
Disclaimer: This tool is for informational and educational purposes only. It relies on third-party fundamental data which may sometimes be delayed or unavailable. Do not base investment decisions solely on this indicator.
ATR + True RangeOne indicator for ATR & TR its a common indictor which can be used as one
instead of 2 different its is trial mode only not to be used with out other references





















