Quant-Action Pro: Triple Confluence EngineQuant-Action Pro: Triple Confluence Engine
Systematic Framework for Structural Price Action Analysis
Quant-Action Pro is a high-performance analytical engine designed to synchronize institutional liquidity flow with market geometry. Instead of traditional "signals," this framework identifies Structural States where three independent algorithmic layers align, providing a objective roadmap for the current price action context.
1. Core Algorithmic Matrix
The engine operates by monitoring the interaction between price and three proprietary logic layers:
A. Institutional Flow Node (SP2L) —
Logic: Monitors "Passive Liquidity Absorption" at the 20-period EMA.
Function: Identifies zones where institutional buyers/sellers are defending the trend's equilibrium. This is not a simple touch; it requires a validated "Touch-and-Hold" sequence.
B. Structural Flip Scanner (BTB) —
Logic: Detects the transition from old supply to new demand (S/R Flip).
Function: Uses a 3-phase Break-Test-Break verification to confirm that a structural breakout is backed by volume, reducing the risk of "Fake-outs."
C. Liquidity Compression Monitor (Micro Map) —
Logic: Statistical range-contraction analysis (Volatility Squeeze).
Function: Signals a High-Density State where price is coiling for an expansion move.
2. The Golden State: Triple Confluence Logic
The GOLD label represents the "Apex" of this engine. It is triggered only when the SP2L, BTB, and Micro Map layers synchronize on a single candle. In structural terms, this means:
Trend Defense (SP2L) is active.
Structural Breakout (BTB) is confirmed.
Volatility Expansion (MM) is imminent.
This Triple-Layer filtering ensures that Golden Signals only appear during periods of maximum market conviction.
3. Professional Implementation (Structural View)
MTF Trend Matrix: A built-in dashboard provides a 1H, 4H, and 1D diagnosis to ensure local setups align with the Macro Trend.
Smart Invalidation (Adaptive Trendlines): The engine draws dynamic geometry to define the current "Structural Floor/Ceiling." A decisive close beyond these lines acts as a clear Invalidation Point for the current thesis.
Mean Reversion: The system uses the 200-EMA as the primary directional filter, defining whether the market is in a "Bullish Expansion" or "Bearish Correction" state.
⚠️ Risk Disclaimer
Trading financial instruments involves significant risk. Quant-Action Pro is an educational tool designed for research and structural analysis. It does not provide financial advice. Past performance is not indicative of future results. Always use strict risk management.
Analyse de la tendance
Mag 7 EMA Trend MonitorDashboard Layout:
1. Symbol Column: The Mag 7 tickers.
2. Trend Column: Visual Bull/Bear status.
3. Strength Column: Percentage distance from the mean (EMA 21).
4. Aggregate Row: Summary of market breadth and average sector pull/push.
How to Interpret the Trend Strength:
• Positive %: The stock is trading above its 21 EMA. A very high number (e.g., $+15\%$) might suggest the stock is "overbought" or overextended.
• Negative %: The stock is trading below its 21 EMA. A very low number (e.g., $-10\%$) might suggest it is "oversold."
• Avg Strength: This gives you a bird's-eye view of the sector. If the aggregate is "5 Up / 2 Down" but the Avg Strength is only $+0.5\%$, the trend is weak and might be exhausting.
"Pro-tips" for tool:
• Multi-Timeframe Correlation: Try setting the Dashboard Timeframe to "D" (Daily) while trading on a "5m" or "15m" chart. This allows you to see if your intraday trade is aligned with the "Big Money" trend of the week.
• The 4/7 Rule: Watch for that Aggregate row to hit 4 out of 7. In the Mag 7, since these stocks carry so much weight in the SPY and QQQ, a shift to a majority (4+) often precedes a move in the overall market indices.
RS Rating (1-99)RS Rating
This indicator implements a Relative Strength (RS) rating for TradingView and is designed specifically to be used with the Pine Screener.
Concept
Relative Strength is calculated using weighted price performance over multiple time windows (approximately 3, 6, 9, and 12 months).
More recent performance is weighted more heavily, following well-established relative strength methodologies.
The resulting raw RS score is then compressed into a 1–99 scale, creating an intuitive and stable ranking metric.
Because TradingView scripts cannot rank a stock against the entire market universe, this indicator uses a behavioral proxy: the current RS score is mapped against its own historical distribution.
This produces RS values that behave similarly to widely used RS ratings, but it is not a true cross-sectional percentile rank.
IPO handling
RS Rating is not displayed until sufficient price history exists (default: ~9 months / 189 bars).
This avoids distorted RS values for newly listed stocks. IPOs are better evaluated using separate momentum, volume, or structure-based tools until they mature.
Interpretation (rule of thumb)
- RS ≥ 80 → strong relative performance
- RS ≥ 90 → leader
- RS ≥ 95 → very selective / top-tier
- RS Rating is best used as a ranking and confirmation tool, not as an entry signal.
Using RS Rating with TradingView Pine Screener
This indicator is designed to work directly with the TradingView Pine Screener (beta).
Setup
- Add the indicator to a chart
- Open Pine Screener
- Select this script as a filter source
- Use the plotted RS Rating (1–99) value for sorting or filtering
The screener reads the single plotted RS value and treats it as a sortable numeric column.
Typical screening workflows
Leader scan
Filter: RS Rating ≥ 90
Sort: Descending by RS Rating
Identifies stocks with sustained relative outperformance.
Broad strength scan
Filter: RS Rating ≥ 80
Useful for identifying emerging leaders or strong secondary names.
Top-of-universe view
No filter
Sort: Descending by RS Rating
Shows the strongest names within the selected universe.
Important notes on Pine Screener (beta)
The Pine Screener currently displays a limited number of results (approximately 100).
Symbols may be pre-sampled before filtering.
For larger universes, consider:
- splitting symbols to be scanned into multiple watchlists
Best practices
Use RS Rating to rank and prioritize candidates, not to time entries.
Combine RS with:
- price structure,
- volume behavior,
- overall market regime.
RS is most effective when used as part of a multi-factor screening process.
Volatility Squeeze Pro [JOAT]
Volatility Squeeze Pro — Advanced Volatility Compression Analysis System
This indicator addresses a specific analytical challenge in volatility analysis: how to identify periods when different volatility measurements show compression relationships that may indicate potential energy buildup in the market. It combines two distinct volatility calculation methods—standard deviation-based bands and ATR-based channels—with a momentum oscillator to provide comprehensive volatility state analysis.
Why This Combination Provides Unique Analytical Value
Traditional volatility indicators typically focus on single measurements, but markets exhibit different types of volatility that require different analytical approaches:
1. **Closing Price Volatility** (Standard Deviation): Measures how much closing prices deviate from their average
2. **Trading Range Volatility** (ATR): Measures the actual high-to-low trading ranges
3. **Directional Momentum**: Measures where price sits within its recent range
The problem with using these individually:
- Standard deviation alone doesn't account for intraday volatility
- ATR alone doesn't consider closing price clustering
- Momentum alone doesn't provide volatility context
- No single measurement captures the complete volatility picture
This indicator's originality lies in creating a comprehensive volatility analysis system that:
**Identifies Volatility Compression**: When closing price volatility contracts inside trading range volatility, it suggests potential energy buildup
**Provides Momentum Context**: Shows directional bias during compression periods
**Offers Multi-Dimensional Analysis**: Combines three different analytical approaches into one coherent system
**Delivers Real-Time Assessment**: Continuously monitors the relationship between different volatility types
Technical Innovation and Originality
While individual components (Bollinger Bands, Keltner Channels, Linear Regression) are standard, the innovation lies in:
1. **Volatility Relationship Detection**: The mathematical comparison between standard deviation bands and ATR channels creates a unique compression identification system
2. **Integrated Momentum Analysis**: Linear regression-based momentum calculation provides directional context specifically during volatility compression periods
3. **Multi-State Visualization**: The indicator provides clear visual encoding of different volatility states (compressed vs. normal) with momentum direction
4. **Adaptive Threshold System**: The squeeze detection automatically adapts to different instruments and timeframes without manual calibration
How the Components Work Together Analytically
The three components create a comprehensive volatility analysis framework:
**Standard Deviation Component**: Measures closing price dispersion around the mean
float bbBasis = ta.sma(close, bbLength)
float bbDev = bbMult * ta.stdev(close, bbLength)
float bbUpper = bbBasis + bbDev
float bbLower = bbBasis - bbDev
**ATR Channel Component**: Measures actual trading range volatility
float kcBasis = ta.ema(close, kcLength)
float kcRange = ta.atr(atrLength)
float kcUpper = kcBasis + kcRange * kcMult
float kcLower = kcBasis - kcRange * kcMult
**Squeeze Detection Logic**: Identifies when closing price volatility compresses within trading range volatility
bool squeezeOn = bbLower > kcLower and bbUpper < kcUpper
// This condition indicates closing prices are clustering more tightly
// than the typical trading range would suggest
**Momentum Context Component**: Provides directional bias during compression
float highestHigh = ta.highest(high, momLength)
float lowestLow = ta.lowest(low, momLength)
float momentum = ta.linreg(close - math.avg(highestHigh, lowestLow), momLength, 0)
float momSmooth = ta.sma(momentum, smoothLength)
The analytical relationship creates a system where:
- Squeeze detection identifies WHEN volatility compression occurs
- Momentum analysis shows WHERE price is positioned during compression
- Combined analysis provides both timing and directional context
How the Volatility Comparison Works
The indicator compares two volatility measurements:
Standard Deviation Bands
These measure how much closing prices deviate from their average. When prices cluster tightly around the average, the bands contract.
// Standard deviation bands calculation
float bbBasis = ta.sma(close, bbLength)
float bbDev = bbMult * ta.stdev(close, bbLength)
float bbUpper = bbBasis + bbDev
float bbLower = bbBasis - bbDev
ATR-Based Channels
These measure volatility using Average True Range—the typical distance between high and low prices. They respond to the actual trading range rather than closing price dispersion.
// ATR-based channels calculation
float kcBasis = ta.ema(close, kcLength)
float kcRange = ta.atr(atrLength)
float kcUpper = kcBasis + kcRange * kcMult
float kcLower = kcBasis - kcRange * kcMult
The Squeeze Condition
A "squeeze" is detected when the standard deviation bands are completely contained within the ATR channels:
// Squeeze detection
bool squeezeOn = bbLower > kcLower and bbUpper < kcUpper
This condition indicates that closing price volatility has compressed relative to the overall trading range.
The Momentum Component
The momentum oscillator measures where price sits relative to its recent high-low range, using linear regression for smoothing:
// Momentum calculation
float highestHigh = ta.highest(high, momLength)
float lowestLow = ta.lowest(low, momLength)
float momentum = ta.linreg(close - math.avg(highestHigh, lowestLow), momLength, 0)
float momSmooth = ta.sma(momentum, smoothLength)
Positive values indicate price is above the midpoint of its recent range; negative values indicate below.
Why Display Both Together
The squeeze detection shows WHEN volatility is compressed. The momentum reading shows the current directional bias of price within that compression. Together, they provide two pieces of information:
1. Is volatility currently compressed? (squeeze status)
2. Where is price leaning within the current range? (momentum)
These are observations about current conditions, not predictions about future movement.
Visual Elements
Momentum Histogram — Bars showing momentum value
- Green shades: Positive momentum (price above range midpoint)
- Red shades: Negative momentum (price below range midpoint)
- Brighter colors: Momentum increasing
- Faded colors: Momentum decreasing
Squeeze Dots — Circles on the zero line
- Red: Squeeze condition active
- Green: No squeeze condition
Release Markers — Triangle markers when squeeze condition ends
Dashboard — Current readings and status
Color Scheme
Squeeze Active — #FF5252 (red)
No Squeeze — #4CAF50 (green)
Momentum Positive — #00E676 / #81C784 (green shades)
Momentum Negative — #FF5252 / #E57373 (red shades)
Inputs
Standard Deviation Bands:
Length (default: 20)
Multiplier (default: 2.0)
ATR Channels:
Length (default: 20)
Multiplier (default: 1.5)
ATR Period (default: 10)
Momentum:
Length (default: 12)
Smoothing (default: 3)
How to Read the Display
Red dots indicate the squeeze condition is present
Green dots indicate normal volatility relationship
Histogram direction shows current momentum bias
Histogram color brightness shows whether momentum is increasing or decreasing
Alerts
Squeeze condition started
Squeeze condition ended
Squeeze ended with positive momentum
Squeeze ended with negative momentum
Extended squeeze (8+ bars)
Important Limitations and Realistic Expectations
Volatility compression detection is a mathematical relationship between calculations—it does not predict future price movements
Many compression periods do not result in significant price expansion or directional moves
Momentum direction during compression does not reliably indicate future breakout direction
This indicator analyzes current and historical volatility conditions only—it cannot predict future volatility
False signals are common—not every squeeze leads to tradeable price movement
Different parameter settings will produce different compression detection sensitivity
Market conditions, news events, and fundamental factors often override technical volatility patterns
No volatility indicator can predict the timing, direction, or magnitude of future price movements
This tool should be used as one component of comprehensive market analysis
Appropriate Use Cases
This indicator is designed for:
- Volatility state analysis and monitoring
- Educational study of volatility relationships
- Multi-dimensional volatility assessment
- Supplementary analysis alongside other technical tools
- Understanding market compression/expansion cycles
This indicator is NOT designed for:
- Standalone trading signal generation
- Guaranteed breakout prediction
- Automated trading system triggers
- Market timing precision
- Replacement of fundamental analysis
Understanding Volatility Analysis Limitations
Volatility analysis, while useful for understanding market conditions, has inherent limitations:
- Past volatility patterns do not guarantee future patterns
- Compression periods can extend much longer than expected
- Expansion periods may be brief and insufficient for trading
- External factors (news, fundamentals) often override technical patterns
- Different markets and timeframes exhibit different volatility characteristics
— Made with passion by officialjackofalltrades
Squeeze Momentum with Trend Exhaustion# Squeeze Momentum + Trend Exhaustion Indicator
## Complete User Manual
---
## Table of Contents
1. (#what-this-indicator-does)
2. (#visual-components)
3. (#market-states)
4. (#how-to-read-signals)
5. (#trading-examples)
6. (#configuration-guide)
7. (#best-practices)
---
## What This Indicator Does
This indicator combines two powerful concepts to identify complete market cycles:
### 1. Squeeze Momentum (LazyBear)
Detects **volatility compression** (consolidation) and subsequent **expansion** (breakout).
**Think of it like:** A spring being compressed, then released.
### 2. Multi-Timeframe Trend Exhaustion
Measures how far price has moved from its moving averages across multiple timeframes.
**Think of it like:** A rubber band being stretched—eventually it must snap back.
### The Complete Cycle
```
Consolidation → Breakout → Trend → Exhaustion → Reversion → Consolidation
```
This indicator shows you exactly where you are in this cycle.
---
## Visual Components
### Main Panel (Bottom)
| Element | What It Looks Like | Meaning |
|---------|-------------------|---------|
| **Colored Bars** | Green/Red histogram | Momentum strength and direction |
| **Filled Area** | Yellow/Lime/Red gradient area | Price extension from moving averages |
| **Cross at Zero** | Black/Gray/Blue cross | Squeeze state (volatility) |
| **Dashed Lines** | Horizontal red/green lines | Extension thresholds (±2σ scaled) |
---
### 1. Momentum Histogram (Colored Bars)
| Color | Direction | Meaning |
|-------|-----------|---------|
| **Bright Green** (Lime) | Up ↑ | Strong bullish momentum (increasing) |
| **Dark Green** | Up ↑ | Weak bullish momentum (decreasing) |
| **Bright Red** | Down ↓ | Strong bearish momentum (increasing) |
| **Dark Red** (Maroon) | Down ↓ | Weak bearish momentum (decreasing) |
**Key insight:** When bars change from bright to dark, momentum is fading.
---
### 2. Extension Area (Filled Gradient)
Shows how extended price is from its moving averages across 5 timeframes (5m, 15m, 1h, 4h, Daily).
| Color | Position | Meaning |
|-------|----------|---------|
| **Red** | High above zero | Severely overbought (>2σ scaled) |
| **Orange/Yellow** | Above zero | Moderately overbought |
| **Lime/Green** | Below zero | Moderately oversold |
| **Teal** | Deep below zero | Severely oversold (<-2σ scaled) |
**The area is scaled 3x** for better visibility. Actual values shown in table.
**Reading it:**
- **Area touching upper dashed line** = Price very far above averages (exhaustion territory)
- **Area touching lower dashed line** = Price very far below averages (exhaustion territory)
- **Area near zero** = Price near its averages (normal/neutral)
---
### 3. Squeeze Indicator (Cross at Zero Line)
| Color | Status | Meaning |
|-------|--------|---------|
| **Black** ⚫ | Squeeze ON | Bollinger Bands inside Keltner Channels → Low volatility, consolidation |
| **Gray** ⚪ | Squeeze OFF | Bollinger Bands outside Keltner Channels → Volatility expanding, breakout |
| **Blue** 🔵 | No Squeeze | Normal volatility conditions |
**Critical:** The transition from Black → Gray is where explosive moves begin.
---
### 4. Entry/Exit Signals
| Symbol | Type | Meaning |
|--------|------|---------|
| 🔺 **Large Green Triangle** | HC Long Entry | High Confidence long setup (Squeeze OFF + Oversold + Confluence) |
| 🔻 **Large Red Triangle** | HC Short Entry | High Confidence short setup (Squeeze OFF + Overbought + Confluence) |
| 🔺 Small green | Medium Long | Long setup without full confluence |
| 🔻 Small red | Medium Short | Short setup without full confluence |
| ✕ Orange X | Exit Long | Close long positions (exhaustion detected) |
| ✕ Teal X | Exit Short | Close short positions (exhaustion detected) |
**Trade only the LARGE triangles** for highest probability setups.
---
## Market States
The indicator identifies 7 distinct market states shown in the info table.
### State 1: 💤 CONSOLIDATION
**Conditions:**
- Squeeze: ON (black cross)
- Extension: Near zero (±1σ)
- Momentum: Contracting
**What's happening:** Price is range-bound, volatility dying down. Spring is being compressed.
**Action:** **WAIT.** Do not trade. Set alerts for Squeeze OFF.
---
### State 2: ⚡ BREAKOUT BULL / BEAR
**Conditions:**
- Squeeze: OFF (gray cross) ← **Key trigger**
- Extension: Still moderate
- Momentum: Strong directional move (bright green or red bars)
**What's happening:** Volatility explosion. Spring released. This is the start of a new trend.
**Action:** **ENTER** in direction of momentum.
- ⚡ BREAKOUT BULL → Go LONG
- ⚡ BREAKOUT BEAR → Go SHORT
**Best scenario:** Breakout from oversold/overbought levels (confluence with exhaustion indicator).
---
### State 3: ↗️ TRENDING UP / ↘️ TRENDING DOWN
**Conditions:**
- Squeeze: OFF or No Squeeze
- Extension: Growing (1σ to 2σ)
- Momentum: Sustained strong bars
**What's happening:** Trend in progress. Price moving away from averages.
**Action:** **HOLD** positions. Let winners run. Don't fight the trend.
---
### State 4: ⚠️ EXTENDED UP / DOWN
**Conditions:**
- Extension: Above 2σ threshold
- Momentum: Still strong (bright bars)
- Confluence: May be weak
**What's happening:** Price stretched but still has power. Caution zone.
**Action:** **CAUTION.** Don't enter new positions. Tighten stops on existing positions.
---
### State 5: 🔴 EXHAUSTION BULL / 🟢 EXHAUSTION BEAR
**Conditions:**
- Extension: >2σ (touching dashed lines)
- Momentum: Fading (bright bars turning dark)
- Velocity: Decreasing
- Confluence: 3/5 or better
**What's happening:** Rubber band stretched to maximum. Trend running out of energy.
**Action:** **EXIT** positions.
- 🔴 EXHAUSTION BULL → Close LONGS, consider SHORT
- 🟢 EXHAUSTION BEAR → Close SHORTS, consider LONG
**This is the highest probability reversal signal.**
---
### State 6: ➡️ TRENDING (Neutral Direction)
**Conditions:**
- Price trending but without clear momentum direction changes
**Action:** **HOLD** or wait for clearer signals.
---
### State 7: — NEUTRAL
**Conditions:**
- Extension near zero
- No squeeze
- Weak momentum
**Action:** No trade. Wait for setup.
---
## How to Read Signals
### Perfect Long Entry (High Confidence ⭐)
**Requirements (all must be true):**
1. ⚫→⚪ Squeeze just turned OFF (gray cross)
2. 📊 Momentum bars bright GREEN and rising
3. 🔻 Extension area BELOW lower dashed line (oversold)
4. ⭐ Confluence: 3/5 or more timeframes agree (shown as "🔻" in table)
**Visual:** Large green triangle appears
**What this means:** Price was oversold across multiple timeframes, consolidated, and is now breaking out upward with fresh momentum.
**Entry:** Next candle after signal
**Stop Loss:** Below recent consolidation low
**Take Profit:** When extension area crosses back above zero, or when exit signal appears
---
### Perfect Short Entry (High Confidence ⭐)
**Requirements (all must be true):**
1. ⚫→⚪ Squeeze just turned OFF (gray cross)
2. 📊 Momentum bars bright RED and falling
3. 🔺 Extension area ABOVE upper dashed line (overbought)
4. ⭐ Confluence: 3/5 or more timeframes agree (shown as "🔺" in table)
**Visual:** Large red triangle appears
**What this means:** Price was overbought across multiple timeframes, consolidated, and is now breaking down with fresh momentum.
**Entry:** Next candle after signal
**Stop Loss:** Above recent consolidation high
**Take Profit:** When extension area crosses back below zero, or when exit signal appears
---
### Exit Signals
#### Exit Long (Orange X)
**Appears when:**
- Extension area reaches upper dashed line (>2σ)
- Momentum bars turning from bright green to dark green
- Price losing upward velocity
**Action:** Close 50-100% of position. Move stop to breakeven on remainder.
#### Exit Short (Teal X)
**Appears when:**
- Extension area reaches lower dashed line (<-2σ)
- Momentum bars turning from bright red to dark red
- Price losing downward velocity
**Action:** Close 50-100% of position. Move stop to breakeven on remainder.
---
### Medium Confidence Signals (Small Triangles)
These appear when squeeze is OFF and momentum is directional, but:
- Extension is only moderate (not extreme), OR
- Confluence is weak (<3/5 timeframes)
**How to trade:**
- Use smaller position size (50% of normal)
- Tighter stops
- Only take if other factors align (support/resistance, volume, etc.)
---
## Trading Examples
### Example 1: Classic Squeeze Play into Trend
```
Step 1: CONSOLIDATION (💤)
Chart: Price moving sideways for 10-20 candles
Indicator: Black cross at zero (Squeeze ON)
Extension: Yellow/Lime area near zero line
Action: Set alert for Squeeze OFF
Step 2: BREAKOUT (⚡)
Chart: Strong green candle breaks resistance
Indicator: Cross turns GRAY (Squeeze OFF)
Bright GREEN momentum bars appear
Extension area still near zero or slightly below
Signal: Large green triangle appears
Action: ENTER LONG
Stop loss below consolidation
Target: Extension upper line
Step 3: TRENDING (↗️)
Chart: Series of higher highs and higher lows
Indicator: Momentum bars stay bright green
Extension area rising toward upper line
Area color transitions yellow → orange → red
Action: HOLD, trailing stop
Step 4: EXHAUSTION (🔴)
Chart: Price makes new high but with smaller candle
Indicator: Extension area touches upper dashed line
Momentum bars turn DARK green (weakening)
Orange X appears
Table shows "EXHAUSTION BULL"
Action: EXIT position
Book profits
Step 5: REVERSION
Chart: Price falls back toward moving averages
Indicator: Extension area shrinks back toward zero
Red momentum bars appear
Action: Wait for next setup
```
**Result:** Caught the entire trend from breakout to exhaustion.
---
### Example 2: Failed Breakout (What NOT to Trade)
```
Situation:
- Squeeze OFF (gray cross) ✓
- Momentum bars bright green ✓
- BUT extension area ABOVE upper line (already overbought) ✗
- Confluence shows 1/5 (only one timeframe agrees) ✗
Indicator: Small green triangle (medium confidence) or no triangle
What happens: Price makes small move up, then reverses
Lesson: Don't chase extended moves even if squeeze fires.
Wait for price to be on the RIGHT SIDE of the extension lines.
```
---
### Example 3: Exhaustion Reversal Trade
```
Step 1: EXTENDED (⚠️)
Chart: Strong uptrend for days
Indicator: Extension area deep in red zone (>2σ)
Momentum still bright green but starting to shorten
Table: "EXTENDED UP" / "CAUTION LONG"
Action: Watch closely, tighten stops
Step 2: EXHAUSTION (🔴)
Chart: Price makes final push but with decreasing volume
Indicator: Momentum bars turn DARK green
Orange X appears
Table: "EXHAUSTION BULL" + "4/5 🔺"
Action: CLOSE any longs
Consider SHORT entry
Step 3: SQUEEZE FORMS (Optional)
Chart: Price starts consolidating
Indicator: Cross turns BLACK (Squeeze ON)
Extension area falling toward zero
Action: Wait for Squeeze OFF to confirm reversal
Step 4: BREAKOUT DOWN (⚡)
Indicator: Cross turns GRAY
Bright RED momentum bars
Large red triangle appears
Action: ENTER SHORT (reversal confirmed)
```
**Result:** Exited at the top, caught the reversal.
---
## Configuration Guide
### Recommended Settings by Timeframe
#### For 4H Charts (Swing Trading)
```
Squeeze Settings: (defaults are fine)
- BB Length: 20
- BB MultFactor: 2.0
- KC Length: 20
- KC MultFactor: 1.5
Exhaustion TFs:
- TF1: 15m
- TF2: 1h
- TF3: 4h
- TF4: 12h or Daily
- TF5: Daily or Weekly
Extension Threshold: 2.0σ
Min Confluence: 3/5
```
#### For 1H Charts (Day Trading)
```
Squeeze Settings: (defaults)
Exhaustion TFs:
- TF1: 5m
- TF2: 15m
- TF3: 1h
- TF4: 4h
- TF5: Daily
Extension Threshold: 2.0σ
Min Confluence: 3/5
```
#### For 15m Charts (Scalping)
```
Squeeze Settings:
- BB Length: 15
- KC Length: 15
Exhaustion TFs:
- TF1: 1m
- TF2: 5m
- TF3: 15m
- TF4: 1h
- TF5: 4h
Extension Threshold: 2.5σ (higher to avoid noise)
Min Confluence: 4/5 (more strict)
```
---
### Understanding the Table
Located in top-right corner:
| Row | Meaning |
|-----|---------|
| **Market State** | Current cycle phase (Consolidation/Breakout/Trending/Exhaustion) |
| **Squeeze** | 🔴 ON / 🟢 OFF / 🔵 No |
| **Momentum** | ↑ Bull / ↓ Bear / ~ Weak / — Neutral |
| **Extension** | Actual value in standard deviations (σ) - NOT scaled |
| **Confluence** | How many timeframes agree (X/5 🔺 or 🔻) |
| **Velocity** | Speed of extension change (↑ increasing, ↓ decreasing) |
| **ACTION** | What to do right now |
**Most important rows:**
1. **Market State** - Quick glance at current cycle
2. **Confluence** - Determines signal quality
3. **ACTION** - Direct guidance
---
## Best Practices
### ✅ DO
1. **Wait for High Confidence signals** (large triangles)
- Don't trade every small signal
- Quality over quantity
2. **Use the complete cycle**
- Enter on Breakout (⚡)
- Hold through Trending (↗️/↘️)
- Exit on Exhaustion (🔴/🟢)
3. **Respect confluence**
- 4/5 or 5/5 = Excellent probability
- 3/5 = Good probability
- 1-2/5 = Skip
4. **Combine with price action**
- Support/resistance levels
- Volume confirmation
- Candlestick patterns
5. **Set alerts**
- "Squeeze OFF" - Don't miss breakouts
- "HC Long Setup" / "HC Short Setup"
- "Exit Long" / "Exit Short"
6. **Scale positions**
- Enter 50% on signal
- Add 25% if extension confirms
- Add final 25% if momentum sustains
7. **Use proper risk management**
- Stop loss: Below/above consolidation
- Position size: 1-2% account risk
- Take profit: Extension targets or signals
---
### ❌ DON'T
1. **Don't trade Consolidation state**
- Black cross (Squeeze ON) = Wait mode
- No signals during consolidation
2. **Don't chase Extended moves**
- If extension already >2σ when Squeeze fires
- Even if momentum looks good
- Wait for reversion first
3. **Don't fight strong trends**
- If extension is growing and momentum strong
- Don't counter-trend trade
- Wait for exhaustion signals
4. **Don't ignore velocity**
- If velocity is ↑ and extension high = still dangerous
- If velocity is ↓ and extension high = safer reversal
5. **Don't trade low confluence**
- 1/5 or 2/5 = Different timeframes disagree
- High chance of false signal
6. **Don't use blindly**
- Check overall market context
- Major news events can override signals
- Trend on higher timeframe matters
7. **Don't overtrade**
- Good setups are rare (that's why they work)
- Wait for complete setup formation
---
## Quick Reference Card
### Signal Quality Checklist
**⭐⭐⭐ PERFECT SETUP (Trade this)**
- Squeeze just turned OFF (⚫→⚪)
- Momentum bright and directional
- Extension >2σ (OPPOSITE direction of entry)
- Confluence ≥3/5
- Large triangle signal
- Action says "LONG/SHORT ENTRY ⭐"
**⭐⭐ GOOD SETUP (Trade with caution)**
- Squeeze OFF
- Momentum directional
- Extension moderate
- Confluence ≥3/5
- Small triangle or Action confirms
**⭐ WEAK SETUP (Skip)**
- Low confluence (<3/5)
- Extension same direction as entry
- Momentum weak or conflicting
- Already in Extended/Exhaustion state
---
### State → Action Quick Guide
| See This State | Do This |
|---------------|---------|
| 💤 CONSOLIDATION | Wait, set alerts |
| ⚡ BREAKOUT | Enter in direction |
| ↗️/↘️ TRENDING | Hold positions |
| ⚠️ EXTENDED | Tighten stops, no new entries |
| 🔴/🟢 EXHAUSTION | Exit, consider reversal |
| — NEUTRAL | No trade |
---
## Troubleshooting
**Q: Indicator shows Exhaustion but price keeps going**
**A:** Check velocity and momentum. If still bright bars + velocity ↑, wait. True exhaustion needs momentum weakening.
**Q: Too many false signals**
**A:** Increase Min Confluence to 4/5. Use longer timeframe chart (4h instead of 1h).
**Q: Missing good trades**
**A:** Set alerts for "Squeeze OFF" and "HC Entry" signals. You can't watch charts 24/7.
**Q: Extension area looks weird**
**A:** Remember it's scaled 3x for visibility. Check table for actual values.
**Q: Which timeframe is best?**
**A:** 4H for swing trading, 1H for day trading. Lower = more signals but more noise.
**Q: Can I use this with other indicators?**
**A:** Yes! Combine with:
- Volume profile
- Support/resistance levels
- Moving averages on chart
- RSI for additional confirmation
---
## Final Thoughts
This indicator gives you a complete picture of market structure:
- **Where are we?** (Market State)
- **Where are we going?** (Momentum)
- **How far can it go?** (Extension)
- **When will it reverse?** (Exhaustion)
The key is **patience**. Wait for the complete setup:
1. Consolidation (⚫ Squeeze ON)
2. Breakout (⚪ Squeeze OFF)
3. Right extension direction (oversold for longs, overbought for shorts)
4. Strong confluence (3/5+)
When all pieces align, you get high-probability trades with clear entries, targets, and exits.
**Trade the cycle, not every wiggle.**
---
## Support & Updates
For questions or suggestions, refer to the original script documentation or TradingView community.
**Remember:** No indicator is perfect. Always use proper risk management and combine multiple forms of analysis.
**Good trading! 📈**
Swing Trade System# Swing Trade Strategy - Complete Guide
## Overview
This is a comprehensive swing trading indicator for TradingView that identifies high-probability trend continuation setups using multi-timeframe analysis, pullback patterns, and momentum confirmation. The strategy combines technical indicators with risk management tools to help traders capture swing moves with defined risk-reward parameters.
## What It Does
The indicator identifies two types of signals:
1. **Base Signals** (small markers) - Initial setup detection with basic criteria met
2. **High Confidence (HC) Signals** (large markers) - Fully confirmed setups with all filters passed, including optional higher timeframe confirmation
Once a HC signal triggers, the indicator automatically plots:
- Dynamic stop loss levels (trailing, break-even, or static)
- Partial take profit (TP1) at 1R
- Final take profit (TP2) at your chosen risk-reward multiple
- Real-time R-multiple tracking
- Confluence dashboard showing all conditions
## How It Works
### Core Signal Logic
The strategy identifies pullback-to-trend entries using this sequence:
**For LONG signals:**
1. **Trend Filter**: Fast EMA (20) above Slow EMA (50) = uptrend confirmed
2. **Pullback**: Previous candle closed between the two EMAs (pulled back but didn't break structure)
3. **RSI Swing Zone**: RSI between 40-60 (not overbought/oversold, just resting)
4. **Reclaim**: Current candle crosses back above Fast EMA (momentum returning)
5. **Volume Spike** (optional): Current volume > 1.5x the 20-period average
6. **HTF Confirmation** (optional): Daily timeframe shows: price > 50 EMA, RSI > 50, and rising momentum
**For SHORT signals:**
The same logic applies in reverse (downtrend, pullback above fast EMA, reclaim below, etc.)
### Risk Management Features
**Stop Loss Placement:**
- Initial stop: Swing low/high over the last 10 bars
- Can upgrade to ATR trailing stop (2x ATR below/above price)
- Can move to break-even after reaching 1R profit
**Take Profit Levels:**
- TP1: 1R (optional partial exit point)
- TP2: 2R default (adjustable to your preference)
**Position Monitoring:**
- Live R-multiple display shows current profit/loss in risk units
- Dynamic stop updates visually on chart
- Color-coded confidence score (0-100%) based on confluence of factors
## Best Way to Use These Signals
### 1. **Wait for High Confidence Signals Only**
- Don't trade every base signal (small markers)
- Only take trades when you see the large "HC L" or "HC S" markers
- These have passed all your filters including higher timeframe alignment
### 2. **Ideal Entry Timing**
**On the Signal Candle:**
- Enter at market close when HC signal fires
- This ensures all conditions were met by candle close
- Your stop and targets are calculated from this close price
**On the Next Candle (more conservative):**
- Wait for the candle after the signal
- Enter if price continues in the signal direction
- Helps avoid false breakouts but may miss some moves
### 3. **Position Sizing**
Use the automatic risk calculation:
- Your risk = Entry price - Stop loss
- Position size = (Account Risk %) ÷ (Entry - Stop)
- Example: Risk $100 on account, Entry $50, Stop $48 = $100 ÷ $2 = 50 shares
### 4. **Trade Management**
**Scaling Out:**
- Exit 50% position at TP1 (1R) to lock profits
- Move stop to break-even on remaining position
- Let rest run to TP2 (2R) or trail with ATR stop
**Manual Override:**
- If price action deteriorates (breaks below both EMAs, RSI divergence), consider early exit
- The dynamic stop is a guide, not gospel—trust price action
## Breakout vs. Retest Strategy
### Understanding Breakout Types
**1. First Touch Breakout (Aggressive)**
- HC signal fires on first touch of fast EMA after pullback
- Higher win rate if volume is strong
- Best in strongly trending markets
- Risk: Could be a false breakout if momentum weak
**2. Retest Entry (Conservative)**
- Wait for price to pull back *again* after initial HC signal
- Enter when price retests the fast EMA a second time
- Look for: lower volume on retest, RSI still in swing zone, fast EMA still above slow EMA
- Lower risk but may miss some fast moves
### Which Breakouts to Take
**Take the FIRST breakout (signal candle) when:**
- ✅ Higher timeframe is strongly aligned (HTF confirmation on)
- ✅ Volume spike is present (>1.5x average)
- ✅ Confidence score ≥70%
- ✅ Trend is fresh (EMAs recently crossed, not extended)
- ✅ Price closed strongly above/below fast EMA (not barely crossed)
- ✅ No major resistance/support nearby
**Wait for a RETEST when:**
- ⚠️ No volume confirmation on first signal
- ⚠️ Confidence score 40-69% (moderate)
- ⚠️ Price barely crossed the fast EMA (weak momentum)
- ⚠️ Trend is extended (price far from slow EMA)
- ⚠️ Major resistance/support level just ahead
- ⚠️ Late in the trading day/week (could see pullback)
### How to Trade Retests
**Setup:**
1. HC signal fires but you decide to wait
2. Price pulls back toward fast EMA over next 1-3 candles
3. Watch for second bounce at the fast EMA
**Confirmation for Retest Entry:**
- Price holds above fast EMA (for longs) without closing below it
- Volume decreases on the pullback (profit-taking, not reversal)
- RSI stays above 50 for longs (or below 50 for shorts)
- Bullish candlestick pattern forms (hammer, engulfing, etc.)
- Slow EMA is still providing support/resistance
**Retest Entry Trigger:**
- Enter when price crosses back in signal direction with momentum
- Or enter with a limit order at the fast EMA
- Use same stop loss as original signal (swing low/high)
- Targets remain the same (measured from your new entry)
## Dashboard Reference
The top confluence table shows real-time status:
- **Trend**: Current trend direction based on EMAs
- **HTF**: Higher timeframe alignment (if enabled)
- **RSI Zone**: Whether RSI is in the 40-60 swing zone
- **Volume**: Volume spike present or not
- **Signal**: Current signal status (HC LONG/SHORT or None)
- **R Risk**: Current profit/loss in R-multiples
- **Stop**: Current stop loss price
- **TP1/TP2**: Status of take profit levels
- **Conf %**: Overall confidence score (70%+ = high probability)
## Alert Setup
The indicator includes 8 alert types:
1. **HC LONG/SHORT ENTRY** - Main trade signals
2. **LONG/SHORT TP1 Reached** - Partial profit alerts
3. **LONG/SHORT Final TP Reached** - Full target hit
4. **LONG/SHORT Stop Hit** - Exit alerts
Set up alerts in TradingView:
- Click "Create Alert" on the indicator
- Choose the specific alert condition
- Set to "Once Per Bar Close" to avoid false alerts
- Configure notification method (app, email, webhook, etc.)
## Recommended Settings
**For Stock Swing Trading (4H-Daily):**
- Fast EMA: 20 | Slow EMA: 50
- Swing Lookback: 10
- RSI Zone: 40-60
- HTF: Daily (if trading 4H charts)
- Risk-Reward: 2R minimum
**For Crypto (faster moves):**
- Fast EMA: 12 | Slow EMA: 26
- Swing Lookback: 7
- RSI Zone: 35-65
- Volume Spike: ON
- Risk-Reward: 1.5-2R
**For Conservative Trading:**
- Enable HTF Confirmation
- Enable Volume Spike requirement
- Use Break-even stop (move after 1R)
- Only trade when Confidence ≥70%
- Wait for retests on marginal setups
## Risk Warning
This indicator is a tool, not a guarantee. Always:
- Use proper position sizing (risk 1-2% per trade)
- Respect the stop losses
- Consider market context (news, earnings, major levels)
- Backtest on your instruments before live trading
- Never override risk management for FOMO
The best signals combine technical confluence with good market conditions and disciplined execution.
Dynamic Support Resistance Zones======================================================================
TRADINGVIEW PUBLICATION - DYNAMIC SUPPORT RESISTANCE ZONES
======================================================================
TITLE: Dynamic Support Resistance Zones
SHORT TITLE: SR Zones
--------------------------------------------------------------------------------
DESCRIPTION (Copy below for TradingView publication)
--------------------------------------------------------------------------------
The Dynamic Support Resistance Zones indicator identifies key price levels where potential reversals may occur by analyzing candlestick behavior and volume dynamics together.
▶ CONCEPT AND METHODOLOGY
This indicator detects support and resistance levels through a specific combination of three market conditions occurring simultaneously:
1. Candlestick Body Expansion: The current candle's body (distance between open and close) must be larger than the previous candle's body. This signals increased price commitment from market participants.
2. Direction Reversal: The current candle must close in the opposite direction of the previous candle. A bullish candle following a bearish candle suggests potential support formation, while a bearish candle following a bullish candle suggests potential resistance formation.
3. Volume Contraction: The current candle must have lower volume than the previous candle. This condition filters out high-volume breakout moves and focuses on exhaustion patterns where price reverses on decreasing participation.
When all three conditions align, the indicator marks the opening price of the previous candle as a significant level.
▶ HOW LEVELS ARE CLASSIFIED
Support Zones (Green Lines): Form when a bullish reversal candle appears with an expanded body on declining volume. These represent areas where buying pressure overcame selling pressure.
Resistance Zones (Red Lines): Form when a bearish reversal candle appears with an expanded body on declining volume. These represent areas where selling pressure overcame buying pressure.
▶ DYNAMIC LEVEL MANAGEMENT
The indicator continuously monitors each level and updates its status:
- Active Levels (Solid Lines): Levels that have not been broken by a closing price. These extend forward automatically as new bars form.
- Broken Levels (Dashed Lines): When price closes beyond a level, it converts to a dashed line. These broken levels remain visible for potential retest scenarios.
- Level Removal: Broken support levels are removed if price closes back above them. Broken resistance levels are removed if price closes back below them. This keeps the chart clean and focused on relevant levels.
▶ TRADING APPLICATIONS
Reversal Trading: Look for price approaching active support or resistance levels for potential bounce trades.
Breakout Confirmation: When a solid level converts to dashed, it confirms a breakout. The dashed level then becomes a potential retest zone.
Trend Analysis: Multiple support levels stacking below price suggests bullish structure. Multiple resistance levels above price suggests bearish structure.
Risk Management: Active levels provide logical areas for stop-loss placement just beyond the identified zones.
▶ WHY THIS COMBINATION WORKS
The three-filter approach (body expansion + direction change + volume decline) identifies exhaustion reversals rather than continuation patterns. Large body candles show conviction, direction change shows momentum shift, and lower volume suggests the prior move is losing steam rather than breaking out with strength.
▶ SETTINGS
This indicator uses fixed detection logic with no adjustable parameters to maintain consistency. The colors are preset: green for support zones and red for resistance zones.
▶ BEST PRACTICES
- Works on all timeframes but higher timeframes typically produce more reliable levels
- Combine with trend analysis for directional bias
- Not all levels will hold; use proper risk management
- More effective in ranging or mean-reverting conditions than strong trending markets
--------------------------------------------------------------------------------
TAGS (for TradingView)
--------------------------------------------------------------------------------
support, resistance, reversal, volume, candlestick, levels, zones, price-action
--------------------------------------------------------------------------------
CATEGORY
--------------------------------------------------------------------------------
Support and Resistance
======================================================================
FX-CLINIC MARKET STRUCTUREThis indicator help the treaders by SMC/ICt to mark the structure MSS/BOS automatically, and you can choose the length of the structure as 5 for fractal, 10 for internal and 15 for external
use it free
note: check your information and correct the structure as you know,
it is first edition and go to upgrade and correct
feel free to sent any note in telegram
privet: @DRALIAWWAD
and the public channel: @ictdrawwad
KTBB Intel: Multi-Timeframe ContextKabroda Intel
This is the official structural companion tool for the Kabroda System. While the "BattleBox Command" script handles specific intraday execution levels, this Kabroda Intel utility visualizes Multi-Timeframe Market Structure to provide broader context.
How It Works (Technical Logic): This script automates the analysis of higher-timeframe structure using standard Pivot High/Low logic, preventing the need for traders to manually switch timeframes.
Scanning: It utilizes request.security() to scan the user-defined Primary (default: 4H) and Secondary (default: 1H) timeframes.
Calculation: It identifies significant structural pivots using ta.pivothigh and ta.pivotlow functions with a customizable lookback period.
Data Integrity: It uses barmerge.lookahead_on with specific index offsets to ensure the data is non-repainting and represents confirmed closed-candle structure only.
Key Features:
Macro Context: Projects 4-Hour Supply & Demand zones directly onto your 5m or 15m execution chart.
Intraday Structure: Highlights 1-Hour breakdown/breakout levels that often act as "speed bumps" for intraday trends.
Zone Visualization:
Red Zones: 4H Supply / Major Resistance.
Green Zones: 4H Demand / Major Support.
Orange/Blue Zones: 1H Intraday Pivots.
Usage Guide:
Step 1: Add this indicator to your chart.
Step 2: Ensure it is running alongside the Kabroda BattleBox Command script.
Step 3: Use these zones as "Caution Areas." Do not execute trades directly into a Red 4H Zone, even if your lower timeframe triggers suggest a breakout. Context overrides execution.
Disclaimer: This tool is for structural analysis only. It identifies historical pivot points and projects them forward as potential areas of interest.
Advanced Power Index (GGE)# Advanced Power Index (GGE)
## Overview
The Advanced Power Index is a momentum oscillator that provides faster and more responsive signals compared to traditional RSI indicators. It uses direct summation calculations instead of exponential smoothing, making it particularly effective for short to medium-term trading.
## Key Features
- **Faster Response**: Reacts more quickly to price changes than standard RSI
- **Clearer Signals**: Provides sharper, more defined momentum shifts
- **Customizable Levels**: Overbought (68) and Oversold (32) zones
- **Visual Alerts**: Color-coded plot and background highlighting for critical zones
- **Adaptive**: Works well in both trending and ranging markets
## How It Works
The indicator calculates the ratio between positive and negative price changes over a specified period, converting this into a 0-100 scale oscillator. Unlike traditional RSI which uses Wilder's smoothing method, this approach delivers more immediate signals for momentum changes.
## Trading Applications
### 1. Overbought/Oversold Strategy
- **Oversold (< 32)**: Potential buying opportunity when indicator rises back above 32
- **Overbought (> 68)**: Potential selling opportunity when indicator falls back below 68
### 2. Midline Crossovers
- **Above 50**: Bullish momentum, consider long positions
- **Below 50**: Bearish momentum, consider short positions
### 3. Divergence Trading
- **Bullish Divergence**: Price makes lower lows while indicator makes higher lows
- **Bearish Divergence**: Price makes higher highs while indicator makes lower highs
### 4. Trend Following
- In uptrends: Use pullbacks to the 50 level as entry points
- In downtrends: Use rallies to the 50 level as exit/short points
## Color Coding
- **Green**: Strong bullish momentum (> 68)
- **Red**: Strong bearish momentum (< 32)
- **Yellow**: Neutral zone (32-68)
## Settings
- **Period**: Default 14, adjustable based on your trading timeframe
- **Price Type**: Close, Open, High, Low, or custom source
- **Highlight Zones**: Toggle background highlighting for critical levels
## Best Timeframes
- Most effective on 5-minute to 4-hour charts
- Ideal for day trading and scalping strategies
- Can be combined with trend indicators for confirmation
## Tips for Use
- Don't use in isolation - combine with volume, support/resistance levels
- Works best in liquid, actively traded markets
- Consider using alongside moving averages or MACD
- Always implement proper risk management and stop-losses
## Advantages Over Standard RSI
✓ Faster signal generation
✓ Less lag in volatile markets
✓ Better suited for short-term trading
✓ Clearer momentum shifts
✓ More responsive to sudden price changes
---
**Note**: No indicator is perfect. Always use proper risk management and combine multiple forms of analysis before making trading decisions.
**Disclaimer**: This indicator is for educational and informational purposes only. Past performance does not guarantee future results. Trading involves substantial risk of loss.
Auto Fib Retracement Advanced//@version=5
indicator("Auto Fib Retracement Advanced", overlay=true, max_lines_count=500) // Increase max_lines_count
leftBars = input.int(10, "Pivot Left Bars")
rightBars = input.int(10, "Pivot Right Bars")
extendRight = input.bool(true, "Extend Lines Right")
swingHigh = ta.pivothigh(high, leftBars, rightBars)
swingLow = ta.pivotlow(low, leftBars, rightBars)
var float lastHighPrice = na
var int lastHighBar = na
var float lastLowPrice = na
var int lastLowBar = na
// Arrays to store line IDs for management
var lines = array.new_line()
levels_values = array.from(0.0, 0.236, 0.382, 0.5, 0.618, 0.786, 1.0)
// Update pivot points and redraw lines when a new pivot is confirmed
if not na(swingHigh) or not na(swingLow)
if not na(swingHigh)
lastHighPrice := swingHigh
lastHighBar := bar_index
if not na(swingLow)
lastLowPrice := swingLow
lastLowBar := bar_index
// Delete existing lines before drawing new ones
for i = 0 to array.size(lines) - 1
line.delete(array.get(lines, i))
array.clear(lines)
if not na(lastHighPrice) and not na(lastLowPrice)
isUptrend = lastHighPrice > lastLowPrice
fibRange = math.abs(lastHighPrice - lastLowPrice)
// Draw new lines
for i = 0 to array.size(levels_values) - 1
levelValue = array.get(levels_values, i)
priceLevel = isUptrend ? lastLowPrice + fibRange * levelValue : lastHighPrice - fibRange * levelValue
// Use line.new to create persistent horizontal lines
newLine = line.new(x1=lastLowBar, y1=priceLevel, x2=bar_index + (extendRight ? 500 : 0), y2=priceLevel, color=color.gray, style=line.style_dashed)
array.push(lines, newLine)
Santhosh 3EMA Strict Sequential SignalsSanthosh 3EMA Strict Sequential Signals. Created with strict conditions to avoid wrong signals
Kabroda BattleBox Command [Renderer]Kabroda BattleBox Command
This is a specialized visualization utility designed to render pre-calculated institutional price levels on your chart. It is intended for traders who utilize the Kabroda Daily Calibration method to define their intraday execution framework.
How it Works: This script does not calculate levels internally. Instead, it serves as a "renderer" for external data.
Input: The user inputs a comma-separated data string (generated daily via their Kabroda Dashboard calibration) into the settings.
Parsing: The script parses this string to extract 6 key price coordinates: Daily Resistance, Breakout Trigger, Breakdown Trigger, Daily Support, and the 30-minute Opening Range High/Low.
Visualizing: It projects these levels forward in time for the current trading session.
Key Features:
Execution Levels: Plots specific Breakout and Breakdown triggers derived from the opening 30-minute volatility.
Liquidity Sessions: Automatically highlights key global trading hours (London Open, NY AM, NY PM, Tokyo, Sydney) based on New York Time, helping traders visualize volume injection points.
Imbalance Zones (Optional): Identifies and highlights market imbalances created by aggressive buying or selling, which often act as magnets for price re-tests.
Usage Guide:
Step 1: Obtain your daily data string.
Step 2: Open Indicator Settings -> "Daily Calibration".
Step 3: Paste the string into the "Paste Data String" field.
Step 4: The script will instantly render the day's battle map.
Disclaimer: This tool is a visualization aid. It requires valid external data to function. Without the daily input string, the chart will remain blank.
Market Acceptance Envelope [Interakktive]The Market Acceptance Envelope (MAE) is a diagnostic tool that shows where price statistically belongs — not where it might go. Unlike traditional bands that expand with volatility, MAE expands with acceptance: regions where price rotates comfortably, efficiency drops, and the market agrees on fair value.
This is the anti-Bollinger thesis: bands should represent where price IS accepted, not where it MIGHT reach based on standard deviation.
█ USAGE
The filled corridor represents the current acceptance zone — where price has demonstrated rotational behavior with low directional efficiency. When price is inside the corridor, it's "home." When outside, it's exploring territory the market hasn't yet accepted.
For discretionary traders, MAE provides instant context: "Is price where it belongs, or is it extended?"
For systematic traders, the exported values (confidence, asymmetry, position) can inform position sizing and filter logic.
█ ACCEPTANCE CENTROID
Unlike traditional bands centered on a moving average, MAE uses an Acceptance Centroid — a time-weighted price level where acceptance behavior concentrates. The centroid is calculated by weighting price by:
• Inverse efficiency (low efficiency = high acceptance)
• Volatility stability (stable vol = higher weight)
• Dwell factor (time spent near level)
This means the centroid drifts toward where price actually rotates, not simply where it averages.
█ ASYMMETRIC BOUNDARIES
MAE calculates upper and lower boundaries independently. Markets rarely treat up and down equally — during uptrends, the upper boundary may be wider (more accepted upside exploration), while the lower boundary stays tight (quick rejection of dips).
This asymmetry is visible on the chart and exported as a metric (-1 to +1).
█ CONFIDENCE-BASED VISIBILITY
The corridor's opacity reflects acceptance confidence:
• High confidence → clearly visible corridor (price is in accepted rotation)
• Low confidence → faded corridor (trending/directional market, acceptance not established)
When the corridor fades, it's telling you: "Acceptance hasn't been earned here yet."
█ WHAT THIS INDICATOR IS
• A diagnostic acceptance envelope showing where price statistically belongs
• Asymmetric by design — upper and lower calculated independently
• Confidence-weighted visibility — fades when acceptance is not earned
• Non-repainting — uses closed-bar data only
█ WHAT THIS INDICATOR IS NOT
• NOT Bollinger Bands (no standard deviation around a mean)
• NOT Keltner Channels (no ATR-scaled envelope)
• NOT a signal generator — no touches = signals philosophy
• NO arrows, NO entries/exits, NO buy/sell recommendations
█ HOW IT WORKS
MAE uses an acceptance-weighted calculation approach:
1. ACCEPTANCE WEIGHT
Each bar receives a weight based on:
• Efficiency: (1 - efficiency) — low efficiency = rotational = high acceptance
• Volatility Stability: stable vol environment = higher weight
• Dwell Factor: price staying near central tendency = higher weight
2. ACCEPTANCE CENTROID
Weighted average of price using acceptance weights:
centroid = Σ(price × weight) / Σ(weight)
Smoothed adaptively — faster during drift, slower when stable.
3. ASYMMETRIC BOUNDARIES
Upper and lower distances calculated separately:
• rngUp = acceptance-weighted average of (price - centroid) when price > centroid
• rngDn = acceptance-weighted average of (centroid - price) when price < centroid
4. CONFIDENCE SCORE
Composite of average acceptance weight, volatility stability, and centroid stability.
Maps to corridor opacity: high confidence = visible, low confidence = faded.
█ SETTINGS
Market Acceptance Envelope — Core
• Acceptance Lookback (20): Bars to evaluate for acceptance conditions. Higher = smoother, slower response.
• Preset (Swing): Scalper = tight/fast, Swing = balanced, Position = wide/stable.
• Envelope Sensitivity (1.0): Width multiplier. Higher = wider corridor.
Market Acceptance Envelope — Visuals
• Show Corridor (true): Display the acceptance corridor.
• Show Centroid (false): Display the acceptance centroid line.
Market Acceptance Envelope — Data Window
• Show Data Window Values (false): Export MAE metrics for external use.
█ EXPORTED VALUES
When Data Window is enabled:
• mae_upper: Upper boundary value
• mae_lower: Lower boundary value
• mae_centroid: Acceptance centroid value
• mae_width: Corridor width (upper - lower)
• mae_asymmetry: Asymmetry ratio (-1 to +1, negative = lower wider)
• mae_confidence: Acceptance confidence (0-100)
• mae_position: Price position (-1 = below, 0 = inside, +1 = above)
█ SUITABLE MARKETS
Works on all markets: Stocks, Futures, Forex, Crypto, Indices.
Works on all timeframes. Higher timeframes show more stable acceptance zones.
█ DISCLAIMER
This indicator is for educational and informational purposes only. It does not constitute financial advice. Past performance does not guarantee future results. Always conduct your own analysis and use proper risk management. This is a diagnostic tool — it provides context, not signals.
Triple EMA + Key Levels [Scalping-Algo]TITLE: Triple EMA Day Trading System with Multi-Timeframe Support/Resistance Levels
DESCRIPTION:
📊 Overview
This indicator combines trend-following EMAs with key historical price levels to create a complete day trading toolkit. It helps traders identify trend direction while highlighting important support and resistance zones from multiple timeframes.
🎯 Purpose & Trading Application
Day traders often need to quickly assess:
1. Current trend direction (using EMAs)
2. Key price levels where reversals or breakouts may occur
This indicator solves both needs in one tool, reducing chart clutter from multiple indicators.
📈 How It Works
TREND IDENTIFICATION (EMAs):
- EMA 13 (Yellow): Fast EMA for short-term momentum and entry timing
- EMA 48 (Purple): Medium EMA for intraday trend direction
- EMA 200 (Red): Slow EMA for overall trend bias
Trading Logic:
- When price is above all 3 EMAs = Strong bullish bias
- When price is below all 3 EMAs = Strong bearish bias
- EMA crossovers signal potential trend changes
- The 13/48 crossover is particularly useful for intraday entries
SUPPORT & RESISTANCE LEVELS:
- Previous Day High/Low (Green, Solid): Most recent daily range - high probability reaction zones
- 2-Day High/Low (Blue, Dashed): Extended lookback for stronger levels
- Previous Week High/Low (Orange, Dotted): Major institutional levels
Why These Levels Matter:
Previous day and weekly highs/lows are watched by many traders and algorithms. Price often:
- Reverses at these levels (support/resistance)
- Accelerates through them (breakout trades)
🔧 How To Use
FOR TREND TRADING:
1. Identify bias using EMA stack (all 3 aligned = strong trend)
2. Look for pullbacks to EMA 13 or 48 for entries
3. Use key levels as profit targets
FOR REVERSAL TRADING:
1. Watch for price approaching previous day/week levels
2. Look for rejection candles at these levels
3. Use EMA 13 break as confirmation
FOR BREAKOUT TRADING:
1. Identify consolidation near key levels
2. Enter on break of level with volume
3. Use opposite level as target
⚙️ Settings
All parameters are fixed for simplicity:
- EMAs: 13, 48, 200 periods
- Levels: Previous Day, 2-Day, Previous Week
- All lines thickness: 2
📝 Notes
- Best used on intraday timeframes (1min to 1hour)
- Levels update automatically each day/week
- Labels on right side identify each level (PDH, PDL, 2DH, 2DL, PWH, PWL)
---
TAGS: ema, daytrading, support, resistance, levels, intraday, trend, scalping, swingtrading
Dynamic Stoch200+MACD+Gann Confluence (Cardinal + Ordinal)If you're scrolling through hundreds of indicators on TradingView looking for a reliable edge, here's why this one stands out and deserves a spot on your chart:Ultra-High-Conviction Reversal Signals (Rare but Powerful)
Most indicators spam signals and repaint. This one requires four independent confluences to fire:Hidden bullish/bearish divergences on a very long-period Stochastic (200) – catches major cycle turns, not noise.Matching hidden divergences on MACD histogram – confirms momentum shift.A strong directional candle (close in top/bottom 20% of range) – filters weak wicks.
Price within ~1.75% of a dynamic Gann Square of 9 level (cardinal + ordinal angles).
Because it demands all four at once, signals are extremely rare — often only a handful per year on daily/weekly timeframes. When they appear, they frequently mark significant tops and bottoms.Fully Adaptive Gann Levels (No Static Lines)
Unlike most Gann scripts with fixed levels that quickly become irrelevant, this one:Automatically anchors to the most recent significant pivot low or high.
Calculates authentic Square of 9 rotations (45°, 90°, 135°, 180°, 225°, 270°, 315°, 360°).
Updates dynamically as new swings form — works on any timeframe and any market (BTC, stocks, forex, indices).
Clean & Customizable Toggle cardinal (strong) vs ordinal (intermediate) levels for plotting and signal checks.
Adjustable pivot sensitivity and proximity tolerance.
Minimal chart clutter: bold lines for major levels, subtle for intermediates, plus clear large triangles for entries.
Best For
Swing traders and position traders seeking high-probability reversal zones rather than frequent scalps. Excellent for Bitcoin and volatile assets where geometric levels + extreme momentum divergences often align at cycle extremes.In short: If you want an indicator that stays quiet most of the time but screams when a real reversal is likely — this is it. Add it, watch the Gann levels adapt, and wait patiently for the rare multi-confluence setups. Quality over quantity.
Market State Intelligence [Interakktive]Market State Intelligence (MSI) is a diagnostic market-context indicator that reveals how the market is behaving — not where price "should" go.
MSI does not generate buy/sell signals. Instead, it classifies market conditions into clear behavioural regimes by continuously measuring:
- DRIVE (directional effort)
- OPPOSITION (absorption / resistance)
- STABILITY (structural persistence)
MSI is designed to answer three practical questions:
- What state is the market in right now?
- Is energy building, releasing, or decaying?
- Is participation aligned with price, or opposing it?
█ WHAT MSI DOES
MSI operates as a real-time regime classification engine that processes each closed bar through three independent measurement systems:
DRIVE — Directional Effort (0–100)
- Displacement efficiency (net progress vs total path)
- Range expansion quality (actual range vs expected ATR range)
- Body dominance (body vs candle range)
OPPOSITION — Absorption / Resistance (0–100)
- Wick pressure (rejection relative to attempt)
- Effort–result gap (high effort, low progress)
- Reversal density (counter-moves frequency)
STABILITY — Persistence (0–100)
- Condition persistence (how long conditions hold)
- Variance score (flip frequency)
- Follow-through consistency (reaction continuity)
These three forces feed a deterministic classifier with hysteresis (anti-flicker) to identify five regimes:
COMPRESSION — low drive, low opposition, higher stability (pressure building, direction unclear)
EXPANSION — high drive, low opposition (directional energy release)
TREND — medium-high drive, higher stability, low-medium opposition (healthy continuation)
DISTRIBUTION — medium drive, high opposition (effort absorbed; progress blocked)
TRANSITION — rapidly rising opposition, low stability (regime breakdown / uncertainty)
█ WHAT MSI DOES NOT DO
- No buy/sell signals, entries/exits, or performance claims
- No prediction of future direction
- No repainting: calculations use closed-bar data only
MSI is a market state layer intended to support your execution framework.
█ VISUAL SYSTEM
MSI uses a layered visual grammar designed to remain readable on live charts:
Regime Ribbon
A thin horizontal band showing the current regime via colour. Ribbon opacity reflects regime confidence (stronger confidence = more visible).
Pressure Envelope (core visual)
A soft corridor around price that expands with Drive and becomes more visible as Opposition increases. This visualises "pressure thickness" around current action (not a volatility band for entries).
Structural Memory
Faint background stains appear where regimes previously failed (e.g., expansion collapsing into absorption). These are behavioural context zones showing where market intention was rejected — not support/resistance.
Regime Change Markers (optional)
Subtle labels appear when regimes transition after confirmation. Useful for replay and education.
Effort Halo (optional)
Candle highlighting when Opposition materially exceeds Drive, indicating absorption/inefficiency.
█ HUD PANEL
The HUD displays:
- Current regime name + colour indicator
- A context gate showing whether conditions are aligned with long-bias or short-bias context (not an entry/exit system)
█ REGIME LEGEND
When enabled, displays:
- A one-line definition of the current regime
- Live Drive / Opposition / Stability values for interpretation
█ TIME-TO-DECISION METER
A visual pressure gauge that tends to fill during Compression (energy building) and drain during Expansion (energy releasing). It is a state-tracking meter, not a timing tool.
█ SETTINGS
MSI — Settings
- Preset Mode: Scalper / Swing / Position
- Analysis Mode (Minimal): ON = subtle visuals, OFF = full intensity
- Regime Ribbon, Structural Memory, HUD Panel, Time-to-Decision Meter, Effort Halo
MSI — Visual Options
- Show Regime Changes: Labels when regime transitions occur
- Show Regime Legend: Definition and live values display
- Panel Position: Move the entire panel anywhere on chart
MSI — Advanced (Tuning)
- Sensitivity (0.5–2.0)
- Smoothing (0.5–2.0)
- Memory Decay (0.5–2.0)
- Visual Intensity (Low / Medium / High)
█ PRESETS EXPLAINED
Scalper
Higher sensitivity + lower smoothing + faster memory decay. Best for 1m–15m monitoring.
Swing (default)
Balanced behaviour. Best for 15m–4H analysis.
Position
Lower sensitivity + higher smoothing + slower memory decay. Best for 4H–1D macro context.
█ STRUCTURAL MEMORY
When a regime fails (example: Expansion → Distribution), MSI creates a memory imprint:
- Fixed stain window (preset dependent)
- Strength decays over time
- Limited to a maximum number of imprints to reduce chart clutter
These zones represent behavioural rejection, not levels.
█ SUITABLE MARKETS
MSI is designed for Forex, Crypto, Indices, Stocks, and Commodities.
Works from intraday to Daily, with particularly strong readability on 15m–4H.
█ DISCLAIMER
This indicator is for educational and informational purposes only. It does not constitute financial advice, trading recommendations, or solicitation. Trading involves substantial risk. Always use proper risk management and make independent decisions.
Confluence Strength Meter (Bull/Bear) [v6]This indicator provides a quantified "Strength Score" (0-5) for price action setups by measuring the confluence of five key technical drivers. It features a Strategy Mode toggle, allowing traders to instantly switch between Bullish (Long) and Bearish (Short) scoring logic.
How it Works: The script analyzes the following factors to build a Confluence Score:
Trend Direction: Price relation to the Slow EMA (50).
EMA Stack: Fast EMA (20) vs. Slow EMA (50) alignment.
Volume Sentiment: Price relation to the Intraday VWAP.
Momentum: MACD vs. Signal line crossover.
RSI Health: Checks for momentum in the correct direction while filtering out extreme exhaustion (Overbought/Oversold).
Features:
Visual Histogram: Color-coded bars (Green/Red for strong setups, Orange for moderate, Gray for weak) make it easy to spot high-confluence zones.
Dual Modes: Input setting to switch the entire logic engine between Bullish and Bearish detection.
Alerts: Pre-configured alert conditions for both Long and Short setups, ready for webhook integration.
Usage: Look for a score of 4 or 5 (brightly colored bars) to confirm high-probability entries in the direction of your selected trend.
ProphetQuant LevelsProphetQuant Levels
ProphetQuant Levels is an open-source chart tool that helps you display your own price levels in a clean, organized way.
You enter levels directly into the script using simple level names and prices (for example: HV 415.00, B+ 432.10, B- 421.00, VAH/VAL, VIX R1/R2/S1/S2). The script reads your input and plots each level as a horizontal line with optional right-side labels and styling controls. Levels are plotted from the Globex session start by default, so they align consistently across sessions.
You can enter a single set of levels, or include multiple lines labeled by symbol. When multiple lines are present, the script automatically uses the line that matches the current chart symbol.
The indicator also includes an Initial Balance (IB) display with automatic session selection based on the instrument, along with optional labels and a midline.
This script is intended as a visual reference tool only. It does not calculate price levels, generate trade signals, or automate trading decisions.
Provided for educational and informational purposes only. This is not financial or trading advice.
Regime Switch 100/200 SMAWhat it does
Daily, close-only trend regime for any symbol using the 100-day (momentum) and 200-day (regime) SMAs. Classifies the tape into GREEN / YELLOW / RED and stays stable intraday.
How it works (rules)
GREEN = Close > 100D and 100D > 200D -> full risk-on.
YELLOW = Close > 200D and 100D <= 200D -> light risk-on / repair.
RED = Close < 200D -> risk-off.
State changes require N = 2 daily closes (configurable).
Optional +/- band % around 200D to reduce whipsaws.
Always computes on daily data (independent of chart timeframe).
Inputs
Use chart symbol? (else pick a fixed symbol)
Fast SMA length (default 100)
Slow SMA length (default 200)
Daily closes to confirm (default 2)
Buffer band % around 200D (default 0)
Toggles: state-change markers, status panel, SMA labels
Visuals & alerts
Background: GREEN / YELLOW / RED by state
Lines: SMA100 (yellow) and SMA200 (orange)
Markers on state flips; three alertconditions fire on GREEN / YELLOW / RED changes
How to use (workflow)
View with 1D candles , ~ 1Y range .
Decide at the daily close; execute next day’s open.
Example sizing when signaling on QQQ and expressing with TQQQ:
- GREEN -> sleeve 10–15% (cap 20–25%); trim if sleeve > target x 1.25.
- YELLOW -> sleeve 5–8% (half risk).
- RED -> 0%; sit in cash until GREEN or YELLOW returns.
No margin/loans layered on leveraged ETFs.
Notes
Works with regular candles; dividend-adjustment settings can nudge SMA values.
For faster but noisier behavior, shorten to 150/100D or set Confirm=1.
Change log
v1.0: Initial release (daily, 3-state, follows chart symbol, alerts, panel).
Disclosure
Educational use only. Not investment advice.
Mid-Term Refuges (RMP)════════════
ENGLISH VERSION (SPANISH TEXT AT THE END)
════════════
MID-TERM REFUGES (RMP) V1.0
The Mid-Term Refuges (RMP) indicator plots psychological support and resistance levels based on a methodology used by institutional investors since auction floor days. RMP automatically calculates 31 key levels (refuges) from the asset's annual opening price.
METHODOLOGY
• RESISTANCES (R1-R15): Projected at +10% intervals from annual opening, identifying selling pressure zones
• SUPPORTS (S1-S15): Calculated at -10% intervals, marking buyer interest areas
• ANNUAL OPENING PRICE (PA): Central reference level
The 10% intervals represent significant psychological thresholds that capture market indecision, consolidation, or reversal moments. When critical mass of participants uses these same levels, they become self-fulfilling prophecies.
VALIDATION
Test RMP effectiveness on your assets:
1. Use TradingView's Bar Replay
2. Review periods with +/-10% movements
3. Count price reactions at refuge levels
4. Higher frequency = higher institutional usage probability
ECOSYSTEM INTEGRATION
RMP integrates with our other indicators:
• RLP/RLPS (Long-Term Refuges): Structural analysis
• RS (Weekly Refuges): Short-term tactical analysis
FEATURES
• 31 configurable levels with individual switches
• Professional visualization with formatted prices
• Complete customization (colors, widths, styles)
• Native integration with TradingView's price scale
• Bar Replay compatible
PHILOSOPHY
RMP doesn't predict the future—it observes price action at objective levels. No oscillators, no curve-fitting. Pure technical analysis based on auction floor techniques proven over decades.
══════════════
VERSION EN ESPANIOL
══════════════
(La version completa con entrada de datos y textos de ayuda en espaniol (Roman Paladino) estara proximamente disponible en mi repositorio GH: aj-poolom-maasewal)
REFUGIOS DE MEDIANO PLAZO (RMP) V1.0
El indicador Refugios de Mediano Plazo (RMP) traza niveles psicologicos de soporte y resistencia basados en una metodologia utilizada por inversores institucionales desde los tiempos de los pisos de subastas. RMP calcula automaticamente 31 niveles clave (refugios) a partir del precio de apertura anual del activo.
METODOLOGIA
• RESISTENCIAS (R1-R15): Proyectadas a intervalos de +10% desde la apertura anual, identificando zonas de presion vendedora
• SOPORTES (S1-S15): Calculados a intervalos de -10%, marcando areas de interes comprador
• PRECIO DE APERTURA ANUAL (PA): Nivel de referencia central
Los intervalos del 10% representan umbrales psicologicos significativos que capturan momentos de indecision, consolidacion o reversion del mercado. Cuando una masa critica de participantes utiliza estos mismos niveles, se convierten en profecias autocumplidas.
VALIDACION
Pruebe la efectividad de RMP en sus activos:
1. Use el Reproductor de Barras de TradingView
2. Revise periodos con movimientos de +/-10%
3. Cuente las reacciones del precio en los niveles refugio
4. Mayor frecuencia = mayor probabilidad de uso institucional
INTEGRACION CON NUESTRO ECOSISTEMA DE INDICADORES DE REFUGIOS CON ACCION DEL PRECIO
(Disponibles para descarga proximamente)
Este indicador RMP se complementa fuertemente con el uso de los siguientes indicadores nuestros:
• RLP (Refugios de Largo Plazo): Busqueda y definicion automatizada de fases preponderantes.
• RLPS (Refugios de Largo Plazo Simplificado): Analisis en base a fase preponderante ya conocida.
• RS (Refugios Semanales): Analisis tactico de fases de corto plazo.
CARACTERISTICAS
• 31 niveles configurables con switches individuales
• Visualizacion profesional con precios formateados
• Personalizacion completa (colores, grosores, estilos)
• Integracion nativa con la escala de precios de TradingView
• Compatible con Reproductor de Barras
FILOSOFIA
RMP no predice el futuro. Observa la accion del precio en niveles objetivos. Sin osciladores, sin sobreajustes. Analisis tecnico puro basado en tecnicas de piso de subastas probadas durante decadas.
════════════════════════════════════════════════════════════
Desarrollado por: aj p'oolom masewal
Codificado con la colaboracion de: Claude Sonnet 4.5 de Anthropic
════════════════════════════════════════════════════════════






















