Reversal Detector PRO (VINTRADE)🎯 Explanation of Reversal Detector PRO Indicator Logic
Imagine you're watching price movement on a chart. The indicator works like a smart assistant that catches the moment when a trend reverses. Here's how it happens:
Stage 1️⃣: Trend Determination (Direction Recognition)
The indicator counts: how many bars in a row is the price moving in one direction?
DOWNTREND ⬇️
█ ← lower low (below the previous one)
█ ← lower low
█ ← lower low
= minimum 3 bars lower = TREND!
UPTREND ⬆️
█ ← higher high (above the previous one)
█ ← higher high
█ ← higher high
= minimum 3 bars higher = TREND!
Analogy: If water flows downhill for 3 days straight - that's a clear descent. But if tomorrow the water flows upward - that means something is reversing!
Stage 2️⃣: Extremum Search (Indicator's Memory)
When the indicator sees a trend, it remembers the lowest point (if the trend is down) or the highest point (if the trend is up).
EXAMPLE: Downtrend
Price: 100 → 95 → 90 → 88 → 92 → 85 ← NEW MINIMUM?
Indicator remembers: minimum was 88
New candle: 85 < 88 ✅ BREAKOUT!
Analogy: You're going down a staircase and remember the lowest step. If you suddenly went even lower - that means the staircase continues! 📍
Stage 3️⃣: Reversal Confirmation (False Signal Check)
The indicator doesn't immediately believe the breakout. It requires confirmation over N bars (default 2 bars):
Parameter "Confirmation Bars = 2" means:
- 1st bar: price broke the minimum ✓
- 2nd bar: price continued in the new direction ✓
- ALL CONDITIONS MET → SIGNAL! 🎯
Analogy: If a car brakes once at a red light - it could be an obstacle. But if it braked 2 times in a row - there's definitely a traffic light there! 🚦
Stage 4️⃣: Volume Filter (Seriousness Check)
If Use Volume Filter = ON, the indicator additionally checks:
Condition: volume >= average volume over 20 bars × 0.8
🔊 LOUD REVERSAL
Large volume
= Serious reversal ✅
🔇 QUIET REVERSAL
Small volume
= Could be a false signal ❌
Analogy: If many people run in one direction - that's a serious change. If one person turned around - that could be a mistake. 👥
Total: Complete logic in 10 seconds ⚡
Step > What happens > Example
1️⃣ > We see 3+ bars in one direction > Price goes down 5 times in a row ⬇️
2️⃣ > We remember the reversal point > Minimum fixed: 88
3️⃣ > We wait for extremum breakout > Price dropped below 88 → 85!
4️⃣ > We require confirmation (2 bars) > 85 → 84 (trend continues downward)
5️⃣ > We check volume > Volume >= 80% of average ✓
6️⃣ > SIGNAL! 🎯 > Label BULL ↑ or BEAR ↓
When will there be NO signals? ⚠️
Situation > Why > Solution
Flat/sideways (price goes back and forth) > No 3+ bars in one direction > Wait for a trend
Low volume on breakout > Volume Filter filters out weak signals > Turn off volume filter
Jumps too quickly > Parameter "Confirmation Bars" requires 2-3 bars > Reduce by 1
3 main parameters for adjustment:
1. Lookback Period (10) - how far back to search for extremum
- ↓ Lower value = more frequent signals, but more false ones
- ↑ Higher value = rarer signals, but more reliable
2. Confirmation Bars (2) - how many bars we wait for confirmation
- ↓ 1 = reacts immediately (but could be an error)
- ↑ 3+ = slower, but more reliable
3. Use Volume Filter - volume filter
- OFF = many signals (and false ones)
- ON = fewer signals, but only serious ones
Now you understand the logic! Any questions left? Let me know 👍
Indicators
Supertrend Nova Cloud [Pineify]Supertrend Nova Cloud
Overview
The Supertrend Nova Cloud is a sophisticated trend-following system designed to filter market noise and provide clear, actionable insights into market direction and volatility. By combining two distinct Supertrend calculations—the fast-acting "Nova" and the slower, more robust "Nebula"—this indicator creates a dynamic "Cloud" that visualizes the strength and stability of the current trend. It is engineered to help traders identify strong trending periods, potential pullbacks, and major reversals with greater confidence than a single Supertrend indicator.
Key Features
Dual-Trend Architecture: Utilizes a two-layer approach with a Fast (Nova) and Slow (Nebula) Supertrend to define market structure.
Dynamic Nova Cloud: A visual gradient fill between the two trendlines that adjusts its intensity ("Glow") based on the spread between the trends, representing market volatility.
Smart Candle Coloring: Candles are colored based on the consensus between the two trends, clearly distinguishing between strong trends, pullbacks, and recovery phases.
High-Quality Signals: Buy and Sell signals are filtered and only generated when the major (Slow) trend reverses, reducing false signals during chop.
Real-time Dashboard: An on-chart dashboard displays the current state of both the Nova and Nebula trends for instant analysis.
How It Works
The Supertrend Nova Cloud operates on the principles of Average True Range (ATR) volatility to determine trend direction.
Nova (Fast Trend): Calculated using a shorter ATR length (default 10) and a lower multiplier (default 2.0). This line reacts quickly to price changes, serving as an early warning system or trailing stop for aggressive entries.
Nebula (Slow Trend): Calculated using a longer ATR length (default 20) and a higher multiplier (default 4.0). This line defines the overall market bias and acts as significant support/resistance.
Cloud Gradient Logic: The script calculates the absolute difference (delta) between the Nova and Nebula lines. It compares this delta to its recent historical maximum to determine the opacity of the fill color. A wider spread (higher volatility) results in a brighter, more opaque cloud, while a narrow spread (consolidation) results in a more transparent cloud.
How multiple indicators work together
In trading, a single trend indicator often faces a dilemma: if it's too fast, it gives false signals; if it's too slow, it lags significantly. The Supertrend Nova Cloud solves this by combining both:
The Fast Supertrend captures immediate momentum and provides potential re-entry points during strong trends.
The Slow Supertrend acts as a filter. The script logic enforces that major reversal signals ("NOVA BUY/SELL") are only triggered when this slower, dominant trend changes direction.
By requiring the Slow trend to confirm the reversal, the indicator filters out the "noise" that would typically whip-saw a standard Supertrend.
Trading Ideas and Insights
Trend Riding: When the Cloud is fully Green (Strong Bull) or Red (Strong Bear), and the candles match this color, the trend is established. These are ideal conditions for holding positions.
Pullback Opportunities: If the candles turn a lighter shade (e.g., light red during an uptrend), it indicates the price has broken the Fast trend but holds above the Slow trend. This "Mixed" state often represents a buying opportunity in an uptrend (or selling in a downtrend).
Volatility Expansion: A widening cloud (brighter glow) indicates expanding volatility and often accompanies a strong breakout or trend acceleration.
Unique Aspects
Visual Volatility Feedback: Unlike standard fills, the "Nova Cloud" uses a custom algorithm to adjust transparency based on the relative distance between the two trendlines. This gives traders an intuitive sense of market expansion and contraction.
Nuanced State Detection: The script doesn't just show Up or Down. It identifies four states: Strong Bull, Strong Bear, Fast Bull/Slow Bear (Recovery), and Fast Bear/Slow Bull (Pullback), coding the candles accordingly.
How to Use
Entry: Look for "NOVA BUY" or "NOVA SELL" labels. These appear when the major trend (Nebula) flips, confirming a significant shift in market structure.
Stop Loss: The Nebula (thick) line serves as a robust trailing stop loss. As long as price holds beyond this line, the macro trend remains intact.
Re-Entry/Pyramiding: During a strong trend, if price dips into the cloud (changing candle color to mixed/neutral) and then resumes the trend color, it can be a valid re-entry signal.
Customization
Users can fully customize the indicator via the settings menu:
Nova & Nebula Settings: Adjust the ATR Length and Factor for both the Fast and Slow trends to tune sensitivity for different timeframes or assets.
Visuals: Toggle the Dashboard, Candle Coloring, and customize the colors for Bullish, Bearish, and Neutral states.
Conclusion
The Supertrend Nova Cloud offers a comprehensive visual interface for trend traders. By harmonizing two time horizons of volatility analysis into a single, cohesive display, it simplifies decision-making and helps traders stay on the right side of the major trend while identifying granular opportunities within it.
Glossy [JOAT]# Glossy - Vector Candles and Order Zones
Glossy - Vector Candles and Order Zones is a Pine Script v6 overlay indicator that transforms raw price and volume data into a visually distinct decision layer. It combines vector candle analysis, supply/demand zone mapping, pivot detection, trend tools, and a composite scoring system into one cohesive overlay.
Note: This script is published as an invite-only INDICATOR. It does not generate backtesting results or automated trade execution. Access requires authorization through the script's access control settings.
## Why This Script Merits Invite-Only Protection
This indicator combines multiple analytical dimensions that individually exist as separate tools across the trading community. The value proposition lies in the specific integration methodology and composite scoring system that synthesizes:
Vector candle engine that classifies bars by volume-range relationship into climax, rising, and normal states
Automatic supply/demand zone detection with retest tracking and break removal
Dynamic pivot point system with configurable density and automatic cleanup
Dual moving average trend layer with crossover detection
Optional Ichimoku cloud integration for additional trend context
Composite scorer that weights and blends all modules into a single actionable score
Glossy visual layer with gradient veils, shimmer effects, and sparkle overlays
Dual analytics panels displaying real-time score, bias, and structure statistics
The proprietary elements include the vector candle classification algorithm, the zone detection logic using body-size ratios, the composite scoring normalization system, and the visual integration that maintains readability while adding aesthetic appeal. While individual components like MAs and RSI are standard, their specific combination, the scoring methodology, and the visual integration represent original development work that justifies source code protection.
## How Components Work Together
The indicator's value comes from how its modules interact, not from any single component:
Data Flow:
Vector candle engine analyzes volume relative to lookback baseline and spread-volume product
Zone engine detects two-candle reversal patterns with significant body-size shifts
Pivot system identifies swing highs/lows using configurable left/right bar counts
Trend MAs establish directional bias and generate crossover signals
Ichimoku (optional) adds cloud context for trend confirmation
Composite scorer normalizes weights and blends all module signals into 0-100 score
Analytics panels display real-time metrics for quick decision support
Integration Logic:
Each module produces a normalized signal (0.0 to 1.0) that feeds into the composite score:
Vector candle signal: 1.0 for climax, 0.5 for rising, 0.0 for normal
Volume scanner signal: 1.0 for spike detected, 0.0 otherwise
Zone signal: 1.0 for retest, 0.7 for break, 0.5 for inside zone, 0.0 otherwise
Ichimoku signal: 0.0 to 1.0 based on crossovers, cloud breaks, and chikou confirmation
Weights are user-configurable and auto-normalized to sum to 1.0
Why This Integration Matters:
A standard volume spike might fire while price is nowhere near structure. The composite scoring system catches these disconnects by requiring multiple modules to align before the score reaches threshold. This multi-dimensional validation separates this indicator from simple mashups that display multiple indicators without integration.
## Core Functionality
This indicator addresses the challenge of synthesizing volume behavior, price structure, and trend context into a single readable overlay. Most indicators focus on one dimension; this script integrates several while maintaining visual clarity.
What This Script Does:
Recolors candles based on volume-range classification (climax, rising, normal)
Automatically detects and draws supply/demand zones from two-candle reversal patterns
Tracks zone retests and optionally removes zones when broken
Identifies pivot highs/lows and draws horizontal support/resistance levels
Plots dual moving averages with crossover detection
Optional Ichimoku cloud with tenkan/kijun lines and cloud projection
Computes composite score (0-100) blending all enabled modules
Calculates market bias from trend, momentum, RSI, and cloud position
Displays real-time analytics in two compact dashboard panels
Adds glossy visual effects (gradient veil, shimmer stripes, sparkles) without obscuring price
## Technical Architecture
### Vector Candle Engine
The indicator classifies each confirmed bar into three categories based on volume and range behavior:
Climax Bars - Volume >= Climax Multiplier (default: 2.0x) times the lookback SMA AND spread-volume product >= 85% of lookback maximum. These represent extreme effort and are colored brightest (green for bull, red for bear) with white borders.
Rising Bars - Volume >= Rising Multiplier (default: 1.5x) times the lookback SMA but not climax. These show building interest with medium-intensity colors.
Normal Bars - All other confirmed bars. Colored with solid but calmer tones that don't compete with significant bars.
The goal is instant visual recognition: when volume truly slams into the market, you see it immediately in both color and intensity.
### Volume Scanner
On top of vector candles, a directional volume scanner runs independently:
Detects when volume exceeds Spike Multiplier (default: 1.5x) times the scanner lookback SMA
Differentiates bullish vs bearish spikes using candle direction
Prints compact labels showing spike direction and approximate percentage above baseline
Labels appear near price for context without cluttering the chart
### Supply/Demand Zone Engine
The zone engine automatically tracks recent supply and demand patterns:
Detection Logic - Identifies two-candle patterns where the second candle's body is >= Body Multiplier (default: 2.0x) times the first candle's body, with opposite directions
Supply Zones - Drawn in dark purple (#2D1B4E) with medium purple border (#6B3FA0)
Demand Zones - Drawn in near-black (#0D1B2A) with dark teal border (#1B4D6E)
Extension - Zones extend forward configurable bars (default: 100) for visibility
Retest Tracking - Labels update with retest count (R1, R2, etc.) when price revisits zone
Break Removal - Optionally removes zones when price closes convincingly beyond them
Max Zones - Limits active zones (default: 8) to keep chart readable
### Pivot Point System
Recent swing highs and lows become horizontal support/resistance levels:
Uses configurable left/right bar counts (default: 3/3) for pivot detection
Resistance lines drawn in bright pink (#FF3366) with "R" labels
Support lines drawn in bright teal (#33FF99) with "S" labels
Lines extend forward 50 bars from pivot point
Optional break removal cleans up invalidated levels
Max pivots setting (default: 12) prevents chart clutter
### Trend Tools
Dual moving averages provide trend context:
Fast MA (default: 21-period SMA) - Colors based on price position relative to MA
Slow MA (default: 55-period SMA) - Thicker line for primary trend reference
Crossover Labels - Optional labels mark bullish/bearish MA crosses
Trend Bias - Fast > Slow = bullish trend context
### Ichimoku Integration (Optional)
For traders who use Ichimoku, a soft cloud layer can be enabled:
Tenkan Line (default: 9-period) - Short-term equilibrium
Kijun Line (default: 26-period) - Medium-term equilibrium
Senkou Span A/B - Projected cloud showing future support/resistance
Cloud Fill - Teal for bullish cloud, coral for bearish cloud
Signal Detection - TK crosses and cloud breaks feed into composite score
### Composite Scoring System
The scorer blends all enabled modules into a single 0-100 percentage:
Weight: Vector (default: 0.30) - Contribution from climax/rising detection
Weight: Volume (default: 0.20) - Contribution from volume spike scanner
Weight: Zones (default: 0.30) - Contribution from zone interaction
Weight: Ichimoku (default: 0.20) - Contribution from cloud/crossover signals
Threshold (default: 0.60) - Score level that triggers "SIGNAL" status
Weights auto-normalize to sum to 1.0 regardless of input values
With Ichimoku Lines/Plots:
### Bias Calculation
A separate bias score (0-5) determines market lean:
+1 if Fast MA > Slow MA (trend bullish)
+1 if Price > Fast MA (price above trend)
+1 if Momentum > 0 (positive momentum)
+1 if RSI > 50 (bullish RSI)
+1 if Price > Cloud Top (above Ichimoku cloud)
Score 4-5 = "STRONG BULL", 3 = "BULL", 2 = "NEUTRAL", 1 = "BEAR", 0 = "STRONG BEAR"
## Visual Elements
Vector Candles:
Climax Bull - Bright green (#00FF88) with white border
Climax Bear - Bright red (#FF0055) with white border
Rising Bull - Medium green (#00CC66)
Rising Bear - Medium red (#CC0044)
Normal Bull - Solid green (#009955)
Normal Bear - Solid red (#990033)
Signal Labels:
"CLIMAX BUY/SELL" - Appears on climax bars with volume ratio
"VOL SPIKE" - Appears on abnormal volume with percentage
"MA CROSS Bullish/Bearish" - Appears on MA crossovers
"SUPPLY/DEMAND" - Zone labels with retest counts
"R/S" - Pivot resistance/support labels with price
Glossy Visual Layer:
Gradient veil that subtly shifts based on composite score
Diagonal shimmer stripes that create motion effect
Floating sparkle particles placed around price
All effects configurable via opacity and spacing inputs
Can be disabled entirely via "Glossy Mode" toggle
## Analytics Panels
Top-Right "Glossy" Panel (8 rows):
Header - "GLOSSY" with composite score percentage
Status - "SIGNAL" or "WAIT" based on threshold
Bias - STRONG BULL / BULL / NEUTRAL / BEAR / STRONG BEAR
RSI - Current value or OVERBOUGHT/OVERSOLD flags
Momentum - RISING / POSITIVE / FALLING / NEGATIVE
Volume - Current ratio vs baseline with intensity indicator
Trend - BULL TREND / BEAR TREND / MIXED
ATR - Current ATR value for volatility context
Bottom-Right "Stats" Panel (6 rows):
Header - "STATS"
Zones - Count of active supply/demand zones
Pivots - Count of active pivot levels
Vol %ile - Current volume percentile vs lookback
Retests - Total zone retest count
Position - "IN ZONE" or "---" based on current price location
## Complete Configuration Reference
### Visual Settings Group
Glossy Mode (default: true) - Toggle sparkles and shimmer effects
Zone Opacity (default: 40, range: 10-80) - Lower = darker zones
Glow Veil Opacity (default: 85, range: 40-95) - Controls glossy gradient veil
Sparkle Spacing (default: 4, range: 2-20) - Bars between sparkle particles
Sparkle Softness (default: 25, range: 0-90) - Transparency of sparkles
High Contrast Mode (default: false) - Alternative color palette
Show Signal Labels (default: true) - Display text labels instead of shapes
### Vector Candles Group
Enable Vector Candles (default: true) - Toggle candle recoloring
Lookback (default: 10, range: 3-100) - Bars for volume SMA baseline
Climax Multiplier (default: 2.0, range: 1.2-5.0) - Volume threshold for climax
Rising Multiplier (default: 1.5, range: 1.1-3.0) - Volume threshold for rising
### Volume Scanner Group
Enable Volume Scanner (default: true) - Toggle spike detection
Lookback (default: 20, range: 5-100) - Bars for scanner baseline
Spike Multiplier (default: 1.5, range: 1.2-3.0) - Threshold for spike detection
### Supply/Demand Zones Group
Enable Order Zones (default: true) - Toggle zone detection
Body Multiplier (default: 2.0, range: 1.3-5.0) - Body ratio for zone detection
Extension Bars (default: 100, range: 20-300) - How far zones extend forward
Remove on Break (default: true) - Delete zones when price breaks through
Max Zones (default: 8, range: 1-20) - Maximum active zones
### Pivot Points Group
Enable Pivots (default: true) - Toggle pivot detection
Left Bars (default: 3, range: 1-15) - Bars to left for pivot confirmation
Right Bars (default: 3, range: 1-15) - Bars to right for pivot confirmation
Remove on Break (default: true) - Delete pivots when price breaks through
Max Pivots (default: 12, range: 2-30) - Maximum active pivot levels
### Trend Tools Group
Enable MAs (default: true) - Toggle moving average display
Fast MA (default: 21, range: 5-100) - Fast moving average period
Slow MA (default: 55, range: 20-200) - Slow moving average period
### Ichimoku Group
Enable Ichimoku (default: false) - Toggle Ichimoku cloud display
Tenkan (default: 9, range: 5-30) - Tenkan-sen period
Kijun (default: 26, range: 10-60) - Kijun-sen period
Senkou B (default: 52, range: 20-120) - Senkou Span B period
### Composite Scorer Group
Enable Scorer (default: true) - Toggle scoring system
Weight: Vector (default: 0.30, range: 0.0-1.0) - Vector candle weight
Weight: Volume (default: 0.20, range: 0.0-1.0) - Volume scanner weight
Weight: Zones (default: 0.30, range: 0.0-1.0) - Zone interaction weight
Weight: Ichimoku (default: 0.20, range: 0.0-1.0) - Ichimoku signal weight
Threshold (default: 0.60, range: 0.3-1.0) - Score level for "SIGNAL" status
### Performance Group
Cheap Mode (default: false) - Reduces lookback periods for faster calculation
## Alert System
The script includes ten alert conditions:
Climax Bull - Bullish climax bar detected
Climax Bear - Bearish climax bar detected
Volume Spike Bull - Bullish volume spike (non-climax)
Volume Spike Bear - Bearish volume spike (non-climax)
Zone Retest - Price retests an active zone
Zone Break - Price breaks through a zone
Pivot Crossed - Price crosses a pivot level
Score Threshold - Composite score reaches threshold
MA Cross Bull - Fast MA crosses above Slow MA
MA Cross Bear - Fast MA crosses below Slow MA
All alerts fire once per bar at bar close.
## Technical Implementation Notes
Pine Script v6 compliant
All calculations use confirmed bars only (barstate.isconfirmed) to prevent repainting
Arrays manage zones, pivots, labels, and sparkles with automatic cleanup
Resource limits respected: max_labels_count=200, max_lines_count=150, max_boxes_count=50
Cheap mode available to reduce computational load on slower systems
Color mixing function for smooth gradient transitions
Weight normalization ensures composite score validity regardless of input values
## Usage Considerations
Timeframe Selection: The indicator works across all timeframes. Zone and pivot detection may produce more signals on lower timeframes. Adjust lookback periods and max counts based on your trading style.
Market Compatibility: Tested on crypto, forex, stocks, and indices. Vector candle classification requires meaningful volume data. Markets with irregular or no volume may not benefit from volume-based features.
Signal Interpretation: The composite score and bias are informational summaries, not trade signals. Use them as context alongside your own analysis and risk management.
Visual Customization: If the glossy effects are distracting, disable "Glossy Mode" for a cleaner chart while retaining all analytical features.
## Limitations and Compromises
Zone detection uses simplified two-candle patterns; complex institutional order flow is not captured
Composite score is a weighted blend of heuristics, not a predictive model
Pivot detection may lag by the right-bar count before confirmation
Ichimoku signals are simplified; full Ichimoku analysis requires additional context
Glossy visual effects add computational overhead; use Cheap Mode if performance is an issue
Past zone/pivot behavior does not guarantee future price reaction
The indicator is designed as an analytical and educational aid. It does not guarantee profitable trades, remove risk, or replace your own process.
## Disclaimer
This script is provided for informational and educational purposes only and does not constitute financial advice. Trading involves substantial risk of loss. You are solely responsible for your own trading decisions. Past results shown on any chart do not guarantee future performance. Always conduct your own analysis and use appropriate risk management.
-Made with passion by officialjackofalltrades
Adaptive MTF Momentum [JOAT]Adaptive MTF Momentum - Zero-Lag Trend & Confluence Engine
IMPORTANT NOTES (READ FIRST)
This is an indicator (not a strategy). It does not place trades. It provides a structured momentum and trend framework.
This script is written in Pine Script v6 and is intended to be used on standard candlestick charts .
Source code visibility: This script is published as Protected Source (closed-source) . The purpose is to protect the work from unauthorized re-uploads/copies and to maintain a stable versioning path. This description is intentionally detailed so you can understand what the indicator does and how to use each feature without needing access to the implementation.
Protected Source / Closed-Source Clarification
Protected source does not mean "trust me blindly". It means the internal implementation is not publicly viewable.
The operational behavior is documented here: what is plotted, what each dashboard cell means, what each input controls, and how to interpret the output.
If you see re-uploads or near-identical copies elsewhere, treat them with caution and rely on the official publication.
Overview
Adaptive MTF Momentum Matrix (AMM) is a professional-grade momentum detection system that unifies:
Zero-Lag EMA Technology – eliminates traditional moving average lag for faster, more accurate trend detection
Adaptive Volatility Periods – automatically adjusts calculation periods based on market volatility using ATR ratios
Volume-Weighted Price Stream – weights calculations by volume to detect institutional participation
Multi-Timeframe Confluence – analyzes trend alignment across three timeframes compressed into a single score
Professional Gradient Visualization – six-color gradient system reflecting signal strength
The purpose is to provide a clean, information-dense overlay that shows how current price action aligns across multiple timeframes without cluttering the chart.
What Makes It Original (Originality & Usefulness)
This script is not a simple mashup of moving averages. It is a coordinated workflow:
Zero-Lag Spine defines the core trend structure using John Ehlers' ZLEMA algorithm: ZLEMA = EMA(price + (price - price ), period)
Adaptive Periods prevent whipsaws in ranging markets and increase responsiveness in trending markets
Volume Weighting ensures candles with genuine institutional participation influence baselines more than thin ticks
MTF Confluence compares local trend state with two higher timeframes to produce a normalized alignment score
Momentum Strength Model measures distance between fast and slow baselines, normalized and blended with confluence
The combination creates a momentum corridor that adapts to market conditions rather than using static parameters.
1) Chart Visuals – What You See on the Chart
A) Zero-Lag Trend Ribbons
Three ZLEMA lines form the trend spine:
Fast ZLEMA – thin line, crisp color, reacts aggressively to short-term drive
Mid ZLEMA – thicker line, slightly more transparent, acts as primary trend spine
Slow ZLEMA – soft line forming the structural backbone, defines background regime
How to use:
When ordered Fast > Mid > Slow = bullish structure
When ordered Fast < Mid < Slow = bearish structure
Criss-crossing baselines = consolidation/transition
B) Momentum Zones (Filled Areas)
The space between Fast-Mid and Mid-Slow baselines is filled with adaptive gradients:
Strong confluence and momentum = rich, saturated colors
Weak structure = faded colors
Creates a continuous "momentum corridor" instead of isolated arrows
C) Momentum Bar Coloring (optional)
When enabled, candles are tinted based on signal strength:
Strong bullish impulse = brighter bull tones
Soft bullish drift = muted greens/teals
Strong bearish pressure = brighter bear tones
Soft bearish drift = muted ambers/reds
Neutral conditions = uncolored candles
D) Signal Labels (optional)
Discretionary entry markers appear only when:
Trend structure shifts from neutral/contrary to aligned
Multi-timeframe confluence exceeds threshold (default: 30%)
Minimum 5 bars between signals (prevents spam)
Labels are compact LONG/SHORT markers positioned above/below price.
2) AMM Status Dashboard - Full Glossary
A compact table in the top-right corner displays:
Row 1 - Adaptive Period
Shows the effective working length after volatility adjustments
Automatically adapts based on ATR ratio: in low volatility the system slows down; in high volatility it tightens
Row 2 - Trend
BULLISH : Fast ZLEMA > Mid ZLEMA > Slow ZLEMA
BEARISH : Fast ZLEMA < Mid ZLEMA < Slow ZLEMA
NEUTRAL : Mixed ordering, consolidation phase
Row 3 - Momentum
0-100% strength indicator
Measures distance between fast and slow baselines, normalized by slow baseline
Higher values = stronger directional momentum
Row 4 - MTF Confluence
Shows how strongly higher timeframes agree with local trend
Each timeframe (current, HTF1, HTF2) contributes ~33% to the score
Higher alignment = higher confluence percentage
Row 5 - Signal Strength
Composite score: 60% momentum + 40% confluence alignment
Represents overall conviction of the current signal
3) How the Signal Framework Works (High-Level)
Bullish Signal Conditions:
Trend overall shifts from neutral/negative to positive (Fast + Mid alignment)
MTF confluence direction > 0.3 (30% bullish bias across timeframes)
Minimum 5 bars since last signal
Bearish Signal Conditions:
Trend overall shifts from neutral/positive to negative
MTF confluence direction < -0.3 (30% bearish bias across timeframes)
Minimum 5 bars since last signal
Gradient Color Logic:
Signal strength > 0.66 = brightest bull colors
Signal strength 0.33-0.66 = medium bull colors
Signal strength 0-0.33 = muted bull colors
Same logic inverted for bearish (negative strength values)
4) Inputs & Settings - Full Reference
Core Settings
Base Period (default: 21): Starting point for adaptive engine. Higher = slower, lower = more reactive.
Slow-Length Multiplier (default: 1.5): Scales the slow baseline relative to base period. Range: 1.0-3.0.
Enable Volume Weighting : Toggles volume-weighted price input for institutional flow detection.
Multi-Timeframe Analysis
Enable MTF Confluence : Toggle higher-timeframe analysis on/off.
Higher Timeframe 1 (default: 60min): First HTF for confluence calculation.
Higher Timeframe 2 (default: 240min): Second HTF for confluence calculation.
Visual Settings
Color Theme : Classic, Deep Purple, Sweden, Ocean, or Monokai. Each is a curated gradient set.
Zone Transparency (default: 85): Controls fill opacity between baselines.
Show Momentum Bar Colors : Toggle candle coloring based on signal strength.
Show Entry Signals : Toggle LONG/SHORT label markers.
5) Recommended Workflow (Practical Use)
For Day Trading (Scalping):
Base Period: 13
Slow-Length Multiplier: 2.0
HTF1: 15min, HTF2: 60min
For Swing Trading:
Base Period: 21 (default)
Slow-Length Multiplier: 1.5 (default)
HTF1: 60min, HTF2: 240min (default)
For Position Trading:
Base Period: 34
Slow-Length Multiplier: 1.0
HTF1: Daily, HTF2: Weekly
Step-by-Step Usage:
Step 1 - Check dashboard Trend: BULLISH/BEARISH/NEUTRAL
Step 2 - Verify MTF Confluence alignment (higher = stronger conviction)
Step 3 - Use gradient intensity to gauge fresh impulse vs late extension
Step 4 - Wait for signal labels or use ribbon ordering for discretionary entries
Step 5 - Manage risk externally (AMMM is a filter, not a risk engine)
6) Alerts
AMMM ships with alert conditions for:
AMMM Long Signal : Bullish trend change with high confluence
AMMM Short Signal : Bearish trend change with high confluence
Recommended: Attach alerts to "Once Per Bar Close" for stable, non-intrusive signals.
7) Limitations & Best-Use Guidance
This tool does not predict the future or remove risk. It is a framework for reading structure and momentum.
Signals may update on the current bar until it closes. For conservative use, base decisions on closed candles.
Extremely low-volume symbols or illiquid markets can reduce the quality of volume-weighted calculations.
Always validate the tool on your own symbols and timeframes before committing capital.
Use AMM as a higher-order context layer on top of your execution and risk rules.
Disclaimer
This script is for educational and informational purposes only. It does not constitute financial advice. Trading involves risk, and you are responsible for your own decisions, sizing, and risk controls. Always test settings and workflows in a simulated environment before using them in live markets.
-Made with passion by officialjackofalltrades
Chaos Chameleon Risk Reactor [JOAT]# Chaos Chameleon Risk Reactor
Chaos Chameleon Risk Reactor is a Pine Script v6 indicator that fuses pattern-based reversal detection with real-time risk telemetry. It answers two questions on every chart: Is a reversal developing with genuine confluence? And if I take it, what does my risk profile look like right now?
Note: This script is published as an invite-only INDICATOR. It does not generate backtesting results or automated trade execution. Access requires authorization through the script's access control settings.
## Why This Script Merits Invite-Only Protection
This indicator combines multiple analytical dimensions that individually exist as separate tools across the trading community. The value proposition lies in the specific integration methodology and risk-gated scoring system that synthesizes:
Pattern intelligence engine detecting 10 candlestick patterns with weighted scoring and configurable thresholds
Multi-timeframe confirmation using dual higher timeframes with adjustable weight multipliers
Volatility context engine with shock index, compression detection, and squeeze identification
Risk architecture calculating VaR proxy, drawdown tracking, heat metrics, and position sizing guidance
Signal gating logic requiring pattern score + RR + volume + trend alignment before any signal fires
Persistent risk console dashboard displaying 28 real-time metrics across 14 rows
The proprietary elements include the mathematical scoring normalization system, the volatility penalty multipliers during shock conditions, the priority-based label cooldown system preventing overlap, and the multi-module integration logic that prevents conflicting signals. While individual components like EMAs and RSI are standard, their specific combination, the composite risk-gated methodology, and the multi-module integration represent original development work that justifies source code protection.
## How Components Work Together
The indicator's value comes from how its modules interact, not from any single component:
Data Flow:
Pattern detection identifies candlestick formations and assigns weighted scores (0-20 scale)
Multi-timeframe EMAs establish directional bias across primary and secondary confirmation timeframes
Volatility engine assesses shock conditions and compression states, applying penalty multipliers
Risk architecture calculates RR ratios, VaR proxy, drawdown, and heat metrics
Signal gating requires ALL conditions to align before any entry signal appears
Dashboard displays all metrics persistently so risk is never hidden during trade management
Integration Logic:
Each module produces normalized scores that feed into the final signal decision:
Pattern score normalized to 0-1 scale against 20-point maximum
EMA trend bias applies 1.0x multiplier when aligned, 0.6x when counter-trend
RSI momentum applies 1.0x when favorable (>55 bull, <45 bear), 0.8x otherwise
Volatility shock applies 0.92x penalty during active shock conditions
Final signal requires smoothed score ≥ 0.55, RR ≥ floor, volume confirmed, EMA aligned, no emergency
Why This Integration Matters:
A standard pattern detector might signal "buy" on a hammer while volatility is in shock mode, RR is below minimum, and volume is below baseline. The risk-gated scoring system catches these conflicts and suppresses the signal. This multi-dimensional validation is what separates this indicator from simple pattern detectors that fire on any match.
## Core Functionality
This indicator addresses the challenge of combining reversal detection with persistent risk visibility. Most pattern indicators show entries but leave risk management to guesswork. This script keeps risk math in your field of view throughout the trade.
What This Script Does:
Detects 10 candlestick patterns: Hammer, Inverted Hammer, Doji, Bullish/Bearish Engulfing, Morning Star, Evening Star, Piercing Pattern, Dark Cloud Cover, Tweezer Top/Bottom, Continuation Flags
Multi-timeframe confirmation using two configurable higher timeframes with weight multipliers
RSI divergence detection at confirmed pivot points with configurable pivot span
Liquidity sweep identification when price breaks recent extremes then reverses
Volatility shock detection combining body-to-ATR ratio with ATR expansion metrics
Squeeze/compression detection tracking ATR relative to baseline
Risk/Reward calculation using ATR-based stop and target projections
VaR proxy calculation using log-return standard deviation with configurable confidence levels
Drawdown and heat tracking as exposure proxies with emergency thresholds
Position sizing guidance based on account size and risk per trade percentage
Adaptive trailing stop that updates as price moves favorably
28-metric risk console dashboard with real-time updates
## Technical Architecture
### Pattern Intelligence Module
The indicator detects 10 candlestick patterns with configurable parameters and weighted scoring:
Hammer/Inverted Hammer (weight: 2.0) - Configurable lower shadow ≥ body × 2.5, upper shadow ≤ body × 0.5, body ≤ range × 0.35
Doji (weight: 0.5) - Body ≤ range × 0.1 threshold
Bullish/Bearish Engulfing (configurable weight, default: 1.5) - Current candle engulfs prior candle body
Morning Star/Evening Star (weight: 1.8) - Three-candle reversal with doji middle
Piercing Pattern/Dark Cloud Cover (configurable weight, default: 1.1) - Two-candle reversal patterns
Tweezer Top/Bottom (configurable weight, default: 1.0) - Equal highs/lows within 15% tolerance
Continuation Flags (configurable weight, default: 0.75) - 7-bar high/low with volume confirmation
Each pattern contributes to a cumulative score (0-20 scale) that gets normalized, filtered through trend/volume confirmation, and penalized during volatility shock before any signal appears.
### Multi-Timeframe Confirmation Engine
The script uses two confirmation timeframes to establish directional bias:
Primary Confirmation Timeframe (default: 240m/4H) - Higher TF Weight multiplier (default: 1.5x)
Secondary Confirmation Timeframe (default: 60m/1H) - Secondary TF Weight multiplier (default: 1.0x)
MTF data uses request.security with lookahead_off to prevent future data leakage. EMA bias from higher timeframes increases pattern score weight. RSI values from both timeframes are fused into a consensus score for composite confidence calculation.
### Volatility Context Engine
Shock Index - Combines body-to-ATR ratio (threshold: 1.8x) with ATR expansion relative to baseline (threshold: 1.4x)
Compression Lab - Tracks ATR compression ratio (lookback: 21 bars, threshold: 0.85) to identify squeeze conditions
Squeeze Detection - Identifies when compression ratio falls below threshold; tracks squeeze initiation and release
Volatility Penalty - During active shock, pattern scores receive 0.92x multiplier to reduce false signals
### Risk Architecture
Risk/Reward Calculation - Uses ATR × Exit Stop Multiplier (default: 1.2) for stop, ATR × Exit Target Multiplier (default: 2.4) for target
VaR Proxy - Log-return standard deviation × Z-score (90%: 1.28, 95%: 1.65, 99%: 2.33) × √horizon days × account size
Drawdown Tracking - Percentage decline from highest close over lookback period (default: 200 bars)
Heat Metric - ATR% × correlation factor as exposure proxy
Emergency Exit - Triggers when drawdown ≥ threshold (default: 12%), heat ≥ threshold (default: 18%), or RR below floor
Position Sizing - (Account size × risk%) ÷ dollar risk per share
### Signal Gating Logic
A signal only prints when ALL conditions align:
Smoothed pattern score ≥ 0.55 (normalized)
Risk/Reward ≥ minimum floor (default: 1.6)
Volume > baseline × confirmation multiplier (default: 1.25x)
EMA bias confirms direction (Fast EMA vs Slow EMA alignment)
No emergency condition active
### Exit Engineering
EMA Exit - Price crosses EMA with ATR buffer (default: 0.25 ATR)
Time Exit - Configurable bar count since signal (default: 120 bars)
Emergency Exit - Drawdown, heat, or RR threshold breach
Adaptive Trailing Stop - ATR × trail multiplier (default: 0.85), updates as price moves favorably
### Priority-Based Label System
A cooldown mechanism (default: 8 bars) prevents label overlap. Labels are prioritized:
Priority 1: Bull/Bear Signal (Long/Short labels with score)
Priority 2: RSI Divergence (RSI Div triangles)
Priority 3: Liquidity Sweep (Sweep arrows)
Priority 4: Continuation (Flag circles)
Priority 5: EMA Exit (EMA Exit crosses)
Priority 6: Time Exit (Time Exit diamonds)
Priority 7: Burst (compression release diamonds)
Only the highest priority signal displays per cooldown period.
## Visual Elements
Primary Source as Open with Confirmation TimeFrames as 4hr and Daily.
Signal Labels:
"Long" / "Short" - Primary entry signals when all gating conditions pass, displays smoothed score (0.00-1.00)
Pattern Markers:
"Sweep" (Arrow up/down) - Liquidity sweep detected, price broke recent extreme then reversed
"RSI Div" (Triangle up/down) - RSI divergence at confirmed pivot points
"Flag" (Circle) - Continuation pattern with volume confirmation
"Burst" (Diamond at top) - Compression release, squeeze ending
"Pred" (Flag shape) - Predator mode: bull signal + low heat + ADX > 25 + no squeeze
"EMA Exit" (Cross) - Price crossed EMA with ATR buffer
"Time Exit" (Diamond) - Time-based exit threshold reached
"Emergency" (X-cross at top) - Emergency exit conditions active
Camouflage Bands:
EMA-based bands (default: 34-period) with ATR envelopes (default: 1.8x multiplier):
Above upper band = bullish tone (lime color)
Inside bands = neutral tone (gray color)
Below lower band = bearish tone (red color)
Transparency adjusts dynamically based on distance from midline
Execution Guides:
Stop line (red) - ATR × Exit Stop Multiplier from entry
Target line (green) - ATR × Exit Target Multiplier from entry
Trail line (yellow) - Adaptive trailing stop, updates as price moves favorably
Bias Bar Coloring:
Bars colored based on net bias (bull score minus bear score). Emergency conditions override with red. Transparency reflects bias magnitude.
Background Tint:
Red tint - Emergency exit conditions active
Gray tint - Squeeze/compression active
## Risk Console Dashboard
Showing Emergency Bearish Signals, and Burst into Bullish Structure on Chart:
The dashboard displays 28 metrics across 14 rows in a 4-column table (bottom-right position):
Row 1 - Pattern Scores:
Bull Score - Current bullish pattern strength (0.00-1.00)
Bear Score - Current bearish pattern strength (0.00-1.00)
Row 2 - Volatility & Trend:
ATR% - ATR as percentage of price
ADX - Average Directional Index strength
Row 3 - Risk/Reward:
RR Long - Risk/Reward ratio for long positions
RR Short - Risk/Reward ratio for short positions
Row 4 - Exposure Metrics:
Drawdown% - Chart-level drawdown from highest close
Heat% - Volatility-based exposure proxy
Row 5 - Bias Analysis:
Net Bias - Bull score minus bear score
Confidence - Level (High/Medium/Developing/Forming) with bias label (Bullish/Bearish/Balanced)
Row 6 - Risk Metrics:
VaR - Value at Risk proxy with configured confidence level
Shock - Volatility shock status with multiplier (Active/Calm)
Row 7 - Momentum:
Slope - Smoothed RSI momentum slope
Div / Sweep - Last divergence and sweep events
Row 8-9 - Execution Levels:
Stop L / Stop S - Current stop levels for long/short
Trail L / Trail S - Adaptive trailing stop levels
Row 10 - Position Sizing:
Pos Size L / Pos Size S - Recommended position sizes based on account and risk settings
Row 11 - Exit Status:
Emergency - Emergency exit status (ACTIVE/Clear)
Time Exit - Time-based exit status (Pending/n/a)
Row 12 - Performance Proxies:
Sharpe* - Sharpe ratio proxy (annualized from chart data)
Sortino* - Sortino ratio proxy
Row 13 - Additional Metrics:
Hit Rate - Win rate proxy from chart data
Camouflage - Band position (Above/Inside/Below) + Squeeze status (Coiled/Expansion/Normal) with compression ratio
Proxy Disclaimer: VaR, Sharpe, Sortino, and Hit Rate are derived from chart data with simplified assumptions. They provide context, not audited performance statistics.
## Complete Configuration Reference
Customized Settings with a new Primary Source, and New Risk:
### Trend & Confirmation Group
Primary Source (default: close) - Price source for calculations. Options: open, high, low, close, hl2, hlc3, ohlc4, hlcc4
Fast EMA Length (default: 21) - Fast exponential moving average period
Slow EMA Length (default: 55) - Slow exponential moving average period
Confirmation Timeframe (default: 240/4H) - Primary higher timeframe for trend confirmation
Higher TF Weight (default: 1.5) - Weight multiplier for primary timeframe signals
Secondary Confirmation TF (default: 60/1H) - Secondary timeframe for additional confirmation
Secondary TF Weight (default: 1.0) - Weight multiplier for secondary timeframe signals
Pattern Score Smoothing (default: 3, range: 1-15) - EMA smoothing applied to pattern scores
### Pattern Intelligence Group
Hammer Lower Shadow ≥ Body × (default: 2.5) - Minimum lower shadow to body ratio for hammer detection
Hammer Upper Shadow ≤ Body × (default: 0.5) - Maximum upper shadow to body ratio for hammer detection
Hammer Body ≤ Range × (default: 0.35) - Maximum body to candle range ratio for hammer detection
Doji Body ≤ Range × (default: 0.1) - Maximum body to range ratio for doji detection
Engulfing Weight (default: 1.5) - Score weight for engulfing patterns
Continuation Pattern Weight (default: 0.75) - Score weight for continuation patterns
Piercing / Dark Cloud Weight (default: 1.1) - Score weight for piercing and dark cloud patterns
Tweezer Weight (default: 1.0) - Score weight for tweezer patterns
Volume Lookback (default: 30) - Bars for volume baseline calculation
Volume Confirmation Multiplier (default: 1.25) - Volume must exceed baseline × this value
RSI Divergence Pivot Span (default: 5, range: 1-20) - Bars for pivot detection in divergence analysis
Show RSI Divergence Markers (default: true) - Toggle RSI divergence labels
Highlight Liquidity Sweeps (default: true) - Toggle liquidity sweep detection
Liquidity Sweep Lookback (default: 20) - Bars to look back for sweep floor/ceiling
### Risk Architecture Group
ATR Length (default: 14) - Period for Average True Range calculation
ATR Position Sizing Multiplier (default: 1.5) - Multiplier for ATR-based position sizing
Account Size (default: 100,000) - Base currency account size for position sizing
Risk Per Trade % (default: 1.0%, range: 0.1-10%) - Percentage of account to risk per trade
Correlation Heat Factor (default: 1.0, range: 0.5-3.0) - Multiplier for heat metric calculation
VaR Confidence (default: 95%) - Confidence level for VaR calculation. Options: 90%, 95%, 99%
VaR Lookback (default: 100, min: 20) - Bars for VaR standard deviation calculation
VaR Holding Horizon (default: 1 day, range: 1-10) - Days for VaR projection
Drawdown Lookback (default: 200, min: 50) - Bars for drawdown calculation
Emergency Drawdown Threshold % (default: 12%, range: 2-50%) - Drawdown level triggering emergency exit
Portfolio Heat Threshold % (default: 18%, range: 5-50%) - Heat level triggering emergency exit
Minimum Risk/Reward (default: 1.6, min: 0.5) - Minimum RR required for signal generation
Performance Lookback (default: 60, range: 20-500) - Bars for Sharpe/Sortino/Hit Rate calculations
### Flow & Volatility Group
Shock Index Lookback (default: 20, min: 5) - Bars for shock baseline calculation
Shock Sensitivity (default: 1.8) - Body ÷ ATR threshold for shock detection
Volatility Shock Threshold (default: 1.4) - ATR ÷ baseline threshold for shock detection
Momentum Slope Length (default: 21) - Bars for RSI slope calculation
### Exit Engineering Group
Exit Stop ATR × (default: 1.2, min: 0.5) - ATR multiplier for stop placement
Exit Target ATR × (default: 2.4, min: 0.5) - ATR multiplier for target placement
EMA Exit ATR Buffer (default: 0.25, range: 0-5) - ATR buffer for EMA exit detection
Time-Based Exit Bars (default: 120, min: 10) - Bars before time exit triggers
Show Adaptive Trailing Guides (default: true) - Toggle trailing stop visualization
Trailing Stop ATR × (default: 0.85, range: 0.2-5) - ATR multiplier for trailing stop
### Visualisation Group
Show Reversal Labels (default: true) - Toggle main Long/Short signal labels
Show Continuation Labels (default: true) - Toggle Flag continuation labels
Display Risk Console Table (default: true) - Toggle dashboard visibility
Show Execution Bands (default: true) - Toggle stop/target level lines
Show Risk Pulse Panel (default: true) - Toggle heat ratio histogram in separate pane
Show Pattern Heat Histogram (default: true) - Toggle bull/bear pattern strength histogram in separate pane
Bias Bar Coloring (default: true) - Toggle bias-based bar coloring
Show Camouflage Bands (default: true) - Toggle EMA envelope bands
Show Tactical Markers (default: true) - Toggle Burst/Predator markers
Label Cooldown Bars (default: 8, range: 1-50) - Minimum bars between labels to prevent overlap
Camouflage EMA Length (default: 34, min: 2) - Period for camouflage band midline
Camouflage ATR Multiplier (default: 1.8, min: 0.5) - ATR multiplier for band width
Squeeze Lookback (default: 21, min: 5) - Bars for squeeze baseline
Squeeze Compression Threshold (default: 0.85, range: 0.1-2.0) - Ratio below which squeeze is active
### Color Customization
Bull Skin Color (default: lime) - Primary bullish color for camouflage bands
Bear Skin Color (default: red) - Primary bearish color for camouflage bands
Neutral Skin Color (default: gray 60%) - Neutral/inside band color
Accent Color (default: teal) - Accent for continuation patterns
Bull Primary (default: lime) - Bull signal and metric color
Bear Primary (default: red) - Bear signal and metric color
Neutral Tone (default: gray 75%) - Neutral background tone
Pulse Accent (default: aqua) - Heat pulse accent color
## Alert System
The script includes six alert conditions:
Bull Signal - Fires when bullish reversal detected with all gating conditions met (pattern score ≥ 0.55, RR ≥ floor, volume confirmed, EMA aligned, no emergency)
Bear Signal - Fires when bearish reversal detected with all gating conditions met
Long Exit - Fires when exit logic triggered for long positions (EMA break, time exit, or emergency)
Short Exit - Fires when exit logic triggered for short positions
Squeeze Release - Fires when compression ends and expansion begins (potential breakout)
Predator Mode - Fires when strong trend alignment with favorable conditions (bull signal + low heat + ADX > 25 + no squeeze)
All alerts fire once per bar at bar close.
Bearish Alert Signal:
## Technical Implementation Notes
Pine Script v6 compliant
All request.security calls use barmerge.gaps_off and barmerge.lookahead_off to prevent historical repainting
RSI divergence and liquidity sweep detection rely on confirmed pivot points only
All calculations include nz() wrappers and division-by-zero guards for real-time stability
Label cooldown system prevents visual overlap using priority-based filtering
Dashboard updates only on last confirmed history bar or realtime to optimize performance
Plot count optimized to stay within TradingView's 64-plot limit
## Usage Considerations
Timeframe Selection: The indicator works across all timeframes. Default confirmation timeframes (4H/1H) are optimized for swing and intraday trading. Scalpers may prefer 15m/5m confirmation; position traders may extend to Daily/4H.
Market Compatibility: Tested on forex, crypto, stocks, and indices. Pattern detection works best on liquid markets with clean price action. Adjust volume lookback for markets with irregular volume data.
Signal Interpretation: Signals indicate confluence across multiple dimensions but do not guarantee profitable outcomes. Use in conjunction with risk management and market context. The indicator is a tool for analysis, not a standalone trading system.
Resource Usage: With all features enabled, the script operates within TradingView's resource budgets. Disable unused visual elements (camouflage bands, pattern heat histogram, risk pulse panel) if running multiple instances on a single layout.
## Limitations & Compromises
Heat, drawdown, and performance values are chart-derived proxies dependent on your inputs-they do not reflect actual portfolio performance
The indicator does not know your broker fills, fees, leverage, slippage, or actual portfolio holdings
VaR, Sharpe, Sortino, and Hit Rate are simplified proxies using chart data, not audited statistics
Pattern detection may produce false signals during extended consolidation or low-volume conditions
Multi-timeframe confirmation requires sufficient historical data on higher timeframes
Signals are informational-always use broker-side risk controls and proper position sizing
Past pattern performance does not guarantee future results
The indicator is optimized for trending and reversal markets. Performance may degrade during extended sideways consolidation or during major news events when patterns become unreliable.
## Disclaimer
This script is provided for informational and educational purposes only and does not constitute financial advice. Trading involves substantial risk of loss. You are solely responsible for your own trading decisions. Past results shown on any chart do not guarantee future performance. Always conduct your own analysis and use appropriate risk management.
If anyone has any questions please feel free to talk to me on anything! Would love to help everyone out!
Made with passion by officialjackofalltrades
Astral Flux Architect [JOAT]Astral Flux Architect – Institutional-Grade Trend & Confluence Suite
Introduction
Astral Flux Architect (AFA) is a professional, closed-source indicator built for traders who demand institutional-level clarity without exposing internal logic. It combines a zero-lag trend ribbon, multi-indicator momentum engine, regime state detection, multi-timeframe confirmation, volatility bands, volume analytics, swing structure, divergences and a compact dashboard into one unified visual system.
AFA is designed to be:
Clean enough for discretionary traders who hate chart clutter
Structured enough for systematic traders who think in rules and regimes
Flexible enough to adapt from lower intraday charts up to swing and position trading
This script is public but closed source . You can load it on any chart, change inputs, and use all features freely, but the underlying Pine Script v6 code is protected to prevent low-effort counterfeit copies and to comply with TradingView’s House Rules.
Core Functionality Overview
AFA is organised into several cooperating engines:
Trend Ribbon Engine – Five stacked moving averages (user-selectable type) form a zero-lag directional ribbon with colour-coded alignment.
Momentum Confluence Engine – RSI, MACD and ADX are blended into a single confluence score so you can quantify trend agreement at a glance.
Regime State Machine – Converts raw signals into stable Bullish , Bearish or Neutral regimes with debounce and minimum hold logic.
MTF Confirmation Layer – Optional higher-timeframe (HTF) checks that gate or filter signals based on HTF trend and momentum.
Volatility Band Engine – ATR-based envelopes that expand and contract with volatility percentile, framing fair-value vs. extension.
Volume Intelligence Layer – Compares current volume to adaptive baselines to highlight conviction vs. weak participation.
Structure & Divergence Module – Auto-detected swing highs/lows, structure break alerts and optional RSI-based divergences.
Strength Meter & Dashboard – A right-side panel that summarises bias, strength and HTF alignment without needing extra subcharts.
Visual Map – What You See on the Chart
Ribbon – Five lines following price:
– Deep/bright greens = strong bullish alignment (fast MAs above slow).
– Deep/bright reds = strong bearish alignment (fast MAs below slow).
– Neutral blues/greys = transition / compression.
Band Envelopes
– Semi-transparent band around price derived from ATR.
– Upper band: potential extension / take-profit or fade area.
– Lower band: potential discount / bid zone in bullish regimes and breakdown area in bearish regimes.
Background Tint
– Soft green background = bullish regime confirmed.
– Soft red background = bearish regime confirmed.
– Neutral/very light background = no active regime (chop, transition).
Swing Markers & Structure Lines
– Small "H" labels mark confirmed swing highs; small "L" labels mark confirmed swing lows.
– Dashed horizontal lines extend from recent pivots to visualise active support/resistance.
Divergence Markers (optional)
– Tiny green diamonds below price = bullish RSI divergence (price lower low, RSI higher low).
– Tiny red diamonds above price = bearish RSI divergence (price higher high, RSI lower high).
Strength Meter
– A compact percentage widget on the right side representing combined trend+momentum+volume strength from 0–100.
– Darker colour + higher value = more decisive trend environment.
Astral Flux Dashboard (top-right by default)
– Header: ASTRAL FLUX + current symbol.
– "REGIME": Bullish / Bearish / Neutral, colour-coded.
– "CONFLUENCE": −100 to +100, summarising trend+momo alignment.
– "TREND": textual rating (Strong / Weak / Flat) with score.
– "RSI", "MACD", "ADX" rows: quick assessment of each component.
– "HTF": Higher-timeframe bias (Bull / Bear / Mixed) when HTF is enabled.
Engines in Detail
1. Trend Ribbon Engine
Five moving averages with user-selectable type: EMA, SMA, ZEMA, DEMA, TEMA, HMA, ALMA, KAMA.
Defaults: 8 / 21 / 55 / 100 / 200 – a blend of short-term reactivity and institutional anchor levels.
Ribbon colouring encodes both direction and ordering:
– All stacked bullish (fast above slow) = strong bullish environment.
– All stacked bearish (fast below slow) = strong bearish environment.
– Mixed stacking or tight clustering = transition or compression.
Fills between the lines visually highlight compression/expansion phases.
2. Momentum Confluence Engine
RSI checks whether price is building strength (above bull threshold), losing strength (below bear threshold) or neutral.
MACD checks if momentum agrees with price direction (line vs. signal, above/below zero).
ADX evaluates whether conditions are trending (above threshold) or ranging.
A vote is assigned by each component (bull, bear or neutral), then combined with ribbon alignment into a Confluence Score from −100 to +100.
This score is displayed in the dashboard and used by the regime detector and alerts.
3. Regime State Machine
Raw conditions (trend score + confluence + anti-chop filters) propose bullish or bearish states.
Debounce logic requires a minimum number of confirm bars before flipping.
Minimum hold time prevents immediate flip-flopping in chop.
Final regimes:
– Bullish : background tinted green; bullish alerts active.
– Bearish : background tinted red; bearish alerts active.
– Neutral : no tint; best to stand aside or reduce size.
4. Multi-Timeframe Confirmation Layer
Pulls higher-timeframe data (e.g., 4H while trading 45m) using Pine Script v6 non-repainting request patterns.
Evaluates HTF trend (MAs), HTF RSI zone and HTF MACD orientation.
Modes:
– Display : show HTF row in dashboard, no gating.
– Filter : disallow entries against a strong opposite HTF trend.
– Strict : only allow trades when LTF and HTF agree.
5. Volatility Band Engine
Bands are based on ATR length + multiplier with optional dynamic scaling via volatility percentile.
Use cases:
– Identify stretched moves (price pinned outside band).
– Frame pullback zones (mid-band and opposite band).
– Combine with regime to avoid shorting strong bull trends too early.
6. Volume Intelligence Layer
Compares current volume to a rolling baseline.
Flags high-volume bursts (potential genuine moves) vs. low-volume drifts (low conviction).
Feeds into the strength meter and high-volume alerts.
7. Structure & Divergence Module
Automatically finds swing highs/lows with user-controlled lookback.
Draws short horizontal lines to mark tradable structure.
Generates alerts on:
– Bullish structure breaks (price clearing prior swing highs).
– Bearish structure breaks (price losing prior swing lows).
Optional RSI divergence detection (bullish and bearish) for advanced timing.
8. Strength Meter & Dashboard
Strength meter condenses trend score, confluence, ADX and volume into a simple 0–100 scale.
Dashboard text is intentionally concise: every row answers a specific question (Who is in control? How strong? Is HTF aligned?).
Colours are tuned for both dark and light theme visibility using blended midnight-blue backgrounds and high-contrast text.
Inputs & Customisation (Detailed)
Trend Ribbon Settings
– MA Type, lengths, plot visibility and fill transparency.
– Ideal workflow: leave the base stack at 8/21/55/100/200 and adjust type per asset (HMA/ALMA for crypto, EMA/ZEMA for FX, KAMA for indices).
Momentum Confluence
– Tune RSI thresholds tighter for scalping, wider for swing trading.
– Adjust ADX threshold to define what you consider a "real" trend.
Regime Detector
– ATR separation multiplier filters out flat MAs.
– Slope ROC and minimum hold bars balance responsiveness vs. stability.
Multi-Timeframe
– Choose HTF (e.g., trade 15m with 1H, trade 1H with 4H, trade 4H with 1D).
– Switch between Display, Filter, Strict depending on how aggressively you want to enforce alignment.
Volatility Bands
– Tune ATR length/multiplier per asset.
– Enable dynamic mode when volatility regimes vary strongly over time.
Visual Settings
– Toggle background tint, bar colours, structure, divergences, dashboard and meter individually for ultra-clean or fully-instrumented layouts.
Practical Workflows
1. Intraday Trend-Following (5–15m)
Use HTF = 1H or 4H in Filter mode.
Look for AFA bullish regime + HTF bull alignment + confluence above +30.
Enter on pullbacks toward the mid-band or slow ribbon MAs.
Partial take-profit at upper band; trail behind ribbon or recent swing lows.
2. Swing Trading (1H–4H)
HTF = 1D, mode Strict .
Focus on clear regime shifts after prolonged neutral/chop periods.
Use structure breaks plus high confluence for initial entries.
Use divergences and strength meter > 80 to manage exits on exhaustion.
3. Mean-Reversion Windows
Only consider counter-trend plays when:
– Strength meter > 85.
– Price extended beyond the outer band.
– Divergence appears or structure refuses further extension.
Reduce position size relative to with-trend trades.
Alerts
AFA ships with a rich alert set (exact names may vary with future updates):
Bullish / Bearish Regime Start
Strong Bull / Bear Confluence
Upper / Lower Band Touch in active regime
Bullish / Bearish Structure Break
High-Volume Bull / High-Volume Bear
Bullish / Bearish Divergence
Recommended: attach alerts to a higher timeframe chart (e.g., 1H/4H) and then drill into lower timeframes to refine entries.
Best Practices
Treat AFA as a decision-support system , not a signal spammer.
Let regime and HTF alignment define your directional bias first.
Use confluence and strength meter to time entries, not to force trades.
Keep risk management external (position sizing, stop placement and portfolio rules are still your responsibility).
Test on your favourite asset/timeframe combinations before going live.
Publishing Rules & IP / Reuse Notice
This indicator is published on TradingView as public, closed source . It follows TradingView House Rules. Using this tool on your charts is fully allowed.
Disclaimer
Astral Flux Architect is an educational and analytical tool, not financial advice. Markets are risky; there is no guarantee of profit or protection from loss. Always test configurations on historical data and paper trading before applying them to live capital, and make sure your risk per trade and overall exposure are appropriate for your situation.
-Made with passion by officialjackofalltrades
InstitutionalSuite Fusion [JOAT]InstitutionalSuite Fusion
Introduction
InstitutionalSuite Fusion is a single, overlay-style TradingView indicator that combines multiple market context layers into one coherent workspace:
Confluence (Fusion Wave): A bounded, smoothed confluence engine that maps multi-factor momentum/pressure into a clean wave around price.
Trend Regime + Matrix: A multi-length trend regime model that summarizes directional bias and coherence (agreement) across a configurable range of lengths.
Timeline Levels: Key opens and reference levels (day/week/month/year open, previous session highs/lows) for clean session structure.
Liquidity Zones + Ladder: Automatic imbalance-style zones, mitigation tracking, and a right-side “ladder” that lists the nearest active zones.
Dashboard + Matrix UI: Lightweight tables to keep state readable without cluttering the chart.
The purpose of Fusion is not to “merge indicators for the sake of merging”. It is built so the modules reinforce each other:
Confluence shows pressure and inflection.
Trend Regime shows whether that pressure aligns with the broader directional backdrop.
Timeline levels provide context for where price is trading relative to key opens and prior extremes.
Liquidity zones provide likely reaction areas and objective references for risk framing.
The ladder/dashboard compress all of the above into a fast decision surface.
Important Note
This is an analysis indicator . It does not place trades and it does not guarantee results. Use it as a decision-support layer inside a complete trading plan.
What You See On The Chart (Visual Guide)
1) Fusion Wave (Confluence Overlay)
When Modules -> Confluence is enabled, the indicator draws:
Fusion Basis (subtle baseline): an EMA-based anchor around which the wave oscillates.
Fusion Wave (colored line): the confluence projection mapped into price space using ATR scaling.
Wave Fill : a filled band between the wave and the basis to visualize pressure intensity.
Bar Tint (optional): candle colors are tinted to match the confluence gradient.
How to read it
Positive wave coloration / upward pressure: confluence is net bullish.
Negative wave coloration / downward pressure: confluence is net bearish.
Transitions around neutral: watch for shifts in pressure, then confirm with the Trend Regime and nearby Liquidity Zones/Timeline levels.
Why it stays clean and on-scale
Fusion confluence is explicitly bounded and smoothed to avoid runaway values that can distort chart scaling. The wave is derived from the bounded confluence and an ATR-based amplitude.
2) Regime Background (Optional)
When Modules -> Regime background is enabled, the chart background is softly tinted:
Bull regime: bias exceeds the neutral band.
Bear regime: bias falls below the neutral band.
Neutral regime: bias remains inside the neutral band.
Use it as “macro tint”, not as a signal by itself.
3) Timeline Levels (Session/Period Structure)
When Modules -> Timeline levels is enabled, Fusion can plot:
Day Open
Week Open
Month Open
Year Open (12M)
Previous Day High / Low
Previous Week High / Low
How to use them
Treat opens as “fair value anchors” for that period.
Use previous highs/lows as liquidity reference points and reaction zones.
Combine them with Liquidity Zones: confluence shifts near a timeline level is higher quality than a shift in empty space.
Note: level prices are aligned to the instrument’s tick size to keep plotted lines visually accurate.
4) Liquidity Zones (Imbalance-Style Zones)
When Modules -> Liquidity zones is enabled, Fusion detects and draws zones as boxes.
Zone types
Bull zones (typically below/around current price when created): represent upward displacement leaving an imbalance.
Bear zones (typically above/around current price when created): represent downward displacement leaving an imbalance.
Zone lifecycle
Creation: a zone is created only on confirmed bars and only if its size meets your minimum ATR-based threshold.
Aging/Fade: zones progressively fade as they get older (configurable).
Mitigation: a zone is marked mitigated when price trades back through its price range.
Optional deletion: mitigated zones can be kept (muted) or deleted automatically.
How to read zones
Active zones are potential reaction areas.
Mitigated zones are “used” and generally less relevant.
Zones are not a promise of reversal; they are objective references for planning, risk framing, and expectation management.
5) Liquidity Ladder (Nearest Zone Navigator)
When Modules -> Liquidity ladder is enabled (and zones are enabled), Fusion builds a right-side ladder on the last bar.
Each ladder row corresponds to one of the nearest active zones (by distance from current price).
Each row is plotted at the zone’s midpoint .
The label includes direction (BULL/BEAR), midpoint price, and zone size expressed in ATR units.
Rows are offset to the right by a configurable amount so they do not overlap active candles.
How to use the ladder
Quickly identify the nearest potential reaction area without scanning every box.
Use it to plan “where is the next level of interest above and below me?”
Combine with confluence: strong confluence into a nearby opposite-side zone is often where traders become more selective.
6) Dashboard (Compact State Readout)
When Modules -> Dashboard is enabled, a compact table is shown (position configurable):
State: Bull / Bear / Neutral based on confluence thresholding.
Flux: the bounded confluence value.
Bias: the aggregate trend regime bias.
Coh %: coherence (agreement) across the selected matrix lengths.
Zones B / Zones R: count of active bull and bear zones.
Nearest: nearest active zone midpoint.
The dashboard updates on the last bar to stay responsive and light.
7) Matrix Table (Trend Regime Breakdown)
When Modules -> Matrix table is enabled, Fusion prints a multi-column view of trend regime across lengths.
Header
Regime (Bull/Bear/Neutral)
Bias (aggregate)
Coherence (agreement)
Rows/columns
Len: the actual length used for that column.
Trend: the trend value for that length.
Str: normalized strength (0-100).
State: Bull / Bear / Neutral per length.
How to interpret coherence
High coherence means many lengths agree on direction (cleaner regime).
Low coherence means lengths disagree (chop/transition/mean-reversion risk).
How The Confluence Engine Works (Conceptual, No Code)
Fusion confluence blends multiple normalized components into a single bounded score. Each component is normalized so that no single raw scale dominates.
Components
ZEMA delta (ATR-normalized): adaptive trend impulse using a zero-lag EMA concept versus a standard EMA.
RSI normalization: RSI mapped into a symmetric -1 to +1 space around 50.
MACD histogram impulse (ATR-normalized): momentum agreement and acceleration.
Channel position (range-normalized): where price sits inside a lookback channel.
Volume impulse (standardized): relative volume change signed by price direction.
Weights and smoothing
Each component has a configurable weight.
The blend is smoothed to reduce noise.
The final result is bounded to keep visuals stable and readable.
HTF Blend (Optional)
When enabled, Fusion blends current timeframe confluence with a higher-timeframe confluence sample to reduce low-timeframe noise.
The HTF sample is taken from confirmed higher-timeframe data (designed to avoid forward-looking behavior).
How To Use InstitutionalSuite Fusion (Practical Workflow)
Step 1: Start with a clean chart
Fusion is meant to be readable on its own. Use a normal candlestick chart and avoid stacking other indicators on top unless you have a clear reason.
Step 2: Identify regime first (Matrix + Coherence)
If regime is Bull or Bear and coherence is strong, you are likely in a trending environment.
If regime is Neutral or coherence is low, be cautious with trend assumptions and focus more on levels and reactions.
Step 3: Use Timeline Levels to frame context
Day/Week opens help define where price is “holding value” for the period.
Previous highs/lows often act as reaction magnets.
Step 4: Use Liquidity Zones as objective areas
Zones can act as potential reaction areas and reference points.
Prefer zone interactions that also align with timeline levels or strong regime context.
Step 5: Use Confluence to time the pressure shift
Treat confluence as “pressure”.
A confluence shift near a meaningful level/zone is more informative than a shift in open space.
Confluence can lead; regime can confirm.
Step 6: Use the Ladder to stay oriented
The ladder is your “nearest active zones” list.
Use it to plan what is closest above and below price at a glance.
Inputs Guide (What Each Setting Does)
Core
Source: price series used across the indicator (default: close).
Theme
Bear / Mid / Bull colors: define the gradient used across the wave, tints, and UI accents.
Bar tint: transparency strength applied to candle tint.
Background tint: transparency strength applied to regime background.
Modules
Confluence: enables Fusion Wave and bar tinting.
Regime background: optional background regime tint.
Timeline levels: plots period opens and prior highs/lows.
Liquidity zones: plots imbalance-style zones and mitigation.
Matrix table: multi-length trend regime breakdown (position configurable).
Liquidity ladder: nearest-zone navigator (requires zones).
Dashboard: compact state readout (position configurable).
Dash position / Matrix position: choose where tables appear.
Confluence
ZEMA length: responsiveness of the adaptive impulse component.
RSI length: RSI smoothing window.
MACD fast/slow/signal: MACD impulse tuning.
Channel length: lookback window for channel position.
Smoothing: final smoothing of confluence blend.
Wave basis length: smoothing of the wave baseline.
Wave amplitude (ATR): how far the wave can swing away from basis.
Wave fill transparency: opacity of the filled band.
Weights: relative contribution of each component.
HTF blend / HTF / HTF weight: blends higher-timeframe confluence into the final score.
Trend Regime
Base length: starting length for the regime matrix.
Matrix columns: how many lengths are evaluated.
Length step: distance between lengths (base + step * column).
Neutral band: dead-zone around zero for Bull/Bear/Neutral classification.
Strong coherence %: threshold used for coloring/interpretation of coherence strength.
Std blend: how much the model blends “EMA trend” with a “standardized momentum/range” component.
Timeline Levels
Day/Week/Month/Year open toggles
Prev day H/L, Prev week H/L toggles
Extend right: extend levels into the future.
Line width: thickness of timeline lines.
Liquidity Zones
Zones (Bull/Bear/Both): which zone directions to detect.
Min zone size (ATR): filters out tiny zones.
Use wicks (high/low): if enabled, uses full wicks; otherwise uses candle bodies.
Max active boxes: maximum zones kept on chart.
Fade after N bars: controls how quickly zones visually fade.
Delete when mitigated: deletes mitigated zones instead of keeping them muted.
Border / Fill transparency: zone styling.
Ladder rows: how many nearest zones to display.
Ladder X offset: how far to the right the ladder is plotted.
Alerts
Fusion includes alert conditions for:
Fusion Bull Shift: confluence crosses above 0.
Fusion Bear Shift: confluence crosses below 0.
Fusion New Bull Zone: a new bullish zone is formed on a confirmed bar.
Fusion New Bear Zone: a new bearish zone is formed on a confirmed bar.
Fusion Zone Mitigated: at least one zone is mitigated on a confirmed bar.
Alert setup guidance
For most users, “Once Per Bar Close” is the safest choice.
Use alerts as notifications, not as automatic execution logic unless you have built and tested a full execution system.
Accuracy, Data Handling, and Repainting Notes
HTF blend is designed to reference confirmed higher-timeframe values so it does not rely on future bars.
Timeline previous highs/lows are based on completed periods.
Zones are created on confirmed bars; mitigation state updates as price trades back into zones.
Any indicator will recalculate historically if you change settings; that is expected behavior.
Recommended Use Cases
Trend continuation: strong regime + strong coherence; use zones/timeline as pullback references.
Transition/mean reversion: neutral/low coherence; prioritize levels and reactions over trend assumptions.
Level-based planning: timeline opens and prior highs/lows, plus nearest active zones from the ladder.
Limitations (Be Realistic)
Fusion is a visual decision-support tool, not a complete trading system.
Zones represent objective price structures, not guaranteed reversal points.
Different symbols and sessions can cause opens and period boundaries to appear differently depending on the exchange/session settings.
Very low-liquidity markets can produce noisier zones and confluence readings.
Resource limits exist (lines/boxes/labels). The script manages objects, but extremely dense charts may require lowering max boxes or ladder rows.
Source Protection and Publication Mode
This indicator is published as protected (closed-source) to preserve the integrity of the work, reduce unauthorized redistribution, and allow continued iteration without exposing implementation details. Users can apply the indicator normally on their charts, but the underlying source is not viewable.
Disclaimer
This indicator is provided for educational and informational purposes only and does not constitute financial advice. Trading involves risk. You are responsible for your own decisions and risk management.
-Made with passion by officialjackofalltrades
Cumulative Volume Delta (CVD) Suite [QuantAlgo]🟢 Overview
The Cumulative Volume Delta (CVD) Suite is a comprehensive toolkit that tracks the net difference between buying and selling pressure over time, helping traders identify significant accumulation/distribution patterns, spot divergences with price action, and confirm trend strength. By visualizing the running balance of volume flow, this indicator reveals underlying market sentiment that often precedes significant price movements.
🟢 How It Works
The indicator begins by determining the optimal timeframe for delta calculation. When auto-select is enabled, it automatically chooses a lower timeframe based on your chart period, e.g., using 1-second bars for minute charts, 5-second bars for 5-minute charts, and progressively larger intervals for higher timeframes. This granular approach captures volume flow dynamics that might be missed at the chart level.
Once the timeframe is established, the indicator calculates volume delta for each bar using directional classification:
getDelta() =>
close > open ? volume : close < open ? -volume : 0
When a bar closes higher than it opens (bullish candle), the entire volume is counted as positive delta representing buying pressure. Conversely, when a bar closes lower than its open (bearish candle), volume becomes negative delta representing selling pressure. This classification is applied to every bar in the selected lower timeframe, then aggregated upward to construct the delta for each chart bar:
array deltaValues = request.security_lower_tf(syminfo.tickerid, lowerTimeframe, getDelta())
float barDelta = 0.0
if array.size(deltaValues) > 0
for i = 0 to array.size(deltaValues) - 1
barDelta := barDelta + array.get(deltaValues, i)
This aggregation process sums all the individual delta values from the lower timeframe bars that comprise each chart bar, capturing the complete volume flow activity within that period. The resulting bar delta then feeds into the various display calculations:
rawCVD = ta.cum(barDelta) // Cumulative sum from chart start
smoothCVD = ta.sma(rawCVD, smoothingLength) // Smoothed for noise reduction
rollingCVD = math.sum(barDelta, rollingLength) // Rolling window calculation
Note: This directional bar approach differs from exchange-level orderflow CVD, which uses tick data to separate aggressive buy orders (executed at the ask price) from aggressive sell orders (executed at the bid price). While this method provides a volume flow approximation rather than pure tape-reading precision, it offers a practical and accessible way to analyze buying and selling dynamics across all timeframes and instruments without requiring specialized data feeds on TradingView.
🟢 Key Features
The indicator offers five distinct visualization modes, each designed to reveal different aspects of volume flow dynamics and cater to various trading strategies and market conditions.
1. Oscillator (Raw): Displays the true cumulative volume delta from the beginning of chart history, accompanied by an EMA signal line that helps identify trend direction and momentum shifts. When CVD crosses above the signal line, it indicates strengthening buying pressure; crosses below suggest increasing selling pressure. This mode is particularly valuable for spotting long-term accumulation/distribution phases and identifying divergences where CVD makes new highs/lows while price fails to confirm, often signaling potential reversals.
2. Oscillator (Smooth): Applies a simple moving average to the raw CVD to filter out noise while preserving the underlying trend structure, creating smoother signal line crossovers. Use this when trading trending instruments where you need confirmation of genuine volume-backed moves versus temporary volatility spikes.
3. Oscillator (Rolling): Calculates cumulative delta over only the most recent N bars (configurable window length), effectively resetting the baseline and removing the influence of distant historical data. This approach focuses exclusively on current market dynamics, making it highly responsive to recent shifts in volume pressure and particularly useful in markets that have undergone regime changes or structural shifts. This mode can be beneficial for traders when they want to analyze "what's happening now" without legacy bias from months or years of prior data affecting the readings.
4. Histogram: Renders the per-bar volume delta as individual histogram bars rather than cumulative values, showing the immediate buying or selling pressure that occurred during each specific candle. Positive (green) bars indicate that bar closed higher than it opened with buying volume, while negative (red) bars show selling volume dominance. This mode excels at identifying sudden volume surges, exhaustion points where large delta bars fail to move price, and bar-by-bar absorption patterns where one side is aggressively consuming the other's volume.
5. Candles: Transforms CVD data into OHLC candlestick format, where each candle's open represents the CVD at the start of the bar and subsequent intra-bar delta changes create the high, low, and close values. This visualization reveals the internal volume flow dynamics within each time period, showing whether buying or selling pressure dominated throughout the bar's formation and exposing intra-bar reversals or sustained directional pressure. Use candle wicks and bodies to identify volume acceptance/rejection at specific CVD levels, similar to how price candles show acceptance/rejection at price levels.
▶ Built-in Alert System: Comprehensive alerts for all display modes including bullish/bearish momentum shifts (CVD crossing signal line), buying/selling pressure detection (histogram mode), and bullish/bearish CVD candle formations. Fully customizable with exchange and timeframe placeholders.
▶ Visual Customization: Choose from 5 color presets (Classic, Aqua, Cosmic, Ember, Neon) or create your own custom color schemes. Optional price bar coloring feature overlays CVD trend colors directly onto your main chart candles, providing instant visual confirmation of volume flow and making divergences immediately apparent. Optional info label with configurable position and size displays current CVD values, data source timeframe, and mode at a glance.
ScalpAtlas [JOAT]ScalpAtlas - Volatility, Structure, Confluence & Risk Console
IMPORTANT NOTES (READ FIRST)
This is an indicator (not a strategy). It does not place trades. It provides a structured decision framework: context + levels + sizing.
This script is written in Pine Script v6 and is intended to be used on standard candlestick charts .
All numbers shown in the console (S/R, SL/TP) are displayed using the symbol’s tick size formatting for maximum price precision.
No external indicators are required. The design goal is to keep the chart clean and use the Execution Console as the primary “operator panel”.
Source code visibility: This script is published as Protected Source (closed-source) . The purpose is to protect the work from unauthorized re-uploads/copies and to keep a stable versioning path for ongoing maintenance. This description is intentionally detailed so you can understand what the indicator does and how to use each feature without needing access to the implementation.
Protected Source / Closed-Source Clarification
Protected source does not mean “trust me”. It means the internal implementation is not publicly viewable.
The operational behavior is documented here: what is plotted, what each console cell means, what each input controls, and how to use the output.
If you see re-uploads or near-identical copies elsewhere, treat them with caution and rely on the official publication details and visuals.
Overview
ScalpAtlas is a regime-aware scalping and intraday decision suite designed to unify:
Volatility context (ATR or Gaussian bands)
Non‑repainting higher-timeframe structure (confirmed HTF pivot Support/Resistance)
Multi-timeframe momentum (DMI/ADX across 5m, 15m, 1h)
Volume pressure + absorption proxies (volume Z-score, wick/body efficiency, wick skew)
VWAP regime context (deviation and directional bias)
Actionable risk sizing (account/risk inputs, friction, point value, per-stop ladder sizing)
Instead of cluttering the chart with dozens of labels, the script consolidates critical information into a single right-side ScalpAtlas Execution Console so you can make fast decisions with consistent formatting.
What Makes It “A Suite” (Originality & Usefulness)
This script is not a simple mashup of common indicators. It is a coordinated workflow:
Structure defines where decisions should happen (confirmed HTF pivot zones).
Volatility bands define whether price is “extended” or “discounted” relative to the current regime.
MTF momentum (ADX/DMI) defines trend strength and directional alignment.
VWAP deviation adds context for mean-reversion vs continuation bias.
Flow metrics approximate absorption/stop activity (wick-based efficiency + volume deviation).
Risk console translates context into actionable sizing (ticks, risk per contract, quantity).
The purpose is to reduce discretionary guesswork by presenting a consistent, tick-accurate operational picture in one place.
1) Chart Visuals - What You See on the Chart
A) Volatility Bands (ATR or Gaussian)
The script plots a basis line and upper/lower volatility envelopes.
ATR mode : adapts to changing volatility via ATR.
Gaussian mode : uses standard deviation logic for statistical dispersion.
A subtle fill is used between bands for quick “zone recognition”.
How to use:
When price is near the lower band , the script treats it as a discount zone (context for long ideas if other filters agree).
When price is near the upper band , the script treats it as a premium zone (context for short ideas if other filters agree).
B) Dynamic Candle Coloring (optional)
When enabled, candles are tinted based on location vs the basis line. This is a visual aid only.
Above basis: warmer/bullish tint.
Below basis: cooler/bearish tint.
C) Market Structure Lines (optional)
The script draws Support (S) and Resistance (R) using confirmed higher-timeframe pivots.
Support line: dashed, light-brown tone.
Resistance line: dashed, rose tone.
Labels “S” and “R” are updated on the latest bar only (no spam).
Non‑repainting structure policy:
Structure levels are derived from a higher timeframe and intentionally confirmed. This means:
Levels appear only when a pivot is confirmed.
Levels can update when a new confirmed pivot replaces the previous one.
D) Optional “Chart Signals” (OFF by default)
To keep charts clean, signal labels and auxiliary overlays are gated behind Show Chart Signals . When ON, the script may display:
Long/Short signal labels (only on confirmed bars).
Dynamic SL/TP lines for active signal context.
Order block shading (a lightweight heuristic layer).
E) Background Strength Tint
A subtle background tint reflects the presence and strength of the current signal state.
2) ScalpAtlas Execution Console - Full Glossary
The Execution Console is the primary UI. It is designed to read like an operations dashboard.
Header Row (Row 0)
Column 0 : Script console title.
Column 1 : Symbol.
Column 2 : Chart timeframe.
Column 3 : Session context (London/NY vs Asia) based on current exchange time window.
Column 4 : VWAP header (shows VWAP or VWAP+VOL if a volume burst is present).
Column 5 : Band mode currently selected (ATR or Gaussian).
Row 1 - Momentum
5m / 15m / 1h ADX cells : trend strength + direction via DMI/ADX.
Cell color reflects directional bias and trend strength.
An “inside bar” state is highlighted distinctly to warn about compression.
VWAP % : percent deviation of price from VWAP (tick-safe computations).
EFF % : “efficiency” of the current bar (body size relative to total range).
How to use Momentum row:
Higher ADX across 15m and 1h increases the probability that trend-following logic is appropriate.
Inside-bar highlighting suggests compression and potential expansion risk (wait for confirmation).
VWAP deviation helps decide continuation vs mean-reversion bias.
Row 2 - Flow
Z : volume Z-score relative to its moving average and standard deviation.
Abs(B) : bullish absorption proxy (uses wick/balance/volume deviation mechanics).
Abs(S) : bearish absorption proxy.
Skew : wick skew (upper vs lower wick dominance).
IMB : imbalance flag (range/body relationship vs ATR context).
How to use Flow row:
High Z + strong Abs(B) near support can strengthen a long thesis.
High Z + strong Abs(S) near resistance can strengthen a short thesis.
Skew helps interpret whether rejection is happening on one side of the candle range.
IMB warns that the bar is “inefficient” (potential displacement / imbalance conditions).
Row 3 — Risk
Bal : account balance input.
R$ : base risk amount derived from risk % (before volatility adjustment).
PV : point value used for sizing (either symbol point value or your manual value).
ATRSL % : ATR-based stop model expressed as percent of price.
Fr : friction % (commissions/slippage buffer). This impacts the stop ladder computations.
Row 4 - Levels
S : current support level (tick-formatted).
R : current resistance level (tick-formatted).
Tick : symbol minimum tick size.
RR : risk:reward ratio used for projected TP.
Adj : volatility-adjusted risk % and corresponding risk amount.
Row 5 - Setup (Real-time operator row)
Signal : LONG / SHORT / NEUTRAL.
Str : composite strength score (0–100) based on momentum/volume/VWAP/absorption context.
SL : dynamic stop level derived from structure + buffer (tick-formatted).
TP : projected take-profit using RR ratio (tick-formatted).
Qty : calculated contract quantity based on your risk model.
Rows 6–17 - Money Management Ladder
This section models multiple stop configurations and shows the implied risk per contract and sizing.
Columns
SL : stop model name (ATR or % ladder).
SL% : selected stop percent plus friction.
Ticks : the implied stop distance in ticks.
Risk/ct : dollar risk per contract for that stop distance.
Qty : suggested quantity for that stop model.
How to use the ladder:
Pick a stop model that matches current volatility and structure spacing.
If the calculated Qty is too large/small, adjust risk %, friction, or point value (or select a different stop model).
Use the ladder as a “sanity check” to avoid accidental oversizing.
3) How the Signal Framework Works (High-Level, No Code)
The script evaluates a confluence framework that adapts to regime:
Trend regime (trend-following bias)
Requires higher ADX confirmation across higher timeframes.
Uses directional alignment across 5m/15m/1h momentum.
Uses VWAP bias and band position for timing.
Requires volume expansion (burst) to reduce low-liquidity signals.
Range / sweep regime (mean-reversion / liquidity sweep bias)
Looks for sweeps through structure (support/resistance) and reversal back inside.
Uses absorption proxies + volume expansion as confirmation.
Strength Score
The strength score is intended to prioritize only the best conditions:
Trend strength contribution (ADX)
Volume participation contribution (relative volume)
VWAP displacement contribution
Absorption contribution
Imbalance contribution
4) Inputs & Settings — Full Reference
Volatility Bands
Band Type : ATR or Gaussian.
Band Length : smoothing length used by basis and dispersion.
Band Multiplier : envelope width factor.
Market Structure
Pivot Lookback : sensitivity of pivot detection.
Structure Timeframe : HTF used to derive pivots.
Show Structure Lines : toggle dashed S/R lines and labels.
Momentum Heatmap
ADX Length : DMI/ADX length.
Strong Trend Threshold : minimum ADX used for trend regime classification.
Volume Analysis
Volume MA Length : baseline volume moving average length.
Volume Burst Multiplier : defines when current volume is a “burst”.
Risk Management
Account Balance : used for sizing.
Max Risk Per Trade (%) : base risk percent (volatility-adjusted internally for stability).
Friction (%) : commission/slippage buffer included in stop model calculations.
Risk:Reward Ratio : used to project TP.
Use Symbol Point Value : uses exchange-provided point value when available.
Manual Point Value : fallback when symbol point value is incorrect/missing.
Structure Buffer (ticks) : adds a tick buffer beyond structure for SL placement.
Scalping Money Management
Show ATR stop loss : includes ATR-based stop model in the ladder.
ATR timeframe : timeframe used for ATR stop computation.
Stop loss length : ATR length used for the ATR model.
Stop loss ladder (%) : configurable percent stops from 0.10% to 1.00% (each can be toggled).
Visual Settings
Show Execution Console
Console Position
Console Text Size
Show Chart Signals (keeps the chart clean when OFF)
Fill Opacity
Line Width
Dynamic Candle Coloring
5) Recommended Workflow (Practical Use)
Step 1 — Calibrate risk inputs
Set Account Balance.
Set Risk % conservatively.
Set Friction to reflect your real costs.
Confirm Point Value is correct for your instrument.
Step 2 — Select your structure timeframe
For intraday/scalping, use a higher timeframe that provides stable pivots (e.g., 15m/30m/1h depending on your chart timeframe).
Step 3 — Use the console to decide regime
If 15m & 1h ADX are strong and direction aligns, treat conditions as trend regime.
If not, be more selective and consider sweep/mean-reversion contexts.
Step 4 — Validate location
Prefer longs near support / lower band when context supports it.
Prefer shorts near resistance / upper band when context supports it.
Step 5 — Use SL/TP + Qty as the final gate
Confirm SL makes structural sense.
Confirm Qty is reasonable.
If not reasonable, do not force the trade—adjust stop model or risk.
7) Limitations & Best-Use Guidance
This tool does not know your broker execution, slippage, or fills. The risk ladder is a planning model.
Volume-based logic depends on the quality of volume data for the symbol/exchange.
Structure pivots are confirmed by design; you may see levels update only after confirmation.
Order block shading is a lightweight heuristic layer and is not a full SMC mapping engine.
Avoid making decisions on non-standard chart types (Heikin Ashi / Renko / etc.) if you want consistency with price-based stops and risk sizing.
Disclaimer
This script is for educational and informational purposes only. It does not constitute financial advice. Trading involves risk, and you are responsible for your own decisions, sizing, and risk controls. Always test settings and workflows in a simulated environment before using them in live markets.
-Made with passion by officialjackofalltrades
EMA/Volume/Institutional Candle [ChartCode]EMA / Volume / Institutional Candle
This is a trend + momentum + smart money confirmation indicator.
🔹 WHAT THIS INDICATOR SHOWS
1️⃣ EMAs (Trend Direction)
EMA 9 (Yellow) – Fast momentum
EMA 20 (Orange) – Short-term trend
EMA 50 (Blue) – Swing trend
EMA 200 (Green / Red) – Major trend filter
Weekly EMA 200 (Purple) – Big institution / MF trend
📌 Rule
Price above EMA 200 → Bullish bias
Price below EMA 200 → Bearish bias
2️⃣ EMA 9 & 20 Crossover (Entry Trigger)
BUY label → EMA 9 crosses above EMA 20
SELL label → EMA 9 crosses below EMA 20
⚠️ Never trade crossover alone. Always confirm with:
EMA 50 / EMA 200
Volume
Institutional candle
3️⃣ High Volume Zones (Smart Money Activity)
Blue background =
Volume > (20-period avg volume × 1.5)
📌 Meaning:
Institutions are active
Breakouts & reversals become reliable
4️⃣ Institutional Candles (Most Important)
🔍 Important Note: How Institutional Candles Are Displayed
Institutional Candles do NOT change candle color or body shape.
They look exactly like normal candles on the chart.
✅ How to Identify Institutional Candles
Move (hover) the crosshair over the moving averages
When your cursor aligns with the EMA lines,
👉 Institutional Candles will get highlighted with a colored border
🎯 Border Meaning
🟢 Green border → Bullish Institutional Candle
🔴 Red border → Bearish Institutional Candle
These borders indicate smart money / institutional participation, not retail candles.
🧠 Why This Design Is Intentional
Keeps the chart clean and uncluttered
Avoids confusing candle colors
Highlights institutional activity only when you analyze carefully
Encourages confirmation-based trading, not impulsive entries
📌 Institutions don’t want attention — this logic reflects that behavior.
How to Use This in Trading
Identify trend using EMA 200
Wait for high volume zone
Hover crosshair to spot institutional candle
Use candle high/low as decision level
Enter only after EMA 9–20 confirmation
🎯 How This Indicator Helps You Trade
✔ Quickly spot trend direction with multi-EMA alignment
✔ Identify high-probability entries with EMA 9/20 crossover + volume confirmation
✔ Find institutional zones for sniper-style entries
✔ Filter fake breakouts using volume spikes
✔ Perfect for stocks, indices, crypto, and forex
Institutional Confluence Mapper [JOAT]Institutional Confluence Mapper (ICM)
Introduction
The Institutional Confluence Mapper is an open-source multi-factor analysis tool that combines five analytical modules into a unified confluence scoring system. It synthesizes institutional trading concepts including Relative Rotation analysis, Smart Money flow detection, Liquidity zone mapping, Session-based timing, and Volatility regime classification.
Rather than relying on a single indicator, ICM evaluates market conditions through multiple lenses simultaneously, presenting a clear confluence score (0-100%) that reflects the alignment of various market factors.
This script is fully open-source under the Mozilla Public License 2.0.
Originality and Purpose
This indicator is NOT a random mashup of existing indicators. It is an original implementation that creates a unified institutional analysis framework:
Why Multiple Modules? Most retail traders struggle because they rely on single indicators that provide conflicting signals. Institutional traders evaluate markets through multiple frameworks simultaneously. ICM bridges this gap by providing a unified view of complementary analysis methods.
The Confluence Scoring System: Each module contributes to a weighted confluence score (0-100%). Scores above 65% indicate bullish confluence; below 35% indicates bearish confluence.
How Components Work Together:
RRG (Relative Rotation) determines macro bias - is this asset outperforming or underperforming its benchmark?
Institutional Flow confirms smart money activity - are institutions accumulating or distributing?
Volatility Regime determines strategy selection - trend-follow or mean-revert?
Liquidity Detection identifies key levels - where are the stop hunts happening?
Session Analysis optimizes timing - when should you trade?
The Five Core Modules
1. Relative Rotation Momentum Matrix (RRG)
Compares the current symbol against a benchmark (default: SPY) using the JdK RS-Ratio methodology with double-smoothed EMA. Assets rotate through four quadrants:
LEADING: Outperforming with positive momentum (strongest bullish)
WEAKENING: Outperforming but losing momentum
LAGGING: Underperforming with negative momentum (strongest bearish)
IMPROVING: Underperforming but gaining momentum
2. Institutional Flow Analysis
Analyzes volume patterns to detect smart money activity:
Volume Z-Score measures how unusual current volume is
Buy/Sell pressure estimation based on candle structure
Unusual volume detection highlights institutional activity
3. Volatility Regime System
Uses ATR percentile ranking to classify market conditions:
COMPRESSION: Low volatility (ATR < 20th percentile) - potential breakout
EXPANSION: High volatility (ATR > 80th percentile) - trending
TRENDING_BULL/BEAR: Directional trends based on EMA alignment
RANGING: Sideways consolidation
4. Liquidity Detection
Identifies institutional liquidity targets using swing point analysis:
Swing highs/lows are tracked and displayed as dashed lines
Purple dashed lines mark resistance/sell-side liquidity
Teal dashed lines mark support/buy-side liquidity
Gold diamonds appear when liquidity sweeps are detected (potential reversals)
5. Session Momentum Profiler
Tracks trading sessions based on your selected timezone:
Asian Session: 7PM - 4AM EST
London Session: 3AM - 12PM EST
New York Session: 9:30AM - 4PM EST
London/NY Overlap: 8AM - 12PM EST (peak liquidity)
Visual Elements
Main Dashboard (Top-Right):
BIAS: Overall direction with confluence percentage
RRG: Current quadrant and momentum
FLOW: Smart money bias and volume status
REGIME: Market condition and volatility percentile
SESSION: Active trading session and current time
LIQUIDITY: Active zones and grab signals
SIGNAL: Actionable recommendation
Chart Elements:
Gold Diamond: Liquidity grab (potential reversal point)
Teal Dashed Line: Support / Buy-side liquidity zone
Purple Dashed Line: Resistance / Sell-side liquidity zone
EMA 21/55/200: Trend structure with cloud fill
Volatility Bands: ATR-based channels
How to Use
Step 1: Check the BIAS row for overall market direction
Step 2: Check REGIME to understand market conditions
Step 3: Identify key levels using liquidity zones and EMAs
Step 4: Wait for confluence above 65% (bullish) or below 35% (bearish)
Step 5: Look for gold diamond signals at key levels
Best Setups
Bullish: Confluence >65%, RRG in LEADING/IMPROVING, bullish flow, price near teal support zone.
Bearish: Confluence <35%, RRG in LAGGING/WEAKENING, bearish flow, price near purple resistance zone.
Reversal: Gold diamond appears after price sweeps a liquidity zone.
Key Input Parameters
Benchmark Symbol: Compare against (default: SPY)
RS-Ratio/Momentum Lookback: RRG calculation periods
Volume Analysis Period: Flow detection lookback
Swing Length: Liquidity zone detection
ATR Period/Rank Period: Regime classification
Timezone: Session detection timezone
Alerts
Liquidity Grab Bull: Bullish sweep detected
Liquidity Grab Bear: Bearish sweep detected
High Confluence Bull: Confluence above 70%
High Confluence Bear: Confluence below 30%
Best Practices
Use on 1H, 4H, or Daily timeframes for reliable signals
Combine with price action for confirmation
Respect the regime - don't fight strong trends
Trade during London/NY overlap for best liquidity
Wait for high confluence scores before entering
Always use proper risk management
Limitations
Works best on liquid markets with sufficient volume
Session features optimized for forex/crypto markets
RRG requires a valid benchmark symbol
No indicator predicts the future - use proper risk management
Disclaimer
This indicator is for educational and informational purposes only. It is not financial advice. Trading involves substantial risk of loss. Past performance does not guarantee future results.
-Made with passion by officialjackofalltrades
TurboRSI Pro [JOAT]TurboRSI Pro - Multi-Length RSI Ensemble with Dynamic Momentum Analysis
Introduction
TurboRSI Pro is an open-source indicator that reimagines the classic RSI by calculating multiple RSI lengths simultaneously and combining them into a single, more reliable momentum reading. Instead of relying on a single RSI period that may lag or produce false signals, this indicator creates an ensemble of RSI values across a configurable range, providing a smoother and more robust momentum assessment.
The indicator is designed for traders who want deeper insight into momentum conditions without the noise that comes from single-period oscillators.
Originality and Purpose
This indicator is NOT a simple RSI with different settings. It is an original implementation that solves a fundamental problem with traditional RSI:
The Problem with Single-Period RSI: Traditional RSI uses a single lookback period (typically 14). The issue is that different market conditions favor different RSI lengths. A 14-period RSI might work well in one market phase but produce false signals in another. There's no "perfect" RSI length that works in all conditions.
The Multi-Length Solution: TurboRSI Pro calculates RSI across a range of lengths (default: 10 to 20) simultaneously, then averages all values to create a composite reading. This ensemble approach filters out period-specific noise while preserving genuine momentum shifts. When multiple RSI lengths agree, the signal is more reliable.
OB/OS Strength Percentage: The indicator tracks how many individual RSI lengths are in overbought or oversold territory. When 100% of lengths are overbought, it's a much stronger signal than when only 50% are. This percentage-based approach is original to this indicator and provides conviction assessment.
Candle Heatmap Innovation: An optional feature colors price bars based on deviation from a 200-bar linear regression line. This shows when price is statistically overextended (HOT/COLD) independent of RSI, providing another layer of analysis.
How the components work together:
Multi-length RSI ensemble provides a more robust momentum reading than single-period RSI
OB/OS Strength percentages quantify how many timeframes agree on the momentum condition
Dynamic channels expand/contract based on momentum strength across all calculated lengths
Candle heatmap adds statistical price deviation context independent of RSI
Core Concept: Multi-Length RSI Ensemble
Traditional RSI uses a single lookback period (typically 14). The problem is that different market conditions favor different RSI lengths. TurboRSI Pro solves this by:
Calculating RSI across a range of lengths (default: 10 to 20)
Averaging all RSI values to create a composite reading
Tracking how many individual RSI lengths are in overbought or oversold territory
Displaying this information as "OB Strength" and "OS Strength" percentages
This approach filters out noise while preserving genuine momentum shifts.
How the Multi-Length RSI Works
The calculation uses an efficient array-based approach:
int N = maxLength - minLength + 1
float diff = nz(srcInput - srcInput )
for i = 0 to N - 1
int len = minLength + i
float alpha = 1.0 / len
float numRma = alpha * diff + (1 - alpha) * array.get(numArr, i)
float denRma = alpha * math.abs(diff) + (1 - alpha) * array.get(denArr, i)
float rsiVal = denRma != 0 ? 50 * numRma / denRma + 50 : 50
avgRSI += rsiVal
Each RSI length is calculated using the RMA (Running Moving Average) formula, then all values are averaged. The result is a composite RSI that responds to momentum changes while filtering out period-specific noise.
Visual Components
1. Multi-Length RSI Line
The main oscillator line displays the averaged RSI value with a gradient color:
Green gradient when RSI is above 50 (bullish momentum)
Red gradient when RSI is below 50 (bearish momentum)
Color intensity increases as RSI approaches extreme levels
2. Dynamic Channels
Two adaptive channel lines track momentum extremes:
Upper Channel: Expands when multiple RSI lengths enter overbought territory
Lower Channel: Expands when multiple RSI lengths enter oversold territory
Channel width indicates momentum strength across all calculated lengths
3. Candle Heatmap
An optional feature that colors price bars based on deviation from a linear regression line:
Red/Orange bars: Price is significantly above the regression line (overextended to upside)
Blue bars: Price is significantly below the regression line (overextended to downside)
Yellow bars: Price is near the regression line (neutral)
The heatmap uses a 200-bar regression calculation to identify when price has deviated significantly from its statistical trend.
4. Reference Lines
Standard RSI reference levels are displayed:
80 and 20: Extreme overbought/oversold
70 and 30: Standard overbought/oversold thresholds
50: Neutral momentum line
5. Background Zones
Shaded areas indicate the percentage of RSI lengths in extreme territory:
Green shading from bottom: Percentage of lengths in overbought
Red shading from top: Percentage of lengths in oversold
Dashboard Panel
The dashboard displays real-time analysis in a 7-row table:
RSI Value: Current composite RSI reading (large text for visibility)
Momentum: Current state - OVERBOUGHT, OVERSOLD, BULLISH, BEARISH, or NEUTRAL
OB Strength: Percentage of RSI lengths currently above the overbought threshold
OS Strength: Percentage of RSI lengths currently below the oversold threshold
Heat Level: Current price deviation state - HOT, WARM, NEUTRAL, COOL, or COLD
Trend Bias: Overall trend assessment based on RSI level and channel direction
Optional Stochastic RSI
When enabled, an additional Stochastic RSI line is plotted. This applies the stochastic formula to the RSI itself, providing another layer of momentum analysis. The Stochastic RSI is more sensitive to short-term momentum shifts.
Input Parameters
RSI Settings:
Min RSI Length: Starting length for the RSI range (default: 10)
Max RSI Length: Ending length for the RSI range (default: 20)
Source: Price source for calculation (default: ohlc4)
Overbought: Upper threshold (default: 70)
Oversold: Lower threshold (default: 30)
Candle Heatmap:
Enable Heatmap: Toggle bar coloring on/off (default: enabled)
Regression Length: Lookback for linear regression calculation (default: 200)
Display:
Show Dashboard: Toggle the information panel (default: enabled)
Show Dynamic Channels: Toggle channel lines (default: enabled)
Show Stochastic RSI: Toggle additional Stoch RSI line (default: disabled)
Colors:
Bullish: Color for bullish conditions (default: teal)
Bearish: Color for bearish conditions (default: red)
Neutral: Color for neutral conditions (default: gray)
How to Use TurboRSI Pro
Identifying Momentum Shifts:
Watch for RSI crossing above 50 for bullish momentum confirmation
Watch for RSI crossing below 50 for bearish momentum confirmation
Use the gradient color to quickly assess momentum direction
Using OB/OS Strength:
When OB Strength reaches 100%, all RSI lengths are overbought - strong reversal potential
When OS Strength reaches 100%, all RSI lengths are oversold - strong bounce potential
Partial readings (e.g., 50%) indicate mixed conditions across timeframes
Heatmap Analysis:
HOT readings combined with high RSI suggest overextension - caution for longs
COLD readings combined with low RSI suggest oversold conditions - watch for reversal
Use heatmap divergence from RSI for additional confirmation
Channel Interpretation:
Expanding upper channel with rising RSI confirms strong bullish momentum
Expanding lower channel with falling RSI confirms strong bearish momentum
Channel contraction suggests momentum is weakening
Alert Conditions
Six alert conditions are available:
RSI Overbought: RSI crosses above overbought threshold
RSI Oversold: RSI crosses below oversold threshold
RSI Bullish Cross: RSI crosses above 50
RSI Bearish Cross: RSI crosses below 50
All RSI Overbought: Every RSI length is in overbought territory
All RSI Oversold: Every RSI length is in oversold territory
Best Practices
Use on higher timeframes (1H, 4H, Daily) for more reliable signals
Combine with price action analysis - RSI confirms, it does not predict
Pay attention to OB/OS Strength percentages for conviction assessment
The heatmap works best on assets with clear trending behavior
Adjust min/max RSI lengths based on your trading style - wider range for smoother signals
Limitations
Like all oscillators, can remain in overbought/oversold territory during strong trends
The heatmap regression may lag during rapid price movements
Multi-length calculation requires more processing than single RSI
Best suited for swing trading and position trading timeframes
Technical Notes
This indicator is written in Pine Script v6 and uses:
Array-based calculations for efficient multi-length RSI computation
Linear regression for heatmap deviation analysis
Gradient coloring for intuitive visual feedback
State management for dynamic channel calculations
The source code is open and available for review and modification.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Trading involves substantial risk of loss. Past performance does not guarantee future results. Always conduct your own analysis and use proper risk management.
-Made with passion by officialjackofalltrades
RSI Trend Authority [JOAT]RSI Trend Authority - VAR-RSI with OTT Trend Detection System
Introduction
RSI Trend Authority is an open-source overlay indicator that combines Variable Index Dynamic Average (VAR) smoothed RSI with the Optimized Trend Tracker (OTT) to create a complete trend detection and signal generation system. Unlike traditional RSI which oscillates in a separate pane, this indicator scales the RSI to price and overlays it directly on your chart, making trend analysis more intuitive.
The indicator generates clear BUY and SELL signals when the smoothed RSI crosses the OTT trailing stop line, providing actionable entry points with trend confirmation.
Originality and Purpose
This indicator is NOT a simple mashup of RSI and moving averages. It is an original implementation that transforms RSI into a trend-following overlay system:
Why VAR Smoothing? Traditional RSI is noisy and produces many false signals. The Variable Index Dynamic Average (VAR) is an adaptive smoothing algorithm based on the Chande Momentum Oscillator principle. It adjusts its smoothing factor based on market conditions - responding quickly during trends and smoothing out during choppy markets. This creates an RSI that filters noise while preserving genuine momentum shifts.
Why OTT Trailing Stop? The Optimized Trend Tracker (OTT) is a percentage-based trailing stop mechanism that only moves in the direction of the trend. When VAR-RSI crosses above OTT, a bullish trend is confirmed; when it crosses below, a bearish trend is confirmed. This provides clear, actionable signals rather than subjective interpretation.
Price Scaling Innovation: By scaling RSI (0-100) to price using the formula (RSI * close / 50), the indicator overlays directly on the price chart. This allows traders to see how momentum relates to actual price levels, making trend analysis more intuitive than a separate oscillator pane.
ATR Boundaries: Optional volatility-based boundaries show when price is extended relative to its normal range, helping identify potential reversal zones.
How the components work together:
VAR smoothing removes RSI noise while preserving trend information
OTT provides a dynamic trailing stop that generates clear crossover signals
Price scaling allows direct overlay on the chart for intuitive analysis
ATR boundaries add volatility context for profit target estimation
Core Components
1. VAR-RSI (Variable Index Dynamic Average RSI)
The foundation of this indicator is the VAR smoothing algorithm applied to RSI. VAR is an adaptive moving average that adjusts its smoothing factor based on the Chande Momentum Oscillator principle:
f_var_calc(float data, int length) =>
int a = 9
float b = data > nz(data ) ? data - nz(data ) : 0.0
float c = data < nz(data ) ? nz(data ) - data : 0.0
float d = math.sum(b, a)
float e = math.sum(c, a)
float f = nz((d - e) / (d + e))
float g = math.abs(f)
float h = 2.0 / (length + 1)
float x = ta.sma(data, length)
This creates an RSI that:
Responds quickly during trending conditions
Smooths out during choppy, sideways markets
Reduces false signals compared to raw RSI
2. OTT (Optimized Trend Tracker)
The OTT acts as a dynamic trailing stop that follows the VAR-RSI:
In uptrends, OTT trails below the VAR-RSI line
In downtrends, OTT trails above the VAR-RSI line
The OTT Percent parameter controls how closely it follows
When VAR-RSI crosses above OTT, a bullish trend is confirmed. When VAR-RSI crosses below OTT, a bearish trend is confirmed.
3. Price Scaling
The RSI (0-100 scale) is converted to price scale using:
float scaleFactor = close / 50.0
float varRSIScaled = varRSI * scaleFactor
This allows the indicator to overlay directly on price, showing how momentum relates to actual price levels.
Visual Components
VAR-RSI Line (Cyan/Magenta)
The main indicator line with gradient coloring:
Cyan gradient when RSI is above 50 (bullish)
Magenta gradient when RSI is below 50 (bearish)
Line thickness of 3 for clear visibility
OTT Line (Yellow Circles)
The trailing stop line displayed as circles:
Acts as dynamic support in uptrends
Acts as dynamic resistance in downtrends
Crossovers generate trading signals
Trend Fill
The area between VAR-RSI and OTT is filled:
Cyan fill during bullish trends
Magenta fill during bearish trends
Fill transparency allows price visibility
Buy position and LONG on Dashboard with a Uptrend:
ATR Boundaries (Optional)
Dotted lines showing volatility-based price boundaries:
Upper band: Close + (ATR x Multiplier)
Lower band: Close - (ATR x Multiplier)
Color matches current trend direction
Buy/Sell Signals
Clear labels appear at signal points:
BUY label below bar when VAR-RSI crosses above OTT
SELL label above bar when VAR-RSI crosses below OTT
Additional glow circles highlight signal bars
Bar Coloring
Optional feature that colors price bars:
Cyan bars during bullish trend
Magenta bars during bearish trend
Dashboard Panel
The 8-row dashboard provides comprehensive status information:
Signal: Current position - LONG or SHORT (large text)
VAR-RSI: Current smoothed RSI value (large text)
RSI State: OVERBOUGHT, OVERSOLD, BULLISH, or BEARISH
OTT Trend: UPTREND or DOWNTREND based on OTT direction
Bars Since: Number of bars since last signal
Price: Current close price (large text)
OTT Level: Current OTT trailing stop value
Input Parameters
RSI Settings:
RSI Length: Period for RSI calculation (default: 100)
Source: Price source (default: close)
VAR Settings:
VAR Length: Adaptive smoothing period (default: 50)
OTT Settings:
OTT Period: Trailing stop calculation period (default: 30)
OTT Percent: Distance percentage for trailing stop (default: 0.2)
ATR Trend Boundaries:
Show ATR Boundaries: Toggle visibility (default: enabled)
ATR Length: Period for ATR calculation (default: 14)
ATR Multiplier: Distance multiplier (default: 2.0)
Display Options:
Show Buy/Sell Signals: Toggle signal labels (default: enabled)
Show Status Table: Toggle dashboard (default: enabled)
Table Position: Choose corner placement
Color Bars by Trend: Toggle bar coloring (default: enabled)
Color Scheme:
Bullish Color: Main bullish color (default: cyan)
Bearish Color: Main bearish color (default: magenta)
OTT Line: Trailing stop color (default: yellow)
VAR-RSI Line: Main line color (default: teal)
ATR colors for boundaries
How to Use RSI Trend Authority
Signal-Based Trading:
Enter LONG when BUY signal appears (VAR-RSI crosses above OTT)
Enter SHORT when SELL signal appears (VAR-RSI crosses below OTT)
Use the OTT line as a trailing stop reference
Trend Confirmation:
Cyan fill indicates bullish trend - favor long positions
Magenta fill indicates bearish trend - favor short positions
Check RSI State in dashboard for momentum context
Using the Dashboard:
Monitor "Bars Since" to assess signal freshness
Check RSI State for overbought/oversold warnings
Use OTT Level as a reference for stop placement
ATR Boundaries:
Price near upper ATR band in uptrend suggests extension
Price near lower ATR band in downtrend suggests extension
Boundaries help identify potential reversal zones
Parameter Optimization
For Faster Signals:
Decrease RSI Length (try 50-80)
Decrease VAR Length (try 30-40)
Decrease OTT Period (try 15-25)
For Smoother Signals:
Increase RSI Length (try 120-150)
Increase VAR Length (try 60-80)
Increase OTT Period (try 40-50)
For Tighter Stops:
Decrease OTT Percent (try 0.1-0.15)
For Wider Stops:
Increase OTT Percent (try 0.3-0.5)
Alert Conditions
Three alert conditions are available:
Buy Signal: VAR-RSI crosses above OTT
Sell Signal: VAR-RSI crosses below OTT
Trend Change: OTT direction changes
Understanding the OTT Calculation
The OTT uses a percentage-based trailing mechanism:
float farkOTT = mavgOTT * ottPercent * 0.01
float longStopCalc = mavgOTT - farkOTT
float shortStopCalc = mavgOTT + farkOTT
longStop := mavgOTT > nz(longStop ) ? math.max(longStopCalc, nz(longStop )) : longStopCalc
shortStop := mavgOTT < nz(shortStop ) ? math.min(shortStopCalc, nz(shortStop )) : shortStopCalc
This ensures the trailing stop only moves in the direction of the trend, never against it.
Best Practices
Use on 1H timeframe or higher for more reliable signals
Wait for signal confirmation before entering trades
Consider RSI State when evaluating signal quality
Use ATR boundaries for profit target estimation
The longer RSI length (100) provides smoother trend detection
Combine with support/resistance analysis for better entries
Limitations
Signals may lag during rapid price movements due to smoothing
Works best in trending markets; may whipsaw in ranges
The overlay nature means RSI values are scaled, not absolute
Default parameters are optimized for crypto and forex; adjust for other markets
Technical Notes
This indicator is written in Pine Script v6 and uses:
VAR (Variable Index Dynamic Average) for adaptive smoothing
OTT (Optimized Trend Tracker) for trailing stop calculation
ATR for volatility-based boundaries
Gradient coloring for intuitive trend visualization
The source code is open and available for review and modification.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Trading involves substantial risk of loss. Past performance does not guarantee future results. Always conduct your own analysis and use proper risk management.
-Made with passion by officialjackofalltrades
Support Resistance-Session Box Breakout Support Resistance-Session Box Breakout สามารถใช้แนวรับแนวต้านจากSupport Resistance-Session Box หาจุกลับตัวหรือหาจุดเข้าเทรดได้
RSI Fibonacci Flow [JOAT]RSI Fibonacci Flow - Advanced Fibonacci Retracement with RSI Confluence
Introduction
RSI Fibonacci Flow is an open-source overlay indicator that combines automatic Fibonacci retracement levels with RSI momentum analysis to identify high-probability trading zones. The indicator automatically detects swing highs and lows, draws Fibonacci levels, and generates confluence signals when RSI conditions align with key Fibonacci zones.
This indicator is designed for traders who use Fibonacci retracements but want additional confirmation from momentum analysis before entering trades.
Originality and Purpose
This indicator is NOT a simple mashup of RSI and Fibonacci tools. It is an original implementation that creates a synergistic relationship between two complementary analysis methods:
Why Combine RSI with Fibonacci? Fibonacci retracements identify WHERE price might reverse, but they don't tell you WHEN. RSI provides the timing component by showing momentum exhaustion. When price reaches the Golden Zone (50%-61.8%) AND RSI shows oversold conditions, the probability of a successful bounce increases significantly.
Original Confluence Scoring System: The indicator calculates a 0-5 confluence score that weights multiple factors: Golden Zone presence (+2), entry zone presence (+1), RSI extreme alignment (+1), RSI divergence (+1), and strong RSI momentum (+1). This scoring system is original to this indicator.
Automatic Pivot Detection: Unlike manual Fibonacci tools, this indicator automatically detects swing highs and lows using a configurable pivot algorithm, then draws Fibonacci levels accordingly. The pivot detection uses a center-bar comparison method that checks if a bar's high/low is the highest/lowest within the specified depth on both sides.
Dynamic Trend Awareness: The indicator determines trend direction based on pivot sequence (last pivot was high or low) and adjusts Fibonacci orientation accordingly. In uptrends, 0% is at swing low; in downtrends, 0% is at swing high.
Each component serves a specific purpose:
Fibonacci levels identify potential reversal zones based on natural price ratios
RSI provides momentum context to filter out low-probability setups
Confluence scoring quantifies setup quality for position sizing decisions
Automatic pivot detection removes subjectivity from level placement
Core Concept: RSI-Fibonacci Confluence
The most powerful trading setups occur when multiple factors align. RSI Fibonacci Flow identifies these moments by:
Automatically detecting price pivots and drawing Fibonacci levels
Tracking which Fibonacci zone the current price occupies
Monitoring RSI for overbought/oversold conditions
Generating signals when RSI extremes coincide with key Fibonacci levels
Scoring confluence strength on a 0-5 scale
When price reaches the Golden Zone (50%-61.8%) while RSI shows oversold conditions in an uptrend, the probability of a bounce increases significantly.
Fibonacci Levels Explained
The indicator draws nine Fibonacci levels based on the most recent swing:
0% (Swing Low/High): The starting point of the move
23.6%: Shallow retracement - often seen in strong trends
38.2%: First significant support/resistance level
50%: Psychological midpoint of the move
61.8% (Golden Ratio): The most important Fibonacci level
78.6%: Deep retracement - last defense before trend failure
100% (Swing High/Low): The end point of the move
127.2% (TP1): First extension target for take profit
161.8% (TP2): Second extension target for take profit
The Golden Zone
The area between 50% and 61.8% is highlighted as the "Golden Zone" because:
It represents the optimal retracement depth for trend continuation
Institutional traders often place orders in this zone
It offers favorable risk-to-reward ratios
Price frequently bounces from this area in healthy trends
When price enters the Golden Zone, the indicator highlights it with a semi-transparent box and optional background coloring.
Pivot Detection System
The indicator uses a configurable pivot detection algorithm:
pivotDetect(float src, int len, bool isHigh) =>
int halfLen = len / 2
float centerVal = nz(src , src)
bool isPivot = true
for i = 0 to len - 1
if isHigh
if nz(src , src) > centerVal
isPivot := false
break
else
if nz(src , src) < centerVal
isPivot := false
break
isPivot ? centerVal : float(na)
This identifies swing highs and lows by checking if a bar's high/low is the highest/lowest within the specified depth on both sides.
Visual Components
1. Fibonacci Lines
Horizontal lines at each Fibonacci level:
Solid lines for major levels (0%, 50%, 61.8%, 100%)
Dashed lines for secondary levels (23.6%, 38.2%, 78.6%)
Dotted lines for extension levels (127.2%, 161.8%)
Color-coded for easy identification
Configurable line width
2. Fibonacci Labels
Price labels at each level showing:
Fibonacci percentage
Actual price at that level
Golden Zone label highlighted
TP1 and TP2 labels for targets
3. Golden Zone Box
A semi-transparent box highlighting the 50%-61.8% zone:
Gold colored border and fill
Extends from swing start to current bar (or beyond if extended)
Provides clear visual of the optimal entry zone
4. ZigZag Lines
Connecting lines between detected pivots:
Cyan for moves from low to high
Orange for moves from high to low
Helps visualize market structure
Configurable line width
5. Pivot Markers
Small labels at detected swing points:
"HH" (Higher High) at swing highs
"LL" (Lower Low) at swing lows
Helps track market structure
6. Entry Signals
BUY and SELL labels when confluence conditions are met:
BUY: RSI oversold + price in entry zone + uptrend + positive momentum
SELL: RSI overbought + price in entry zone + downtrend + negative momentum
Labels include "RSI+FIB" to indicate confluence
Confluence Scoring System
The indicator calculates a confluence score from 0 to 5:
+2 points: Price is in the Golden Zone (50%-61.8%)
+1 point: Price is in the entry zone (38.2%-61.8%)
+1 point: RSI is oversold in uptrend OR overbought in downtrend
+1 point: RSI divergence detected (bullish or bearish)
+1 point: Strong RSI momentum (change > 2 points)
Confluence ratings:
STRONG (4-5): Multiple factors align - high probability setup
MODERATE (2-3): Some factors align - proceed with caution
WEAK (0-1): Few factors align - wait for better setup
Dashboard Panel
The 10-row dashboard provides comprehensive analysis:
RSI Value: Current RSI reading (large text)
RSI State: OVERBOUGHT, OVERSOLD, BULLISH, BEARISH, or NEUTRAL
Fib Trend: UPTREND or DOWNTREND based on last pivot sequence
Price Zone: Current Fibonacci zone (e.g., "GOLDEN ZONE", "38.2% - 50%")
Price: Current close price (large text)
Confluence: Score rating with numeric value (e.g., "STRONG (4/5)")
Nearest Fib: Closest key Fibonacci level with price
TP1 (127.2%): First take profit target price
TP2 (161.8%): Second take profit target price
Input Parameters
Pivot Detection:
Pivot Depth: Bars to look back for swing detection (default: 10)
Min Deviation %: Minimum price move to confirm pivot (default: 1.0)
RSI Settings:
RSI Length: Period for RSI calculation (default: 14)
Source: Price source (default: close)
Overbought: Upper threshold (default: 70)
Oversold: Lower threshold (default: 30)
Fibonacci Display:
Show Fib Lines: Toggle Fibonacci lines (default: enabled)
Show Fib Labels: Toggle price labels (default: enabled)
Show Golden Zone Box: Toggle zone highlight (default: enabled)
Line Width: Thickness of Fibonacci lines (default: 2)
Extend Fib Lines: Extend lines into future (default: enabled)
ZigZag:
Show ZigZag: Toggle connecting lines (default: enabled)
ZigZag Width: Line thickness (default: 2)
Signals:
Show Entry Signals: Toggle BUY/SELL labels (default: enabled)
Show TP Levels: Toggle take profit in dashboard (default: enabled)
Show RSI-Fib Confluence: Toggle confluence analysis (default: enabled)
Dashboard:
Show Dashboard: Toggle information panel (default: enabled)
Position: Choose corner placement
Colors:
Bullish: Color for bullish elements (default: cyan)
Bearish: Color for bearish elements (default: orange)
Neutral: Color for neutral elements (default: gray)
Golden Zone: Color for Golden Zone highlight (default: gold)
How to Use RSI Fibonacci Flow
Identifying Entry Zones:
Wait for price to retrace to the 38.2%-61.8% zone
Check if RSI is approaching oversold (for longs) or overbought (for shorts)
Look for STRONG confluence rating in the dashboard
Enter when BUY or SELL signal appears
Setting Take Profit Targets:
TP1 at 127.2% extension for conservative target
TP2 at 161.8% extension for aggressive target
Consider scaling out at each level
Using the Price Zone:
"BELOW 23.6%" - Price hasn't retraced much; wait for deeper pullback
"23.6% - 38.2%" - Shallow retracement; strong trend continuation possible
"38.2% - 50%" - Good entry zone for trend trades
"GOLDEN ZONE" - Optimal entry zone; highest probability
"61.8% - 78.6%" - Deep retracement; trend may be weakening
"78.6% - 100%" - Very deep; trend reversal possible
"ABOVE/BELOW 100%" - Trend has likely reversed
Confluence Trading Strategy:
Only take trades with confluence score of 3 or higher
STRONG confluence (4-5) warrants larger position size
MODERATE confluence (2-3) warrants smaller position size
WEAK confluence (0-1) - wait for better setup
Alert Conditions
Ten alert conditions are available:
RSI-Fib BUY Signal: Strong bullish confluence detected
RSI-Fib SELL Signal: Strong bearish confluence detected
Price in Golden Zone: Price enters 50%-61.8% zone
New Pivot High: Swing high detected
New Pivot Low: Swing low detected
RSI Overbought: RSI crosses above overbought threshold
RSI Oversold: RSI crosses below oversold threshold
Bullish Divergence: Potential bullish RSI divergence
Bearish Divergence: Potential bearish RSI divergence
Strong Confluence: Confluence score reaches 4 or higher
Understanding Trend Direction
The indicator determines trend based on pivot sequence:
UPTREND: Last pivot was a low after a high (expecting move up)
DOWNTREND: Last pivot was a high after a low (expecting move down)
Fibonacci levels are drawn accordingly:
In uptrend: 0% at swing low, 100% at swing high
In downtrend: 0% at swing high, 100% at swing low
Bar Coloring
When confluence features are enabled:
Cyan bars on strong bullish signals
Orange bars on strong bearish signals
Gold-tinted bars when price is in Golden Zone
Best Practices
Use on 1H timeframe or higher for more reliable pivots
Adjust Pivot Depth based on timeframe (higher for longer timeframes)
Wait for price to enter Golden Zone before considering entries
Confirm RSI is in favorable territory before trading
Use extension levels (127.2%, 161.8%) for realistic profit targets
Combine with support/resistance and candlestick patterns
Higher confluence scores indicate higher probability setups
Limitations
Pivot detection has inherent lag (must wait for confirmation)
Fibonacci levels are subjective - different swings produce different levels
Works best in trending markets with clear swings
RSI can remain overbought/oversold in strong trends
Not all Golden Zone entries will be successful
The source code is open and available for review and modification.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Trading involves substantial risk of loss. Past performance does not guarantee future results. Fibonacci levels are not guaranteed support/resistance - they are probability zones based on historical price behavior. Always conduct your own analysis and use proper risk management.
- Made with passion by officialjackofalltrades :D
Red Bull Wings [JOAT]RED BULL WINGS - Bullish-Only Institutional Overlay
Introduction and Purpose
RED BULL WINGS is an open-source overlay indicator that combines five distinct bullish detection methods into a single composite scoring system. The core problem this indicator solves is that individual bullish signals (patterns, volume, zones, trendlines) often disagree or fire in isolation. A bullish engulfing pattern means little if volume is weak and price is far from support. Traders need confluence across multiple dimensions to identify high-probability setups.
This indicator addresses that by scoring each bullish component separately, then combining them into a weighted WINGS score (0-100) that reflects overall bullish conviction. When multiple components align, the score rises; when they disagree, the score stays low.
Why These Five Modules Work Together
Each module measures a different aspect of bullish market structure:
1. Module A - Bullish Candlestick Engine - Detects classic reversal patterns (engulfing, marubozu, hammer, 3-bar cluster). These patterns identify WHERE buyers are stepping in.
2. Module B - PVSRA Volume Climax - Measures spread x volume to detect institutional participation. This tells you WHETHER smart money is involved.
3. Module C - Demand Zone Detection - Identifies and tracks order block zones where buyers previously overwhelmed sellers. This shows you WHERE institutional support exists.
4. Module D - Trendline Channel - Builds dynamic support/resistance from pivot points. This reveals the STRUCTURE of the current trend.
5. Module E - Ichimoku Assist - Optional filter using Tenkan/Kijun cross, cloud position, and Chikou confirmation. This provides TREND PERMISSION context.
The combination works because:
Patterns alone can fail without volume confirmation
Volume alone means nothing without price structure context
Zones alone are static without pattern/volume triggers
Trendlines alone miss the micro-level entry timing
When 3+ modules agree, the probability of a valid bullish setup increases significantly
How the Calculations Work
Module A - Pattern Detection:
Bullish Engulfing - Current bullish bar completely engulfs prior bearish bar:
bool engulfingCond = isBullish() and
isBearish() and
open <= close and
close >= open and
bodySize() > bodySize()
Marubozu - Strong body with minimal wicks (body >= 1.8x average, wick ratio < 20%):
float wickRatio = candleRange() > 0 ? (upperWick() + lowerWick()) / candleRange() : 0
bool marubozuCond = isBullish() and
bodySize() >= bodySizeAvg * i_maruMult and
wickRatio < i_wickRatioMax
Hammer - Long lower wick (>= 2.5x body), close in upper third, volume confirmation:
bool hammerWick = lowerWick() >= i_hammerWickMult * bodySize()
bool hammerClose = close >= low + (candleRange() * 0.66)
bool hammerVol = volume >= i_pvsraRisingMult * volAvg
3-Bar Cluster - Three consecutive bullish closes with increasing prices and volume spike:
bool threeBarBullish = isBullish() and isBullish() and isBullish()
bool increasingCloses = close > close and close > close
bool volSpike3Bar = volume >= i_pvsraRisingMult * volAvg or
volume >= i_pvsraRisingMult * volAvg
Module B - PVSRA Volume Analysis:
Uses spread x volume to detect climax conditions:
float spreadVol = candleRange() * volume
float maxSpreadVol = ta.highest(spreadVol, ADJ_PVSRA_LOOKBACK)
bool volClimax = volume >= i_pvsraClimaxMult * volAvg or spreadVol >= maxSpreadVol
bool volRising = volume >= i_pvsraRisingMult * volAvg and volume < i_pvsraClimaxMult * volAvg
Volume only scores when the candle is bullish, preventing false signals on bearish volume spikes.
Module C - Demand Zone Detection:
Identifies zones using a two-candle structure:
// Small bearish candle A followed by larger bullish candle B
bool candleA_bearish = isBearish()
bool candleB_bullish = isBullish()
bool newZoneCond = candleA_bearish and candleB_bullish and
candleB_size >= i_zoneSizeMult * candleA_size
Zones are drawn as rectangles and tracked for retests. Score increases when price is near or inside an active zone, with bonus points for rejection candles.
Module D - Trendline Channel:
Builds dynamic channel from confirmed pivot points:
float ph = ta.pivothigh(high, i_pivotLeft, i_pivotRight)
float pl = ta.pivotlow(low, i_pivotLeft, i_pivotRight)
Pivots are stored and connected to form upper/lower channel lines. The indicator detects breakouts when price closes beyond the channel with volume confirmation.
Module E - Ichimoku Assist:
Standard Ichimoku calculations with bullish scoring:
float tenkan = (ta.highest(high, i_tenkanLen) + ta.lowest(low, i_tenkanLen)) / 2
float kijun = (ta.highest(high, i_kijunLen) + ta.lowest(low, i_kijunLen)) / 2
bool tkCross = ta.crossover(tenkan, kijun)
bool priceAboveCloud = close > cloudTop
bool chikouAbovePrice = chikou > close
Module F - WINGS Composite Score:
All module scores are combined using adjustable weights:
float WINGS_score = 100 * (nW_pattern * S_pattern +
nW_volume * S_vol +
nW_zone * S_zone +
nW_trend * S_trend +
nW_ichi * S_ichi)
Default weights: Pattern 30%, Volume 25%, Zone 20%, Trend 15%, Ichimoku 10%.
Signal Thresholds
WATCH (30-49) - Interesting bullish context forming, not yet actionable
MOMENTUM (50-74) - Strong bullish conditions, multiple modules agreeing
LIFT-OFF (75+) - High-confidence bullish confluence across most modules
WINGS Badge (Dashboard)
The right-side panel displays:
WINGS Score - Current composite score (0-100)
Pattern - Active pattern name and strength, or neutral placeholder
Volume - Normal / Rising / CLIMAX status
Zone - ACTIVE if price is near a demand zone
Trend - Channel position or BREAK status
Ichimoku - OFF / Weak / Bullish / STRONG
Status - Overall signal level (Neutral / WATCH / MOMENTUM / LIFT-OFF)
Input Parameters
Module Toggles:
Enable Bullish Patterns (true) - Toggle pattern detection
Enable PVSRA Volume (true) - Toggle volume analysis
Enable Order Blocks (true) - Toggle demand zone detection
Enable Trendlines (true) - Toggle pivot channel
Enable Ichimoku Assist (false) - Toggle Ichimoku filter (off by default for performance)
Enable Visual Effects (false) - Toggle labels, trails, and visual elements
LIVE MODE (false) - Enable intrabar signals (WARNING: signals may repaint)
Pattern Engine:
Pattern Lookback (5) - Bars for body size averaging
Marubozu Body Multiplier (1.8) - Minimum body size vs average
Hammer Wick Multiplier (2.5) - Minimum lower wick vs body
Max Wick Ratio (0.2) - Maximum wick percentage for marubozu
Volume / PVSRA:
PVSRA Lookback (10) - Period for volume averaging
Climax Multiplier (2.0) - Volume threshold for climax detection
Rising Volume Multiplier (1.5) - Volume threshold for rising detection
Order Blocks:
Zone Size Multiplier (2.0) - Minimum bullish candle size vs bearish
Zone Extend Bars (200) - How far zones project forward
Max Zones (12) - Maximum active zones displayed
Remove Zone on Close Below (true) - Delete broken zones
Trendlines:
Pivot Left/Right Bars (3/3) - Pivot detection sensitivity
Min Slope % (0.25) - Minimum trendline angle
Max Trendlines (5) - Maximum pivot points stored
Trendline Projection Bars (60) - Forward projection distance
Ichimoku:
Tenkan Length (9) - Conversion line period
Kijun Length (26) - Base line period
Senkou B Length (52) - Leading span B period
Displacement (26) - Cloud displacement
WINGS Score:
Weight: Pattern (0.30) - Pattern contribution to score
Weight: Volume (0.25) - Volume contribution to score
Weight: Zone (0.20) - Zone contribution to score
Weight: Trend (0.15) - Trendline contribution to score
Weight: Ichimoku (0.10) - Ichimoku contribution to score
Lift-Off Threshold (75) - Score required for LIFT-OFF signal
Momentum Watch Threshold (50) - Score required for MOMENTUM signal
Visuals:
Signal Cooldown (8) - Minimum bars between labels
Show WINGS Score Badge (true) - Toggle dashboard
Show Wing Combos (true) - Show DOUBLE/MEGA WINGS streaks
Red Background Wash (true) - Tint chart background
Show Lift-Off Trails (false) - Toggle golden trail visuals
How to Use This Indicator
For Bullish Entry Identification:
1. Monitor the WINGS badge for score changes
2. Wait for MOMENTUM (50+) or LIFT-OFF (75+) signals
3. Check which modules are contributing (Pattern + Volume + Zone = stronger)
4. Use demand zones and trendlines as structural reference for entries
For Confluence Confirmation:
1. Use alongside your existing analysis
2. LIFT-OFF signals indicate multiple bullish factors aligning
3. Low scores (< 30) suggest weak bullish context even if one factor looks good
For Zone-Based Trading:
1. Watch for price approaching active demand zones
2. Look for pattern + volume confirmation at zone retests
3. Zone score increases with successful retests
For Trendline Analysis:
1. Monitor the pivot-based channel for trend structure
2. Breakouts with volume confirmation trigger TREND BREAK alerts
3. Price inside channel with bullish patterns = trend continuation setup
1M and lower timeframes:
Alerts Available
LIFT-OFF - High-confidence bullish confluence
MOMENTUM - Strong bullish conditions
Zone Retest - Bullish rejection from demand zone
Trendline Break - Breakout with volume confirmation
Individual patterns (Engulfing, Marubozu, Hammer, 3-Bar Cluster)
Volume Climax - Institutional volume spike
DOUBLE WINGS / MEGA WINGS - Consecutive lift-off signals
Repainting Behavior
By default, the indicator uses confirmed bars only (barstate.isconfirmed), meaning signals appear after the bar closes and do not repaint. However:
LIVE MODE - When enabled, signals can appear intrabar but may disappear if conditions change before bar close. A warning label displays when LIVE MODE is active.
Trendlines - Pivot detection requires lookback bars, so the most recent trendline segments may adjust as new pivots confirm. This is inherent to pivot-based analysis.
Demand Zones - Zones are created on confirmed bars and do not repaint, but they can be removed if price closes below the zone bottom (configurable).
Live Mode with 'Enable Visual Effect' turned off in settings:
Limitations
This is a bullish-only indicator. It does not detect bearish setups or provide short signals.
The WINGS score is a confluence measure, not a prediction. High scores indicate favorable conditions, not guaranteed outcomes.
Pattern detection uses simplified logic. Not all candlestick nuances are captured.
Volume analysis requires reliable volume data. Results may vary on instruments with inconsistent volume reporting.
Ichimoku calculations add processing overhead. Disable if not needed.
Demand zones are based on a specific two-candle structure. Other valid zones may not be detected.
Trendlines use linear regression between pivots. Curved or complex channels are not supported.
Timeframe Recommendations
15m-1H: More frequent signals, useful for intraday analysis. Higher noise.
4H-Daily: Best balance of signal quality and frequency for swing trading.
Weekly: Fewer but more significant signals for position trading.
Adjust lookback periods and thresholds based on your timeframe. Shorter timeframes may benefit from shorter lookbacks.
Open-Source and Disclaimer
This script is published as open-source under the Mozilla Public License 2.0 for educational purposes. The source code is fully visible and can be studied to understand how each module works.
This indicator does not constitute financial advice. The WINGS score and signals do not guarantee profitable trades. Past performance does not guarantee future results. Always use proper risk management, position sizing, and stop-losses. Test thoroughly on your preferred instruments and timeframes before using in live trading.
- Made with passion by officialjackofalltrades
Zenith MACD Evolution [JOAT]
Zenith MACD Evolution - Volatility-Normalized Momentum Oscillator
Introduction and Purpose
Zenith MACD Evolution is an open-source oscillator indicator that takes the classic MACD and normalizes it by ATR (Average True Range) to create consistent overbought/oversold levels across different market conditions. The core problem this indicator solves is that traditional MACD values are incomparable across different volatility regimes. A MACD reading of 50 might be extreme in a quiet market but normal in a volatile one.
This indicator addresses that by dividing MACD by ATR and scaling to a consistent range, allowing traders to use fixed overbought/oversold levels that work across all market conditions.
Why ATR Normalization Works
Traditional MACD problems:
- Values vary wildly based on price and volatility
- No consistent overbought/oversold levels
- Hard to compare across different instruments
- Extreme readings in one period may be normal in another
ATR-normalized MACD (Zenith) solves these:
- Values scaled to consistent range
- Fixed overbought/oversold levels work across all conditions
- Comparable across different instruments
- Extreme readings are truly extreme regardless of volatility
How the Normalization Works
// Classic MACD
= ta.macd(close, fastLength, slowLength, signalLength)
// ATR for normalization
float atrValue = ta.atr(atrNormLength)
// Volatility-Normalized MACD
float zenithMACD = atrValue != 0 ? (histLine / atrValue) * 100 : 0
float zenithSignal = ta.ema(zenithMACD, signalLength)
The result is a MACD that typically ranges from -200 to +200, with consistent levels:
- Above +150 = Overbought
- Below -150 = Oversold
- Above +200 = Extreme overbought
- Below -200 = Extreme oversold
Signal Types
Zero Cross Up/Down - Zenith crosses zero line (trend change)
Overbought/Oversold Entry - Zenith enters extreme zones
Overbought/Oversold Exit - Zenith leaves extreme zones (potential reversal)
Momentum Shift - Histogram direction changes (early warning)
Divergence - Price makes new high/low but Zenith does not
Histogram Coloring
The histogram uses four colors to show momentum state:
- Strong Bull (Teal) - Positive and rising
- Weak Bull (Light Teal) - Positive but falling
- Strong Bear (Red) - Negative and falling
- Weak Bear (Light Red) - Negative but rising
This helps identify momentum shifts before crossovers occur.
Dashboard Information
Zenith - Current normalized MACD value with signal line
Zone - Current zone (EXTREME OB/OVERBOUGHT/NORMAL/OVERSOLD/EXTREME OS)
Momentum - Direction (RISING/FALLING/FLAT)
Histogram - Current histogram value
ATR Norm - Current ATR value used for normalization
Classic - Traditional MACD value for reference
How to Use This Indicator
For Mean-Reversion:
1. Wait for Zenith to reach extreme zones (+200/-200)
2. Look for momentum shift (histogram color change)
3. Enter counter-trend when exiting extreme zone
For Trend Following:
1. Enter long on zero cross up
2. Enter short on zero cross down
3. Use histogram color to gauge momentum strength
For Divergence Trading:
1. Watch for DIV labels (price vs Zenith divergence)
2. Bullish divergence at support = potential long
3. Bearish divergence at resistance = potential short
Input Parameters
Fast/Slow/Signal Length (12/26/9) - Standard MACD parameters
ATR Normalization Period (26) - Period for ATR calculation
Overbought/Oversold Zone (150/-150) - Zone thresholds
Extreme Level (200) - Extreme threshold
Show Classic MACD Lines (false) - Toggle traditional lines
Show Divergence Detection (true) - Toggle divergence signals
Divergence Lookback (14) - Bars to scan for divergence
Timeframe Recommendations
All timeframes work due to normalization
Higher timeframes provide smoother signals
Normalization makes cross-timeframe comparison meaningful
Limitations
ATR normalization adds slight lag
Divergence detection is simplified
Extreme zones can persist in strong trends
Works best when combined with price action analysis
Open-Source and Disclaimer
This script is published as open-source under the Mozilla Public License 2.0 for educational purposes.
This indicator does not constitute financial advice. Momentum analysis does not guarantee profitable trades. Always use proper risk management.
- Made with passion by officialjackofalltrades
Vortex Trend Matrix [JOAT]Vortex Trend Matrix - Multi-Factor Trend Confluence System
Introduction and Purpose
Vortex Trend Matrix is an open-source overlay indicator that combines Ichimoku-style equilibrium analysis with the Vortex Indicator to create a comprehensive trend confluence system. The core problem this indicator solves is that single trend indicators often give conflicting signals. Price might be above a moving average but momentum might be weakening.
This indicator addresses that by combining five different trend factors into a single composite score, making it easy to identify when multiple factors align for high-probability trend trades.
Why These Components Work Together
Each component measures trend from a different perspective:
1. Cloud Position - Price above/below the equilibrium cloud indicates overall trend bias. The cloud acts as dynamic support/resistance.
2. TK Relationship - Conversion line vs Base line (like Tenkan/Kijun in Ichimoku). Conversion above Base = bullish momentum.
3. Lagging Span - Current price compared to price N bars ago. Confirms whether current move has follow-through.
4. Vortex Indicator - VI+ vs VI- measures directional movement strength. Provides momentum confirmation.
5. Base Direction - Whether the base line is rising or falling. Indicates medium-term trend direction.
How the Trend Score Works
float trendScore = 0.0
// Cloud position (+2/-2)
trendScore += aboveCloud ? 2.0 : belowCloud ? -2.0 : 0.0
// TK relationship (+1/-1)
trendScore += conversionLine > baseLine ? 1.0 : conversionLine < baseLine ? -1.0 : 0.0
// Lagging span (+1/-1)
trendScore += laggingBull ? 1.0 : laggingBear ? -1.0 : 0.0
// Vortex (+1.5/-1.5)
trendScore += vortexBull ? 1.5 : vortexBear ? -1.5 : 0.0
// Base direction (+0.5/-0.5)
trendScore += baseDirection * 0.5
Score ranges from approximately -6 to +6:
- +4 or higher = STRONG BULL
- +2 to +4 = BULL
- -2 to +2 = NEUTRAL
- -4 to -2 = BEAR
- -4 or lower = STRONG BEAR
Signal Types
TK Cross Up/Down - Conversion line crosses Base line (momentum shift)
Base Direction Change - Base line changes direction (medium-term shift)
Strong Bull/Bear Trend - Score reaches +4/-4 (high confluence)
Dashboard Information
Trend - Overall status with composite score
Cloud - Price position (ABOVE/BELOW/INSIDE)
TK Cross - Conversion vs Base relationship
Lagging - Lagging span bias
Vortex - VI+/VI- relationship
VI+/VI- - Individual vortex values
How to Use This Indicator
For Trend Following:
1. Enter long when trend score reaches +4 or higher (STRONG BULL)
2. Enter short when trend score reaches -4 or lower (STRONG BEAR)
3. Use cloud as dynamic support/resistance for entries
For Momentum Timing:
1. Watch for TK Cross signals for entry timing
2. Base direction changes indicate medium-term shifts
3. Vortex confirmation adds conviction
For Risk Management:
1. Exit when trend score drops to neutral
2. Use cloud edges as stop-loss references
3. Reduce position when score weakens
Input Parameters
Conversion Period (9) - Fast equilibrium line
Base Period (26) - Slow equilibrium line
Lead Span Period (52) - Cloud projection period
Displacement (26) - Cloud and lagging span offset
Vortex Period (14) - Period for vortex calculation
VI+ Strength (1.10) - Threshold for strong bullish vortex
VI- Strength (0.90) - Threshold for strong bearish vortex
Timeframe Recommendations
4H-Daily: Best for equilibrium-based analysis
1H: Good for intraday trend following
Lower timeframes may require adjusted periods
Limitations
Equilibrium calculations have inherent lag
Cloud displacement means signals are delayed
Works best in trending markets
May whipsaw in ranging conditions
Open-Source and Disclaimer
This script is published as open-source under the Mozilla Public License 2.0 for educational purposes.
This indicator does not constitute financial advice. Trend analysis does not guarantee profitable trades. Always use proper risk management.
- Made with passion by officialjackofalltrades
Sentinel Market Structure [JOAT]
Sentinel Market Structure - Smart Money Structure Analysis
Introduction and Purpose
Sentinel Market Structure is an open-source overlay indicator that identifies swing highs/lows, tracks market structure (HH/HL/LH/LL), detects Break of Structure (BOS) and Change of Character (CHoCH) signals, and marks order blocks. The core problem this indicator solves is that retail traders often miss structural shifts that smart money traders use to identify trend changes.
This indicator addresses that by automatically tracking market structure and alerting traders to key structural breaks that often precede significant moves.
Why These Components Work Together
Each component provides different structural information:
1. Swing Detection - Identifies significant pivot highs and lows. These are the building blocks of market structure.
2. Structure Labels (HH/HL/LH/LL) - Classifies each swing relative to the previous swing. Higher Highs + Higher Lows = uptrend. Lower Highs + Lower Lows = downtrend.
3. Break of Structure (BOS) - Identifies when price breaks a swing level in the direction of the trend. This is a continuation signal.
4. Change of Character (CHoCH) - Identifies when price breaks a swing level against the trend. This is a potential reversal signal.
5. Order Blocks - Marks the last opposing candle before an impulse move. These zones often act as future support/resistance.
How the Detection Works
Swing Detection:
bool swingHighDetected = high == ta.highest(high, swingLength * 2 + 1)
bool swingLowDetected = low == ta.lowest(low, swingLength * 2 + 1)
BOS vs CHoCH Logic:
// BOS: Break in direction of trend (continuation)
bool bullishBOS = close > lastSwingHigh and marketTrend >= 0
// CHoCH: Break against trend (reversal signal)
bool bullishCHOCH = close > lastSwingHigh and marketTrend < 0
Order Block Detection:
bool bullOB = close < open and // Previous candle bearish
close > open and // Current candle bullish
close > high and // Breaking above
(high - low) > ta.atr(14) * 1.5 // Strong impulse
Signal Types
HH (Higher High) - Swing high above previous swing high (bullish structure)
HL (Higher Low) - Swing low above previous swing low (bullish structure)
LH (Lower High) - Swing high below previous swing high (bearish structure)
LL (Lower Low) - Swing low below previous swing low (bearish structure)
BOS↑/BOS↓ - Break of structure in trend direction (continuation)
CHoCH↑/CHoCH↓ - Change of character against trend (potential reversal)
Dashboard Information
Trend - Current market bias (BULLISH/BEARISH/NEUTRAL)
Swing High - Last swing high price with HH/LH label
Swing Low - Last swing low price with HL/LL label
Structure - Current structure state (HH+HL, LH+LL, etc.)
Price - Price position relative to structure
How to Use This Indicator
For Trend Following:
1. Identify trend using structure (HH+HL = uptrend, LH+LL = downtrend)
2. Enter on BOS signals in trend direction
3. Use swing levels for stop placement
For Reversal Trading:
1. Watch for CHoCH signals (break against trend)
2. Confirm with order block formation
3. Enter on retest of order block zone
For Risk Management:
1. Place stops beyond swing highs/lows
2. Use structure lines as trailing stop references
3. Exit when CHoCH signals against your position
Input Parameters
Swing Detection Length (5) - Bars on each side for pivot detection
Show Swing High/Low Points (true) - Toggle swing markers
Show BOS/CHoCH (true) - Toggle structural break signals
Show Structure Lines (true) - Toggle horizontal swing lines
Show Order Blocks (true) - Toggle order block zones
Zone Extension (50) - How far order block boxes extend
Timeframe Recommendations
15m-1H: Good for intraday structure analysis
4H-Daily: Best for swing trading structure
Lower timeframes require smaller swing detection length
Limitations
Swing detection has inherent lag (needs confirmation bars)
Not all BOS/CHoCH signals lead to continuation/reversal
Order block zones are simplified (not full ICT methodology)
Structure analysis is subjective - different traders see different swings
Open-Source and Disclaimer
This script is published as open-source under the Mozilla Public License 2.0 for educational purposes.
This indicator does not constitute financial advice. Market structure analysis does not guarantee trade outcomes. Always use proper risk management.
- Made with passion by officialjackofalltrades
Quantum Candle Scanner [JOAT]
Quantum Candle Scanner - Advanced Multi-Pattern Recognition System
Introduction and Purpose
Quantum Candle Scanner is an open-source overlay indicator that detects multiple candlestick patterns including engulfing patterns, kicker patterns, inside bar setups, momentum candles, and higher-high/lower-low sequences. The core problem this indicator solves is that traders often miss patterns because they're looking for only one type. Different patterns work better in different market conditions.
This indicator addresses that by scanning for five distinct pattern types simultaneously, giving traders a comprehensive view of price action signals.
Why These Five Pattern Types Work Together
Each pattern type identifies different market behavior:
1. Engulfing Patterns - Classic reversal signals where current candle completely engulfs the previous candle. Best for identifying potential turning points.
2. Kicker Patterns - Strong reversal signals with gap confirmation. The current candle opens beyond the previous candle's open with opposite direction. Best for identifying high-momentum reversals.
3. Inside Bar Patterns - Consolidation breakout signals where a candle's range is contained within the previous candle, followed by a breakout. Best for identifying compression before expansion.
4. Momentum Candles - Identifies the largest body candle over a lookback period. Best for spotting institutional activity.
5. HH/HL and LH/LL Sequences - Three-bar structure patterns showing trend continuation. Best for confirming trend direction.
How the Detection Works
Engulfing Pattern:
bool engulfBullBase = open <= math.min(close , open ) and
close >= math.max(close , open ) and
isBullish(0) and
getBodyPct(0) > bodyMinPct
Kicker Pattern:
bool kickerBull = isBearish(1) and isBullish(0) and
open > open and low > low and
getBodyPct(0) > 40 and getBodyPct(1) > 40
Inside Bar:
bool insideBarSetup = low < low and high > high
bool insideBarBull = insideBarSetup and isBullish(0)
HH/HL Sequence:
bool hhhlSeq = high > high and low > low and
high > high and low > low and
close > close
Optional Filters
ATR Filter - Only shows patterns where candle body exceeds ATR (strong candles only)
Body Minimum % - Requires minimum body percentage for engulfing patterns
Close Beyond Prior H/L - Requires engulfing candle to close beyond prior high/low
Dashboard Information
Engulfing - Total engulfing patterns detected
Kicker - Kicker pattern count
Inside Bar - Inside bar breakout count
HH/LL Seq - Structure sequence count
Total - Combined pattern count
How to Use This Indicator
For Reversal Trading:
1. Look for engulfing or kicker patterns at key support/resistance
2. Confirm with HH/HL or LH/LL sequence breaking
3. Enter with stop beyond the pattern
For Breakout Trading:
1. Identify inside bar setups (consolidation)
2. Enter on breakout candle in direction of break
3. Use the inside bar range for stop placement
For Trend Confirmation:
1. Use HH/HL sequences to confirm uptrend structure
2. Use LH/LL sequences to confirm downtrend structure
3. Momentum candles indicate institutional participation
Input Parameters
Detect Engulfing/Kicker/Inside Bar/Momentum/HHLL (all true) - Toggle each pattern type
Min Body % for Engulfing (0) - Minimum body percentage
ATR Filter (false) - Only show strong candles
Engulf Must Close Beyond Prior H/L (true) - Stricter engulfing definition
Compact Mode (false) - Shorter labels for cleaner charts
Timeframe Recommendations
1H-Daily: Best for reliable pattern detection
15m-30m: More patterns but higher noise
Use Compact Mode on lower timeframes
Limitations
Pattern detection is mechanical and does not consider context
Not all patterns lead to successful trades
Kicker patterns are rare but powerful
Inside bar breakouts can fail (false breakouts)
Open-Source and Disclaimer
This script is published as open-source under the Mozilla Public License 2.0 for educational purposes.
This indicator does not constitute financial advice. Pattern detection does not guarantee trade outcomes. Always use proper risk management.
- Made with passion by officialjackofalltrades
Pulse Volume Commitment [JOAT]
Pulse Volume Commitment - Three-Dimensional Momentum Analysis
Introduction and Purpose
Pulse Volume Commitment is an open-source oscillator indicator that analyzes price action through three distinct dimensions: Quantity (candle count), Quality (body structure), and Commitment (volume-weighted quality). The core problem this indicator solves is that simple bullish/bearish candle counts miss important context. A market can have more green candles but still be weak if those candles have small bodies and low volume.
This indicator addresses that by requiring all three dimensions to align before generating strong signals, filtering out weak moves that lack conviction.
Why These Three Dimensions Work Together
Each dimension measures a different aspect of market conviction:
1. Quantity - Counts bullish vs bearish candles over the lookback period. Tells you WHO is winning the candle count battle.
2. Quality - Scores candles by body size relative to total range. Full-bodied candles (small wicks) indicate stronger conviction than doji-like candles. Tells you HOW decisively price is moving.
3. Commitment - Weights quality scores by volume. High-quality candles on high volume indicate institutional participation. Tells you WHETHER smart money is involved.
When all three align (e.g., more bullish candles + bullish quality + bullish commitment), the signal is significantly more reliable.
How the Calculations Work
Quantity Analysis:
int greenCount = 0
int redCount = 0
for i = 0 to lookbackPeriod - 1
if close > open
greenCount += 1
if close < open
redCount += 1
bool quantityBull = greenCount > redCount
Quality Analysis (body-to-range scoring):
for i = 0 to lookbackPeriod - 1
float candleBody = close - open // Signed (positive = bull)
float candleRange = high - low
float bodyQuality = candleRange > 0 ? (candleBody / candleRange * 100) * candleRange : 0.0
sumBodyQuality += bodyQuality
bool qualityBull = sumBodyQuality > 0
Signal Types
FULL BULL - All three dimensions bullish (Quantity + Quality + Commitment)
FULL BEAR - All three dimensions bearish
LEAN BULL/BEAR - 2 of 3 dimensions agree
MIXED - No clear consensus
STRONG BUY/SELL - Full confluence + ADX confirms trending market
ADX Integration
The indicator includes ADX (Average Directional Index) to filter signals:
- ADX >= 20 = TRENDING market (signals more reliable)
- ADX < 20 = RANGING market (signals may whipsaw)
Strong signals only trigger when full confluence occurs in a trending environment.
Dashboard Information
Quantity - BULL/BEAR/FLAT with green/red candle ratio
Quality - Directional bias based on body quality scoring
Commit - Volume-weighted commitment reading
ADX - Trend strength (TRENDING/RANGING)
Signal - Confluence status (FULL BULL/FULL BEAR/LEAN/MIXED)
Action - STRONG BUY/STRONG SELL/WAIT
How to Use This Indicator
For High-Conviction Entries:
1. Wait for FULL BULL or FULL BEAR confluence
2. Confirm ADX shows TRENDING
3. Enter when Action shows STRONG BUY or STRONG SELL
For Filtering Weak Setups:
1. Avoid entries when signal shows MIXED
2. Be cautious when ADX shows RANGING
3. Require at least 2 of 3 dimensions to agree
For Divergence Analysis:
1. Watch for Quantity bullish but Commitment bearish (distribution)
2. Watch for Quantity bearish but Commitment bullish (accumulation)
Input Parameters
Lookback Period (9) - Bars to analyze for all three dimensions
ADX Smoothing (14) - Period for ADX calculation
ADX DI Length (14) - Period for directional indicators
Timeframe Recommendations
15m-1H: Good for intraday momentum analysis
4H-Daily: Best for swing trading confluence
Lookback period may need adjustment for different timeframes
Limitations
Lookback period affects signal responsiveness vs reliability tradeoff
Volume data quality varies by exchange
ADX filter may cause missed entries in early trends
Works best on liquid instruments with consistent volume
Open-Source and Disclaimer
This script is published as open-source under the Mozilla Public License 2.0 for educational purposes.
This indicator does not constitute financial advice. Confluence signals do not guarantee profitable trades. Always use proper risk management.
- Made with passion by officialjackofalltrades
Prism Band Dynamics [JOAT]Prism Band Dynamics - Bollinger-Style Bands with Force Detection
Introduction and Purpose
Prism Band Dynamics is an open-source overlay indicator that creates dynamic Bollinger-style bands with an innovative "force detection" system. The core problem this indicator solves is that standard Bollinger Bands show volatility but don't indicate directional momentum. When all three band components (upper, lower, basis) move in the same direction, it indicates strong directional force that standard bands don't highlight.
This indicator addresses that by detecting when all band components align directionally, providing a clear signal of market force.
Why Force Detection Matters
Standard Bollinger Bands expand and contract based on volatility, but they don't tell you about directional momentum. Force detection adds this dimension:
1. Bullish Force - Upper band, lower band, AND basis all moving up together. This indicates strong upward momentum where even the lower support level is rising.
2. Bearish Force - Upper band, lower band, AND basis all moving down together. This indicates strong downward momentum where even the upper resistance level is falling.
3. Neutral - Mixed movement indicates consolidation or uncertainty.
How Force Detection Works
bool upperUp = upper > upper
bool lowerUp = lower > lower
bool basisUp = basis > basis
int forceFull = if upperUp and lowerUp and basisUp
1 // Bullish force
else if upperDn and lowerDn and basisDn
-1 // Bearish force
else
0 // Neutral
Additional Features
Squeeze Detection - Identifies when band width contracts below threshold, often preceding large moves
Gradient Fills - Color intensity reflects force strength
Direction Change Arrows - Visual markers when force direction shifts
Dashboard Information
Force - Current force status (BULLISH/BEARISH/NEUTRAL)
Position - Price location within bands (Upper/Mid/Lower Zone)
Band Width - Current width percentage with expansion/contraction label
Volatility - Squeeze status (SQUEEZE/NORMAL)
Force Count - Bars since last force change
How to Use This Indicator
For Trend Following:
1. Enter long when force turns BULLISH
2. Enter short when force turns BEARISH
3. Exit or reduce when force turns NEUTRAL
For Squeeze Breakouts:
1. Watch for SQUEEZE status in dashboard
2. Prepare for breakout in either direction
3. Enter when force confirms direction after squeeze
For Mean Reversion:
1. Only trade mean-reversion when force is NEUTRAL
2. Avoid fading moves when force is active
3. Use band touches as entry points during neutral force
Input Parameters
Length (20) - Period for basis and standard deviation
Multiplier (2.0) - Standard deviation multiplier for bands
MA Type (SMA) - Basis calculation method
Squeeze Threshold (0.5) - Band width percentage for squeeze detection
Timeframe Recommendations
4H-Daily: Cleanest force signals
1H: Good balance of signals and reliability
15m: More signals but more noise
Limitations
Force detection can lag during rapid reversals
Squeeze breakouts can fail (false breakouts)
Works best in markets with clear trending/ranging phases
Open-Source and Disclaimer
This script is published as open-source under the Mozilla Public License 2.0 for educational purposes.
This indicator does not constitute financial advice. Force detection does not guarantee trend continuation. Always use proper risk management.
- Made with passion by officialjackofalltrades
Nexus Momentum Flow [JOAT]
Nexus Momentum Flow - ADX-Based Trend Strength Analysis
Introduction and Purpose
Nexus Momentum Flow is an open-source oscillator indicator that combines the ADX (Average Directional Index) with directional movement indicators (+DI/-DI) to create a comprehensive trend strength and direction analysis tool. The core problem this indicator solves is that ADX alone tells you trend strength but not direction, while +DI/-DI alone tells you direction but not strength. Traders need both pieces of information together.
This indicator addresses that by combining ADX strength classification with directional bias into a single confluence score, making it easy to identify when strong trends exist and which direction they favor.
Why These Components Work Together
1. ADX (Average Directional Index) - Measures trend strength regardless of direction. Values above 25 indicate trending; below 20 indicate ranging.
2. +DI (Positive Directional Indicator) - Measures upward price movement strength.
3. -DI (Negative Directional Indicator) - Measures downward price movement strength.
4. Confluence Score - Combines ADX strength with DI bias to create a single actionable metric.
The combination works because:
ADX filters out ranging markets where DI crossovers produce whipsaws
DI relationship provides direction when ADX confirms trend
Confluence score simplifies the analysis into one number
How the Calculation Works
float directionBias = diPlus - diMinus
float confluenceScore = (adx / 100) * directionBias
The confluence score is positive when +DI > -DI (bullish) and negative when -DI > +DI (bearish), with magnitude scaled by ADX strength.
Trend State Classification
EXTREME - ADX > 50 (very strong trend)
STRONG - ADX 35-50 (strong trend)
TRENDING - ADX 25-35 (moderate trend)
RANGING - ADX < 25 (no clear trend)
Dashboard Information
Status - Current trend state (EXTREME/STRONG/TRENDING/RANGING)
Direction - BULLISH or BEARISH based on DI relationship
ADX - Current ADX value
DI Bias - Difference between +DI and -DI
Confluence - Combined score with directional context
How to Use This Indicator
For Trend Following:
1. Wait for ADX to show TRENDING or higher
2. Check direction matches your trade bias
3. Enter on pullbacks when confluence remains positive/negative
4. Exit when ADX drops to RANGING
For Avoiding Whipsaws:
1. Do not trade DI crossovers when ADX shows RANGING
2. Only trust directional signals when ADX confirms trend
3. Use RANGING periods for mean-reversion strategies instead
For Trend Exhaustion:
1. Watch for EXTREME ADX readings
2. Extreme trends often precede reversals
3. Consider taking profits when ADX reaches extreme levels
Input Parameters
ADX Length (14) - Period for ADX calculation
DI Length (14) - Period for directional indicators
ADX Smoothing (14) - Smoothing period for ADX
Trend Threshold (25) - ADX level for trend confirmation
Strong Threshold (35) - ADX level for strong trend
Extreme Threshold (50) - ADX level for extreme trend
Timeframe Recommendations
Daily/4H: Best for swing trading trend analysis
1H: Good for intraday trend following
15m: More signals but requires faster reaction
Limitations
ADX is a lagging indicator - trends are confirmed after they start
DI crossovers can whipsaw even with ADX filter
Works best in markets that trend clearly
May miss early trend entries due to confirmation requirement
Open-Source and Disclaimer
This script is published as open-source under the Mozilla Public License 2.0 for educational purposes.
This indicator does not constitute financial advice. Trend analysis does not guarantee profitable trades. Always use proper risk management.
- Made with passion by officialjackofalltrades






















