Indicators and strategies
Darvas Box with alertsTitle: Darvas Box with Breakout Signals
This indicator implements the legendary Darvas Box trading strategy developed by Nicolas What is the Darvas Box?
The Darvas Box is a momentum-based trading method that identifies consolidation zones by drawing boxes around price ranges. When price breaks out of these boxes, it often signals the beginning of a new trend.
Features:
Automatic Darvas Box detection and drawing based on customizable box length parameter
Dynamic box coloring (Green when price is above, Red when below, Yellow when inside)
Visual breakout signalsAdjust the "Box Length" parameter to match your trading timeframe (default: 5)
Wait for a Darvas Box to form (consolidation period)
Look for breakout signals (triangles) indicating potential trading opportunities
Set up alerts to be notified when breakouts occur
Use the box levels as potential support/resistance zones
Options levelsOverview
Options Levels 🎯 plots 13 key institutional and options-based levels directly on your chart — including Call Wall, Put Wall, Gamma Flip, Whales Pivot, five Whale levels, and Sigma deviation bands (σ¹ / σ²).
It’s designed for both intraday and swing traders, offering a clean visual structure with elegant emoji labels, flexible visibility controls, and precise right-edge extensions for each line.
✨ Key Features
Single structured input with 13 ordered levels:
CallWall, PutWall, GammaFlip, Whales Pivot, Whale1..Whale5, Upperσ1, Upperσ2, Lowerσ1, Lowerσ2
Expressive emoji labels (🟢, 🔴, ⚖️, 🌑, 🐋, σ¹/σ²) optimized for dark themes.
Right-edge alignment: each line extends exactly to its label — no infinite lines.
Group visibility toggles:
• Critical Levels → Call Wall, Put Wall, Gamma Flip, Whales Pivot
• Whale Levels → Whale 1–5
• Sigma Bands → Upper/Lower σ¹ and σ²
Dynamic line-length multipliers that emphasize key levels.
Built-in alert conditions:
• Price crossing above the Call Wall
• Price crossing below the Put Wall
⚙️ Inputs & Settings
📋 Level List (string) : comma-separated list of 13 numeric values.
Example:
🎨 Appearance
• Base line length (bars)
• Label visibility toggle
• Line thickness
• Extend line and label to the right
• Distance (bars) between last candle and label
👁️ Visibility Controls
• Toggle Critical, Whale, or Sigma levels independently
🚀 How to Use
Paste your list of 13 ordered levels into the input field.
Adjust base length and thickness according to your timeframe.
Enable “Extend to the right” to position labels neatly beyond the last candle.
Use visibility toggles to focus on specific level groups (e.g., hide Whale Levels for short-term setups).
Optionally enable alerts to track price breakouts above/below Call and Put Walls.
The plotted levels are derived from aggregated options flow data, institutional positioning, and volatility-based deviations (σ). They serve as reference zones rather than predictive signals, helping visualize where liquidity and dealer hedging pressure may cluster.
📖 Level Definitions
Call Wall 🟢 — The strike with the highest call open interest; potential resistance area.
Put Wall 🔴 — The strike with the highest put open interest; potential support area.
Gamma Flip ⚖️ — Level where total gamma exposure changes sign; may reflect a shift in dealer hedging behavior.
Whales Pivot 🌑 — Represents the average institutional positioning from the previous trading day, reflecting where large option flows were most concentrated.
Whale Levels 🐋 — High-premium or large-volume strikes typically linked to institutional activity.
Upper σ¹ / σ² 📈 — One and two standard deviations above spot; potential overextension zones.
Lower σ¹ / σ² 📉 — One and two standard deviations below spot; potential mean-reversion zones.
Levels are manually input by the user. This script is a visual reference, not a predictive model.
⚠️ Notes
Levels are user-provided (not calculated by this script).
The indicator does not issue buy/sell signals or provide performance guarantees.
Designed purely as a visual aid for contextual market reference.
Optimized with barstate.islast for performance (draws only at the latest bar).
Disclaimer:
This indicator is for educational and visual purposes only. It does not generate buy/sell signals or guarantee future results. User-provided levels are meant for contextual reference only.
Developed for traders who rely on market structure and options flow context. Feedback and suggestions are welcome.
Continuation Suite v1 — 5m/15mContinuation Suite v1 — 5m/15m (Non-Repainting, S/R + Trend Continuation)
What it does
Continuation Suite v1 is a practical intraday toolkit that combines non-repainting trend-continuation signals with auto-built Support/Resistance (S/R) from confirmed pivots. It’s designed for fast, liquid names on 5m charts with an optional 15m higher-timeframe (HTF) overlay. You get: stacked-EMA bias, disciplined pullback+reclaim entries, optional volume/volatility gates, a “Strong” signal tier, solid S/R lines or zones, and a compact dashboard for fast reads.
⸻
Why traders use it
• Clear bias using fast/mid/slow EMA stacking.
• Actionable entries that require a pullback, a reclaim, and (optionally) a minor break of prior extremes.
• Signal quality gates (volume vs SMA, ATR%, ADX/DI alignment, EMA spacing, slope).
• Non-repainting logic when “Confirm on Close” = ON. Intrabar previews show what’s forming, but confirmed signals only print on bar close.
• S/R that matters: confirmed-pivot lines or ATR-sized zones, optional HTF overlay, and auto de-dup to avoid clutter.
⸻
Signal construction (no magic, just rules)
Bullish continuation (base):
1. Trend: EMA fast > EMA mid > EMA slow
2. Pullback: price pulls into the stack (lowest low or close vs EMA fast/mid over a lookback)
3. Reclaim: close > EMA fast and close > open
4. Break filter (optional): current bar takes out the prior bar’s high
5. Filters: volume > SMA (if enabled) and ATR% ≤ max (if enabled)
6. Cooldown: a minimum bar gap between signals
Bearish continuation (base): mirror of the above.
Strong signals: base conditions plus ADX ≥ threshold, DI alignment (DI+>DI- for longs; DI->DI+ for shorts), minimum EMA-spacing %, and minimum fast-EMA slope.
Reference stops:
• Longs: lowest low over the pullback lookback
• Shorts: highest high over the pullback lookback
Alerts are included for: Bullish Continuation, Bearish Continuation, STRONG Bullish, STRONG Bearish.
⸻
S/R engine (current TF + optional HTF)
• Builds S/R from confirmed pivots only (left/right bars).
• Choose Lines (midlines) or Zones (ATR-sized).
• Zones merge when a new pivot lands near an existing zone’s mid (ATR-scaled epsilon).
• Touches counter tracks significance; you can require a minimum to draw.
• HTF overlay (default 15m) draws separate lines/zones with tiny TF tags on the right.
• De-dup option hides current-TF zones that sit too close to HTF zones (ATR-scaled), reducing overlap.
• Freeze on Close (optional) keeps arrays stable intrabar; snapshots show levels immediately as bars open.
⸻
Presets
• Auto: Detects QQQ-like tickers (QQQ, QLD, QID) or SoFi; else defaults to Custom.
• QQQ: Tighter ATR% and EMA settings geared to index-ETF behavior.
• SoFi: Wider ATR allowances and longer mid/slow for single-name behavior.
• Custom: Expose all key inputs to tune for your product.
⸻
Dashboard (top-right)
• Preset in use
• Bias (Bullish CONT / Bearish CONT / Neutral)
• Strong (Yes/No)
• Volatility (ATR% bucket)
• Trend (ADX bucket)
• HTF timeframe tag
• Volume (bucket or “off”)
• Signals mode (Close-Confirmed vs Intrabar)
⸻
Inputs you’ll actually adjust
Trend/Signals
• Fast/Mid/Slow EMA lengths
• Pullback lookback, Min bars between signals
• Volume filter (vol > SMA N)
• ATR% max filter (cap excessive volatility)
• Require break of prior bar’s high/low
• “Strong” gates: min EMA slope, min EMA spacing %, ADX length & threshold
Support/Resistance
• Lines vs Zones
• Pivot left/right bars
• Extend left/right (bars)
• Max pivots kept (current & HTF)
• Zone width (× ATR), Merge epsilon (× ATR), Min gap (× ATR)
• Min touches, Max zones per side near price
• De-dup current TF vs HTF (× ATR)
Repainting control
• Confirm on Close: when ON, signals/SR finalize on bar close (non-repainting)
• Freeze on Close: freeze S/R intrabar with snapshot updates
• Show previews: translucent intrabar labels for what’s forming
⸻
How to use it (straightforward)
1. Load on 5-minute chart (baseline). Keep Confirm on Close ON if you hate repainting.
2. Use Bias + Strong + S/R context. If a long prints into HTF resistance, you have information.
3. Manage risk off the reference stop (pullback extreme). If ATR% reads “Great,” widen expectations; if “Poor,” size down or pass.
4. Alerts: wire the four alert types to your workflow.
⸻
Notes and constraints
• Designed for liquid symbols. Thin books and synthetic “volume” will degrade the volume gate.
• S/R is pivot-based. On very choppy tape, touch counts help. Increase min touches or switch to Lines to declutter.
• If your chart timeframe isn’t 5m, behavior changes because lengths are in bars, not minutes. Tune lengths accordingly.
⸻
Disclaimers
This is a research tool. No signals are guaranteed. Markets change, outliers happen, slippage is real. Nothing here is financial advice—use your own judgment and risk management.
⸻
Author: DaddyScruff
License: MPL-2.0 (Mozilla Public License 2.0)
Larry Williams Oops StrategyThis strategy is a modern take on Larry Williams’ classic Oops setup. It trades intraday while referencing daily bars to detect opening gaps and align entries with the prior day’s direction. Risk is managed with day-based stops, and—unlike the original—all positions are closed at the end of the session (or at the last bar’s close), not at a fixed profit target or the first profitable open.
Entry Rules
Long setup (bullish reversion): Today opens below yesterday’s low (down gap) and yesterday’s candle was bearish. Place a buy stop at yesterday’s low + Filter (ticks).
Short setup (bearish reversion): Today opens above yesterday’s high (up gap) and yesterday’s candle was bullish. Place a sell stop at yesterday’s high − Filter (ticks).
Longs are only taken on down-gap days; shorts only on up-gap days.
Protective Stop
If long, stop loss trails the current day’s low.
If short, stop loss trails the current day’s high.
Exit Logic
Positions are force-closed at the end of the session (in the last bar), ensuring no overnight exposure. There is no take-profit; only stop loss or end-of-day flat.
Notes
This strategy is designed for intraday charts (minutes/seconds) using daily data for gaps and prior-day direction.
Longs/shorts can be enabled or disabled independently.
Confluence Zone BuilderWhat It Does
The Confluence Zone Builder is a technical analysis indicator that identifies high-probability price levels by detecting where multiple technical factors align (converge) at the same price area. These "confluence zones" represent levels where price is statistically more likely to react - either bouncing (support/resistance) or breaking through (breakout targets).
How It Works
1. Multi-Factor Analysis
The indicator calculates key technical levels from various sources:
Fibonacci Retracements (23.6%, 38.2%, 50%, 61.8%, 78.6%) - Support/resistance levels based on recent price swings
Fibonacci Extensions (127.2%, 141.4%, 161.8%, 200%, 261.8%) - Breakout targets beyond the current range (both bullish and bearish)
Pivot Points (Classic pivots: P, R1-R3, S1-S3) - Daily/weekly reference points traders watch
Moving Averages (EMA 20, 50 and SMA 100, 200) - Dynamic support/resistance that institutions track
VWAP - Volume-weighted average price, popular among institutional traders
Psychological Levels - Round numbers that attract orders
Previous Period Levels - Prior day/week high, low, and close
2. Proximity Clustering
When multiple factors fall within a defined proximity range (default 0.5%), they're grouped together into a single "confluence zone." This prevents cluttering the chart with dozens of individual lines.
3. Weighted Scoring System
Not all technical factors are equal. The indicator assigns importance weights:
Key Fibonacci levels (61.8%) and major MAs (200, 50) get higher weights (2.0-2.5x)
Pivot points and VWAP get medium weights (1.5x)
Minor factors get lower weights (1.0x)
The total score reflects both the number of factors and their importance.
4. Historical Validation
The indicator analyzes the last 50 bars (customizable) to track:
Touches: How many times price reached each zone
Rejections: Times price bounced off the zone (✅)
Breaks: Times price broke through the zone (❌)
Win Rate: Percentage of times the zone held (rejections ÷ touches)
5. Dynamic Adjustment
Zones aren't static - they adapt based on how price interacts with them:
Strengthens (+0.5 per rejection, +0.2 per touch): Zones that repeatedly hold become more important
Weakens (-0.8 per break): Zones that fail to hold lose credibility
Visual Indicators:
Thick solid lines = Strong zones (more rejections than breaks)
Dashed lines = Weak zones (more breaks than rejections)
Color-coded by score: Blue (low), Yellow (medium), Red (high)
What You Gain From Using It
For Support/Resistance Trading:
High-probability entries: Enter at zones with high confluence scores and strong historical win rates
Better risk management: Place stops beyond strong confluence zones that are likely to hold
Reduced false signals: Multi-factor confirmation reduces reliance on single indicators
For Breakout Trading:
Target identification: Fibonacci extensions provide profit targets beyond current ranges
Breakout confirmation: Weak zones (dashed lines, low win rates) are easier to break - ideal for breakout entries
False breakout avoidance: Strong zones (thick lines, high win rates) require more confirmation before entering
For Position Management:
Exit planning: Take profits at high-confluence zones ahead
Stop placement: Use strong zones as logical stop-loss levels
Trade filtering: Higher probability setups occur at stronger zones
Key Advantages:
Objective confluence detection - No manual line drawing needed
Data-driven validation - Historical performance shows which zones actually matter
Adaptive intelligence - Zones strengthen/weaken based on real price action
Clean visualization - Top zones only, with compact labels showing score and factors
Customizable - Adjust weights, components, and thresholds to your trading style
Bottom Line:
Instead of guessing which technical level matters most, this indicator does the heavy lifting - analyzing multiple factors, validating them historically, and highlighting only the zones where price is most likely to react. It's like having confluence analysis automated with statistical backing.
KANNADI MOHANRAJAmy 3min and 1hr candle strategy. when 3min super trend up buy and super trend sell.
Heikin Ashi 3-Bar Momentum Alert by nqbrooksTrying some stuffz out yahuuur, HIKEYNASHIEEEHH 3 bar -4h momemtum aelerTT
MACD Enhanced [DCAUT]█ MACD Enhanced
📊 ORIGINALITY & INNOVATION
The MACD Enhanced represents a significant improvement over traditional MACD implementations. While Gerald Appel's original MACD from the 1970s was limited to exponential moving averages (EMA), this enhanced version expands algorithmic options by supporting 21 different moving average calculations for both the main MACD line and signal line independently.
This improvement addresses an important limitation of traditional MACD: the inability to adapt the indicator's mathematical foundation to different market conditions. By allowing traders to select from algorithms ranging from simple moving averages (SMA) for stability to advanced adaptive filters like Kalman Filter for noise reduction, this implementation changes MACD from a fixed-algorithm tool into a flexible instrument that can be adjusted for specific market environments and trading strategies.
The enhanced histogram visualization system uses a four-color gradient that helps communicate momentum strength and direction more clearly than traditional single-color histograms.
📐 MATHEMATICAL FOUNDATION
The core calculation maintains the proven MACD formula: Fast MA(source, fastLength) - Slow MA(source, slowLength), but extends it with algorithmic flexibility. The signal line applies the selected smoothing algorithm to the MACD line over the specified signal period, while the histogram represents the difference between MACD and signal lines.
Available Algorithms:
The implementation supports a comprehensive spectrum of technical analysis algorithms:
Basic Averages: SMA (arithmetic mean), EMA (exponential weighting), RMA (Wilder's smoothing), WMA (linear weighting)
Advanced Averages: HMA (Hull's low-lag), VWMA (volume-weighted), ALMA (Arnaud Legoux adaptive)
Mathematical Filters: LSMA (least squares regression), DEMA (double exponential), TEMA (triple exponential), ZLEMA (zero-lag exponential)
Adaptive Systems: T3 (Tillson T3), FRAMA (fractal adaptive), KAMA (Kaufman adaptive), MCGINLEY_DYNAMIC (reactive to volatility)
Signal Processing: ULTIMATE_SMOOTHER (low-pass filter), LAGUERRE_FILTER (four-pole IIR), SUPER_SMOOTHER (two-pole Butterworth), KALMAN_FILTER (state-space estimation)
Specialized: TMA (triangular moving average), LAGUERRE_BINOMIAL_FILTER (binomial smoothing)
Each algorithm responds differently to price action, allowing traders to match the indicator's behavior to market characteristics: trending markets benefit from responsive algorithms like EMA or HMA, while ranging markets require stable algorithms like SMA or RMA.
📊 COMPREHENSIVE SIGNAL ANALYSIS
Histogram Interpretation:
Positive Values: Indicate bullish momentum when MACD line exceeds signal line, suggesting upward price pressure and potential buying opportunities
Negative Values: Reflect bearish momentum when MACD line falls below signal line, indicating downward pressure and potential selling opportunities
Zero Line Crosses: MACD crossing above zero suggests transition to bullish bias, while crossing below indicates bearish bias shift
Momentum Changes: Rising histogram (regardless of positive/negative) signals accelerating momentum in the current direction, while declining histogram warns of momentum deceleration
Advanced Signal Recognition:
Divergences: Price making new highs/lows while MACD fails to confirm often precedes trend reversals
Convergence Patterns: MACD line approaching signal line suggests impending crossover and potential trade setup
Histogram Peaks: Extreme histogram values often mark momentum exhaustion points and potential reversal zones
🎯 STRATEGIC APPLICATIONS
Comprehensive Trend Confirmation Strategies:
Primary Trend Validation Protocol:
Identify primary trend direction using higher timeframe (4H or Daily) MACD position relative to zero line
Confirm trend strength by analyzing histogram progression: consistent expansion indicates strong momentum, contraction suggests weakening
Use secondary confirmation from MACD line angle: steep angles (>45°) indicate strong trends, shallow angles suggest consolidation
Validate with price structure: trending markets show consistent higher highs/higher lows (uptrend) or lower highs/lower lows (downtrend)
Entry Timing Techniques:
Pullback Entries in Uptrends: Wait for MACD histogram to decline toward zero line without crossing, then enter on histogram expansion with MACD line still above zero
Breakout Confirmations: Use MACD line crossing above zero as confirmation of upward breakouts from consolidation patterns
Continuation Signals: Look for MACD line re-acceleration (steepening angle) after brief consolidation periods as trend continuation signals
Advanced Divergence Trading Systems:
Regular Divergence Recognition:
Bullish Regular Divergence: Price creates lower lows while MACD line forms higher lows. This pattern is traditionally considered a potential upward reversal signal, but should be combined with other confirmation signals
Bearish Regular Divergence: Price makes higher highs while MACD shows lower highs. This pattern is traditionally considered a potential downward reversal signal, but trading decisions should incorporate proper risk management
Hidden Divergence Strategies:
Bullish Hidden Divergence: Price shows higher lows while MACD displays lower lows, indicating trend continuation potential. Use for adding to existing long positions during pullbacks
Bearish Hidden Divergence: Price creates lower highs while MACD forms higher highs, suggesting downtrend continuation. Optimal for adding to short positions during bear market rallies
Multi-Timeframe Coordination Framework:
Three-Timeframe Analysis Structure:
Primary Timeframe (Daily): Determine overall market bias and major trend direction. Only trade in alignment with daily MACD direction
Secondary Timeframe (4H): Identify intermediate trend changes and major entry opportunities. Use for position sizing decisions
Execution Timeframe (1H): Precise entry and exit timing. Look for MACD line crossovers that align with higher timeframe bias
Timeframe Synchronization Rules:
Daily MACD above zero + 4H MACD rising = Strong uptrend context for long positions
Daily MACD below zero + 4H MACD declining = Strong downtrend context for short positions
Conflicting signals between timeframes = Wait for alignment or use smaller position sizes
1H MACD signals only valid when aligned with both higher timeframes
Algorithm Considerations by Market Type:
Trending Markets: Responsive algorithms like EMA, HMA may be considered, but effectiveness should be tested for specific market conditions
Volatile Markets: Noise-reducing algorithms like KALMAN_FILTER, SUPER_SMOOTHER may help reduce false signals, though results vary by market
Range-Bound Markets: Stability-focused algorithms like SMA, RMA may provide smoother signals, but individual testing is required
Short Timeframes: Low-lag algorithms like ZLEMA, T3 theoretically respond faster but may also increase noise
Important Note: All algorithm choices and parameter settings should be thoroughly backtested and validated based on specific trading strategies, market conditions, and individual risk tolerance. Different market environments and trading styles may require different configuration approaches.
📋 DETAILED PARAMETER CONFIGURATION
Comprehensive Source Selection Strategy:
Price Source Analysis and Optimization:
Close Price (Default): Most commonly used, reflects final market sentiment of each period. Best for end-of-day analysis, swing trading, daily/weekly timeframes. Advantages: widely accepted standard, good for backtesting comparisons. Disadvantages: ignores intraday price action, may miss important highs/lows
HL2 (High+Low)/2: Midpoint of the trading range, reduces impact of opening gaps and closing spikes. Best for volatile markets, gap-prone assets, forex markets. Calculation impact: smoother MACD signals, reduced noise from price spikes. Optimal when asset shows frequent gaps, high volatility during specific sessions
HLC3 (High+Low+Close)/3: Weighted average emphasizing the close while including range information. Best for balanced analysis, most asset classes, medium-term trading. Mathematical effect: 33% weight to high/low, 33% to close, provides compromise between close and HL2. Use when standard close is too noisy but HL2 is too smooth
OHLC4 (Open+High+Low+Close)/4: True average of all price points, most comprehensive view. Best for complete price representation, algorithmic trading, statistical analysis. Considerations: includes opening sentiment, smoothest of all options but potentially less responsive. Optimal for markets with significant opening moves, comprehensive trend analysis
Parameter Configuration Principles:
Important Note: Different moving average algorithms have distinct mathematical characteristics and response patterns. The same parameter settings may produce vastly different results when using different algorithms. When switching algorithms, parameter settings should be re-evaluated and tested for appropriateness.
Length Parameter Considerations:
Fast Length (Default 12): Shorter periods provide faster response but may increase noise and false signals, longer periods offer more stable signals but slower response, different algorithms respond differently to the same parameters and may require adjustment
Slow Length (Default 26): Should maintain a reasonable proportional relationship with fast length, different timeframes may require different parameter configurations, algorithm characteristics influence optimal length settings
Signal Length (Default 9): Shorter lengths produce more frequent crossovers but may increase false signals, longer lengths provide better signal confirmation but slower response, should be adjusted based on trading style and chosen algorithm characteristics
Comprehensive Algorithm Selection Framework:
MACD Line Algorithm Decision Matrix:
EMA (Standard Choice): Mathematical properties: exponential weighting, recent price emphasis. Best for general use, traditional MACD behavior, backtesting compatibility. Performance characteristics: good balance of speed and smoothness, widely understood behavior
SMA (Stability Focus): Equal weighting of all periods, maximum smoothness. Best for ranging markets, noise reduction, conservative trading. Trade-offs: slower signal generation, reduced sensitivity to recent price changes
HMA (Speed Optimized): Hull Moving Average, designed for reduced lag. Best for trending markets, quick reversals, active trading. Technical advantage: square root period weighting, faster trend detection. Caution: can be more sensitive to noise
KAMA (Adaptive): Kaufman Adaptive MA, adjusts smoothing based on market efficiency. Best for varying market conditions, algorithmic trading. Mechanism: fast smoothing in trends, slow smoothing in sideways markets. Complexity: requires understanding of efficiency ratio
Signal Line Algorithm Optimization Strategies:
Matching Strategy: Use same algorithm for both MACD and signal lines. Benefits: consistent mathematical properties, predictable behavior. Best when backtesting historical strategies, maintaining traditional MACD characteristics
Contrast Strategy: Use different algorithms for optimization. Common combinations: MACD=EMA, Signal=SMA for smoother crossovers, MACD=HMA, Signal=RMA for balanced speed/stability, Advanced: MACD=KAMA, Signal=T3 for adaptive behavior with smooth signals
Market Regime Adaptation: Trending markets: both fast algorithms (EMA/HMA), Volatile markets: MACD=KALMAN_FILTER, Signal=SUPER_SMOOTHER, Range-bound: both slow algorithms (SMA/RMA)
Parameter Sensitivity Considerations:
Impact of Parameter Changes:
Length Parameter Sensitivity: Small parameter adjustments can significantly affect signal timing, while larger adjustments may fundamentally change indicator behavior characteristics
Algorithm Sensitivity: Different algorithms produce different signal characteristics. Thoroughly test the impact on your trading strategy before switching algorithms
Combined Effects: Changing multiple parameters simultaneously can create unexpected effects. Recommendation: adjust parameters one at a time and thoroughly test each change
📈 PERFORMANCE ANALYSIS & COMPETITIVE ADVANTAGES
Response Characteristics by Algorithm:
Fastest Response: ZLEMA, HMA, T3 - minimal lag but higher noise
Balanced Performance: EMA, DEMA, TEMA - good trade-off between speed and stability
Highest Stability: SMA, RMA, TMA - reduced noise but increased lag
Adaptive Behavior: KAMA, FRAMA, MCGINLEY_DYNAMIC - automatically adjust to market conditions
Noise Filtering Capabilities:
Advanced algorithms like KALMAN_FILTER and SUPER_SMOOTHER help reduce false signals compared to traditional EMA-based MACD. Noise-reducing algorithms can provide more stable signals in volatile market conditions, though results will vary based on market conditions and parameter settings.
Market Condition Adaptability:
Unlike fixed-algorithm MACD, this enhanced version allows real-time optimization. Trending markets benefit from responsive algorithms (EMA, HMA), while ranging markets perform better with stable algorithms (SMA, RMA). The ability to switch algorithms without changing indicators provides greater flexibility.
Comparative Performance vs Traditional MACD:
Algorithm Flexibility: 21 algorithms vs 1 fixed EMA
Signal Quality: Reduced false signals through noise filtering algorithms
Market Adaptability: Optimizable for any market condition vs fixed behavior
Customization Options: Independent algorithm selection for MACD and signal lines vs forced matching
Professional Features: Advanced color coding, multiple alert conditions, comprehensive parameter control
USAGE NOTES
This indicator is designed for technical analysis and educational purposes. Like all technical indicators, it has limitations and should not be used as the sole basis for trading decisions. Algorithm performance varies with market conditions, and past characteristics do not guarantee future results. Always combine with proper risk management and thorough strategy testing.
Commodity Pulse Matrix (CPM) [WavesUnchained] [Strategy]Commodity Pulse Matrix (CPM) - Strategy Version
⚠️ Development Status
ACTIVE DEVELOPMENT - This strategy is currently under heavy development and optimization. The risk management settings, entry/exit logic, and parameter tuning are still being refined and are NOT yet satisfactory for live trading.
Current development areas:
Stop-loss and take-profit optimization
Position sizing and risk management
Entry timing and signal filtering
Backtest validation across different market conditions
⚠️ Use for testing and backtesting only - NOT recommended for live trading yet!
For detailed information about the underlying indicator logic, signals, and analysis methods, please refer to the Commodity Pulse Matrix (CPM) indicator description.
Overview
The CPM Strategy is an automated trading system based on the Commodity Pulse Matrix indicator. It converts the indicator's multi-timeframe confluence signals into executable trades with dynamic ATR-based risk management.
Strategy Core Features
Signal Sources
The strategy trades based on:
Strong Buy/Sell signals from the CPM indicator
Multi-timeframe alignment (configurable: 3/3, 2/3, or score-only)
EMA-200 trend filter (prevents counter-trend entries)
Dynamic signal cooldown (5-8 bars)
Optional reversal zone signals (triple-confirmed)
Risk Management (ATR-Based)
Stop-Loss & Take-Profit
Stop-Loss: 2.5x ATR (default) - Dynamic distance based on volatility
Take-Profit: 4.0x ATR (default) - Risk/Reward ratio of 1.6:1
ATR Length: 14 periods (adjustable)
Both SL and TP adjust to current market volatility
Trailing Stop (Optional)
Enabled by default
Trails at 2.5x ATR distance
Protects profits in trending moves
Can be disabled for fixed SL/TP only
Position Management
Trade Direction Filter
Both Directions (default) - Trade both Long and Short
Long Only - Only enter long positions
Short Only - Only enter short positions
Cooldown After Exit
Default: 3 bars minimum after closing a position
Prevents immediate re-entry (whipsaw protection)
Adjustable from 0 (disabled) to any number of bars
Signal Filtering
Signal Mode (Timeframe Consensus)
Strict (3/3 TFs): All 3 timeframes must agree - Most conservative
Majority (2/3 TFs): At least 2 of 3 timeframes agree - Balanced (default)
Flexible (Score Only): Overall score threshold only - Most signals
Optional Filters
Min ABS(overallScore): Only trade when confluence score meets minimum (default: 0 = disabled)
Confirmed Bar Only: Wait for bar close before entry (prevents repainting) - Recommended ON
Strategy Settings Guide
For Conservative Trading (Lower Risk)
Signal Mode: "Strict (3/3 TFs)"
Stop-Loss: 3.0x ATR or higher
Take-Profit: 5.0x ATR or higher
Trailing Stop: Enabled
Cooldown: 5-10 bars
Min Score: 8.0 or higher
For Aggressive Trading (More Signals)
Signal Mode: "Flexible (Score Only)"
Stop-Loss: 2.0x ATR
Take-Profit: 3.0x ATR
Trailing Stop: Optional
Cooldown: 0-3 bars
Min Score: 4.0 or disabled
For Balanced Trading (Recommended Starting Point)
Signal Mode: "Majority (2/3 TFs)"
Stop-Loss: 2.5x ATR
Take-Profit: 4.0x ATR
Trailing Stop: Enabled
Cooldown: 3 bars
Min Score: 6.0-8.0
TradingView Strategy Tester Settings
Essential Settings to Configure:
Properties Tab
Initial Capital: Set to realistic account size
Order Size: Use "% of Equity" (e.g., 10-25% per trade)
Commission: Set realistic commission (e.g., 0.05% for crypto, 0.1% for stocks)
Slippage: Add realistic slippage (1-3 ticks for liquid markets)
Verify "Recalculate: On Every Tick" is DISABLED (for realistic backtests)
Inputs Tab
Adjust ATR multipliers for your market
Set appropriate cooldown period
Choose signal mode based on desired trade frequency
Enable/disable trailing stop
Configure directional filter if needed
Backtesting Recommendations
Before Using This Strategy:
Test across multiple markets - What works for one commodity may not work for another
Test different timeframes - Strategy behavior changes significantly with TF
Test different market conditions - Trending vs ranging markets
Validate performance metrics - Win rate, profit factor, max drawdown, Sharpe ratio
Forward test on paper account - Before risking real capital
Key Metrics to Monitor:
Win Rate (aim for >40% minimum)
Profit Factor (aim for >1.5)
Max Drawdown (should be acceptable for your risk tolerance)
Sharpe Ratio (higher is better, >1.0 is good)
Average Trade (should be positive after commissions/slippage)
Known Limitations
Range-bound markets: May produce more whipsaws despite filters
Low volatility: ATR-based stops may be too tight
High volatility: ATR-based stops may be too wide
News events: Strategy cannot account for fundamental shocks
Signal timing: Entry timing is still being optimized
Indicator vs Strategy
When to use the Indicator:
- Manual trading with discretion
- Confluence analysis and timing
- Multiple signal validation
- Learning market structure
When to use the Strategy:
- Automated backtesting
- System validation
- Parameter optimization
- Performance measurement
⚠️ The indicator provides richer information and context than the strategy can execute!
Technical Details
Pine Script v6
Non-repainting: Uses confirmed bars for HTF data
Strategy type: Long/Short with dynamic stops
Risk management: ATR-based (adaptive to volatility)
Position sizing: Configured in Strategy Tester
Pyramiding: Default 1 (no adding to positions)
Important Notes
⚠️ Strategy parameters are still under optimization - Current settings may not be optimal for all markets or timeframes
⚠️ Backtest thoroughly before live trading - Test across different market conditions and timeframes
⚠️ Risk management is critical - Use appropriate position sizing (1-2% risk per trade recommended)
⚠️ Market conditions change - A strategy that works in trending markets may fail in ranging markets
⚠️ Commission and slippage matter - Always include realistic costs in backtests
✅ Start with conservative settings and optimize gradually
✅ Paper trade before going live
✅ Monitor performance and adjust as needed
✅ Never risk more than you can afford to lose
Disclaimer
Educational and testing purposes only. Not financial advice.
This strategy is provided as-is for backtesting and educational purposes. Past performance is not indicative of future results. Trading involves substantial risk of loss. The developer is not responsible for any losses incurred from using this strategy. Always do your own research, backtest thoroughly, and consult with a qualified financial advisor before making trading decisions.
NEVER use this strategy with real money until:
You have thoroughly backtested it on your specific market and timeframe
You understand all parameters and their impact
You have forward tested it on a paper account
You are comfortable with the maximum drawdown and risk profile
The strategy has been marked as production-ready by the developer
Version
v1.2 - Strategy Adapter (Active Development)
Based on: Commodity Pulse Matrix v1.2 Indicator
Last Updated: 2025-10-10
For detailed indicator documentation, see the Commodity Pulse Matrix (CPM) indicator description.
Aladin Pair Trading System v1Aladin Pair Trading System v1
What is This Indicator?
The Aladin Pair Trading System is a sophisticated tool designed to help traders identify profitable opportunities by comparing two related stocks that historically move together. Think of it as finding when one twin is running ahead or lagging behind the other - these moments often present trading opportunities as they tend to return to moving together.
Who Should Use This?
Beginners: Learn about statistical arbitrage and pair trading
Intermediate Traders: Execute mean-reversion strategies with confidence
Advanced Traders: Fine-tune parameters for optimal pair relationships
Portfolio Managers: Implement market-neutral strategies
💡 What is Pair Trading?
Imagine two ice cream shops next to each other. They usually have similar customer traffic because they're in the same area. If one day Shop A is packed while Shop B is empty, you might expect this imbalance to correct itself soon.
Pair trading works the same way:
You find two stocks that normally move together (like TCS and Infosys)
When one stock moves too far from the other, you trade expecting them to realign
You buy the lagging stock and sell the leading stock
When they come back together, you profit from both sides
Key Features
1. Z-Score Analysis
What it is: A statistical measure showing how far the price relationship has deviated from normal
What it means:
Z-Score near 0 = Normal relationship
Z-Score at +2 = Stock A is expensive relative to Stock B (Sell A, Buy B)
Z-Score at -2 = Stock A is cheap relative to Stock B (Buy A, Sell B)
2. Multiple Timeframe Analysis
Long-term Z-Score (300 bars): Shows the big picture trend
Short-term Z-Score (100 bars): Shows recent movements
Signal Z-Score (20 bars): Generates quick trading signals
3. Statistical Validation
The indicator checks if the pair is suitable for trading:
Correlation (must be > 0.7): Confirms the stocks move together
1.0 = Perfect positive correlation
0.7 = Strong correlation
Below 0.7 = Warning: pair may not be reliable
ADF P-Value (should be < 0.05): Tests if the relationship is stable
Low value = Good for pair trading
High value = Relationship may be random
Cointegration: Confirms long-term equilibrium relationship
YES = Pair tends to revert to mean
NO = Pair may drift apart permanently
Visual Elements Explained
Chart Zones (Color-Coded Areas)
Yellow Zone (-1.5 to +1.5)
Normal Zone: Relationship is stable
Action: Wait for better opportunities
Blue Zone (±1.5 to ±2.0)
Entry Zone: Deviation is significant
Action: Prepare for potential trades
Green/Red Zone (±2.0 to ±3.0)
Opportunity Zone: Strong deviation
Action: High-probability trade setups
Beyond ±3.0
Risk Limit: Extreme deviation
Action: Either maximum opportunity or structural break
Signal Arrows
Green Arrow Up (Buy A + Sell B):
Stock A is undervalued relative to B
Buy Stock A, Short Stock B
Red Arrow Down (Sell A + Buy B):
Stock A is overvalued relative to B
Sell Stock A, Buy Stock B
Settings Guide
Symbol Inputs
Pair Symbol (Symbol B): Choose the second stock to compare
Default: NSE:INFY (Infosys)
Example pairs: TCS/INFY, HDFCBANK/ICICIBANK, RELIANCE/ONGC
Z-Score Parameters
Long Z-Score Period (300): Historical context
Short Z-Score Period (100): Recent trend
Signal Period (20): Trading signals
Z-Score Threshold (2.0): Entry trigger level
Higher = Fewer but stronger signals
Lower = More frequent signals
Statistical Parameters
Correlation Period (240): How many bars to check correlation
Hurst Exponent Period (50): Measures mean-reversion tendency
Probability Lookback (100): Historical probability calculations
Trading Parameters
Entry Threshold (0.0): Minimum Z-score for entry
Risk Threshold (1.5): Warning level
Risk Limit (3.0): Maximum deviation to trade
How to Use (Step-by-Step)
Step 1: Choose Your Pair
Add the indicator to your chart (this becomes Stock A)
In settings, select Stock B (the comparison stock)
Choose stocks from the same sector for best results
Step 2: Verify Pair Quality
Check the Statistics Table (top-right corner):
✅ Correlation > 0.70 (Green = Good)
✅ ADF P-value < 0.05 (Green = Good)
✅ Cointegrated = YES (Green = Good)
If all three are green, the pair is suitable for trading!
Step 3: Wait for Signals
BUY SIGNAL (Green Arrow Up)
Z-Score crosses above -2.0
Action: Buy Stock A, Sell Stock B
Exit: When Z-Score returns to 0
SELL SIGNAL (Red Arrow Down)
Z-Score crosses below +2.0
Action: Sell Stock A, Buy Stock B
Exit: When Z-Score returns to 0
Step 4: Risk Management
Yellow Zone: Monitor only
Blue Zone: Prepare for entry
Green/Red Zone: Active trading zone
Beyond ±3.0: Maximum risk - use caution
⚠️ Important Warnings
Not All Pairs Work: Always check the statistics table first
Market Conditions Matter: Correlation can break during market stress
Use Stop Losses: Set stops at Z-Score ±3.5 or beyond
Position Sizing: Trade both legs with appropriate hedge ratios
Transaction Costs: Factor in brokerage and slippage for both stocks
Example Trade
Scenario: TCS vs INFOSYS
Correlation: 0.85 ✅
Z-Score: -2.3 (TCS is cheap vs INFY)
Action to be taken:
Buy 1lot of TCS Future
Sell 1lot of INFOSYS Future
Expected Outcome:
As Z-Score moves toward 0, TCS outperforms INFOSYS
Close both positions when Z-Score crosses 0
Profit from the convergence
Best Practices
Test Before Trading: Use paper trading first
Sector Focus: Choose pairs from the same industry
Monitor Statistics: Check correlation daily
Avoid News Events: Don't trade pairs during earnings/major news
Size Appropriately: Start small, scale with experience
Be Patient: Wait for high-quality setups (±2.0 or beyond)
What Makes This Indicator Unique?
Multi-timeframe Z-Score analysis: Three different perspectives
Statistical validation: Built-in correlation and cointegration tests
Visual risk zones: Easy-to-understand color-coded areas
Real-time statistics: Live pair quality monitoring
Beginner-friendly: Clear signals with educational zones
Technical Background
The indicator uses:
Engle-Granger Cointegration Test: Validates pair relationship
ADF (Augmented Dickey-Fuller) Test: Tests stationarity
Pearson Correlation: Measures linear relationship
Z-Score Normalization: Standardizes deviations
Log Returns: Handles price differences properly
Support & Community
For questions, suggestions, or to share your pair trading experiences:
Comment below the indicator
Share your successful pair combinations
Report any issues for quick fixes
Disclaimer
This indicator is for educational and informational purposes only. It does not constitute financial advice. Pair trading involves risk, including the risk of loss.
Always:
Do your own research
Understand the risks
Trade with money you can afford to lose
Consider consulting a financial advisor
📌 Quick Reference Card
Z-ScoreInterpretationAction-3.0 to -2.0A very cheap vs BStrong Buy A, Sell B-2.0 to -1.5A cheap vs BBuy A, Sell B-1.5 to +1.5Normal rangeHold/Wait+1.5 to +2.0A expensive vs BSell A, Buy B+2.0 to +3.0A very expensive vs BStrong Sell A, Buy B
Good Pair Statistics:
Correlation: > 0.70
ADF P-value: < 0.05
Cointegration: YES
Version: 1.0
Last Updated: 10th October 2025
Compatible: TradingView Pine Script v6
Happy Trading!
VWAP TrendThe VWAP Trend indicator is a powerful visualization tool that blends a smoothed Volume-Weighted Average Price (VWAP) with a trend-following EMA to reveal the underlying market bias in a clear, color-coded format.
Unlike a standard VWAP that only resets intraday, VWAP Trend allows traders to anchor VWAP calculations to Daily, Weekly, or Monthly sessions. This flexibility makes it suitable for all trading styles — from intraday scalping to long-term swing analysis.
The smoothed VWAP provides a stable representation of the true average price weighted by volume, while the EMA reflects the prevailing market trend. When the EMA remains above the VWAP, the indicator highlights bullish conditions with blue tones. When it moves below, bearish momentum is displayed with orange tones.
Features
Adjustable VWAP anchor timeframe (Daily, Weekly, or Monthly)
Smoothed VWAP for reduced noise and improved accuracy
Dynamic EMA overlay for real-time trend detection
Color-coded shading between price and VWAP
Minimalist design ideal for clean chart analysis
How to Use
Select your preferred VWAP anchor timeframe.
Observe how the shading color shifts between blue (bullish) and orange (bearish).
Use these transitions to gauge market bias, confirm trade setups, or identify potential mean reversion zones.
ORDER BLCOK custom strategy# OB Matrix Strategy - Documentation
**Version:** 1.0
**Author:** HPotter
**Date:** 31/07/2017
The **OB Matrix Strategy** is based on the identification of **bullish and bearish Order Blocks** and the management of conditional orders with multiple Take Profit (TP) and Stop Loss (SL) levels. It uses trend filters, ATR, and percentage-based risk management.
---
## 1. Main Parameters
### Strategy
- `initial_capital`: 50
- `default_qty_type`: percentage of capital
- `default_qty_value`: 10
### Money Management
- `rr_threshold`: minimum Risk/Reward threshold to open a trade
- `risk_percent`: percentage of capital to risk per trade (default 2%)
- `maxPendingBars`: maximum number of bars for a pending order
- `maxBarsOpen`: maximum number of bars for an open position
- `qty_tp1`, `qty_tp2`, `qty_tp3`: quantity percentages for multiple TPs
---
## 2. Order Block Identification
### Order Block Parameters
- `obLookback`: number of bars to identify an Order Block
- `obmode`: method to calculate the block (`Full` or `Breadth`)
- `obmiti`: method to determine block mitigation (`Close`, `Wick`, `Avg`)
- `obMaxBlocks`: maximum number of Order Blocks displayed
### Main Variables
- `bullBlocks`: array of bullish blocks
- `bearBlocks`: array of bearish blocks
- `last_bull_volume`, `last_bear_volume`: volume of the last block
- `dom_block`: dominant block type (Bullish/Bearish/None)
- `block_strength`: block strength (normalized volume)
- `price_distance`: distance between current price and nearest block
---
## 3. Visual Parameters
- `Width`: line thickness for swing high/low
- `amountOfBoxes`: block grid segments
- `showBorder`: show block borders
- `borderWidth`: width of block borders
- `showVolume`: display volume inside blocks
- `volumePosition`: vertical position of volume text
Customizable colors:
- `obHighVolumeColor`, `obLowVolumeColor`, `obBearHighVolumeColor`, `obBearLowVolumeColor`
- `obBullBorderColor`, `obBearBorderColor`
- `obBullFillColor`, `obBearFillColor`
- `volumeTextColor`
---
## 4. Screener Table
- `showScreener`: display the screener table
- `tablePosition`: table position (`Top Left`, `Top Right`, `Bottom Left`, `Bottom Right`)
- `tableSize`: table size (`Small`, `Normal`, `Large`)
The table shows:
- Symbol, Timeframe
- Type and status of Order Block
- Number of retests
- Bullish and bearish volumes
---
## 5. Trend Filters
- EMA as a trend filter (`emaPeriod`, default 223)
- `bullishTrend` if close > EMA
- `bearishTrend` if close < EMA
---
## 6. ATR and Swing Points
- ATR calculated with a customizable period (`atrLength`)
- Swing High/Low for SL/TP calculation
- `f_getSwingTargets` function to calculate SL and TP based on direction
---
## 7. Trade Logic
### Buy Limit on Bullish OB
- Conditions:
- New bullish block
- Uptrend
- RR > threshold (`rr_threshold`)
- SL: `bullishOBPrice * (1 - atr * atrMultiplier)`
- Multiple TPs: TP1 (50%), TP2 (80%), TP3 (100% max)
- Quantity calculation based on percentage risk
### Sell Limit on Bearish OB
- Conditions:
- New bearish block
- Downtrend
- RR > threshold (`rr_threshold`)
- SL: `bearishOBPrice * (1 + atr * atrMultiplier)`
- Multiple TPs: TP1 (50%), TP2 (80%), TP3 (100% max)
- Quantity calculation based on percentage risk
---
## 8. Order Management and Timeout
- Close pending orders after `maxPendingBars` bars
- Close open positions after `maxBarsOpen` bars
- Label management for open orders
---
## 9. Alert Conditions
- `bull_touch`: price inside maximum bullish volume zone
- `bear_touch`: price inside maximum bearish volume zone
- `bull_reject`: confirmation of bullish zone rejection
- `bear_reject`: confirmation of bearish zone rejection
- `new_bull`: new bullish block
- `new_bear`: new bearish block
---
## 10. Level Calculation
- Swing levels based on selected timeframe (`SelectPeriod`)
- `xHigh` and `xLow` for S1 and R1 calculation
- Levels plotted on chart
---
## 11. Take Profit / Stop Loss
- Extended horizontal lines (`extendBars`) to visualize TP and SL
- Customizable colors (`tpColor`, `slColor`)
---
## 12. Notes
- Complete script based on Pine Script v5
- Advanced graphical management with boxes, lines, labels
- Dynamically displays volumes and Order Blocks
- Integrated internal screener
---
### End of Documentation
Stop Hunt Candlesticks (Liquidity Wicks)🕯️ Stop Hunt Candlesticks
Wick Highlighter – Spot Extreme Wicks Instantly
This indicator highlights candles where the upper or lower wick exceeds a customizable percentage of the asset’s price — perfect for quickly spotting strong rejections, liquidity grabs, stop hunts or exhaustion moves.
💡 Key Features
Visual Background Highlight: Automatically colors the chart background when a wick surpasses your defined % threshold (default 1%).
Customizable Threshold: Adjust wick sensitivity to suit different assets or timeframes.
Upper & Lower Wick Filters: Choose whether to track upper wicks, lower wicks, or both.
Dynamic Price Basis: Compare wick size relative to Close, Open, HL2, or OC2.
Optional Labels: Display the exact wick percentage directly on the chart.
Alerts Ready: Get notified whenever a candle shows an extreme wick condition.
⚙️ How It Works
The script measures each candle’s wick size relative to your chosen price basis:
Upper wick % = (High − max(Open, Close)) / Basis × 100
Lower wick % = (min(Open, Close) − Low) / Basis × 100
If the result exceeds your chosen threshold, the chart background changes color.
Red for upper wicks, green for lower wicks by default.
🎯 Use Cases
Identify strong rejections or stop hunts near key levels.
Confirm price exhaustion or potential reversals.
Filter fake breakouts or high-volatility events.
🧩 Customization
Tweak colors, transparency, and label visibility to fit seamlessly into your chart setup.
Orderflow Label with OffsetThis Pine Script automatically displays orderflow labels on the chart to visualize the current market structure and potential breakout or reversal zones.
It compares the current candle’s high and low with those of the previous cycle (e.g., 90 minutes) and places descriptive labels that highlight possible bullish or bearish behavior.
Functionality & Logic (Step-by-step explanation)
Inputs:
cycleLength: Defines the duration of one “cycle” in minutes (for example, 90 minutes).
labelXOffset: Moves the label a few bars to the right, so it doesn’t overlap the current candle.
labelStyleOffset: Controls whether labels appear pointing to the right or left side of the chart.
Previous Cycle:
The script uses request.security to retrieve the high and low from the previous cycle timeframe.
These act as reference points (similar to key levels or market structure highs/lows).
Current Candle:
The script reads the current bar’s high, low, and close values for comparison.
Orderflow Conditions:
bullSupport: The current high and close are both above the previous high → bullish breakout (strong continuation).
bullReject: The high breaks above the previous high but closes below → bullish rejection / possible top.
bearRes: The low and close are both below the previous low → bearish breakdown (continuation to downside).
bearReclaim: The low goes below the previous low but closes above → bearish reclaim / possible reversal.
Label Logic:
Before creating a new label, the previous one is deleted (label.delete(flowLbl)) to avoid clutter.
The label’s X position is shifted using xPos = bar_index + labelXOffset.
The style (left/right) is set based on the user’s preference.
Displayed Labels:
🟢 Bullish Breakout → price closes above the previous cycle high.
🟠 Bullish Rejection → fake breakout or possible top.
🔴 Bearish Breakdown → price closes below the previous cycle low.
🟡 Bearish Reclaim → failed breakdown or potential trend reversal.
⚪ Neutral (Wait) → no clear signal, advises patience and watching for setups (like CHoCH or FVGs).
Visual Behavior:
The labels appear slightly to the right of the bar for better visibility.
The color and text alignment dynamically adjust depending on whether the label is pointing left or right.
Advanced RSI with Divergence RCT This indicator provides a comprehensive RSI analysis tool by combining the classic Relative Strength Index (RSI) with a smoothing Simple Moving Average (SMA), clearly defined overbought/oversold zones, and an advanced divergence detection engine.
--- Key Features ---
1. RSI with SMA: Plots the standard RSI along with a user-defined SMA of the RSI. This helps to smooth out price action and confirm the underlying trend, identifying potential buy/sell signals on crossovers.
2. Overbought/Oversold Levels: Highlights the extreme zones with dotted horizontal lines at 80 (overbought) and 20 (oversold), providing clear visual cues for potential market reversals.
3. Advanced Divergence Detection: Automatically identifies and plots both regular and hidden divergences (bullish and bearish) directly on the chart. This helps traders spot potential reversals that are not obvious from price action alone.
--- How to Use ---
- Trend Confirmation: When the RSI crosses above its SMA, it can signal a strengthening bullish trend. A cross below can signal a strengthening bearish trend.
- Reversal Zones: When the RSI enters the overbought zone (>80) or oversold zone (<20), traders may watch for a reversal in price.
- Divergence Signals:
- A Bullish Divergence (green label 'R') occurs when the price makes a lower low, but the RSI makes a higher low, suggesting downward momentum is fading.
- A Bearish Divergence (red label 'R') occurs when the price makes a higher high, but the RSI makes a lower high, suggesting upward momentum is fading.
- Hidden Divergences ('H' labels) can indicate the continuation of an existing trend.
--- Disclaimer ---
This script is for informational and educational purposes only. It is not financial advice. Past performance is not indicative of future results. Always do your own research before making any trading decisions.
Strat 2-1-2 Reversal Alerts v2Trying out a new alert! first time. be nice, this will be cool thos!!! woooho
SJA WINFUT B3-10
INDICATOR FOR WINFUT B3 – 5-minute chart.
This indicator was designed to trade the Bovespa index futures contract (WINFUT) on the 5-minute chart.
It integrates technical analysis and macroeconomic context elements.
It combines several indicators in which the system calculates a score weighted by color and intensity for each indicator, generating a metric called “STRENGTH %,” which reflects the dominance of buyers (green), sellers (red), or sideways movement (orange) at the moment.
The calculation is adapted to market hours:
Between 9:00 a.m. and 9:59 a.m., it considers only the available indicators; after 10:00 a.m., it uses all data.
The panel displays real-time information, including divergences between strength and price, providing robust decision support for short-term operations on the mini index.
Buying trend.
The more green indicators (at the top of the panel) and dark blue indicators (at the bottom of the panel) and the higher the strength percentage, the greater the probability of buying.
Selling trend.
The more red indicators (at the top of the panel) and dark blue indicators (at the bottom of the panel) and the higher the strength percentage, the greater the probability of selling.
Translated with DeepL.com (free version)
Trend 5EMA trend tracker.
This script plots two EMAs: a short-term EMA (line) and a long-term EMA (dots). The line color turns green when the short EMA is above the long EMA, and red when it’s below. Users can select a custom timeframe for the EMA calculation using the input settings. A shaded area is drawn between the two EMAs to visually represent the trend zone.
Crypto Mean Reversion System (Pullback & Bounce)Mean Reversion Theory
The indicator operates on the principle that extreme price movements in crypto markets tend to revert toward their mean over time.
Consider this a valuable aid for your dollar-cost averaging strategy, effectively identifying periods ripe for accumulating or divesting from the market.
Research shows that:
Short-term momentum often persists briefly after surges, but extreme moves trigger mean reversion
Sharp drops exhibit strong bounce patterns, especially after capitulation events
Longer timeframes (7-day) show stronger mean reversion tendencies than shorter ones (1-day)
Timeframe Analysis
1-Day Timeframe
Pullback probabilities: 45-85% depending on surge magnitude
Bounce probabilities: 55-95% depending on drop severity
Captures immediate overextension and panic selling
More volatile but faster signal generation
7-Day Timeframe
Pullback probabilities: 50-90% (higher confidence)
Bounce probabilities: 50-90% (slightly moderated)
Filters out noise and identifies sustained trends
Stronger mean reversion signals due to extended moves
Probability Tiers
Pullback Risk (After Surges)
Moderate (45-60%): 5-10% surge → Expected -3% to -12% pullback
High (55-70%): 10-15% surge → Expected -5% to -18% pullback
Very High (65-80%): 15-25% surge → Expected -10% to -25% pullback
Extreme (75-90%): 25%+ surge → Expected -15% to -40% pullback
Bounce Probability (After Drops)
Moderate (55-65%): -5% to -10% drop → Expected +3% to +10% bounce
High (65-75%): -10% to -15% drop → Expected +6% to +18% bounce
Very High (75-85%): -15% to -25% drop → Expected +10% to +30% bounce
Extreme (85-95%): -25%+ drop → Expected +18% to +45% bounce
The probability ranges are derived from:
Crypto volatility patterns: Higher volatility than traditional assets creates stronger mean reversion
Behavioral finance: Extreme moves trigger emotional trading (FOMO/panic) that reverses
Historical backtesting: Probability estimates based on typical reversion patterns in crypto markets
Timeframe correlation: Longer timeframes show increased reversion probability due to reduced noise
Key Features
Dual-direction signals: Identifies both overbought (pullback) and oversold (bounce) conditions
Multi-timeframe confirmation: 1D and 7D analysis for different trading styles
Customizable thresholds: Adjust sensitivity based on asset volatility
Visual alerts: Color-coded labels and table for quick assessment
Risk categorization: Clear severity levels for position sizing
Trend Aligned SFP - HyruA powerful combination of the Swing Failure Pattern (SFP) detection with Weekly VWAP trend filtering for higher-probability trade setups.
What This Indicator Does
This indicator identifies Swing Failure Patterns (SFPs) - also known as "stop hunts" or failed breakouts - but only shows signals that align with the Weekly VWAP trend direction. This filtering dramatically reduces false signals by ensuring you're trading with the dominant market flow.
Alert Types
SFP Detected - Fires immediately when the pattern forms (on the wick bar)
SFP Confirmed - Fires when price closes beyond the confirmation level (safer entry)
Best Practices
Use on any timeframe (works great on 5m-1H for scalping, 4H-1D for swing trading)
Enable VWAP filter for cleaner, higher-probability signals
Wait for confirmation alerts for lower risk entries
Combine with your favorite support/resistance levels for confluence
FVG Strength Detector (1–5)shows you fair value gaps with a rating score of 5 strongest to 1 weakest so if u see a 4 thats a good area