Fibonacci Tool — Swing Picker (Fixed)📈 Fibonacci Tool — Swing Picker
This auto-drawing Fibonacci tool identifies swings using pivot highs/lows and overlays Fibonacci retracements between them. Designed for futures traders, it automates and clearly marks key confluence zones using color-coded levels.
### 🔹 Key Features:
* **Auto swing detection** using user-defined depth
* **Automatic Fibonacci levels** plotted from swing start to end
* **Color-coded levels** for up (bullish) and down (bearish) swings
* **Dot markers**:
* **White** = start of any fib
* **Green** = bullish end
* **Red** = bearish end
* **White + red/green** = when start and end overlap on same bar
### 🔧 Inputs:
* `Swing Depth` — Controls how far the script looks for pivots
* `Min Bars Between Fibs` — Prevents overcrowding by spacing swing selection
### 🎯 Use Case:
Ideal for day traders identifying short-term fib confluences on NQ, ES, or other futures markets. Works well in combination with EMAs, trendlines, and price action tools.
Göstergeler ve stratejiler
ND Egitim - AI Oto FibonacciAutomatic Fibonacci & HH/LL Trend Analysis
This indicator automatically determines the optimal lookback bar count based on market conditions and the specific symbol, then identifies the most recent “Higher High” (HH) and “Lower Low” (LL) points on your chart. It draws a Fibonacci system between these two points, allowing you to instantly visualize potential retracement and extension levels that may act as key support and resistance zones. Additionally, the indicator provides a quick overview of the overall market trend and volatility.
What does it do?
• Fibonacci Levels: Classic Fibonacci levels such as 0%, 23.6%, 38.2%, 50%, 61.8%, 78.6%, and 100% are drawn automatically on the chart. Additional extension and negative levels are also displayed as needed.
• Trend Direction: The general market trend (bullish, bearish, or sideways) is visualized based on the relative positioning of HH/LL points and the structure of moving averages.
• Alert Conditions: Built-in alerts notify you when the price breaks key Fibonacci levels.
Tensor Market Analysis Engine (TMAE)# Tensor Market Analysis Engine (TMAE)
## Advanced Multi-Dimensional Mathematical Analysis System
*Where Quantum Mathematics Meets Market Structure*
---
## 🎓 THEORETICAL FOUNDATION
The Tensor Market Analysis Engine represents a revolutionary synthesis of three cutting-edge mathematical frameworks that have never before been combined for comprehensive market analysis. This indicator transcends traditional technical analysis by implementing advanced mathematical concepts from quantum mechanics, information theory, and fractal geometry.
### 🌊 Multi-Dimensional Volatility with Jump Detection
**Hawkes Process Implementation:**
The TMAE employs a sophisticated Hawkes process approximation for detecting self-exciting market jumps. Unlike traditional volatility measures that treat price movements as independent events, the Hawkes process recognizes that market shocks cluster and exhibit memory effects.
**Mathematical Foundation:**
```
Intensity λ(t) = μ + Σ α(t - Tᵢ)
```
Where market jumps at times Tᵢ increase the probability of future jumps through the decay function α, controlled by the Hawkes Decay parameter (0.5-0.99).
**Mahalanobis Distance Calculation:**
The engine calculates volatility jumps using multi-dimensional Mahalanobis distance across up to 5 volatility dimensions:
- **Dimension 1:** Price volatility (standard deviation of returns)
- **Dimension 2:** Volume volatility (normalized volume fluctuations)
- **Dimension 3:** Range volatility (high-low spread variations)
- **Dimension 4:** Correlation volatility (price-volume relationship changes)
- **Dimension 5:** Microstructure volatility (intrabar positioning analysis)
This creates a volatility state vector that captures market behavior impossible to detect with traditional single-dimensional approaches.
### 📐 Hurst Exponent Regime Detection
**Fractal Market Hypothesis Integration:**
The TMAE implements advanced Rescaled Range (R/S) analysis to calculate the Hurst exponent in real-time, providing dynamic regime classification:
- **H > 0.6:** Trending (persistent) markets - momentum strategies optimal
- **H < 0.4:** Mean-reverting (anti-persistent) markets - contrarian strategies optimal
- **H ≈ 0.5:** Random walk markets - breakout strategies preferred
**Adaptive R/S Analysis:**
Unlike static implementations, the TMAE uses adaptive windowing that adjusts to market conditions:
```
H = log(R/S) / log(n)
```
Where R is the range of cumulative deviations and S is the standard deviation over period n.
**Dynamic Regime Classification:**
The system employs hysteresis to prevent regime flipping, requiring sustained Hurst values before regime changes are confirmed. This prevents false signals during transitional periods.
### 🔄 Transfer Entropy Analysis
**Information Flow Quantification:**
Transfer entropy measures the directional flow of information between price and volume, revealing lead-lag relationships that indicate future price movements:
```
TE(X→Y) = Σ p(yₜ₊₁, yₜ, xₜ) log
```
**Causality Detection:**
- **Volume → Price:** Indicates accumulation/distribution phases
- **Price → Volume:** Suggests retail participation or momentum chasing
- **Balanced Flow:** Market equilibrium or transition periods
The system analyzes multiple lag periods (2-20 bars) to capture both immediate and structural information flows.
---
## 🔧 COMPREHENSIVE INPUT SYSTEM
### Core Parameters Group
**Primary Analysis Window (10-100, Default: 50)**
The fundamental lookback period affecting all calculations. Optimization by timeframe:
- **1-5 minute charts:** 20-30 (rapid adaptation to micro-movements)
- **15 minute-1 hour:** 30-50 (balanced responsiveness and stability)
- **4 hour-daily:** 50-100 (smooth signals, reduced noise)
- **Asset-specific:** Cryptocurrency 20-35, Stocks 35-50, Forex 40-60
**Signal Sensitivity (0.1-2.0, Default: 0.7)**
Master control affecting all threshold calculations:
- **Conservative (0.3-0.6):** High-quality signals only, fewer false positives
- **Balanced (0.7-1.0):** Optimal risk-reward ratio for most trading styles
- **Aggressive (1.1-2.0):** Maximum signal frequency, requires careful filtering
**Signal Generation Mode:**
- **Aggressive:** Any component signals (highest frequency)
- **Confluence:** 2+ components agree (balanced approach)
- **Conservative:** All 3 components align (highest quality)
### Volatility Jump Detection Group
**Volatility Dimensions (2-5, Default: 3)**
Determines the mathematical space complexity:
- **2D:** Price + Volume volatility (suitable for clean markets)
- **3D:** + Range volatility (optimal for most conditions)
- **4D:** + Correlation volatility (advanced multi-asset analysis)
- **5D:** + Microstructure volatility (maximum sensitivity)
**Jump Detection Threshold (1.5-4.0σ, Default: 3.0σ)**
Standard deviations required for volatility jump classification:
- **Cryptocurrency:** 2.0-2.5σ (naturally volatile)
- **Stock Indices:** 2.5-3.0σ (moderate volatility)
- **Forex Major Pairs:** 3.0-3.5σ (typically stable)
- **Commodities:** 2.0-3.0σ (varies by commodity)
**Jump Clustering Decay (0.5-0.99, Default: 0.85)**
Hawkes process memory parameter:
- **0.5-0.7:** Fast decay (jumps treated as independent)
- **0.8-0.9:** Moderate clustering (realistic market behavior)
- **0.95-0.99:** Strong clustering (crisis/event-driven markets)
### Hurst Exponent Analysis Group
**Calculation Method Options:**
- **Classic R/S:** Original Rescaled Range (fast, simple)
- **Adaptive R/S:** Dynamic windowing (recommended for trading)
- **DFA:** Detrended Fluctuation Analysis (best for noisy data)
**Trending Threshold (0.55-0.8, Default: 0.60)**
Hurst value defining persistent market behavior:
- **0.55-0.60:** Weak trend persistence
- **0.65-0.70:** Clear trending behavior
- **0.75-0.80:** Strong momentum regimes
**Mean Reversion Threshold (0.2-0.45, Default: 0.40)**
Hurst value defining anti-persistent behavior:
- **0.35-0.45:** Weak mean reversion
- **0.25-0.35:** Clear ranging behavior
- **0.15-0.25:** Strong reversion tendency
### Transfer Entropy Parameters Group
**Information Flow Analysis:**
- **Price-Volume:** Classic flow analysis for accumulation/distribution
- **Price-Volatility:** Risk flow analysis for sentiment shifts
- **Multi-Timeframe:** Cross-timeframe causality detection
**Maximum Lag (2-20, Default: 5)**
Causality detection window:
- **2-5 bars:** Immediate causality (scalping)
- **5-10 bars:** Short-term flow (day trading)
- **10-20 bars:** Structural flow (swing trading)
**Significance Threshold (0.05-0.3, Default: 0.15)**
Minimum entropy for signal generation:
- **0.05-0.10:** Detect subtle information flows
- **0.10-0.20:** Clear causality only
- **0.20-0.30:** Very strong flows only
---
## 🎨 ADVANCED VISUAL SYSTEM
### Tensor Volatility Field Visualization
**Five-Layer Resonance Bands:**
The tensor field creates dynamic support/resistance zones that expand and contract based on mathematical field strength:
- **Core Layer (Purple):** Primary tensor field with highest intensity
- **Layer 2 (Neutral):** Secondary mathematical resonance
- **Layer 3 (Info Blue):** Tertiary harmonic frequencies
- **Layer 4 (Warning Gold):** Outer field boundaries
- **Layer 5 (Success Green):** Maximum field extension
**Field Strength Calculation:**
```
Field Strength = min(3.0, Mahalanobis Distance × Tensor Intensity)
```
The field amplitude adjusts to ATR and mathematical distance, creating dynamic zones that respond to market volatility.
**Radiation Line Network:**
During active tensor states, the system projects directional radiation lines showing field energy distribution:
- **8 Directional Rays:** Complete angular coverage
- **Tapering Segments:** Progressive transparency for natural visual flow
- **Pulse Effects:** Enhanced visualization during volatility jumps
### Dimensional Portal System
**Portal Mathematics:**
Dimensional portals visualize regime transitions using category theory principles:
- **Green Portals (◉):** Trending regime detection (appear below price for support)
- **Red Portals (◎):** Mean-reverting regime (appear above price for resistance)
- **Yellow Portals (○):** Random walk regime (neutral positioning)
**Tensor Trail Effects:**
Each portal generates 8 trailing particles showing mathematical momentum:
- **Large Particles (●):** Strong mathematical signal
- **Medium Particles (◦):** Moderate signal strength
- **Small Particles (·):** Weak signal continuation
- **Micro Particles (˙):** Signal dissipation
### Information Flow Streams
**Particle Stream Visualization:**
Transfer entropy creates flowing particle streams indicating information direction:
- **Upward Streams:** Volume leading price (accumulation phases)
- **Downward Streams:** Price leading volume (distribution phases)
- **Stream Density:** Proportional to information flow strength
**15-Particle Evolution:**
Each stream contains 15 particles with progressive sizing and transparency, creating natural flow visualization that makes information transfer immediately apparent.
### Fractal Matrix Grid System
**Multi-Timeframe Fractal Levels:**
The system calculates and displays fractal highs/lows across five Fibonacci periods:
- **8-Period:** Short-term fractal structure
- **13-Period:** Intermediate-term patterns
- **21-Period:** Primary swing levels
- **34-Period:** Major structural levels
- **55-Period:** Long-term fractal boundaries
**Triple-Layer Visualization:**
Each fractal level uses three-layer rendering:
- **Shadow Layer:** Widest, darkest foundation (width 5)
- **Glow Layer:** Medium white core line (width 3)
- **Tensor Layer:** Dotted mathematical overlay (width 1)
**Intelligent Labeling System:**
Smart spacing prevents label overlap using ATR-based minimum distances. Labels include:
- **Fractal Period:** Time-based identification
- **Topological Class:** Mathematical complexity rating (0, I, II, III)
- **Price Level:** Exact fractal price
- **Mahalanobis Distance:** Current mathematical field strength
- **Hurst Exponent:** Current regime classification
- **Anomaly Indicators:** Visual strength representations (○ ◐ ● ⚡)
### Wick Pressure Analysis
**Rejection Level Mathematics:**
The system analyzes candle wick patterns to project future pressure zones:
- **Upper Wick Analysis:** Identifies selling pressure and resistance zones
- **Lower Wick Analysis:** Identifies buying pressure and support zones
- **Pressure Projection:** Extends lines forward based on mathematical probability
**Multi-Layer Glow Effects:**
Wick pressure lines use progressive transparency (1-8 layers) creating natural glow effects that make pressure zones immediately visible without cluttering the chart.
### Enhanced Regime Background
**Dynamic Intensity Mapping:**
Background colors reflect mathematical regime strength:
- **Deep Transparency (98% alpha):** Subtle regime indication
- **Pulse Intensity:** Based on regime strength calculation
- **Color Coding:** Green (trending), Red (mean-reverting), Neutral (random)
**Smoothing Integration:**
Regime changes incorporate 10-bar smoothing to prevent background flicker while maintaining responsiveness to genuine regime shifts.
### Color Scheme System
**Six Professional Themes:**
- **Dark (Default):** Professional trading environment optimization
- **Light:** High ambient light conditions
- **Classic:** Traditional technical analysis appearance
- **Neon:** High-contrast visibility for active trading
- **Neutral:** Minimal distraction focus
- **Bright:** Maximum visibility for complex setups
Each theme maintains mathematical accuracy while optimizing visual clarity for different trading environments and personal preferences.
---
## 📊 INSTITUTIONAL-GRADE DASHBOARD
### Tensor Field Status Section
**Field Strength Display:**
Real-time Mahalanobis distance calculation with dynamic emoji indicators:
- **⚡ (Lightning):** Extreme field strength (>1.5× threshold)
- **● (Solid Circle):** Strong field activity (>1.0× threshold)
- **○ (Open Circle):** Normal field state
**Signal Quality Rating:**
Democratic algorithm assessment:
- **ELITE:** All 3 components aligned (highest probability)
- **STRONG:** 2 components aligned (good probability)
- **GOOD:** 1 component active (moderate probability)
- **WEAK:** No clear component signals
**Threshold and Anomaly Monitoring:**
- **Threshold Display:** Current mathematical threshold setting
- **Anomaly Level (0-100%):** Combined volatility and volume spike measurement
- **>70%:** High anomaly (red warning)
- **30-70%:** Moderate anomaly (orange caution)
- **<30%:** Normal conditions (green confirmation)
### Tensor State Analysis Section
**Mathematical State Classification:**
- **↑ BULL (Tensor State +1):** Trending regime with bullish bias
- **↓ BEAR (Tensor State -1):** Mean-reverting regime with bearish bias
- **◈ SUPER (Tensor State 0):** Random walk regime (neutral)
**Visual State Gauge:**
Five-circle progression showing tensor field polarity:
- **🟢🟢🟢⚪⚪:** Strong bullish mathematical alignment
- **⚪⚪🟡⚪⚪:** Neutral/transitional state
- **⚪⚪🔴🔴🔴:** Strong bearish mathematical alignment
**Trend Direction and Phase Analysis:**
- **📈 BULL / 📉 BEAR / ➡️ NEUTRAL:** Primary trend classification
- **🌪️ CHAOS:** Extreme information flow (>2.0 flow strength)
- **⚡ ACTIVE:** Strong information flow (1.0-2.0 flow strength)
- **😴 CALM:** Low information flow (<1.0 flow strength)
### Trading Signals Section
**Real-Time Signal Status:**
- **🟢 ACTIVE / ⚪ INACTIVE:** Long signal availability
- **🔴 ACTIVE / ⚪ INACTIVE:** Short signal availability
- **Components (X/3):** Active algorithmic components
- **Mode Display:** Current signal generation mode
**Signal Strength Visualization:**
Color-coded component count:
- **Green:** 3/3 components (maximum confidence)
- **Aqua:** 2/3 components (good confidence)
- **Orange:** 1/3 components (moderate confidence)
- **Gray:** 0/3 components (no signals)
### Performance Metrics Section
**Win Rate Monitoring:**
Estimated win rates based on signal quality with emoji indicators:
- **🔥 (Fire):** ≥60% estimated win rate
- **👍 (Thumbs Up):** 45-59% estimated win rate
- **⚠️ (Warning):** <45% estimated win rate
**Mathematical Metrics:**
- **Hurst Exponent:** Real-time fractal dimension (0.000-1.000)
- **Information Flow:** Volume/price leading indicators
- **📊 VOL:** Volume leading price (accumulation/distribution)
- **💰 PRICE:** Price leading volume (momentum/speculation)
- **➖ NONE:** Balanced information flow
- **Volatility Classification:**
- **🔥 HIGH:** Above 1.5× jump threshold
- **📊 NORM:** Normal volatility range
- **😴 LOW:** Below 0.5× jump threshold
### Market Structure Section (Large Dashboard)
**Regime Classification:**
- **📈 TREND:** Hurst >0.6, momentum strategies optimal
- **🔄 REVERT:** Hurst <0.4, contrarian strategies optimal
- **🎲 RANDOM:** Hurst ≈0.5, breakout strategies preferred
**Mathematical Field Analysis:**
- **Dimensions:** Current volatility space complexity (2D-5D)
- **Hawkes λ (Lambda):** Self-exciting jump intensity (0.00-1.00)
- **Jump Status:** 🚨 JUMP (active) / ✅ NORM (normal)
### Settings Summary Section (Large Dashboard)
**Active Configuration Display:**
- **Sensitivity:** Current master sensitivity setting
- **Lookback:** Primary analysis window
- **Theme:** Active color scheme
- **Method:** Hurst calculation method (Classic R/S, Adaptive R/S, DFA)
**Dashboard Sizing Options:**
- **Small:** Essential metrics only (mobile/small screens)
- **Normal:** Balanced information density (standard desktop)
- **Large:** Maximum detail (multi-monitor setups)
**Position Options:**
- **Top Right:** Standard placement (avoids price action)
- **Top Left:** Wide chart optimization
- **Bottom Right:** Recent price focus (scalping)
- **Bottom Left:** Maximum price visibility (swing trading)
---
## 🎯 SIGNAL GENERATION LOGIC
### Multi-Component Convergence System
**Component Signal Architecture:**
The TMAE generates signals through sophisticated component analysis rather than simple threshold crossing:
**Volatility Component:**
- **Jump Detection:** Mahalanobis distance threshold breach
- **Hawkes Intensity:** Self-exciting process activation (>0.2)
- **Multi-dimensional:** Considers all volatility dimensions simultaneously
**Hurst Regime Component:**
- **Trending Markets:** Price above SMA-20 with positive momentum
- **Mean-Reverting Markets:** Price at Bollinger Band extremes
- **Random Markets:** Bollinger squeeze breakouts with directional confirmation
**Transfer Entropy Component:**
- **Volume Leadership:** Information flow from volume to price
- **Volume Spike:** Volume 110%+ above 20-period average
- **Flow Significance:** Above entropy threshold with directional bias
### Democratic Signal Weighting
**Signal Mode Implementation:**
- **Aggressive Mode:** Any single component triggers signal
- **Confluence Mode:** Minimum 2 components must agree
- **Conservative Mode:** All 3 components must align
**Momentum Confirmation:**
All signals require momentum confirmation:
- **Long Signals:** RSI >50 AND price >EMA-9
- **Short Signals:** RSI <50 AND price 0.6):**
- **Increase Sensitivity:** Catch momentum continuation
- **Lower Mean Reversion Threshold:** Avoid counter-trend signals
- **Emphasize Volume Leadership:** Institutional accumulation/distribution
- **Tensor Field Focus:** Use expansion for trend continuation
- **Signal Mode:** Aggressive or Confluence for trend following
**Range-Bound Markets (Hurst <0.4):**
- **Decrease Sensitivity:** Avoid false breakouts
- **Lower Trending Threshold:** Quick regime recognition
- **Focus on Price Leadership:** Retail sentiment extremes
- **Fractal Grid Emphasis:** Support/resistance trading
- **Signal Mode:** Conservative for high-probability reversals
**Volatile Markets (High Jump Frequency):**
- **Increase Hawkes Decay:** Recognize event clustering
- **Higher Jump Threshold:** Avoid noise signals
- **Maximum Dimensions:** Capture full volatility complexity
- **Reduce Position Sizing:** Risk management adaptation
- **Enhanced Visuals:** Maximum information for rapid decisions
**Low Volatility Markets (Low Jump Frequency):**
- **Decrease Jump Threshold:** Capture subtle movements
- **Lower Hawkes Decay:** Treat moves as independent
- **Reduce Dimensions:** Simplify analysis
- **Increase Position Sizing:** Capitalize on compressed volatility
- **Minimal Visuals:** Reduce distraction in quiet markets
---
## 🚀 ADVANCED TRADING STRATEGIES
### The Mathematical Convergence Method
**Entry Protocol:**
1. **Fractal Grid Approach:** Monitor price approaching significant fractal levels
2. **Tensor Field Confirmation:** Verify field expansion supporting direction
3. **Portal Signal:** Wait for dimensional portal appearance
4. **ELITE/STRONG Quality:** Only trade highest quality mathematical signals
5. **Component Consensus:** Confirm 2+ components agree in Confluence mode
**Example Implementation:**
- Price approaching 21-period fractal high
- Tensor field expanding upward (bullish mathematical alignment)
- Green portal appears below price (trending regime confirmation)
- ELITE quality signal with 3/3 components active
- Enter long position with stop below fractal level
**Risk Management:**
- **Stop Placement:** Below/above fractal level that generated signal
- **Position Sizing:** Based on Mahalanobis distance (higher distance = smaller size)
- **Profit Targets:** Next fractal level or tensor field resistance
### The Regime Transition Strategy
**Regime Change Detection:**
1. **Monitor Hurst Exponent:** Watch for persistent moves above/below thresholds
2. **Portal Color Change:** Regime transitions show different portal colors
3. **Background Intensity:** Increasing regime background intensity
4. **Mathematical Confirmation:** Wait for regime confirmation (hysteresis)
**Trading Implementation:**
- **Trending Transitions:** Trade momentum breakouts, follow trend
- **Mean Reversion Transitions:** Trade range boundaries, fade extremes
- **Random Transitions:** Trade breakouts with tight stops
**Advanced Techniques:**
- **Multi-Timeframe:** Confirm regime on higher timeframe
- **Early Entry:** Enter on regime transition rather than confirmation
- **Regime Strength:** Larger positions during strong regime signals
### The Information Flow Momentum Strategy
**Flow Detection Protocol:**
1. **Monitor Transfer Entropy:** Watch for significant information flow shifts
2. **Volume Leadership:** Strong edge when volume leads price
3. **Flow Acceleration:** Increasing flow strength indicates momentum
4. **Directional Confirmation:** Ensure flow aligns with intended trade direction
**Entry Signals:**
- **Volume → Price Flow:** Enter during accumulation/distribution phases
- **Price → Volume Flow:** Enter on momentum confirmation breaks
- **Flow Reversal:** Counter-trend entries when flow reverses
**Optimization:**
- **Scalping:** Use immediate flow detection (2-5 bar lag)
- **Swing Trading:** Use structural flow (10-20 bar lag)
- **Multi-Asset:** Compare flow between correlated assets
### The Tensor Field Expansion Strategy
**Field Mathematics:**
The tensor field expansion indicates mathematical pressure building in market structure:
**Expansion Phases:**
1. **Compression:** Field contracts, volatility decreases
2. **Tension Building:** Mathematical pressure accumulates
3. **Expansion:** Field expands rapidly with directional movement
4. **Resolution:** Field stabilizes at new equilibrium
**Trading Applications:**
- **Compression Trading:** Prepare for breakout during field contraction
- **Expansion Following:** Trade direction of field expansion
- **Reversion Trading:** Fade extreme field expansion
- **Multi-Dimensional:** Consider all field layers for confirmation
### The Hawkes Process Event Strategy
**Self-Exciting Jump Trading:**
Understanding that market shocks cluster and create follow-on opportunities:
**Jump Sequence Analysis:**
1. **Initial Jump:** First volatility jump detected
2. **Clustering Phase:** Hawkes intensity remains elevated
3. **Follow-On Opportunities:** Additional jumps more likely
4. **Decay Period:** Intensity gradually decreases
**Implementation:**
- **Jump Confirmation:** Wait for mathematical jump confirmation
- **Direction Assessment:** Use other components for direction
- **Clustering Trades:** Trade subsequent moves during high intensity
- **Decay Exit:** Exit positions as Hawkes intensity decays
### The Fractal Confluence System
**Multi-Timeframe Fractal Analysis:**
Combining fractal levels across different periods for high-probability zones:
**Confluence Zones:**
- **Double Confluence:** 2 fractal levels align
- **Triple Confluence:** 3+ fractal levels cluster
- **Mathematical Confirmation:** Tensor field supports the level
- **Information Flow:** Transfer entropy confirms direction
**Trading Protocol:**
1. **Identify Confluence:** Find 2+ fractal levels within 1 ATR
2. **Mathematical Support:** Verify tensor field alignment
3. **Signal Quality:** Wait for STRONG or ELITE signal
4. **Risk Definition:** Use fractal level for stop placement
5. **Profit Targeting:** Next major fractal confluence zone
---
## ⚠️ COMPREHENSIVE RISK MANAGEMENT
### Mathematical Position Sizing
**Mahalanobis Distance Integration:**
Position size should inversely correlate with mathematical field strength:
```
Position Size = Base Size × (Threshold / Mahalanobis Distance)
```
**Risk Scaling Matrix:**
- **Low Field Strength (<2.0):** Standard position sizing
- **Moderate Field Strength (2.0-3.0):** 75% position sizing
- **High Field Strength (3.0-4.0):** 50% position sizing
- **Extreme Field Strength (>4.0):** 25% position sizing or no trade
### Signal Quality Risk Adjustment
**Quality-Based Position Sizing:**
- **ELITE Signals:** 100% of planned position size
- **STRONG Signals:** 75% of planned position size
- **GOOD Signals:** 50% of planned position size
- **WEAK Signals:** No position or paper trading only
**Component Agreement Scaling:**
- **3/3 Components:** Full position size
- **2/3 Components:** 75% position size
- **1/3 Components:** 50% position size or skip trade
### Regime-Adaptive Risk Management
**Trending Market Risk:**
- **Wider Stops:** Allow for trend continuation
- **Trend Following:** Trade with regime direction
- **Higher Position Size:** Trend probability advantage
- **Momentum Stops:** Trail stops based on momentum indicators
**Mean-Reverting Market Risk:**
- **Tighter Stops:** Quick exits on trend continuation
- **Contrarian Positioning:** Trade against extremes
- **Smaller Position Size:** Higher reversal failure rate
- **Level-Based Stops:** Use fractal levels for stops
**Random Market Risk:**
- **Breakout Focus:** Trade only clear breakouts
- **Tight Initial Stops:** Quick exit if breakout fails
- **Reduced Frequency:** Skip marginal setups
- **Range-Based Targets:** Profit targets at range boundaries
### Volatility-Adaptive Risk Controls
**High Volatility Periods:**
- **Reduced Position Size:** Account for wider price swings
- **Wider Stops:** Avoid noise-based exits
- **Lower Frequency:** Skip marginal setups
- **Faster Exits:** Take profits more quickly
**Low Volatility Periods:**
- **Standard Position Size:** Normal risk parameters
- **Tighter Stops:** Take advantage of compressed ranges
- **Higher Frequency:** Trade more setups
- **Extended Targets:** Allow for compressed volatility expansion
### Multi-Timeframe Risk Alignment
**Higher Timeframe Trend:**
- **With Trend:** Standard or increased position size
- **Against Trend:** Reduced position size or skip
- **Neutral Trend:** Standard position size with tight management
**Risk Hierarchy:**
1. **Primary:** Current timeframe signal quality
2. **Secondary:** Higher timeframe trend alignment
3. **Tertiary:** Mathematical field strength
4. **Quaternary:** Market regime classification
---
## 📚 EDUCATIONAL VALUE AND MATHEMATICAL CONCEPTS
### Advanced Mathematical Concepts
**Tensor Analysis in Markets:**
The TMAE introduces traders to tensor analysis, a branch of mathematics typically reserved for physics and advanced engineering. Tensors provide a framework for understanding multi-dimensional market relationships that scalar and vector analysis cannot capture.
**Information Theory Applications:**
Transfer entropy implementation teaches traders about information flow in markets, a concept from information theory that quantifies directional causality between variables. This provides intuition about market microstructure and participant behavior.
**Fractal Geometry in Trading:**
The Hurst exponent calculation exposes traders to fractal geometry concepts, helping understand that markets exhibit self-similar patterns across multiple timeframes. This mathematical insight transforms how traders view market structure.
**Stochastic Process Theory:**
The Hawkes process implementation introduces concepts from stochastic process theory, specifically self-exciting point processes. This provides mathematical framework for understanding why market events cluster and exhibit memory effects.
### Learning Progressive Complexity
**Beginner Mathematical Concepts:**
- **Volatility Dimensions:** Understanding multi-dimensional analysis
- **Regime Classification:** Learning market personality types
- **Signal Democracy:** Algorithmic consensus building
- **Visual Mathematics:** Interpreting mathematical concepts visually
**Intermediate Mathematical Applications:**
- **Mahalanobis Distance:** Statistical distance in multi-dimensional space
- **Rescaled Range Analysis:** Fractal dimension measurement
- **Information Entropy:** Quantifying uncertainty and causality
- **Field Theory:** Understanding mathematical fields in market context
**Advanced Mathematical Integration:**
- **Tensor Field Dynamics:** Multi-dimensional market force analysis
- **Stochastic Self-Excitation:** Event clustering and memory effects
- **Categorical Composition:** Mathematical signal combination theory
- **Topological Market Analysis:** Understanding market shape and connectivity
### Practical Mathematical Intuition
**Developing Market Mathematics Intuition:**
The TMAE serves as a bridge between abstract mathematical concepts and practical trading applications. Traders develop intuitive understanding of:
- **How markets exhibit mathematical structure beneath apparent randomness**
- **Why multi-dimensional analysis reveals patterns invisible to single-variable approaches**
- **How information flows through markets in measurable, predictable ways**
- **Why mathematical models provide probabilistic edges rather than certainties**
---
## 🔬 IMPLEMENTATION AND OPTIMIZATION
### Getting Started Protocol
**Phase 1: Observation (Week 1)**
1. **Apply with defaults:** Use standard settings on your primary trading timeframe
2. **Study visual elements:** Learn to interpret tensor fields, portals, and streams
3. **Monitor dashboard:** Observe how metrics change with market conditions
4. **No trading:** Focus entirely on pattern recognition and understanding
**Phase 2: Pattern Recognition (Week 2-3)**
1. **Identify signal patterns:** Note what market conditions produce different signal qualities
2. **Regime correlation:** Observe how Hurst regimes affect signal performance
3. **Visual confirmation:** Learn to read tensor field expansion and portal signals
4. **Component analysis:** Understand which components drive signals in different markets
**Phase 3: Parameter Optimization (Week 4-5)**
1. **Asset-specific tuning:** Adjust parameters for your specific trading instrument
2. **Timeframe optimization:** Fine-tune for your preferred trading timeframe
3. **Sensitivity adjustment:** Balance signal frequency with quality
4. **Visual customization:** Optimize colors and intensity for your trading environment
**Phase 4: Live Implementation (Week 6+)**
1. **Paper trading:** Test signals with hypothetical trades
2. **Small position sizing:** Begin with minimal risk during learning phase
3. **Performance tracking:** Monitor actual vs. expected signal performance
4. **Continuous optimization:** Refine settings based on real performance data
### Performance Monitoring System
**Signal Quality Tracking:**
- **ELITE Signal Win Rate:** Track highest quality signals separately
- **Component Performance:** Monitor which components provide best signals
- **Regime Performance:** Analyze performance across different market regimes
- **Timeframe Analysis:** Compare performance across different session times
**Mathematical Metric Correlation:**
- **Field Strength vs. Performance:** Higher field strength should correlate with better performance
- **Component Agreement vs. Win Rate:** More component agreement should improve win rates
- **Regime Alignment vs. Success:** Trading with mathematical regime should outperform
### Continuous Optimization Process
**Monthly Review Protocol:**
1. **Performance Analysis:** Review win rates, profit factors, and maximum drawdown
2. **Parameter Assessment:** Evaluate if current settings remain optimal
3. **Market Adaptation:** Adjust for changes in market character or volatility
4. **Component Weighting:** Consider if certain components should receive more/less emphasis
**Quarterly Deep Analysis:**
1. **Mathematical Model Validation:** Verify that mathematical relationships remain valid
2. **Regime Distribution:** Analyze time spent in different market regimes
3. **Signal Evolution:** Track how signal characteristics change over time
4. **Correlation Analysis:** Monitor correlations between different mathematical components
---
## 🌟 UNIQUE INNOVATIONS AND CONTRIBUTIONS
### Revolutionary Mathematical Integration
**First-Ever Implementations:**
1. **Multi-Dimensional Volatility Tensor:** First indicator to implement true tensor analysis for market volatility
2. **Real-Time Hawkes Process:** First trading implementation of self-exciting point processes
3. **Transfer Entropy Trading Signals:** First practical application of information theory for trade generation
4. **Democratic Component Voting:** First algorithmic consensus system for signal generation
5. **Fractal-Projected Signal Quality:** First system to predict signal quality at future price levels
### Advanced Visualization Innovations
**Mathematical Visualization Breakthroughs:**
- **Tensor Field Radiation:** Visual representation of mathematical field energy
- **Dimensional Portal System:** Category theory visualization for regime transitions
- **Information Flow Streams:** Real-time visual display of market information transfer
- **Multi-Layer Fractal Grid:** Intelligent spacing and projection system
- **Regime Intensity Mapping:** Dynamic background showing mathematical regime strength
### Practical Trading Innovations
**Trading System Advances:**
- **Quality-Weighted Signal Generation:** Signals rated by mathematical confidence
- **Regime-Adaptive Strategy Selection:** Automatic strategy optimization based on market personality
- **Anti-Spam Signal Protection:** Mathematical prevention of signal clustering
- **Component Performance Tracking:** Real-time monitoring of algorithmic component success
- **Field-Strength Position Sizing:** Mathematical volatility integration for risk management
---
## ⚖️ RESPONSIBLE USAGE AND LIMITATIONS
### Mathematical Model Limitations
**Understanding Model Boundaries:**
While the TMAE implements sophisticated mathematical concepts, traders must understand fundamental limitations:
- **Markets Are Not Purely Mathematical:** Human psychology, news events, and fundamental factors create unpredictable elements
- **Past Performance Limitations:** Mathematical relationships that worked historically may not persist indefinitely
- **Model Risk:** Complex models can fail during unprecedented market conditions
- **Overfitting Potential:** Highly optimized parameters may not generalize to future market conditions
### Proper Implementation Guidelines
**Risk Management Requirements:**
- **Never Risk More Than 2% Per Trade:** Regardless of signal quality
- **Diversification Mandatory:** Don't rely solely on mathematical signals
- **Position Sizing Discipline:** Use mathematical field strength for sizing, not confidence
- **Stop Loss Non-Negotiable:** Every trade must have predefined risk parameters
**Realistic Expectations:**
- **Mathematical Edge, Not Certainty:** The indicator provides probabilistic advantages, not guaranteed outcomes
- **Learning Curve Required:** Complex mathematical concepts require time to master
- **Market Adaptation Necessary:** Parameters must evolve with changing market conditions
- **Continuous Education Important:** Understanding underlying mathematics improves application
### Ethical Trading Considerations
**Market Impact Awareness:**
- **Information Asymmetry:** Advanced mathematical analysis may provide advantages over other market participants
- **Position Size Responsibility:** Large positions based on mathematical signals can impact market structure
- **Sharing Knowledge:** Consider educational contributions to trading community
- **Fair Market Participation:** Use mathematical advantages responsibly within market framework
### Professional Development Path
**Skill Development Sequence:**
1. **Basic Mathematical Literacy:** Understand fundamental concepts before advanced application
2. **Risk Management Mastery:** Develop disciplined risk control before relying on complex signals
3. **Market Psychology Understanding:** Combine mathematical analysis with behavioral market insights
4. **Continuous Learning:** Stay updated on mathematical finance developments and market evolution
---
## 🔮 CONCLUSION
The Tensor Market Analysis Engine represents a quantum leap forward in technical analysis, successfully bridging the gap between advanced pure mathematics and practical trading applications. By integrating multi-dimensional volatility analysis, fractal market theory, and information flow dynamics, the TMAE reveals market structure invisible to conventional analysis while maintaining visual clarity and practical usability.
### Mathematical Innovation Legacy
This indicator establishes new paradigms in technical analysis:
- **Tensor analysis for market volatility understanding**
- **Stochastic self-excitation for event clustering prediction**
- **Information theory for causality-based trade generation**
- **Democratic algorithmic consensus for signal quality enhancement**
- **Mathematical field visualization for intuitive market understanding**
### Practical Trading Revolution
Beyond mathematical innovation, the TMAE transforms practical trading:
- **Quality-rated signals replace binary buy/sell decisions**
- **Regime-adaptive strategies automatically optimize for market personality**
- **Multi-dimensional risk management integrates mathematical volatility measures**
- **Visual mathematical concepts make complex analysis immediately interpretable**
- **Educational value creates lasting improvement in trading understanding**
### Future-Proof Design
The mathematical foundations ensure lasting relevance:
- **Universal mathematical principles transcend market evolution**
- **Multi-dimensional analysis adapts to new market structures**
- **Regime detection automatically adjusts to changing market personalities**
- **Component democracy allows for future algorithmic additions**
- **Mathematical visualization scales with increasing market complexity**
### Commitment to Excellence
The TMAE represents more than an indicator—it embodies a philosophy of bringing rigorous mathematical analysis to trading while maintaining practical utility and visual elegance. Every component, from the multi-dimensional tensor fields to the democratic signal generation, reflects a commitment to mathematical accuracy, trading practicality, and educational value.
### Trading with Mathematical Precision
In an era where markets grow increasingly complex and computational, the TMAE provides traders with mathematical tools previously available only to institutional quantitative research teams. Yet unlike academic mathematical models, the TMAE translates complex concepts into intuitive visual representations and practical trading signals.
By combining the mathematical rigor of tensor analysis, the statistical power of multi-dimensional volatility modeling, and the information-theoretic insights of transfer entropy, traders gain unprecedented insight into market structure and dynamics.
### Final Perspective
Markets, like nature, exhibit profound mathematical beauty beneath apparent chaos. The Tensor Market Analysis Engine serves as a mathematical lens that reveals this hidden order, transforming how traders perceive and interact with market structure.
Through mathematical precision, visual elegance, and practical utility, the TMAE empowers traders to see beyond the noise and trade with the confidence that comes from understanding the mathematical principles governing market behavior.
Trade with mathematical insight. Trade with the power of tensors. Trade with the TMAE.
*"In mathematics, you don't understand things. You just get used to them." - John von Neumann*
*With the TMAE, mathematical market understanding becomes not just possible, but intuitive.*
— Dskyz, Trade with insight. Trade with anticipation.
CHoCH + BOS + LQ Sweep v6.3.8 PRO+Smart Liquidity Sweep & Zone indicator — perfect for identifying LTF & HTF liquidity levels, swing zones, and market structure breaks.
SM/CENKER - Scalping Signal w/ Volume SpikeSM/CENKER - Scalping Signal with Volume Spike
This advanced scalping indicator combines MACD, RSI, EMA, VWAP, and volume spike detection to generate high-probability entry signals. It filters out low-quality setups by confirming entries only during volume surges.
🔍 Key Features:
✅ Volume Spike Filter: Signals are triggered only when volume exceeds 150% of the 20-bar average.
✅ Momentum Cross Confirmation: MACD crossover, RSI conditions, and price above/below EMA & VWAP are all required.
✅ Visual Background: Green or red background highlights BUY/SELL zones for quick decision-making.
✅ Clean Labels: Simple BUY/SELL labels are plotted on the chart.
✅ Optimized for Real-Time Scalping: Works effectively on 1M, 3M, 5M, and 15M charts.
📌 Recommended Timeframes & Settings:
Timeframe EMA RSI MACD Volume Spike Threshold
1 Minute 9 14 12-26-9 1.5x Avg Volume
3 Minute 9 14 12-26-9 1.5x Avg Volume
5 Minute 9 14 12-26-9 1.5x Avg Volume
15 Minute 9 14 12-26-9 1.5x Avg Volume
⚠️ Disclaimer: This script is for educational purposes only and does not constitute financial advice.
Siyonacci-CheapResult:
Single line %K → colors change depending on the signal
Overbought and oversold zones are indicated by levels 80–20
Orange color appears in indecisive signals
SIP Evaluator and Screener [Trendoscope®]The SIP Evaluator and Screener is a Pine Script indicator designed for TradingView to calculate and visualize Systematic Investment Plan (SIP) returns across multiple investment instruments. It is tailored for use in TradingView's screener, enabling users to evaluate SIP performance for various assets efficiently.
🎲 How SIP Works
A Systematic Investment Plan (SIP) is an investment strategy where a fixed amount is invested at regular intervals (e.g., monthly or weekly) into a financial instrument, such as stocks, mutual funds, or ETFs. The goal is to build wealth over time by leveraging the power of compounding and mitigating the impact of market volatility through disciplined, consistent investing. Here’s a breakdown of how SIPs function:
Regular Investments : In an SIP, an investor commits to investing a fixed sum at predefined intervals, regardless of market conditions. This consistency helps inculcate a habit of saving and investing.
Cost Averaging : By investing a fixed amount regularly, investors purchase more units when prices are low and fewer units when prices are high. This approach, known as dollar-cost averaging, reduces the average cost per unit over time and mitigates the risk of investing a large amount at a peak price.
Compounding Benefits : Returns generated from the invested amount (e.g., capital gains or dividends) are reinvested, leading to exponential growth over the long term. The longer the investment horizon, the greater the potential for compounding to amplify returns.
Dividend Reinvestment : In some SIPs, dividends received from the underlying asset can be reinvested to purchase additional units, further enhancing returns. Taxes on dividends, if applicable, may reduce the reinvested amount.
Flexibility and Accessibility : SIPs allow investors to start with small amounts, making them accessible to a wide range of individuals. They also offer flexibility in terms of investment frequency and the ability to adjust or pause contributions.
In the context of the SIP Evaluator and Screener , the script simulates an SIP by calculating the number of units purchased with each fixed investment, factoring in commissions, dividends, taxes and the chosen price reference (e.g., open, close, or average prices). It tracks the cumulative investment, equity value, and dividends over time, providing a clear picture of how an SIP would perform for a given instrument. This helps users understand the impact of regular investing and make informed decisions when comparing different assets in TradingView’s screener. It offers insights into key metrics such as total invested amount, dividends received, equity value, and the number of installments, making it a valuable resource for investors and traders interested in understanding long-term investment outcomes.
🎲 Key Features
Customizable Investment Parameters: Users can define the recurring investment amount, price reference (e.g., open, close, HL2, HLC3, OHLC4), and whether fractional quantities are allowed.
Commission Handling: Supports both fixed and percentage-based commission types, adjusting calculations accordingly.
Dividend Reinvestment: Optionally reinvests dividends after a user-specified period, with the ability to apply tax on dividends.
Time-Bound Analysis: Allows users to set a start year for the analysis, enabling historical performance evaluation.
Flexible Dividend Periods: Dividends can be evaluated based on bars, days, weeks, or months.
Visual Outputs: Plots key metrics like total invested amount, dividends, equity value, and remainder, with customizable display options for clarity in the data window and chart.
🎲 Using the script as an indicator on Tradingview Supercharts
In order to use the indicator on charts, do the following.
Load the instrument of your choice - Preferably a stable stocks, ETFs.
Chose monthly timeframe as lower timeframes are insignificant in this type of investment strategy
Load the indicator SIP Evaluator and Screener and set the input parameters as per your preference.
Indicator plots, investment value, dividends and equity on the chart.
🎲 Visualizations
Installments : Displays the number of SIP installments (gray line, visible in the data window).
Invested Amount : Shows the cumulative amount invested, excluding reinvested dividends (blue area plot).
Dividends : Tracks total dividends received (green area plot).
Equity : Represents the current market value of the investment based on the closing price (purple area plot).
Remainder : Indicates any uninvested cash after each installment (gray line, visible in the data window).
🎲 Deep dive into the settings
The SIP Evaluator and Screener offers a range of customizable settings to tailor the Systematic Investment Plan (SIP) simulation to your preferences. Below is an explanation of each setting, its purpose, and how it impacts the analysis:
🎯 Duration
Start Year (Default: 2020) : Specifies the year from which the SIP calculations begin. When Start Year is enabled via the timebound option, the script only considers data from the specified year onward. This is useful for analyzing historical SIP performance over a defined period. If disabled, the script uses all available data.
Timebound (Default: False) : A toggle to enable or disable the Start Year restriction. When set to False, the SIP calculation starts from the earliest available data for the instrument.
🎯 Investment
Recurring Investment (Default: 1000.0) : The fixed amount invested in each SIP installment (e.g., $1000 per period). This represents the regular contribution to the SIP and directly influences the total invested amount and quantity purchased.
Allow Fractional Qty (Default: True) : When enabled, the script allows the purchase of fractional units (e.g., 2.35 shares). If disabled, only whole units are purchased (e.g., 2 shares), with any remaining funds carried forward as Remainder. This setting impacts the precision of investment allocation.
Price Reference (Default: OPEN): Determines the price used for purchasing units in each SIP installment. Options include:
OPEN : Uses the opening price of the bar.
CLOSE : Uses the closing price of the bar.
HL2 : Uses the average of the high and low prices.
HLC3 : Uses the average of the high, low, and close prices.
OHLC4 : Uses the average of the open, high, low, and close prices. This setting affects the cost basis of each purchase and, consequently, the total quantity and equity value.
🎯 Commission
Commission (Default: 3) : The commission charged per SIP installment, expressed as either a fixed amount (e.g., $3) or a percentage (e.g., 3% of the investment). This reduces the amount available for purchasing units.
Commission Type (Default: Fixed) : Specifies how the commission is calculated:
Fixed ($) : A flat fee is deducted per installment (e.g., $3).
Percentage (%) : A percentage of the investment amount is deducted as commission (e.g., 3% of $1000 = $30). This setting affects the net amount invested and the overall cost of the SIP.
🎯 Dividends
Apply Tax On Dividends (Default: False) : When enabled, a tax is applied to dividends before they are reinvested or recorded. The tax rate is set via the Dividend Tax setting.
Dividend Tax (Default: 47) : The percentage of tax deducted from dividends if Apply Tax On Dividends is enabled (e.g., 47% tax reduces a $100 dividend to $53). This reduces the amount available for reinvestment or accumulation.
Reinvest Dividends After (Default: True, 2) : When enabled, dividends received are reinvested to purchase additional units after a specified period (e.g., 2 units of time, defined by Dividends Availability). If disabled, dividends are tracked but not reinvested. Reinvestment increases the total quantity and equity over time.
Dividends Availability (Default: Bars) : Defines the time unit for evaluating when dividends are available for reinvestment. Options include:
Bars : Based on the number of chart bars.
Weeks : Based on weeks.
Months : Based on months (approximated as 30.5 days). This setting determines the timing of dividend reinvestment relative to the Reinvest Dividends After period.
🎯 How Settings Interact
These settings work together to simulate a realistic SIP. For example, a $1000 recurring investment with a 3% commission and fractional quantities enabled will calculate the number of units purchased at the chosen price reference after deducting the commission. If dividends are reinvested after 2 months with a 47% tax, the script fetches dividend data, applies the tax, and adds the net dividend to the investment amount for that period. The Start Year and Timebound settings ensure the analysis aligns with the desired timeframe, while the Dividends Availability setting fine-tunes dividend reinvestment timing.
By adjusting these settings, users can model different SIP scenarios, compare performance across instruments in TradingView’s screener, and gain insights into how commissions, dividends, and price references impact long-term returns.
🎲 Using the script with Pine Screener
The main purpose of developing this script is to use it with Tradingview Pine Screener so that multiple ETFs/Funds can be compared.
In order to use this as a screener, the following things needs to be done.
Add SIP Evaluator and Screener to your favourites (Required for it to be added in pine screener)
Create a watch list containing required instruments to compare
Open pine screener from Tradingview main menu Products -> Screeners -> Pine or simply load the URL - www.tradingview.com
Select the watchlist created from Watchlist dropdown.
Chose the SIP Evaluator and Screener from the "Choose Indicator" dropdown
Set timeframe to 1 month and update settings as required.
Press scan to display collected data on the screener.
🎲 Use Case
This indicator is ideal for educational purposes, allowing users to experiment with SIP strategies across different instruments. It can be applied in TradingView’s screener to compare SIP performance for stocks, ETFs, or other assets, helping users understand how factors like commissions, dividends, and price references impact returns over time.
Supertrend MACD StrategySupertrend MACD Strategy - Description & Usage Guide
🚀 EARLY ACCESS INDICATOR
This is an early access version of my Supertrend MACD Strategy.
📊 What Is This Indicator?
The Supertrend MACD Strategy combines the power of MACD signals with filtering mechanisms to work seamlessly across ALL trading instruments - from forex and crypto to stocks and commodities.
Unlike traditional MACD indicators that only work well on specific assets, this universal version automatically adapts to any market's price structure and volatility characteristics.
Key Features:
✅ Universal Compatibility - Works on ANY trading pair without manual adjustments
✅ Smart Multi-Filter System - Combines MACD, ATR, ADX, and higher timeframe analysis
✅ Non-Repainting Signals - Signals form after candle close and never change
✅ Trend Continuation Tracking - BUY+/SELL+ signals for trend strength
✅ Structure Break Detection - Identifies major market shifts
✅ Visual Signal Line - Clear trend state indicator on chart
🎯 How The Signals Work
Signal Types:
BUY (Green) - Initial buy signal when all filters align
SELL (Red) - Initial sell signal when all filters align
BUY+ (Purple) - Second confirmation signal in uptrend
SELL+ (Purple) - Second confirmation signal in downtrend
Triangle Arrows - Additional trend continuation signals (optional)
Signal Formation:
⚠️ IMPORTANT: All signals form AFTER the second candle closes and MAY NOT REPAINT. Once a signal appears, it's final and will never disappear or change position.
🛠️ How To Use This Indicator
Basic Setup:
Add the indicator to any chart (works on all timeframes)
Default settings work for most instruments
Enable "Show Debug Info" to see real-time filter values
Set up alerts for automated notifications
Entry Strategies:
Conservative Approach:
Enter on BUY+ or SELL+ signals (purple labels)
These are second confirmations with higher probability
Wait for signal line color to match your trade direction
Aggressive Approach:
Enter on first BUY or SELL signals (green/red labels)
Use tight stop losses below/above recent swing points
Scale in with additional positions on BUY+/SELL+ signals
Exit Strategies:
Exit when opposite signal appears
Use trailing stops following the signal line
Take partial profits at key resistance/support levels
🔧 Advanced Filter Explanations
ATR Volatility Filter:
Ensures sufficient market movement before signaling
Percentage-based for universal compatibility
Higher values = fewer but higher quality signals
ADX Trend Strength:
Confirms trend momentum before entry
Default 15 works for most markets
Higher values filter out weak trends
Higher Timeframe Confirmation:
Aligns signals with larger trend direction
Default 1-hour works for most timeframes
Use 4H for daily charts, Daily for weekly charts
Structure Break Detection:
Identifies when price breaks significant levels
BOS+ signals indicate strong momentum
Percentage-based for universal scaling
🚨 Important Disclaimers
Signal Timing:
Signals appear AFTER second candle close only
low chance of repainting - signals never change once formed
Real-time bar shows potential signal until close
Risk Management:
This indicator provides signals, not trade outcomes
Always use proper position sizing and stop losses
Backtest thoroughly before live trading
Markets can remain irrational longer than expected
Early Access Notes:
This is a pre-release version with ongoing improvements
Settings may be refined based on user feedback
Additional features planned for future updates
Report any issues or suggestions for enhancement
as said before this is indicator is in its early days so is subject to big changes
Version 1.0 (22 JUNE 25)
Trade responsibly and always conduct your own analysis before making trading decisions.
DD_ORBORB STRATEGY OR OPEN RANGE BREAKOUT STRATEGY
The Opening Range Breakout (ORB) Strategy is a time-based intraday trading method where traders define a specific opening time window—usually the first 5, 15, or 30 minutes after market open to mark the high and low of that range.
A trade is triggered when price breaks out of this range:
📈 Buy when price breaks and closes above the opening range high
📉 Sell when price breaks and closes below the opening range low
This strategy works best on highly volatile instruments and is ideal for capturing early directional momentum. It’s commonly used by intraday traders to catch big moves that often occur after the market establishes its initial trend.
THIS INDICATOR PLOTS THE RANGE AUTOMATICALLY.
RSI Divergence (Nikko)I’ve modified the original RSI Divergence script by *faytterro* to better suit my own needs, and I’m publishing the result here.
First of all, a big thank you to *faytterro* for developing such a fast and well-structured RSI divergence tool. You can find the original version here:
👉
In my version, I’ve added additional parameters—for example, the ability to enable or disable the labels. I’ve also adjusted the visual style to make it more readable, with cleaner divergence lines and less intrusive labeling. Of course, visual preferences vary, so you can tweak the width of the bullish/bearish lines to your liking.
The core logic and functioning remain the same. This is a Pine Script v6 indicator, and the foundation built by the original author is solid and well-maintained.
Personally, I use this script constantly, which is why I took the time to improve and adapt it.
All credit for the original logic and excellent coding goes to *faytterro*.
Percent Change IndicatorPercent Change Indicator Description
Overview:
The Percent Change Indicator is a Pine Script (version 6) indicator designed for TradingView to calculate and visualize the percentage change of the current close price relative to a user-selected reference price. It provides a customizable interface to display percentage changes as candlesticks or a line plot, with optional horizontal lines and labels for key levels. The indicator also includes visual signals and alerts for user-defined percentage thresholds, making it useful for identifying significant price movements.
Key Features:
1. Percentage Change Calculation:
- Computes the percentage change of the current close price compared to a reference price, scaled by a user-defined length parameter.
- Formula: percentChange = (close - refPrice) / refPrice * len
- The reference price is sourced from a user-selected timeframe (default: 1D) and price type (Open, High, Low, Close, HL2, HLC3, or HLCC4).
2. Visualization Options:
- Candlestick Plot: Displays percentage change as candlesticks, colored green for rising values and red for falling values.
- Line Plot: Plots the percentage change as a line, with the same color logic.
- Horizontal Lines: Optional horizontal lines at key percentage levels (0%, ±0.2%, ±0.5%, ±0.8%, ±1%) for reference.
- Labels: Optional labels for percentage levels (0, ±15%, ±35%, ±50%, ±65%, ±85%, ±100%) displayed at the chart's right edge.
- All visualizations are toggleable via input settings.
3. Signal and Alert System:
- Threshold-Based Signals: Plots green triangles below bars for long signals (percent change above a user-defined threshold) and red triangles above bars for short signals (percent change below the threshold).
- Alerts: Configurable alerts for long and short conditions, triggered when the percentage change crosses the user-defined threshold (default: 2%). Alert messages include the threshold value for clarity.
4. Customizable Inputs:
- Show Labels: Toggle visibility of percentage level labels (default: true).
- Show Percentage Change: Toggle the line plot of percentage change (default: true).
- Show HLines: Toggle visibility of horizontal reference lines (default: false).
- Show Candle Plot: Toggle the candlestick plot (default: true).
- Percent Change Length: Adjust the scaling factor for percentage change (default: 14).
- Plot Timeframe: Select the timeframe for the reference price (default: 1D).
- Price Type: Choose the reference price type (Open, High, Low, Close, HL2, HLC3, HLCC4; default: Open).
- Percentage Threshold: Set the threshold for long/short signals and alerts (default: 0.02 or 2%).
How It Works:
- The indicator fetches the reference price using request.security() based on the selected timeframe and price type.
- It calculates the percentage change and scales it by the user-defined length.
- Visuals (candlesticks, lines, labels, horizontal lines) are plotted based on user preferences.
- Long and short signals are generated when the percentage change exceeds or falls below the user-defined threshold, with corresponding triangles plotted and alerts triggered.
Use Cases:
- Trend Identification: Monitor significant price movements relative to a reference price.
- Signal Generation: Identify potential entry/exit points based on percentage change thresholds.
- Custom Analysis: Analyze price changes across different timeframes and price types for various trading strategies.
- Alert Notifications: Receive alerts for significant price movements to stay informed without constant chart monitoring.
Setup Instructions:
1. Add the indicator to a TradingView chart.
2. Adjust input settings (timeframe, price type, threshold, etc.) to suit your analysis.
3. Enable/disable visualization options (candlesticks, lines, labels, horizontal lines) as needed.
4. Set up alerts in TradingView:
- Go to the "Alerts" tab and select "Percent Change Indicator."
- Choose "Long Alert" or "Short Alert" to monitor threshold crossings.
- Configure alert frequency and notification method (e.g., email, webhook).
Notes:
- The indicator is non-overlay, displayed in a separate pane below the main chart.
- Alerts trigger on bar close by default; adjust TradingView alert settings for real-time notifications if needed.
- The indicator is released under the Mozilla Public License 2.0.
Author: Dshergill
This indicator is ideal for traders seeking a flexible tool to track percentage-based price movements with customizable visuals and alerts.
✅ SM/CENKER - Sniper Trend Filtered Entry v2🔫 SM/CENKER - Sniper Trend Filtered Entry v2
This script is a sniper entry tool combining EMA200 trend filter with a multi-confirmation system based on RSI, MACD, volume spikes, and candlestick patterns.
🚀 Features:
✅ EMA200 Trend Filter: Entries only in the trend direction
📈 RSI Breakouts: 30/70 level cross for early momentum confirmation
📊 MACD Crossovers: Momentum alignment with trend
🔊 Volume Spike Detection: Validates strong candles
🕯️ Candlestick Patterns: Detects Engulfing & Pin Bar setups
🎯 Minimum Score Filter: Filters out weak or noisy signals
🔔 Built-in Alerts for Long & Short signals
📱 Mobile-Friendly Labels: Adjustable label size
⏱️ Suggested Timeframes:
Optimized for 1M, 3M, 5M, and 15M charts.
Best suited for scalping and intraday trading.
⚠️ Disclaimer: This script is for educational and analytical purposes only. It does not constitute financial advice.
Universal Sentiment Oscillator with Trade RecommendationsUniversal Sentiment Oscillator & Strategy Guide
Summary
This all-in-one indicator is designed to be a comprehensive co-pilot for your trading journey. It moves beyond simple buy/sell signals by analyzing the underlying market sentiment and providing a dynamic, risk-assessed guide of potential trading strategies. Whether you're a novice learning the ropes or an expert seeking confirmation, this tool provides a structured framework for making smarter, more informed decisions in stocks, options, and futures.
How It Works
The core of the indicator is the Sentiment Oscillator, which calculates a score from -5 (Extremely Bearish) to +5 (Extremely Bullish) on every bar. This isn't just a single measurement; it's a weighted aggregate of several key technical conditions:
Trend Analysis: Price position relative to the 20, 50, and 200 EMAs.
Momentum Analysis: The current RSI value.
Hybrid Analysis: The state of the MACD and its signal line.
These factors are intelligently combined and normalized to produce a single, intuitive sentiment score, giving you an at-a-glance understanding of the market's pulse.
Core Features
Dynamic Trade Recommendation Table:
The informational heart of the indicator. This on-chart table provides a list of potential trades perfectly aligned with the current sentiment score.
Risk-Ranked Strategies:
All suggested trades are logically ordered by risk, helping you quickly identify strategies that match your comfort level.
Adjusted Trade Suggestions:
The indicator analyzes sentiment momentum (the score vs. its signal line) to provide proactive, forward-looking trade ideas based on where the market might be heading next.
Customizable Trading Styles:
Tell the indicator if you are a Conservative, Neutral, or Aggressive trader, and the "Adjusted Trade Suggestion" will automatically tailor its recommendations to your personal risk preference.
Context-Aware Futures Mode:
When viewing a futures contract, enable this mode to switch all recommendations from stock/options to futures-specific actions (e.g., "Cautious Long," "Monitor Range").
Predictive Sentiment Cone:
Visualize the potential short-term path of sentiment based on current momentum, helping you anticipate future conditions.
Fully Customizable:
Every parameter—from EMA lengths to trade filters—can be adjusted, allowing you to fine-tune the indicator to your exact specifications.
How to Use This Indicator
This tool is flexible and can be integrated into many trading systems. Here is a powerful, professional approach:
Top-Down Analysis (for Swing or Position Trading):
Establish the Trend: Start on the higher timeframes (Monthly, Weekly, Daily). Use the oscillator's color and score to define the dominant, long-term market sentiment. You only want to look for trades that align with this macro trend.
Refine the Entry: Drop down to the medium timeframes (4-Hour, 1-Hour). Wait for the sentiment on these charts to come into alignment with the higher-timeframe trend. This pullback or consolidation is your "zone of interest."
Pinpoint the Execution: Move to a lower timeframe (e.g., 15-Minute). Use the Adjusted Trade Suggestion and Sentiment Momentum to find a precise entry as momentum begins to shift back in the direction of the primary trend. You can set alerts on the oscillator's zero-line for early warnings of a sentiment shift.
As a Confirmation Tool: If you have an existing trade idea, use the indicator to validate it. Does the sentiment score align with your bullish or bearish thesis? Does the momentum confirm that now is a good time to enter?
As an Idea Generation Tool: Unsure what to trade? Browse different assets and let the indicator's "Primary Trades" and "Adjusted Trade Suggestion" present you with a list of risk-assessed ideas that you can then investigate further.
Disclaimer: This is an analysis tool and should not be considered financial advice. All forms of trading involve substantial risk. You should not trade with money you cannot afford to lose. Always perform your own due diligence and use this indicator as one component of a complete trading plan.
Buy/Sell Alert Signal (Fibo & Keltner) | TCMaster🔹 Buy/Sell Alert Signal (Fibo & Keltner)
This script is designed to help traders identify potential buy and sell reversal zones during pullbacks, using a combination of commonly known technical tools. It is intended for educational and informational purposes.
🔍 How It Works:
The indicator detects signals based on the following conditions:
Fibonacci Pullback Level (0.5): Price pulls back to the midpoint between recent swing high and low.
Keltner Channel Filter: Price touches or exceeds the upper or lower Keltner band.
Reversal Candle Patterns:
Bullish: Bullish Engulfing, Hammer, Morning Star
Bearish: Bearish Engulfing, Shooting Star, Evening Star
Volume Spike: Volume is greater than a multiple of the 20-period average.
A buy signal is shown when the above conditions align during a downward pullback.
A sell signal is shown under opposite conditions during an upward pullback.
Signals are plotted as:
Green triangle below candle (Buy)
Red triangle above candle (Sell)
⚙️ Inputs & Customization:
Users can adjust:
Lookback period for swing detection
Volume spike sensitivity
Keltner Channel length and multiplier
Toggle signal visualization
📌 Important Notes:
This indicator is not a standalone trading system. Users should combine it with trend filters or other forms of confirmation.
Past performance is not indicative of future results.
For learning and testing purposes only.
Support & ResistanceWhat is this script ?
Pivot points are tools used to identify potential support and resistance levels in trading. They are calculated using the previous period’s high, low, and close prices. This script leverages pivot points to plot up to four support levels and four resistance levels, helping traders visualize key price zones.
How to Use the Script?
Support and resistance levels represent price zones where significant liquidity often exists due to past price interactions. These levels are critical for traders to:
Assess Trend Continuation or Reversal: Prices may pause, reverse, or break through at these levels, signaling potential trend changes or continuations.
Manage Risk: Support and resistance levels are ideal for placing stop-loss orders or setting profit targets, as they indicate areas where price reactions are likely.
Plan Entries and Exits: Traders can buy near support levels, sell near resistance levels, or trade breakouts when prices move decisively beyond these zones.
ReisAcademy - Liquidity SweepsinitData.content = {"name":"Adsız","layout":"s","charts": [{"panes":[{"sources":[{"type":"MainSeries","id":"_seriesId","zorder":0,"haStyle":{"studyId":"BarSetHeikenAshi@tv-basicstudies-60"},"renkoStyle":{"studyId":"BarSetRenko@tv-prostudies-73"},"pbStyle":{"studyId":"BarSetPriceBreak@tv-prostudies-34"},"kagiStyle":{"studyId":"BarSetKagi@tv-prostudies-73"},"pnfStyle":{"studyId":"BarSetPnF@tv-prostudies-73"},"rangeStyle":{"studyId":"BarSetRange@tv-basicstudies-72"},"volFootprintStyle":{"studyId":"Footprint@tv-volumebyprice-104"},"tpoStyle":{"studyId":"TPOPeriodic@tv-volumebyprice-104"},"svpStyle":{"studyId":"VbPSessions@tv-volumebyprice-126"},"formattingDeps":{"format":"price","pricescale":100,"minmov":1,"fractional":false,"minmove2":0,"variable_tick_size":""},"studyBindings":{"17":null,"18":{},"20":null},"state":{"style":1,"esdShowDividends":true,"esdShowSplits":true,"esdShowEarnings":true,"esdShowBreaks":false,"esdFlagSize":2,"showContinuousContractSwitches":true,"showContinuousContractSwitchesBreaks":false,"showFuturesContractExpiration":true,"showLastNews":true,"showCountdown":true,"bidAsk":{"visible":false,"lineStyle":1,"lineWidth":1,"bidLineColor":"#2962FF","askLineColor":"#F7525F"},"prePostMarket":{"visible":true,"lineStyle":1,"lineWidth":1,"preMarketColor":"#FB8C00","postMarketColor":"#2962FF"},"highLowAvgPrice":{"highLowPriceLinesVisible":false,"highLowPriceLabelsVisible":false,"averageClosePriceLineVisible":false,"averageClosePriceLabelVisible":false,"highLowPriceLinesWidth":1,"averagePriceLineWidth":1,"highLowPriceLinesColor":"","averagePriceLineColor":""},"visible":true,"showPriceLine":true,"priceLineWidth":1,"showPrevClosePriceLine":false,"prevClosePriceLineWidth":1,"minTick":"default","dividendsAdjustment":false,"backAdjustment":false,"settlementAsClose":true,"sessionId":"regular","sessVis":false,"statusViewStyle":{"fontSize":16,"showExchange":true,"showInterval":true,"symbolTextSource":"description"},"candleStyle":{"drawWick":true,"drawBorder":true,"barColorsOnPrevClose":false,"drawBody":true,"borderColor":"#378658","upColor":"#089981","wickColor":"#737375","wickUpColor":"#089981","wickDownColor":"#F23645","downColor":"#F23645","borderUpColor":"#089981","borderDownColor":"#F23645"},"volCandlesStyle":{"drawWick":true,"drawBorder":true,"barColorsOnPrevClose":false,"drawBody":true,"borderColor":"#378658","upColor":"#089981","wickColor":"#737375","wickUpColor":"#089981","wickDownColor":"#F23645","downColor":"#F23645","borderUpColor":"#089981","borderDownColor":"#F23645"},"hollowCandleStyle":{"drawWick":true,"drawBorder":true,"drawBody":true,"upColor":"#089981","downColor":"#F23645","borderColor":"#378658","borderUpColor":"#089981","borderDownColor":"#F23645","wickColor":"#737375","wickUpColor":"#089981","wickDownColor":"#F23645"},"haStyle":{"drawWick":true,"drawBorder":true,"showRealLastPrice":false,"barColorsOnPrevClose":false,"inputs":{},"inputInfo":{},"drawBody":true,"borderColor":"#378658","upColor":"#089981","wickColor":"#737375","wickUpColor":"#089981","wickDownColor":"#F23645","downColor":"#F23645","borderUpColor":"#089981","borderDownColor":"#F23645"},"barStyle":{"barColorsOnPrevClose":false,"dontDrawOpen":false,"thinBars":true,"downColor":"#F23645","upColor":"#089981"},"hiloStyle":{"showBorders":true,"showLabels":true,"drawBody":true,"color":"#2962FF","borderColor":"#2962FF","labelColor":"#2962FF"},"columnStyle":{"barColorsOnPrevClose":true,"priceSource":"close","baselinePosition":"bottom","upColor":"rgba(8, 153, 129, 0.5)","downColor":"rgba(242, 54, 69, 0.5)"},"lineStyle":{"linestyle":0,"linewidth":2,"priceSource":"close","colorType":"solid","color":"#2962FF","gradientStartColor":"#D500F9","gradientEndColor":"#00BCE5"},"tpoStyle":{"linestyle":0,"linewidth":2,"priceSource":"close","styles":{"splitByBlocks":false,"splitByBlocksMode":0},"tpo":{"showBlocks":true,"showLetters":true,"nonVaOpacity":30,"colors":{"gradientColors":["#e91e63","#00c853","
Option Selling Signals with ExitsOption Selling Signal System with Volume-Based Entry and Exit Logic
This script identifies optimal moments to sell options by combining volume distribution analysis with trend confirmation, specifically designed to capitalize on market inefficiencies in option pricing.
What it does:
Generates signals for selling call and put options with corresponding exit signals, using volume distribution as the primary filter combined with moving average trend confirmation and RSI momentum.
How it works:
The script analyzes volume distribution over a 63-day lookback period (approximately 3 months of trading data) to determine market sentiment:
Volume Analysis: Calculates total volume above and below current price levels
Trend Filter: Uses 50-period moving average to confirm market direction
Momentum Check: RSI (14-period) validates entry timing
Signal Spacing: Prevents overlapping signals with minimum 5-bar separation
Why this combination works:
Unlike standard option selling strategies that rely solely on volatility or Greeks, this approach uses volume distribution to identify when most trading activity occurred below current prices (bullish setup for call selling) or above current prices (bearish setup for put selling). The moving average filter prevents counter-trend trades, while RSI confirms momentum alignment.
Trading Logic:
Sell Call Options: When majority of volume is below current price + price above MA + RSI below 50
Sell Put Options: When majority of volume is above current price + price below MA + RSI above 50
Exit Signals: Automatically generated when conditions reverse
How to use:
Apply to daily timeframe or higher (not suitable for intraday)
Red labels = Open call short positions
Orange labels = Close call short positions
Green labels = Open put short positions
Dark green labels = Close put short positions
Settings:
Lookback Period: 63 days (adjust for different market memory)
Moving Average Length: 50 periods (trend confirmation filter)
This methodology addresses the common problem of selling options without proper market structure analysis, providing both entry and exit signals based on actual trading activity rather than just price action.
BK AK-SILENCER (P8N)🧩 BK AK-SILENCER (P8N)
CVD Bollinger Band Engine | Dynamic Flash | Structure Zones | Divergence Panel
🧠 Introduction
BK AK-SILENCER (P8N) — a standalone CVD panel that amplifies stealth detection with volatility-based bands, dynamic flash alerts, and smart structural analysis.
This panel works on its own, but was engineered to pair perfectly with BK AK-SILENCER overlay.
🔎 What “P8N” Means
P8N = Precision. 8 Dimensions. Noise-filtered.
8 represents balance, cycles, infinite feedback, and control — all concepts deeply tied to Gann, geometry, and institutional rhythm.
This engine reads volume through volatility — not price. It detects shifts where real moves begin — quietly.
⚙️ Core Weapon Systems
✅ CVD Line + MA + Fill Logic
See the cumulative volume delta with trend tracking and real-time color fills.
✅ Bollinger Bands
Standard deviation bands built around the signal line — not price. Shows real overbought/oversold based on volume movement.
✅ Dynamic Flash Backgrounds
When CVD pressure reaches extremes, the background flashes — silently warning of potential pivots or continuation.
✅ Divergence Detection
Automatic structural divergence plotted between price and CVD — with configurable pivot logic.
✅ Structure Lines (optional)
Visual anchors: session opens, POC, deviation bands, value zones, and structural support/resistance pivots.
🎯 How to Use It
Flash + CVD breaches upper band = momentum continuation
Flash + divergence = prepare for mean-reversion
Divergence + POC/value area = sniper entry
Combine with BK AK-SILENCER overlay bar colors = full market read
💡 Perfect For
Momentum traders who wait for pressure confirmation
Reversal traders looking for structure + volume misalignment
Pattern and time traders syncing Gann, Elliott, and Fib setups
Swing traders seeking multi-layered confirmation
🔧 Customize It. Share It. Grow It.
No tool is perfect out of the box — it must fit your flow.
🛠️ Test your BB deviation values. Adjust dynamic flash settings. Tune pivot logic.
💬 Then share your favorite combos in the comments.
What worked for you might unlock clarity for someone else.
If this helped you — return the favor. Drop your blueprint.
🔗 Works Best With
➡️ BK AK-SILENCER
Together, they detect what price alone cannot. One sees aggression. One sees intent.
Overlay + Panel = Total Edge.
🙏 Pay It Forward
This was built through the lessons of a mentor who gave selflessly — and the blessing of Gd who gave structure to the chaos.
If this gave you insight:
🔹 Teach someone
🔹 Post your best settings
🔹 Share what you've learned
🔹 Help the next person trade with discipline
We’re not here just to win. We’re here to evolve — and bring others with us.
To my mentor — A.K. — this is yours.
To Gd — the source of wisdom — this is for Your glory.
—
Silent. Steady. Strategic.
🎯 BK AK-SILENCER (P8N) — See what others miss.
Gd bless your precision, purpose, and patience. 🙏
MTF Pivot Zones
## 📘 **User Guide: MTF Pivot Zones**
**Script Name:** MTF Pivot Zones
Multi Time Frame Pivot
---
### 🧭 Overview
**MTF Pivot Zones** is a multi-timeframe analysis tool that detects and merges swing highs and lows across four key timeframes:
**Weekly, Daily, 4H, and 1H**.
It plots clear **Support** and **Resistance** zones on the chart based on pivot point clustering. Zones are displayed as dashed lines, color-coded by type.
---
### ⚙️ Settings
| Input Name | Description |
| ---------------------- | --------------------------------------------------------------------- |
| `Lookback Bars Per TF` | Number of bars to scan for pivot highs/lows per timeframe |
| `Pivot Left Bars` | Number of bars to the left required to confirm a pivot |
| `Pivot Right Bars` | Number of bars to the right required to confirm a pivot |
| `Merge Tolerance ($)` | Distance threshold in dollars to merge nearby pivot levels into zones |
| `Show TF Labels` | Toggle the text label next to each zone (e.g., “Res Zone”) |
---
### 🛠️ How It Works
1. **Pivot Detection**
The script scans each timeframe using `ta.pivothigh()` and `ta.pivotlow()`.
2. **Zone Merging**
Pivot levels within the specified `Merge Tolerance` are averaged and treated as a single zone.
3. **Zone Plotting**
* **Red dashed lines** = Resistance Zones
* **Green dashed lines** = Support Zones
* Optional labels show zone type if `Show TF Labels` is enabled
---
### 📈 Usage Tips
* Use zones to guide entries, exits, and stop-loss placement.
* Combine with trend tools or candlestick confirmation near zones.
* Adjust merge tolerance to match instrument volatility and timeframe.
---
Let me know if you want this formatted for **TradingView publishing**, or included in a `study()` title block comment.
HTFA [flasi]This indicator displays higher timeframe (HTF) candles to the right of your current chart, along with projected open, high, and low lines for better context.
This indicator is highly inspired by the HTF Candle Projections by modhelius
Dynamic Timeframe Selection
Automatically selects appropriate HTF based on current chart resolution:
1m → 15m
2-4m → 30m
5m → 60m
15m → 4h
Higher timeframes use logical progression (D → W → M)
Price Projections
Draws OHL (Open, High, Low) projections from the main candles to the HTF aligment candles