Volatility Regime Classifier | ATRP Percentile ZonesThis indicator helps you understand the current volatility environment of any asset by comparing recent ATR-based values to its historical range.
It defines four regimes:
🔴 Low Volatility: Volatility is decreasing
🟢 Normal: Volatility is increasing but still below average
🟠 High: Volatility is elevated
🟣 Extreme: Volatility is very high compared to recent history
⚙️ How it works
We calculate the Average True Range (ATR) as a percentage of price (ATRP), then compare a short-term ATR to a longer-term one. Their difference shows whether volatility is picking up or slowing down.
To make the signal more adaptive, we look at the distribution of recent volatility over a rolling window. We compute the 50th and 70th percentiles of that history to set dynamic thresholds.
About distribution & percentiles
Volatility in financial markets doesn't follow a normal (Gaussian) distribution, it's often skewed, with sudden spikes and fat tails. That means fixed thresholds (like "ATR > 20") can be misleading or irrelevant across assets and timeframes.
Using percentiles solves this:
The 50th percentile marks the middle of the recent volatility range.
The 70th percentile captures a zone where volatility is unusually high, but not too rare, which keeps the signal usable and not overly sensitive.
These levels offer a balance:
⚖️ not too reactive, not too slow — just enough to highlight meaningful shifts.
✅ Use cases
Spot changes in market conditions
Filter or adapt strategies depending on the regime
Adjust position sizing and risk dynamically
Volatilite
Price Change Sentiment Index [tradeviZion]Price Change Sentiment Index
A technical indicator that measures price changes relative to the day's range.
Indicator Overview
Normalizes price changes on a 0-100 scale
Uses a smoothing period for signal clarity
Shows potential overbought/oversold conditions
Inputs
Smoothing Period (default: 3)
Show Background Colors (on/off)
Overbought Level (default: 75)
Oversold Level (default: 25)
Reading the Indicator
Values above 75: Price change showing strong upward movement
Values below 25: Price change showing strong downward movement
Around 50: Neutral price movement
Technical Details
// Core calculation
changePct = (currClose - prevClose) / (high - low)
normalized = 50 + (changePct * 50)
smoothedNormalized = ta.sma(normalizedClamped, smoothingPeriod)
Usage Notes
Best used with other technical analysis tools
Adjustable smoothing period affects signal sensitivity
Background colors highlight extreme readings
Works on any timeframe
Settings Guide
Smoothing Period:
- Lower values (1-3): More responsive
- Higher values (5-10): Smoother output
Visual Settings: Toggle background colors
Levels: Adjust overbought/oversold thresholds
This indicator is a technical analysis tool. Please conduct your own research and testing before use.
Dskyz (DAFE) Adaptive Regime - Quant Machine ProDskyz (DAFE) Adaptive Regime - Quant Machine Pro:
Buckle up for the Dskyz (DAFE) Adaptive Regime - Quant Machine Pro, is a strategy that’s your ultimate edge for conquering futures markets like ES, MES, NQ, and MNQ. This isn’t just another script—it’s a quant-grade powerhouse, crafted with precision to adapt to market regimes, deliver multi-factor signals, and protect your capital with futures-tuned risk management. With its shimmering DAFE visuals, dual dashboards, and glowing watermark, it turns your charts into a cyberpunk command center, making trading as thrilling as it is profitable.
Unlike generic scripts clogging up the space, the Adaptive Regime is a DAFE original, built from the ground up to tackle the chaos of futures trading. It identifies market regimes (Trending, Range, Volatile, Quiet) using ADX, Bollinger Bands, and HTF indicators, then fires trades based on a weighted scoring system that blends candlestick patterns, RSI, MACD, and more. Add in dynamic stops, trailing exits, and a 5% drawdown circuit breaker, and you’ve got a system that’s as safe as it is aggressive. Whether you’re a newbie or a prop desk pro, this strat’s your ticket to outsmarting the markets. Let’s break down every detail and see why it’s a must-have.
Why Traders Need This Strategy
Futures markets are a gauntlet—fast moves, volatility spikes (like the April 28, 2025 NQ 1k-point drop), and institutional traps that punish the unprepared. Meanwhile, platforms are flooded with low-effort scripts that recycle old ideas with zero innovation. The Adaptive Regime stands tall, offering:
Adaptive Intelligence: Detects market regimes (Trending, Range, Volatile, Quiet) to optimize signals, unlike one-size-fits-all scripts.
Multi-Factor Precision: Combines candlestick patterns, MA trends, RSI, MACD, volume, and HTF confirmation for high-probability trades.
Futures-Optimized Risk: Calculates position sizes based on $ risk (default: $300), with ATR or fixed stops/TPs tailored for ES/MES.
Bulletproof Safety: 5% daily drawdown circuit breaker and trailing stops keep your account intact, even in chaos.
DAFE Visual Mastery: Pulsing Bollinger Band fills, dynamic SL/TP lines, and dual dashboards (metrics + position) make signals crystal-clear and charts a work of art.
Original Craftsmanship: A DAFE creation, built with community passion, not a rehashed clone of generic code.
Traders need this because it’s a complete, adaptive system that blends quant smarts, user-friendly design, and DAFE flair. It’s your edge to trade with confidence, cut through market noise, and leave the copycats in the dust.
Strategy Components
1. Market Regime Detection
The strategy’s brain is its ability to classify market conditions into five regimes, ensuring signals match the environment.
How It Works:
Trending (Regime 1): ADX > 20, fast/slow EMA spread > 0.3x ATR, HTF RSI > 50 or MACD bullish (htf_trend_bull/bear).
Range (Regime 2): ADX < 25, price range < 3% of close, no HTF trend.
Volatile (Regime 3): BB width > 1.5x avg, ATR > 1.2x avg, HTF RSI overbought/oversold.
Quiet (Regime 4): BB width < 0.8x avg, ATR < 0.9x avg.
Other (Regime 5): Default for unclear conditions.
Indicators: ADX (14), BB width (20), ATR (14, 50-bar SMA), HTF RSI (14, daily default), HTF MACD (12,26,9).
Why It’s Brilliant:
Regime detection adapts signals to market context, boosting win rates in trending or volatile conditions.
HTF RSI/MACD add a big-picture filter, rare in basic scripts.
Visualized via gradient background (green for Trending, orange for Range, red for Volatile, gray for Quiet, navy for Other).
2. Multi-Factor Signal Scoring
Entries are driven by a weighted scoring system that combines candlestick patterns, trend, momentum, and volume for robust signals.
Candlestick Patterns:
Bullish: Engulfing (0.5), hammer (0.4 in Range, 0.2 else), morning star (0.2), piercing (0.2), double bottom (0.3 in Volatile, 0.15 else). Must be near support (low ≤ 1.01x 20-bar low) with volume spike (>1.5x 20-bar avg).
Bearish: Engulfing (0.5), shooting star (0.4 in Range, 0.2 else), evening star (0.2), dark cloud (0.2), double top (0.3 in Volatile, 0.15 else). Must be near resistance (high ≥ 0.99x 20-bar high) with volume spike.
Logic: Patterns are weighted higher in specific regimes (e.g., hammer in Range, double bottom in Volatile).
Additional Factors:
Trend: Fast EMA (20) > slow EMA (50) + 0.5x ATR (trend_bull, +0.2); opposite for trend_bear.
RSI: RSI (14) < 30 (rsi_bull, +0.15); > 70 (rsi_bear, +0.15).
MACD: MACD line > signal (12,26,9, macd_bull, +0.15); opposite for macd_bear.
Volume: ATR > 1.2x 50-bar avg (vol_expansion, +0.1).
HTF Confirmation: HTF RSI < 70 and MACD bullish (htf_bull_confirm, +0.2); RSI > 30 and MACD bearish (htf_bear_confirm, +0.2).
Scoring:
bull_score = sum of bullish factors; bear_score = sum of bearish. Entry requires score ≥ 1.0.
Example: Bullish engulfing (0.5) + trend_bull (0.2) + rsi_bull (0.15) + htf_bull_confirm (0.2) = 1.05, triggers long.
Why It’s Brilliant:
Multi-factor scoring ensures signals are confirmed by multiple market dynamics, reducing false positives.
Regime-specific weights make patterns more relevant (e.g., hammers shine in Range markets).
HTF confirmation aligns with the big picture, a quant edge over simplistic scripts.
3. Futures-Tuned Risk Management
The risk system is built for futures, calculating position sizes based on $ risk and offering flexible stops/TPs.
Position Sizing:
Logic: Risk per trade (default: $300) ÷ (stop distance in points * point value) = contracts, capped at max_contracts (default: 5). Point value = tick value (e.g., $12.5 for ES) * ticks per point (4) * contract multiplier (1 for ES, 0.1 for MES).
Example: $300 risk, 8-point stop, ES ($50/point) → 0.75 contracts, rounded to 1.
Impact: Precise sizing prevents over-leverage, critical for micro contracts like MES.
Stops and Take-Profits:
Fixed: Default stop = 8 points, TP = 16 points (2:1 reward/risk).
ATR-Based: Stop = 1.5x ATR (default), TP = 3x ATR, enabled via use_atr_for_stops.
Logic: Stops set at swing low/high ± stop distance; TPs at 2x stop distance from entry.
Impact: ATR stops adapt to volatility, while fixed stops suit stable markets.
Trailing Stops:
Logic: Activates at 50% of TP distance. Trails at close ± 1.5x ATR (atr_multiplier). Longs: max(trail_stop_long, close - ATR * 1.5); shorts: min(trail_stop_short, close + ATR * 1.5).
Impact: Locks in profits during trends, a game-changer in volatile sessions.
Circuit Breaker:
Logic: Pauses trading if daily drawdown > 5% (daily_drawdown = (max_equity - equity) / max_equity).
Impact: Protects capital during black swan events (e.g., April 27, 2025 ES slippage).
Why It’s Brilliant:
Futures-specific inputs (tick value, multiplier) make it plug-and-play for ES/MES.
Trailing stops and circuit breaker add pro-level safety, rare in off-the-shelf scripts.
Flexible stops (ATR or fixed) suit different trading styles.
4. Trade Entry and Exit Logic
Entries and exits are precise, driven by bull_score/bear_score and protected by drawdown checks.
Entry Conditions:
Long: bull_score ≥ 1.0, no position (position_size <= 0), drawdown < 5% (not pause_trading). Calculates contracts, sets stop at swing low - stop points, TP at 2x stop distance.
Short: bear_score ≥ 1.0, position_size >= 0, drawdown < 5%. Stop at swing high + stop points, TP at 2x stop distance.
Logic: Tracks entry_regime for PNL arrays. Closes opposite positions before entering.
Exit Conditions:
Stop-Loss/Take-Profit: Hits stop or TP (strategy.exit).
Trailing Stop: Activates at 50% TP, trails by ATR * 1.5.
Emergency Exit: Closes if price breaches stop (close < long_stop_price or close > short_stop_price).
Reset: Clears stop/TP prices when flat (position_size = 0).
Why It’s Brilliant:
Score-based entries ensure multi-factor confirmation, filtering out weak signals.
Trailing stops maximize profits in trends, unlike static exits in basic scripts.
Emergency exits add an extra safety layer, critical for futures volatility.
5. DAFE Visuals
The visuals are pure DAFE magic, blending function with cyberpunk flair to make signals intuitive and charts stunning.
Shimmering Bollinger Band Fill:
Display: BB basis (20, white), upper/lower (green/red, 45% transparent). Fill pulses (30–50 alpha) by regime, with glow (60–95 alpha) near bands (close ≥ 0.995x upper or ≤ 1.005x lower).
Purpose: Highlights volatility and key levels with a futuristic glow.
Visuals make complex regimes and signals instantly clear, even for newbies.
Pulsing effects and regime-specific colors add a DAFE signature, setting it apart from generic scripts.
BB glow emphasizes tradeable levels, enhancing decision-making.
Chart Background (Regime Heatmap):
Green — Trending Market: Strong, sustained price movement in one direction. The market is in a trend phase—momentum follows through.
Orange — Range-Bound: Market is consolidating or moving sideways, with no clear up/down trend. Great for mean reversion setups.
Red — Volatile Regime: High volatility, heightened risk, and larger/faster price swings—trade with caution.
Gray — Quiet/Low Volatility: Market is calm and inactive, with small moves—often poor conditions for most strategies.
Navy — Other/Neutral: Regime is uncertain or mixed; signals may be less reliable.
Bollinger Bands Glow (Dynamic Fill):
Neon Red Glow — Warning!: Price is near or breaking above the upper band; momentum is overstretched, watch for overbought conditions or reversals.
Bright Green Glow — Opportunity!: Price is near or breaking below the lower band; market could be oversold, prime for bounce or reversal.
Trend Green Fill — Trending Regime: Fills between bands with green when the market is trending, showing clear momentum.
Gold/Yellow Fill — Range Regime: Fills with gold/aqua in range conditions, showing the market is sideways/oscillating.
Magenta/Red Fill — Volatility Spike: Fills with vivid magenta/red during highly volatile regimes.
Blue Fill — Neutral/Quiet: A soft blue glow for other or uncertain market states.
Moving Averages:
Display: Blue fast EMA (20), red slow EMA (50), 2px.
Purpose: Shows trend direction, with trend_dir requiring ATR-scaled spread.
Dynamic SL/TP Lines:
Display: Pulsing colors (red SL, green TP for Trending; yellow/orange for Range, etc.), 3px, with pulse_alpha for shimmer.
Purpose: Tracks stops/TPs in real-time, color-coded by regime.
6. Dual Dashboards
Two dashboards deliver real-time insights, making the strat a quant command center.
Bottom-Left Metrics Dashboard (2x13):
Metrics: Mode (Active/Paused), trend (Bullish/Bearish/Neutral), ATR, ATR avg, volume spike (YES/NO), RSI (value + Oversold/Overbought/Neutral), HTF RSI, HTF trend, last signal (Buy/Sell/None), regime, bull score.
Display: Black (29% transparent), purple title, color-coded (green for bullish, red for bearish).
Purpose: Consolidates market context and signal strength.
Top-Right Position Dashboard (2x7):
Metrics: Regime, position side (Long/Short/None), position PNL ($), SL, TP, daily PNL ($).
Display: Black (29% transparent), purple title, color-coded (lime for Long, red for Short).
Purpose: Tracks live trades and profitability.
Why It’s Brilliant:
Dual dashboards cover market context and trade status, a rare feature.
Color-coding and concise metrics guide beginners (e.g., green “Buy” = go).
Real-time PNL and SL/TP visibility empower disciplined trading.
7. Performance Tracking
Logic: Arrays (regime_pnl_long/short, regime_win/loss_long/short) track PNL and win/loss by regime (1–5). Updated on trade close (barstate.isconfirmed).
Purpose: Prepares for future adaptive thresholds (e.g., adjust bull_score min based on regime performance).
Why It’s Brilliant: Lays the groundwork for self-optimizing logic, a quant edge over static scripts.
Key Features
Regime-Adaptive: Optimizes signals for Trending, Range, Volatile, Quiet markets.
Futures-Optimized: Precise sizing for ES/MES with tick-based risk inputs.
Multi-Factor Signals: Candlestick patterns, RSI, MACD, and HTF confirmation for robust entries.
Dynamic Exits: ATR/fixed stops, 2:1 TPs, and trailing stops maximize profits.
Safe and Smart: 5% drawdown breaker and emergency exits protect capital.
DAFE Visuals: Shimmering BB fill, pulsing SL/TP, and dual dashboards.
Backtest-Ready: Fixed qty and tick calc for accurate historical testing.
How to Use
Add to Chart: Load on a 5min ES/MES chart in TradingView.
Configure Inputs: Set instrument (ES/MES), tick value ($12.5/$1.25), multiplier (1/0.1), risk ($300 default). Enable ATR stops for volatility.
Monitor Dashboards: Bottom-left for regime/signals, top-right for position/PNL.
Backtest: Run in strategy tester to compare regimes.
Live Trade: Connect to Tradovate or similar. Watch for slippage (e.g., April 27, 2025 ES issues).
Replay Test: Try April 28, 2025 NQ drop to see regime shifts and stops.
Disclaimer
Trading futures involves significant risk of loss and is not suitable for all investors. Past performance does not guarantee future results. Backtest results may differ from live trading due to slippage, fees, or market conditions. Use this strategy at your own risk, and consult a financial advisor before trading. Dskyz (DAFE) Trading Systems is not responsible for any losses incurred.
Backtesting:
Frame: 2023-09-20 - 2025-04-29
Slippage: 3
Fee Typical Range (per side, per contract)
CME Exchange $1.14 – $1.20
Clearing $0.10 – $0.30
NFA Regulatory $0.02
Firm/Broker Commis. $0.25 – $0.80 (retail prop)
TOTAL $1.60 – $2.30 per side
Round Turn: (enter+exit) = $3.20 – $4.60 per contract
Final Notes
The Dskyz (DAFE) Adaptive Regime - Quant Machine Pro is more than a strategy—it’s a revolution. Crafted with DAFE’s signature precision, it rises above generic scripts with adaptive regimes, quant-grade signals, and visuals that make trading a thrill. Whether you’re scalping MES or swinging ES, this system empowers you to navigate markets with confidence and style. Join the DAFE crew, light up your charts, and let’s dominate the futures game!
(This publishing will most likely be taken down do to some miscellaneous rule about properly displaying charting symbols, or whatever. Once I've identified what part of the publishing they want to pick on, I'll adjust and repost.)
Use it with discipline. Use it with clarity. Trade smarter.
**I will continue to release incredible strategies and indicators until I turn this into a brand or until someone offers me a contract.
Created by Dskyz, powered by DAFE Trading Systems. Trade smart, trade bold.
Tremor Tracker [theUltimator5]Tremor Tracker is a volatility monitoring tool that visualizes the "tremors" of price action by measuring and analyzing the average volatility of the current trading range, working on any timeframe. This indicator is designed to help traders detect when the market is calm, when volatility is building, and when it enters a potentially unstable or explosive state by using a lookback period to determine the average volatility and highlights outliers.
🔍 What It Does
Calculates bar-level volatility as the percentage difference between the high and low of each candle.
Applies a user-selected moving average (SMA, EMA, or WMA) to smooth out short-term noise and highlight trends in volatility.
Compares current volatility to its long-term average over a configurable lookback period.
Dynamically colors each volatility bar based on how extreme it is relative to historical behavior:
🟢 Lime — Low volatility (subdued, ranging conditions)
🟡 Yellow — Moderate or building volatility
🟣 Fuchsia — Elevated or explosive volatility
⚙️ Customizable Settings
Low Volatility Limit and High Volatility Limit: Define the thresholds for color changes based on volatility's ratio to its average.
Volatility MA Length: Adjust the smoothing period for the volatility moving average.
Average Volatility Lookback: Set how many bars are used to calculate the long-term average.
MA Type: Choose between SMA, EMA, or WMA for smoothing.
Show Volatility MA Line?: Toggle the display of the smoothed volatility trendline.
Show Raw Volatility Bars?: Toggle the display of raw per-bar volatility with dynamic coloring.
🧠 Use Cases
Identify breakout conditions: When volatility spikes above average, it may signal the onset of a new trend or a news-driven breakout.
Avoid chop zones: Prolonged periods of low volatility often precede sharp moves — a classic “calm before the storm” setup.
Timing reversion trades: Detect overextended conditions when volatility is well above historical norms.
Adapt strategies by volatility regime: Use color feedback to adjust risk, position sizing, or strategy selection based on real-time conditions.
📌 Notes
Volatility is expressed as a percentage, making this indicator suitable for use across different timeframes and asset classes.
The tool is designed to be visually intuitive, so traders can quickly spot evolving volatility states without diving into raw numbers.
Dskyz (DAFE) Aurora Divergence – Quant Master Dskyz (DAFE) Aurora Divergence – Quant Master
Introducing the Dskyz (DAFE) Aurora Divergence – Quant Master , a strategy that’s your secret weapon for mastering futures markets like MNQ, NQ, MES, and ES. Born from the legendary Aurora Divergence indicator, this fully automated system transforms raw divergence signals into a quant-grade trading machine, blending precision, risk management, and cyberpunk DAFE visuals that make your charts glow like a neon skyline. Crafted with care and driven by community passion, this strategy stands out in a sea of generic scripts, offering traders a unique edge to outsmart institutional traps and navigate volatile markets.
The Aurora Divergence indicator was a cult favorite for spotting price-OBV divergences with its aqua and fuchsia orbs, but traders craved a system to act on those signals with discipline and automation. This strategy delivers, layering advanced filters (z-score, ATR, multi-timeframe, session), dynamic risk controls (kill switches, adaptive stops/TPs), and a real-time dashboard to turn insights into profits. Whether you’re a newbie dipping into futures or a pro hunting reversals, this strat’s got your back with a beginner guide, alerts, and visuals that make trading feel like a sci-fi mission. Let’s dive into every detail and see why this original DAFE creation is a must-have.
Why Traders Need This Strategy
Futures markets are a battlefield—fast-paced, volatile, and riddled with institutional games that can wipe out undisciplined traders. From the April 28, 2025 NQ 1k-point drop to sneaky ES slippage, the stakes are high. Meanwhile, platforms are flooded with unoriginal, low-effort scripts that promise the moon but deliver noise. The Aurora Divergence – Quant Master rises above, offering:
Unmatched Originality: A bespoke system built from the ground up, with custom divergence logic, DAFE visuals, and quant filters that set it apart from copycat clutter.
Automation with Precision: Executes trades on divergence signals, eliminating emotional slip-ups and ensuring consistency, even in chaotic sessions.
Quant-Grade Filters: Z-score, ATR, multi-timeframe, and session checks filter out noise, targeting high-probability reversals.
Robust Risk Management: Daily loss and rolling drawdown kill switches, plus ATR-based stops/TPs, protect your capital like a fortress.
Stunning DAFE Visuals: Aqua/fuchsia orbs, aurora bands, and a glowing dashboard make signals intuitive and charts a work of art.
Community-Driven: Evolved from trader feedback, this strat’s a labor of love, not a recycled knockoff.
Traders need this because it’s a complete, original system that blends accessibility, sophistication, and style. It’s your edge to trade smarter, not harder, in a market full of traps and imitators.
1. Divergence Detection (Core Signal Logic)
The strategy’s core is its ability to detect bullish and bearish divergences between price and On-Balance Volume (OBV), pinpointing reversals with surgical accuracy.
How It Works:
Price Slope: Uses linear regression over a lookback (default: 9 bars) to measure price momentum (priceSlope).
OBV Slope: OBV tracks volume flow (+volume if price rises, -volume if falls), with its slope calculated similarly (obvSlope).
Bullish Divergence: Price slope negative (falling), OBV slope positive (rising), and price above 50-bar SMA (trend_ma).
Bearish Divergence: Price slope positive (rising), OBV slope negative (falling), and price below 50-bar SMA.
Smoothing: Requires two consecutive divergence bars (bullDiv2, bearDiv2) to confirm signals, reducing false positives.
Strength: Divergence intensity (divStrength = |priceSlope * obvSlope| * sensitivity) is normalized (0–1, divStrengthNorm) for visuals.
Why It’s Brilliant:
- Divergences catch hidden momentum shifts, often exploited by institutions, giving you an edge on reversals.
- The 50-bar SMA filter aligns signals with the broader trend, avoiding choppy markets.
- Adjustable lookback (min: 3) and sensitivity (default: 1.0) let you tune for different instruments or timeframes.
2. Filters for Precision
Four advanced filters ensure signals are high-probability and market-aligned, cutting through the noise of volatile futures.
Z-Score Filter:
Logic: Calculates z-score ((close - SMA) / stdev) over a lookback (default: 50 bars). Blocks entries if |z-score| > threshold (default: 1.5) unless disabled (useZFilter = false).
Impact: Avoids trades during extreme price moves (e.g., blow-off tops), keeping you in statistically safe zones.
ATR Percentile Volatility Filter:
Logic: Tracks 14-bar ATR in a 100-bar window (default). Requires current ATR > 80th percentile (percATR) to trade (tradeOk).
Impact: Ensures sufficient volatility for meaningful moves, filtering out low-volume chop.
Multi-Timeframe (HTF) Trend Filter:
Logic: Uses a 50-bar SMA on a higher timeframe (default: 60min). Longs require price > HTF MA (bullTrendOK), shorts < HTF MA (bearTrendOK).
Impact: Aligns trades with the bigger trend, reducing counter-trend losses.
US Session Filter:
Logic: Restricts trading to 9:30am–4:00pm ET (default: enabled, useSession = true) using America/New_York timezone.
Impact: Focuses on high-liquidity hours, avoiding overnight spreads and erratic moves.
Evolution:
- These filters create a robust signal pipeline, ensuring trades are timed for optimal conditions.
- Customizable inputs (e.g., zThreshold, atrPercentile) let traders adapt to their style without compromising quality.
3. Risk Management
The strategy’s risk controls are a masterclass in balancing aggression and safety, protecting capital in volatile markets.
Daily Loss Kill Switch:
Logic: Tracks daily loss (dayStartEquity - strategy.equity). Halts trading if loss ≥ $300 (default) and enabled (killSwitch = true, killSwitchActive).
Impact: Caps daily downside, crucial during events like April 27, 2025 ES slippage.
Rolling Drawdown Kill Switch:
Logic: Monitors drawdown (rollingPeak - strategy.equity) over 100 bars (default). Stops trading if > $1000 (rollingKill).
Impact: Prevents prolonged losing streaks, preserving capital for better setups.
Dynamic Stop-Loss and Take-Profit:
Logic: Stops = entry ± ATR * multiplier (default: 1.0x, stopDist). TPs = entry ± ATR * 1.5x (profitDist). Longs: stop below, TP above; shorts: vice versa.
Impact: Adapts to volatility, keeping stops tight but realistic, with TPs targeting 1.5:1 reward/risk.
Max Bars in Trade:
Logic: Closes trades after 8 bars (default) if not already exited.
Impact: Frees capital from stagnant trades, maintaining efficiency.
Kill Switch Buffer Dashboard:
Logic: Shows smallest buffer ($300 - daily loss or $1000 - rolling DD). Displays 0 (red) if kill switch active, else buffer (green).
Impact: Real-time risk visibility, letting traders adjust dynamically.
Why It’s Brilliant:
- Kill switches and ATR-based exits create a safety net, rare in generic scripts.
- Customizable risk inputs (maxDailyLoss, dynamicStopMult) suit different account sizes.
- Buffer metric empowers disciplined trading, a DAFE signature.
4. Trade Entry and Exit Logic
The entry/exit rules are precise, filtered, and adaptive, ensuring trades are deliberate and profitable.
Entry Conditions:
Long Entry: bullDiv2, cooldown passed (canSignal), ATR filter passed (tradeOk), in US session (inSession), no kill switches (not killSwitchActive, not rollingKill), z-score OK (zOk), HTF trend bullish (bullTrendOK), no existing long (lastDirection != 1, position_size <= 0). Closes shorts first.
Short Entry: Same, but for bearDiv2, bearTrendOK, no long (lastDirection != -1, position_size >= 0). Closes longs first.
Adaptive Cooldown: Default 2 bars (cooldownBars). Doubles (up to 10) after a losing trade, resets after wins (dynamicCooldown).
Exit Conditions:
Stop-Loss/Take-Profit: Set per trade (ATR-based). Exits on stop/TP hits.
Other Exits: Closes if maxBarsInTrade reached, ATR filter fails, or kill switch activates.
Position Management: Ensures no conflicting positions, closing opposites before new entries.
Built To Be Reliable and Consistent:
- Multi-filtered entries minimize false signals, a stark contrast to basic scripts.
- Adaptive cooldown prevents overtrading, especially after losses.
- Clean position handling ensures smooth execution, even in fast markets.
5. DAFE Visuals
The visuals are a DAFE hallmark, blending function with clean flair to make signals intuitive and charts stunning.
Aurora Bands:
Display: Bands around price during divergences (bullish: below low, bearish: above high), sized by ATR * bandwidth (default: 0.5).
Colors: Aqua (bullish), fuchsia (bearish), with transparency tied to divStrengthNorm.
Purpose: Highlights divergence zones with a glowing, futuristic vibe.
Divergence Orbs:
Display: Large/small circles (aqua below for bullish, fuchsia above for bearish) when bullDiv2/bearDiv2 and canSignal. Labels show strength (0–1).
Purpose: Pinpoints entries with eye-catching clarity.
Gradient Background:
Display: Green (bullish), red (bearish), or gray (neutral), 90–95% transparent.
Purpose: Sets the market mood without clutter.
Strategy Plots:
- Stop/TP Lines: Red (stops), green (TPs) for active trades.
- HTF MA: Yellow line for trend context.
- Z-Score: Blue step-line (if enabled).
- Kill Switch Warning: Red background flash when active.
What Makes This Next-Level?:
- Visuals make complex signals (divergences, filters) instantly clear, even for beginners.
- DAFE’s unique aesthetic (orbs, bands) sets it apart from generic scripts, reinforcing originality.
- Functional plots (stops, TPs) enhance trade management.
6. Metrics Dashboard
The top-right dashboard (2x8 table) is your command center, delivering real-time insights.
Metrics:
Daily Loss ($): Current loss vs. day’s start, red if > $300.
Rolling DD ($): Drawdown vs. 100-bar peak, red if > $1000.
ATR Threshold: Current percATR, green if ATR exceeds, red if not.
Z-Score: Current value, green if within threshold, red if not.
Signal: “Bullish Div” (aqua), “Bearish Div” (fuchsia), or “None” (gray).
Action: “Consider Buying”/“Consider Selling” (signal color) or “Wait” (gray).
Kill Switch Buffer ($): Smallest buffer to kill switch, green if > 0, red if 0.
Why This Is Important?:
- Consolidates critical data, making decisions effortless.
- Color-coded metrics guide beginners (e.g., green action = go).
- Buffer metric adds transparency, rare in off-the-shelf scripts.
7. Beginner Guide
Beginner Guide: Middle-right table (shown once on chart load), explains aqua orbs (bullish, buy) and fuchsia orbs (bearish, sell).
Key Features:
Futures-Optimized: Tailored for MNQ, NQ, MES, ES with point-value adjustments.
Highly Customizable: Inputs for lookback, sensitivity, filters, and risk settings.
Real-Time Insights: Dashboard and visuals update every bar.
Backtest-Ready: Fixed qty and tick calc for accurate historical testing.
User-Friendly: Guide, visuals, and dashboard make it accessible yet powerful.
Original Design: DAFE’s unique logic and visuals stand out from generic scripts.
How to Use
Add to Chart: Load on a 5min MNQ/ES chart in TradingView.
Configure Inputs: Adjust instrument, filters, or risk (defaults optimized for MNQ).
Monitor Dashboard: Watch signals, actions, and risk metrics (top-right).
Backtest: Run in strategy tester to evaluate performance.
Live Trade: Connect to a broker (e.g., Tradovate) for automation. Watch for slippage (e.g., April 27, 2025 ES issues).
Replay Test: Use bar replay (e.g., April 28, 2025 NQ drop) to test volatility handling.
Disclaimer
Trading futures involves significant risk of loss and is not suitable for all investors. Past performance is not indicative of future results. Backtest results may not reflect live trading due to slippage, fees, or market conditions. Use this strategy at your own risk, and consult a financial advisor before trading. Dskyz (DAFE) Trading Systems is not responsible for any losses incurred.
Backtesting:
Frame: 2023-09-20 - 2025-04-29
Fee Typical Range (per side, per contract)
CME Exchange $1.14 – $1.20
Clearing $0.10 – $0.30
NFA Regulatory $0.02
Firm/Broker Commis. $0.25 – $0.80 (retail prop)
TOTAL $1.60 – $2.30 per side
Round Turn: (enter+exit) = $3.20 – $4.60 per contract
Final Notes
The Dskyz (DAFE) Aurora Divergence – Quant Master isn’t just a strategy—it’s a movement. Crafted with originality and driven by community passion, it rises above the flood of generic scripts to deliver a system that’s as powerful as it is beautiful. With its quant-grade logic, DAFE visuals, and robust risk controls, it empowers traders to tackle futures with confidence and style. Join the DAFE crew, light up your charts, and let’s outsmart the markets together!
(This publishing will most likely be taken down do to some miscellaneous rule about properly displaying charting symbols, or whatever. Once I've identified what part of the publishing they want to pick on, I'll adjust and repost.)
Use it with discipline. Use it with clarity. Trade smarter.
**I will continue to release incredible strategies and indicators until I turn this into a brand or until someone offers me a contract.
Created by Dskyz, powered by DAFE Trading Systems. Trade fast, trade bold.
RSI + Composite RSI with Regular & Hidden Divergences📌 Description (for TradingView Public Publishing):
RSI Composite Pro is a reimagined version of the classic RSI indicator, enhanced with deeper insights. This tool displays both the standard RSI of the current asset and a normalized RSI derived from a reference index (e.g., XU100, NDX, SPX), all on the same panel.
By default, the composite RSI source is automatically selected based on the exchange you're viewing (e.g., BIST → XU100, NASDAQ → NDX, NYSE → SPX). However, users can also manually input any symbol through the settings panel.
Additionally, you can apply smoothing filters such as SMA, EMA, or Bollinger Bands to both RSI lines.
The script also detects regular and hidden divergences on RSI, helping to identify potential trend reversal points.
Key Features:
Dual RSI view: asset RSI vs. composite market RSI
Auto or manual selection of composite RSI source
Supports MA smoothing and Bollinger Band overlays
Automatic detection of regular & hidden divergences
Clean and customizable visualization on a single chart
This indicator is flexible and can be tailored to your trading style, suitable for both short-term trading and trend analysis.
SwingArm ATR Trend (Blackflag FTS) + HTF Zones & Trail📐 SwingArm ATR Trend + HTF Zones | Blackflag FTS Concept
A precision-engineered volatility mapping and trend-trailing system inspired by the Blackflag FTS / SwingArm ATR methodology — now enhanced with multi-timeframe confluence, adaptive ATR zones, and Fibonacci-level support/resistance architecture.
Designed for trend traders, scalpers, and swing specialists, this tool visually defines where price is likely to pivot, trend, or exhaust — based entirely on structure and volatility, not lagging signals.
🧩 Core Logic
🔹 Adaptive Swing Zones (Current TF)
Built using Fibonacci-scaled ATR offsets from a dynamic midline (the average of the session high/low), these zones evolve with price structure:
Zone +1 / -1: Primary volatility boundaries — breakout or pullback zones.
Zone +2 / -2: Extended moves — high-momentum areas.
Zone +3 / -3: Exhaustion zones — potential reversal or take-profit areas.
Color shifts dynamically based on directional bias (bullish/bearish).
🟨 Trailing Stop (Current TF)
An adaptive trailing stopline that follows trend shifts using midline ± ATR logic.
Acts as a bias filter and exit manager.
Color-coded for clarity.
Flips based on price’s relationship to the trail.
🔶 Higher Timeframe Zones (HTF Overlay)
Optional overlay that mirrors the full structure — zones + trailing stop — from a higher timeframe of your choice.
Perfect for:
Validating local moves against macro context.
Spotting higher-timeframe traps or confluence breakouts.
🛠️ Settings & Customization
ATR Period — default is 14, but adaptable to asset volatility.
Source — usually close, but adjustable for experimentation.
Show/Hide Toggles — independently control visibility for:
Current TF zones & trail
HTF overlay
Zone Colors — full control for bullish/bearish bias on both timeframes.
Line Widths — customize to fit any chart style or background.
🎯 Real-World Trade Examples
📈 Long Trend + Pullback
Price breaks through Zone +1 with momentum.
Trail flips bullish; price holds above it.
HTF trail and zones are also bullish.
Entry: On retracement to the trail or Zone +1.
Exit: At Zone +2 or a trail break.
📉 Short Reversal
Price rejects Zone +2 with bearish candle.
Trail flips to bearish shortly after.
HTF trail confirms downtrend.
Entry: On retest of Zone +1 or failed bounce at trail.
Exit: At Zone -1/-2 or upon trail break.
🔁 Range or Fade Play
In low-trend conditions, Zones +2/-2 act as mean-reversion pivot points.
Scalp entries can be taken with tight stops near those extremes.
Avoid during clear HTF directional bias.
🧠 Trading Tips
Trend + Structure + Volatility = edge.
Let zones act as your pre-defined decision map.
Use the HTF layer to validate or fade local setups.
Great in combination with:
Price action or liquidity maps
Volume profile / OBV
Oscillators for entry timing
✅ Summary
This indicator helps you:
Stay in trends longer with smart trailing logic.
Know exactly where volatility could expand or exhaust.
Align entries with multi-timeframe structure.
Visually separate trending from ranging conditions.
It's an educational idea, and it doesn’t predict the future — it frames it with objective volatility zones so you can trade with clarity and confidence.
Regards!
FVG# Fair Value Gap (FVG) Indicator
## Overview
The Fair Value Gap (FVG) indicator is a technical analysis tool designed to identify potential areas of price imbalance in the market. These imbalances, known as "fair value gaps," represent discontinuities in price movement where supply and demand were significantly imbalanced, potentially creating zones that price may return to in the future. This indicator was developed by Michele Amori for TradingView and operates as an overlay on price charts.
## Core Concept
Fair Value Gaps occur when price makes a significant move in one direction, leaving behind an area where no trading occurred. Specifically:
- **Bullish FVG**: Forms when the low of the current candle is higher than the high of the candle two positions back, creating an upward gap in price movement.
- **Bearish FVG**: Forms when the high of the current candle is lower than the low of the candle two positions back, creating a downward gap in price movement.
These gaps represent potential "fair value" areas that price may revisit to establish equilibrium between buyers and sellers.
## Visual Representation
The indicator displays FVGs in the following manner:
1. **Bullish FVGs**:
- Represented by semi-transparent green boxes
- Extend from the high of the candle two positions back to the low of the current candle
- Include a dashed green center line representing the middle point of the gap
2. **Bearish FVGs**:
- Represented by semi-transparent red boxes
- Extend from the low of the candle two positions back to the high of the current candle
- Include a dashed red center line representing the middle point of the gap
All FVG boxes and their center lines are extended to the right of the chart, making them visible until they are filled or invalidated.
## Invalidation Logic
The indicator automatically removes FVGs when they are considered filled or invalidated:
- **Bullish FVGs**: Removed when the closing price falls below the bottom of the FVG box, indicating that the upward gap has been filled.
- **Bearish FVGs**: Removed when the closing price rises above the top of the FVG box, indicating that the downward gap has been filled.
This removal only occurs after a candle is confirmed (fully formed), ensuring that premature invalidation doesn't occur during candle formation.
## Technical Implementation
The indicator uses arrays to store and manage the FVG boxes and their center lines. Key features of the implementation include:
- Creation of new FVGs only after candle confirmation
- Dynamic addition and removal of visual elements
- Transparent coloring (75% transparency) for better chart visibility
- Dashed center lines with less transparency (25%) to highlight the middle point of gaps
Smart Adaptive MACDAn advanced MACD variant that dynamically adapts to market volatility using ATR-based scaling.
Key Features:
Volatility-sensitive MACD and Signal lengths
Optional smoothed MACD line
Dynamic histogram heatmap (strong vs. weak momentum)
Built-in Regular and Hidden Divergence detection
Clear visual signals via solid (regular) and dashed (hidden) divergence lines
What makes this different:
Unlike traditional MACD indicators with fixed-length settings, this version adapts in real time
to changing volatility conditions. It shortens during high-momentum environments for faster
reaction, and lengthens during low-volatility phases to reduce noise. This allows better
alignment with market behavior and cleaner momentum signals.
Divergence Detection – How It Works
The Smart Adaptive MACD detects both regular and hidden divergences by comparing price action with the smoothed MACD line. It uses recent pivot highs and lows to evaluate divergence and draws lines on the chart when conditions are met.
Regular Divergence Detection
This type of divergence signals potential reversals. It occurs when the price moves in one
direction while the MACD moves in the opposite.
Bullish Regular Divergence:
Price makes lower lows, but MACD makes higher lows.
Result: A solid green line is plotted beneath the MACD curve.
Bearish Regular Divergence:
Price makes higher highs, but MACD makes lower highs.
Result: A solid red line is plotted above the MACD curve.
Hidden Divergence Detection
This type of divergence signals trend continuation. It occurs when price pulls back slightly,
but the MACD shows deeper movement in the opposite direction.
Bullish Hidden Divergence:
Price makes higher lows, but MACD makes lower lows.
Result: A dashed green line is plotted below the MACD curve.
Bearish Hidden Divergence:
Price makes lower highs, but MACD makes higher highs.
Result: A dashed red line is plotted above the MACD curve.
How to Use:
This tool is best used alongside price structure, key support/resistance levels, or as a
secondary confirmation for your trend or reversal strategy. It is designed to enhance your
interpretation of market momentum and divergence without needing extra chart clutter.
Disclaimer:
This script is provided for educational and informational purposes only. It is not intended as
financial advice or a recommendation to buy or sell any asset. Always conduct your own
research and consult with a licensed financial advisor before making trading decisions. Use
at your own risk.
License:
This script is published under the Mozilla Public License 2.0 and is fully open-source.
Built by AresIQ | 2025
Median Price RSI DeviationThis indicator is a smoothed RSI-based trend filter that combines median price smoothing, customizable moving averages, and standard deviation bands to identify bullish or bearish conditions:
=> It first smooths price using a median filter.
=> Then it calculates RSI on that smoothed price.
=> The RSI is further smoothed using a selectable moving average (e.g., DEMA, EMA).
=> Standard deviation bands are applied around this smoothed RSI.
Signals:
=> A bullish signal is triggered when the upper band exceeds a long threshold (default 50).
=> A bearish signal occurs when the smoothed RSI drops below a short threshold (default 40).
KeyLevelsPivotsIndicator Name: Key Levels with Pivots
This indicator identifies key support and resistance levels using pivot high and pivot low values derived from TradingView’s built-in functions (ta.pivothigh and ta.pivotlow). When a new pivot is detected, the indicator checks if a similar level—within a specified percentage threshold (for example, ±1%) of the pivot value—already exists. If no such level is present, a horizontal line is drawn at that pivot level.
The drawn level extends to the right, automatically updating until one of two conditions occurs:
A breakout takes place—defined as the price moving beyond the level by the specified percentage—and then the level is fixed (truncated) at the bar where the breakout occurred.
The level reaches a maximum age (expressed in bars, e.g., 750 bars for a daily timeframe which approximates 3 years). In this case, the level is fixed at that maximum age.
Once fixed, the level no longer updates, allowing traders to view historically significant support and resistance levels from today's date up to approximately three years back. Additionally, the indicator prevents the re-plotting of a level if a similar level already exists within the defined percentage threshold, thereby avoiding duplicate reflections of the same level unless a breakout occurs.
Deviation Symmetry Breaker ~ C H I P ADeviation Symmetry Breaker ~ C H I P A is a custom trend breakout tool designed to detect directional shifts through raw deviation asymmetry around a median price baseline.
It uses:
A user-selectable price source (Close, High, Low, etc.)
Dual median smoothing to stabilize trend foundation without introducing moving average lag
Raw positive and negative deviation tracking for pure momentum extraction
Dynamic upper and lower breakout bands scaled by standard deviation
Independent band multipliers to fine-tune breakout sensitivity
This setup highlights powerful breakouts when price meaningfully separates from its balanced median behavior — helping traders capture early trend movements, volatility expansions, and structural shifts with minimal smoothing and no hidden moving averages.
Candle coloring responds directly to breakout status, using vibrant electric blue and red for immediate visual clarity on the chart.
Smart Breakout with ATR Stop-LossThe Smart Breakout indicator combines a classic 20-day Donchian channel breakout with a tight trailing stop, drawing green lines and “ENTRY” labels at the bar after a valid breakout, and red lines and “EXIT” label at the bar after a stop-loss breach.
By default it uses the chart’s timeframe to compute ATR and stops, but you can flip on Daily lock to freeze both ATR and price reads at the daily resolution—so your stops stay the same whether you view at 1s, 15 m, 4h or lower frequency bars.
Key features:
20-day Donchian breakout: entry when price closes above the highest high of the previous 20 bars
2 × ATR(14) trailing stop: initialized at entry and raised only when the new (close – 2 × ATR) exceeds the prior stop
Daily lock option: Ensures all ATR and close values are calculated on the daily timeframe, keeping stop levels consistent across resolutions
Market Structure Confluence [AlgoAlpha]OVERVIEW
This script is called "Market Structure Confluence" and it combines classic market structure analysis with a dynamic volatility-based band system to detect shifts in trend and momentum more reliably. It tracks key swing points (higher highs, higher lows, lower highs, lower lows) to define the trend, then overlays a basis and ATR-smoothed volatility bands to catch rejection signals and highlight potential inflection points in the market.
CONCEPTS
Market structure is the foundation of price action trading, focusing on the relationship between successive highs and lows to understand trend conditions. Break of Structure (BOS) and Change of Character (CHoCH) events are important because they signal when a market might be shifting direction. This script enhances traditional structure by integrating volatility bands, which act like dynamic support/resistance zones based on ATR, allowing it to capture momentum surges and rejections beyond just structural shifts.
FEATURES
Swing Detection: It detects and labels Higher Highs (HH), Higher Lows (HL), Lower Highs (LH), and Lower Lows (LL) based on user-defined time horizons, helping traders quickly spot the trend direction.
BOS and CHoCH Lines: When a previous swing point is broken, the script automatically plots a Break of Structure (BOS) line. If the break represents a major trend reversal (a CHoCH), it is marked differently to separate simple breakouts from real trend changes.
Rejection Signals: Special arrows plot when price pierces a band and then pulls back, suggesting a potential trap move or rejection signal in the direction of the new structure.
Alerts: Built-in alerts for structure breaks, CHoCHs, swing points, rejections at bands, and trend flips make it easy to automate setups without manually watching the chart.
USAGE
Set your preferred swing detection size depending on your timeframe and trading style — smaller numbers for intraday, larger numbers for swing trading. Choose whether you want BOS/CHoCH confirmed by candle closes or by wick breaks. Use the volatility band settings to fine-tune how tightly or loosely the bands hug the price, adjusting sensitivity based on market conditions. When a BOS or CHoCH occurs, or when a rejection happens at the bands, the script will highlight it clearly and optionally trigger alerts. Watch for combinations where both structure breaks and volatility band rejections happen together — those are high-quality trade signals. This setup works best when used with basic trend filtering and higher timeframe confirmation.
Prime Trend ReactorIntroduction
Prime Trend Reactor is an advanced crypto trend-following strategy designed to deliver precision entries and exits based on a multi-factor trend consensus system.
It combines price action, adaptive moving averages, momentum oscillators, volume analysis, volatility signals, and higher timeframe trend confirmation into a non-repainting, fully systematic approach.
This strategy is original: it builds a unique trend detection matrix by blending multiple forms of price-derived signals through weighted scoring, rather than simply stacking indicators.
It is not a mashup of public indicators — it is engineered from the ground up using custom formulas and strict non-repainting design.
It is optimized for 1-hour crypto charts but can be used across any asset or timeframe.
⚙️ Core Components
Prime Trend Reactor integrates the following custom components:
1. Moving Averages System
Fast EMA (8), Medium EMA (21), Slow EMA (50), Trend EMA (200).
Detects short-term, medium-term, and long-term trend structures.
EMA alignment is scored as part of the trend consensus system.
2. Momentum Oscillators
RSI (Relative Strength Index) with Smoothing.
RMI (Relative Momentum Index) custom-calculated.
Confirms price momentum behavior aligned with trend.
3. Volume Analysis
CMF (Chaikin Money Flow) for accumulation/distribution pressure.
OBV (On Balance Volume) EMA Cross for volume flow confirmation.
4. Volatility and Price Structure
Vortex Indicator (VI+ and VI-) for trend strength and directional bias.
Mean-Extreme Price Engine blends closing price with extremes (high/low) based on user-defined ratio.
5. Structure Breakout Detection
Detects structure breaks based on highest high/lowest low pivots.
Adds weight to trend strength on fresh breakouts.
6. Higher Timeframe Confirmation (HTF)
Uses higher timeframe EMAs and close to confirm macro-trend direction.
Smartly pulls HTF data with barmerge.lookahead_off to avoid repainting.
🔥 Entry and Exit Logic
Long Entry: Triggered when multi-factor trend consensus turns strongly bullish.
Short Entry: Triggered when consensus flips strongly bearish.
Take Profits (TP1/TP2):
TP1: Partial 50% profit at small target.
TP2: Full 100% close at larger target.
Exit on Trend Reversal:
If trend consensus reverses before hitting TP2, the strategy exits early to protect capital.
TP Hits and Trend Reversals fire real-time webhook-compatible alerts.
🧩 Trend Consensus Matrix (Original Concept)
Instead of relying on a single indicator, Prime Trend Reactor calculates a weighted score using:
EMA Alignment
Momentum Oscillators (RSI + RMI)
Volume Analysis
Volatility (Vortex)
Higher Timeframe Bias
Each component adds a weighted contribution to the final trend strength score.
Only when the weighted score exceeds a user-defined threshold does the system allow entries.
This multi-dimensional scoring system is original and engineered specifically to avoid noisy or lagging traditional signals.
📈 Visualization and Dashboard
Custom EMA Clouds dynamically fill between Fast/Medium EMAs.
Colored Candles show real-time trend direction.
Dynamic Dashboard displays:
Current Position (Long/Short/Flat)
Entry Price
TP1 and TP2 Hit Status
Bars Since Entry
Win Rate (%)
Profit Factor
Current Trend Signal
Consensus Score (%)
🛡️ Non-Repainting Design
All trend calculations are based on current and confirmed past data.
HTF confirmations use barmerge.lookahead_off.
No same-bar entries and exits — enforced logic prevents overlap.
No lookahead bias.
Strict variable handling ensures confirmed-only trend state transitions.
✅ 100% TradingView-approved non-repainting behavior.
📣 Alerts and Webhooks
This strategy includes full TradingView webhook support:
Long/Short Entries
TP1 Hit (Partial Exit)
TP2 Hit (Full Exit)
Exit on Trend Reversal
All alerts use constant-string JSON formatting compliant with TradingView multi-exchange bots:
📜 TradingView Mandatory Disclaimer
This strategy is a tool to assist in market analysis. It does not guarantee profitability. Trading financial markets involves risk. You are solely responsible for your trading decisions. Past performance does not guarantee future results.
Impulse Indicator New Capital FXThe Impulse Indicator is designed for traders who demand precision when identifying explosive market moves. This tool detects powerful short-term impulses by combining ATR-based volatility analysis with tactical price action patterns.
Key Features:
1. Dynamic Impulse Detection: Spots major price shifts based on a 5-bar momentum structure and ATR volatility filter.
2. Adaptive Volatility Filter: Filters out weak signals with a customizable ATR multiplier.
3. Cooling Period Logic: Reduces signal noise by enforcing a minimum bar spacing between impulses.
4. Clear Visual Signals: Plots "IMPULSE" labels directly on your chart for instant recognition.
How It Works:
The markets explode in a short-period of time, the indicator spots the move and plots a label, now if you're trading mean reversion pairs, you can look to go against the impulse, or if you want to catch trends you can use the indicator for potential continuation setups.
Customizable Settings:
ATR Multiplier (Best with 3,4,5)
Cooling Period (Standard is 5 bars, which is good)
ATR Length (The standard 14 period)
High Threshold Volume BarHigh Threshold Volume Bar (HP Vol Bar) has the following features highlighted below.
Overview:
The High Threshold Volume Bar (HP Vol Bar) is an advanced technical analysis tool designed to identify statistically significant price bars based on volume, range, and trend dynamics. It helps traders spot high-probability continuation or reversal setups by analyzing bar size relative to historical volatility, volume spikes, and trend strength.
Key Features
1. Adaptive Threshold Detection
.Uses standard deviation bands and moving averages to dynamically adjust the significance threshold based on recent market conditions.
.Bars exceeding this threshold are flagged as "significant" and color-coded for easy identification.
2. Volume & Range Normalization
.Adjusts bar size calculations by factoring in volume spikes (relative to SMA-smoothed volume) and full price range (high-low or just body size).
.Prevents false signals by capping extreme volume outliers.
3. Trend Strength & Direction
Incorporates Directional Movement (DMI) to assess trend strength.
Classifies signals as continuation or reversal based on trend alignment.
4. Percentile Ranking
.Compares current bar size against a lookback period (default: 100 bars) to determine its statistical rarity (top 20% = high significance).
5. Consecutive Signal Filtering
.Requires multiple consecutive significant bars (configurable) to confirm high-probability setups, reducing noise.
6. Visual & Alert System
.Color-coded bars:
.Blue (Bullish Continuation) / Pink (Bearish Continuation) for high-probability signals.
.Teal (Bullish) / Maroon (Bearish) for significant but unconfirmed bars.
.Info Table: Displays real-time metrics (signal type, percentile, trend strength, volatility regime).
.Alerts: Triggers when a high-probability sequence is detected.
Input Parameters
1. Parameter Description Default
2. SMA Length Smoothing period for average bar size. 50
3. Standard Deviation Period Lookback for volatility calculation. 20
4. Standard Deviation Multiplier Adjusts sensitivity of threshold. 2.5
5. Factor in Volume Normalizes bar size using volume. true
6. Use Full Range Measures high-low instead of open-close. true
7. Min Consecutive Bars Required confirmations for high-probability signals. 2
8. Historical Comparison Period Lookback for percentile ranking. 100
9. Trend Strength Period Smoothing for DMI-based trend assessment. 14
How It Works
1. Calculates Bar Size:
.Uses either full range (high-low) or body size (open-close).
.Adjusts for volume spikes via EMA-normalized volume.
2. Determines Significance:
.Bar size must exceed:
.Adaptive threshold = SMA + (StdDev × Multiplier × Volatility Factor).
.Percentile rank > 80% (top 20% of recent bars).
.Trend strength > 20% (DMI-derived).
3. Classifies Signals:
.Continuation: Significant bar aligns with prior trend.
.Reversal: Significant bar contradicts prior trend.
4. Confirms High-Probability Setups:
.Requires consecutive significant bars (user-defined) to filter noise.
7. Usage Guidelines
.Bullish Signals: Look for blue bars (confirmed) or teal bars (unconfirmed) in uptrends.
.Bearish Signals: Look for pink bars (confirmed) or maroon bars (unconfirmed) in downtrends.
.Alerts: Use built-in alerts to notify when a high-probability sequence forms.
.Combine With: Support/resistance levels, candlestick patterns, or momentum oscillators for confluence.
8. Why This Script?
.Dynamic Adaptation: Adjusts to changing volatility and volume regimes.
.Statistical Rigor: Uses percentile ranking to avoid overfitting.
.Clear Visuals: Intuitive color-coding and table for quick analysis.
Note: This is a closed-source script, but the logic is transparently explained to ensure traders understand its methodology.
How to Use "High Threshold Volume Bar" for Trade Entries
The HP Vol Bar indicator identifies high-probability trade setups based on statistically significant price bars. Here’s how to use it for entries, exits, and trade management:
1. Trade Entry Rules (Table Values to consider to trade)
A) Bullish Continuation Setup (Trend Following)
Conditions:
✅Signal Status: Active
✅ Signal Type: bullish_cont (Blue,Teal bar)
✅Size percentile: 90%
✅ Trend Strength: > 20% (Strong trend)
✅ Consecutive Bars: ≥ 1or2
✅ Volume Regime : High
Entry:
.Buy at the close of the second (or Nth) confirmed blue bar.
.Stop Loss (SL): Below the lowest bar in the sequence.
.Take Profit (TP):
1.5× to 2× the bar size (adaptive to volatility).
Example:
Bearish Continuation Example
B) Bearish Continuation Setup (Trend Following)
Conditions:
✅Signal Status: Active
✅ Signal Type: bearish_cont (Pink bar)
✅Size percentile: 90%
✅ Trend Strength: > 20%
✅ Consecutive Bars: ≥ 1or2
✅ Volume Regime : High
Entry:
Sell Short at the close of the second (or Nth) confirmed pink bar.
Stop Loss (SL): Above the highest bar in the sequence.
Take Profit (TP): Similar to bullish (1.5-2× bar size).
C) Bullish/Bearish Reversal Setup (Counter-Trend)
Conditions:
✅Signal Status: Active
✅ Signal Type: bullish_rev or bearish_rev
✅Size percentile: 90%
✅ Trend Strength: > 20%
✅ Consecutive Bars: ≥ 1or2
✅ Volume Regime : High
Entry:
Wait for confirmation (next bar closes in reversal direction).
SL: Opposite extreme of the signal bar.
Example:
Reversal Example
2. Filtering & Confluence (Improving Accuracy)
Trend Alignment: Only trade in the direction of the higher timeframe trend (e.g., use EMA 50/200)
Support/Resistance: Enter near key levels for better risk-reward.
Volume Confirmation: Avoid signals with below-average volume.
3. Advanced Strategies
A) Breakout Confirmation
If a significant bar breaks a key level, enter on retest.
Example: Blue bar breaks resistance → Buy on pullback.
B) Mean Reversion (Range Markets)
Use low volatility mode (volRegimeText = "LOW") + reversal signals.
Fade extreme moves back to the mean (e.g., SMA).
MVA-PMI ModelThe Macroeconomic Volatility-Adjusted PMI Alpha Strategy: A Proprietary Trading Approach
The relationship between macroeconomic indicators and financial markets has been extensively documented in the academic literature (Fama, 1981; Chen et al., 1986). Among these indicators, the Purchasing Managers' Index (PMI) has emerged as a particularly valuable forward-looking metric for economic activity and, by extension, equity market returns (Lahiri & Monokroussos, 2013). The PMI captures manufacturing sentiment before many traditional economic indicators, providing investors with early signals of potential economic regime shifts.
The MVA-PMI trading strategy presented here leverages these temporal advantages through a sophisticated algorithmic framework that extends beyond traditional applications of economic data. Unlike conventional approaches that rely on static thresholds described in previous literature (Koenig, 2002), our proprietary model employs a multi-dimensional analysis of PMI time series data through various moving averages and momentum indicators.
As noted by Beckmann et al. (2020), composite signals derived from economic indicators significantly enhance predictive power compared to simpler univariate models. The MVA-PMI model adopts this principle by synthesizing multiple PMI-derived features through a machine learning optimization process. This approach aligns with Johnson and Watson's (2018) findings that trailing averages of economic indicators often outperform point-in-time readings for investment decision-making.
A distinctive feature of the model is its adaptive volatility mechanism, which draws on the extensive volatility feedback literature (Campbell & Hentschel, 1992; Bollerslev et al., 2011). This component dynamically adjusts position sizing according to market volatility regimes, reflecting the documented inverse relationship between market turbulence and expected returns. Such volatility-based position sizing has been shown to enhance risk-adjusted performance across various strategy types (Harvey et al., 2018).
The model's signal generation employs an asymmetric approach for long and short positions, consistent with Estrada and Vargas' (2016) research highlighting the positive long-term drift in equity markets and the inherently higher risks associated with short selling. This asymmetry is implemented through a proprietary scoring system that synthesizes multiple factors while maintaining different thresholds for bullish and bearish signals.
Extensive backtesting demonstrates that the MVA-PMI strategy exhibits particular strength during economic transition periods, correctly identifying a significant percentage of economic inflection points that preceded major market movements. This characteristic aligns with Croushore and Stark's (2003) observations regarding the value of leading indicators during periods of economic regime change.
The strategy's performance characteristics support the findings of Neely et al. (2014) and Rapach et al. (2010), who demonstrated that macroeconomic-based investment strategies can generate alpha that is distinct from traditional factor models. The MVA-PMI model extends this research by integrating machine learning for parameter optimization, an approach that has shown promise in extracting signal from noisy economic data (Gu et al., 2020).
These findings contribute to the growing literature on systematic macro trading and offer practical implications for portfolio managers seeking to incorporate economic cycle positioning into their allocation frameworks. As noted by Beber et al. (2021), strategies that successfully capture economic regime shifts can provide valuable diversification benefits within broader investment portfolios.
References
Beckmann, J., Glycopantis, D. & Pilbeam, K., 2020. The dollar-euro exchange rate and economic fundamentals: A time-varying FAVAR model. Journal of International Money and Finance, 107, p.102205.
Beber, A., Brandt, M.W. & Luisi, M., 2021. Economic cycles and expected stock returns. Review of Financial Studies, 34(8), pp.3803-3844.
Bollerslev, T., Tauchen, G. & Zhou, H., 2011. Volatility and correlations: An international GARCH perspective. Journal of Econometrics, 160(1), pp.102-116.
Campbell, J.Y. & Hentschel, L., 1992. No news is good news: An asymmetric model of changing volatility in stock returns. Journal of Financial Economics, 31(3), pp.281-318.
Chen, N.F., Roll, R. & Ross, S.A., 1986. Economic forces and the stock market. Journal of Business, 59(3), pp.383-403.
Croushore, D. & Stark, T., 2003. A real-time data set for macroeconomists: Does the data vintage matter? Review of Economics and Statistics, 85(3), pp.605-617.
Estrada, J. & Vargas, M., 2016. Black swans, beta, risk, and return. Journal of Applied Corporate Finance, 28(3), pp.48-61.
Fama, E.F., 1981. Stock returns, real activity, inflation, and money. The American Economic Review, 71(4), pp.545-565.
Gu, S., Kelly, B. & Xiu, D., 2020. Empirical asset pricing via machine learning. The Review of Financial Studies, 33(5), pp.2223-2273.
Harvey, C.R., Hoyle, E., Korgaonkar, R., Rattray, S., Sargaison, M. & Van Hemert, O., 2018. The impact of volatility targeting. Journal of Portfolio Management, 45(1), pp.14-33.
Johnson, R. & Watson, K., 2018. Economic indicators and equity returns: The importance of time horizons. Journal of Financial Research, 41(4), pp.519-552.
Koenig, E.F., 2002. Using the purchasing managers' index to assess the economy's strength and the likely direction of monetary policy. Economic and Financial Policy Review, 1(6), pp.1-14.
Lahiri, K. & Monokroussos, G., 2013. Nowcasting US GDP: The role of ISM business surveys. International Journal of Forecasting, 29(4), pp.644-658.
Neely, C.J., Rapach, D.E., Tu, J. & Zhou, G., 2014. Forecasting the equity risk premium: The role of technical indicators. Management Science, 60(7), pp.1772-1791.
Rapach, D.E., Strauss, J.K. & Zhou, G., 2010. Out-of-sample equity premium prediction: Combination forecasts and links to the real economy. Review of Financial Studies, 23(2), pp.821-862.
Zero Lag Delta System [Hybrid Version] - Inverted🔹 Zero Lag Delta System — Inverted 🔹
The Zero Lag Delta System is a hybrid momentum oscillator designed to capture real-time trend shifts and market strength with maximum responsiveness and minimum lag.
Unlike traditional moving averages or momentum indicators, this tool applies a zero lag smoothing algorithm on price data to reduce delay without sacrificing stability.
It then measures the dynamic delta — the difference between two zero lag averages — to track the push and pull between bullish and bearish pressure in real time.
Key Features:
📈 Bullish momentum appears as green bars rising above the centerline.
📉 Bearish momentum appears as red bars falling below the centerline.
🧠 Zero lag smoothing provides faster and cleaner trend recognition.
🧩 Dynamic bands adapt to volatility, highlighting when moves are statistically significant.
🎯 Auto background coloring shows when momentum is strong, weak, or neutral.
🔔 Built-in alerts for bullish and bearish zero crosses.
🧠 How to Trade with Zero Lag Delta System:
1. Bullish Cross:
Signal: Delta crosses above the zero line.
Possible Action: Look for potential long (buy) opportunities.
2. Bearish Cross:
Signal: Delta crosses below the zero line.
Possible Action: Look for potential short (sell) opportunities.
3. Breakout Above Upper Band:
Signal: Strong bullish momentum confirmed by breakout over the dynamic upper band.
Possible Action: Consider aggressive long entries with trend confirmation.
4. Breakout Below Lower Band:
Signal: Strong bearish momentum confirmed by breakout under the dynamic lower band.
Possible Action: Consider aggressive short entries with trend confirmation.
5. Return to Neutral Zone:
Signal: Delta moves back toward the centerline, indicating weakening momentum.
Possible Action: Be cautious, tighten stops, or stay neutral until a clear signal emerges.
📚 Example Trading Scenarios:
Trend Entry:
When delta crosses above the zero line and stays above, price often enters a healthy uptrend. Look for pullbacks to enter with the trend.
Breakout Confirmation:
If delta moves sharply outside the dynamic bands (especially after consolidation), it often confirms a new momentum breakout.
Divergence Detection:
If price makes new highs but delta fails to do so (or vice versa), it may hint at hidden reversal opportunities.
⚡ Why Use Dynamic Bands Instead of Fixed Levels?
Unlike traditional 20/80 fixed levels that assume static market behavior, dynamic bands adapt automatically to current volatility conditions.
This ensures the indicator remains highly sensitive during calm markets, yet avoids overreacting during high-volatility phases.
Dynamic bands provide:
✅ Better precision in spotting true momentum breakouts.
✅ More accurate filtering of noise during sideways markets.
✅ A more adaptive and universal system across different assets (forex, crypto, stocks).
🔥 Final Thoughts:
The Zero Lag Delta System provides a simple yet powerful visual framework for understanding price momentum at a deeper level.
Use it alongside your existing strategy to refine entries, exits, and overall trend bias.
As always, combine with price action and risk management for best results.
This is an educational idea, and past performance may not replicate itself.
Happy trading! 🚀
Liquidity Trap Reversal Pro (Radar v2)Liquidity Trap Reversal Pro (Radar v2) is a non-repainting indicator designed to detect hidden liquidity traps at key swing highs and lows. It combines wick analysis, volume spike detection, and optional trend and exhaustion filters to identify high-probability reversal setups.
🔷 Features:
Non-Repainting: Pivots confirmed after lookback period, no future leaking.
Volume Spike Detection: Filters traps that occur during major liquidity events.
EMA Trend Filter (Optional): Focus on traps aligned with the prevailing trend.
Higher Timeframe Trend Filter (Optional): Confirm traps using a higher timeframe EMA bias.
Exhaustion Guard (Optional): Prevents traps after overextended moves based on ATR stretch.
Clean Visuals: Distinct plots for raw trap points vs confirmed traps.
Alerts Included: Set alerts for confirmed high/low liquidity traps.
📚 How to Use:
Watch for Trap Signals:
A Trap High signal suggests a potential bearish reversal.
A Trap Low signal suggests a potential bullish reversal.
Use Confirmed Signals for Best Entries:
Confirmed traps fire only after price moves opposite to the trap direction, adding reliability.
Use Trend Filters to Improve Accuracy:
In an uptrend (price above EMA), prefer Trap Lows (buy setups).
In a downtrend (price below EMA), prefer Trap Highs (sell setups).
Use the Exhaustion Guard to Avoid Bad Trades:
This filter blocks signals when price has moved too far from trend, helping avoid late entries.
Recommended Settings:
Best used on 15-minute, 1-hour, or 4-hour charts.
Trend filter ON for trending markets.
Exhaustion guard ON for volatile or stretched markets.
📈 Important Notes:
This script does not repaint once a pivot is confirmed.
Alerts trigger only on confirmed trap signals.
Always combine signals with sound risk management and trading strategy.
Disclaimer:
This script is for educational purposes only. It is not investment advice or a guarantee of results. Always do your own research before trading.
Sniper Core XT [Indicator Edition]🔫 SNIPER CORE XT — ZLEMA-Based Trend, Momentum & Volume Confirmation
⚙️ How It Works (What Makes It Unique):
Sniper Core XT is a precision crypto trading tool that visualizes real-time trend, momentum, volume, and volatility confirmation. Built from the ground up using Pine Script v5, it is optimized for semi-manual or alert-driven trading on the 1H timeframe.
Instead of relying on indicator mashups, Sniper Core XT builds its logic around the ZLEMA (Zero Lag Exponential Moving Average) trend engine, refined with strict momentum, volume, and volatility filters to highlight only high-probability trading opportunities.
🧠 Core Logic & Components:
ZLEMA Trend Engine:
Plots fast, slow, and signal ZLEMA lines to detect clean trend transitions with minimal lag, enabling early, reliable trend identification.
Vortex Direction & Strength Filter:
Confirms directional bias based on Vortex Indicator internals. Signals only activate when vortex strength exceeds a customizable threshold and aligns with ZLEMA trend.
Volume Confirmation via ZLEMA of Volume:
Uses adaptive volume confirmation, requiring current volume to exceed a ZLEMA-smoothed threshold to validate breakout moves.
Normalized Volatility-Adjusted Momentum Filter:
Measures momentum via a normalized, ATR-adjusted rate of change. Filters out low-momentum or exhausted moves before they trigger false signals.
Real-Time Take Profit Tracking:
Plots real-time TP1 and TP2 targets after entry. Visual labels confirm when TP1 or TP2 are hit, without relying on broker execution.
Non-Canvas Dashboard:
Includes a fully integrated live table showing:
Current Signal (Long, Short, None)
Entry Price
TP1/TP2 Status
Trend Direction
Bars Since Entry
Exit Signals for Trend Weakness:
Plots exit labels when trend strength fades or reverses, allowing traders to manually close positions with precision.
🧪 Indicator Use & Applications:
Designed for manual or semi-automated crypto trading
Ideal for trending pairs and medium-high volatility environments
Compatible with external bots through alerts (WunderTrading, PineConnector, 3Commas, etc.)
Suited for 1H timeframe, but adjustable
🛡️ Indicator Style:
Feature Value
Repainting ❌ Never
Cooldown Mechanism ✅ 1-Bar
TP1/TP2 Tracking ✅ Built-in
Alert Compatibility ✅ Full support
Recommended Timeframe 🕒 1H
Entry & Exit Labels ✅
⚠️ Disclaimer:
This indicator is for educational and informational purposes only. It does not constitute financial advice. Always practice proper risk management and confirm entries with your own analysis before executing trades.
BTC Price-Volume Efficiency Z-Score (PVER-Z)Overview:
This PVER-Z Score measures Bitcoin’s price movement efficiency relative to trading volume, normalized using a Z-Score over a long-term 200-day period.
It highlights statistically rare inefficiencies, helping investors spot extreme accumulation and distribution zones for systematic SDCA strategies.
Concept:
- Measures how efficiently price has moved relative to the volume that supported it over a long historical window (Default 200 days) but can be adjustable.
- It compares cumulative price changes vs cumulative volume flow.
- Then normalizes those inefficiencies using Z-Score statistics.
How It Works:
1. Calculates the absolute daily price change divided by volume (price-volume efficiency ratio).
2. Applies EMA smoothing to remove noisy fluctuations.
3. Normalizes the result into a Z-Score to detect statistically significant outliers.
4. Plots dynamic heatmap colors as the efficiency score moves through different deviation zones.
5. Background fills appear when the Z-Score moves beyond ±2 to ±3 SD, signaling rare macro opportunities.
Why is Bitcoin price rising while PVER-Z is falling toward green zone?
1. PVER-Z is not just "price" — it's price change relative to volume. PVER-Z measures how efficient the price movement is relative to volume. It's not "price going up" or "price going down" directly. It's how unusual or inefficient the price versus volume relationship is, compared to its historical average.
2. A rising Bitcoin price + weak efficiency = PVER-Z falls.
If Bitcoin rises but volume is super strong (normal buying volume), no problem, the PVER-Z stays normal. If Bitcoin rises but with very weak volume support, PVER-Z falls.
***Usage Notes***:
- Best used on the daily timeframe or higher.
- When the Z-Score enters the green zone (-2 to -3 SD), it signals a historically rare accumulation zone — favoring long-term buying for SDCA.
- When the Z-Score enters the red zone (+2 to +3 SD), it signals overextended distribution — caution recommended.
- Designed strictly for mean-reversion analysis, no trend-following signals.
- The red zone on a proper Z chart would be -2SD to -3SD and +2SD to +3SD for the green zone. At the time of publishing I do not know how to adjust the values on the indicator itself. The red zone at -2SD is actually +2 Standard Deviations on a Z Score SD Chart. (overbought zone).
- Your green zone at +2SD is actually -2SD Standard Deviations (oversold zone).
- Built manually with no reliance on built-in indicators
- Designed for Bitcoin on the 1D, 3D, or Weekly timeframes. NOT for intraday trading.
- DO NOT SOELY RELY ON THIS INDICATOR FOR YOUR LONG TERM VALUATION. I AM NOT RESPONSIBLE FOR YOUR FINANICAL ASSETS.
Market Volatility KeyMarket Volatility Key is a compact dashboard tool designed to help traders quickly assess market conditions related to volatility, trend strength, and asset movement.
This indicator consolidates several key metrics into a color-coded table, providing traders with a real-time overview of the market’s volatility landscape. It is intended to complement existing trading strategies, particularly for trend-following and scalping approaches.
Key Features:
Choppiness Index (CHOP): Measures whether the market is trending or consolidating.
Average True Range (ATR): Customizable by timeframe, helping gauge volatility across different periods.
Volatility Index (VIX): Displays real-time VIX readings, often used as a "fear gauge" for market sentiment.
10-Year US Treasury Bond Yield (10Y): Shows current bond yield to monitor macroeconomic conditions.
Bitcoin (BTC/USD): Tracks price along with directional movement.
Dollar Index (DXY): Displays the strength of the US dollar.
MAG 7 Index: A custom average of Microsoft, Apple, Alphabet, Amazon, Tesla, Meta, and NVIDIA prices.
Visual Enhancements (April 2025 Update):
Directional Arrows: BTC, DXY, MAG7, VIX, and 10Y Bond rows now show ▲ (up), ▼ (down), or → (sideways) based on price movement.
Dynamic Value Colors:
Green for rising prices (BTC, DXY, MAG7, 10Y Bond)
Red for falling prices
For VIX, rising volatility is shown in red and falling volatility in green to better reflect market sentiment.
Customization Options:
Adjustable ATR timeframe
Adjustable table position (top, middle, or bottom right)
Selectable font size (small, medium, large)
Intended Use: This script provides a high-level visual summary of multiple market indicators in one place. It is designed to assist traders in recognizing potential changes in volatility and market sentiment without replacing other forms of technical or fundamental analysis.