XAUUSD SNR 250 Pips + Labelsonly for gold , this like snr but with static, so this indicator i make for round key level gold
Cari dalam skrip untuk "GOLD"
XAU Master Scalper [Modular]Built for XAUUSD (Gold) scalpers who demand precision and speed, this modular scalping indicator analyzes real-time price behavior using 12 powerful price-action and volume-based filters—with no moving averages, no repainting, and no lag.
What Makes This Indicator Elite:
🔹 12 Smart Filters Combined
From body strength to volatility bursts, micro breakouts to wick traps—each candle is scored live using institutional-grade logic.
🔹 Pure Price Action Based
No EMA, no SMA, no smoothing tricks. Just raw, real-time data intelligently interpreted for scalping.
🔹 Buy/Sell Decision Engine
Each candle gets a "score" from 0–12. If conditions align, it instantly triggers a BUY (green) or SELL (red) signal — visible on chart.
🔹 Custom Scoring Thresholds
Use inputs to fine-tune your edge: Minimum BUY score, Maximum SELL score, and visual toggle options.
🔹 Alerts Ready
Set TradingView alerts to get BUY/SELL push notifications in real time — no need to stare at the chart.
Best Used On:
XAUUSD (Gold) on Lower Timeframes (e.g. 30s, 2M, 5m)
Scalpers and aggressive intraday traders
TSLA2DTesla Swing Indicator
Overview
The Tesla Swing Indicator is a powerful and versatile trading tool designed to help traders identify swing trading opportunities, with a primary focus on Tesla (TSLA) stock. While optimized for TSLA, this indicator can also be applied to other stocks, making it a flexible addition to any trader’s toolkit. It combines multiple technical elements—Moving Averages (MAs), Stochastic signals, RSI-based background coloring, high volume detection, and a unique Bottom Line trend indicator—to provide a comprehensive view of market conditions.
Key Features
Moving Averages (MAs): The indicator plots four customizable MAs (default lengths: 20, 50, 150, and 300) to help identify trends and potential reversals. You can toggle between SMA and EMA for each MA and adjust their lengths and linewidths to suit your trading style.
MA1 (20-period EMA, yellow).
MA2 (50-period SMA, blue).
MA3 (150-period SMA, red).
MA4 (300-period SMA, white).
Stochastic Signals: The indicator uses Stochastic %K and %D to generate buy and sell signals:
Pre-Buy Signal (blue circles below candles): Indicates a potential buy when %K crosses above %D in oversold territory (below 20).
Crossover in Oversold (gold squares below candles): Confirms a buy signal when %K crosses above %D while both are below 20.
Crossunder in Overbought (pink squares above candles): Signals a potential sell when %K crosses below %D in overbought territory (above 80).
Note: While the Stochastic component works well for TSLA, it may produce less reliable signals on other stocks due to differences in volatility and price behavior. Adjust the Stochastic parameters (e.g., lengths) or test thoroughly when applying to non-TSLA stocks.
RSI Background Coloring: The background turns green when the 15-period RSI is above 50, indicating bullish momentum. This helps traders quickly gauge the strength of the current trend.
High Volume Background: The background highlights in yellow when volume exceeds 1.5 times the 20-period average volume, signaling significant market activity that often precedes big moves.
Bottom Line Trend Indicator: Positioned at the bottom of the chart, the Bottom Line acts as a trend indicator based on price interactions with the MAs:
Green: Indicates a bullish trend when the price is above MA2 (50-period).
Red: Signals a bearish trend when the price is below MA3 (150-period).
Gray: Reflects a neutral or transitional state when the price crosses below MA2 but isn’t below MA3, or when MA1 is above MA2 in a neutral context.
The Bottom Line provides a quick visual cue for the overall trend direction, helping traders align their strategies accordingly.
PVSRA Candle Coloring: The indicator applies Price-Volume-Sentiment-Range Analysis (PVSRA) to color candles based on volume and price action:
Lime (200% Bullish): High volume bullish candle (volume ≥ 2x average or weighted range condition).
Red (200% Bearish): High volume bearish candle.
Blue (150% Bullish): Rising volume bullish candle (volume ≥ 1.5x average).
Fuchsia (150% Bearish): Rising volume bearish candle.
White (Normal Bullish): Normal volume bullish candle.
Gray (Normal Bearish): Normal volume bearish candle.
This coloring helps traders identify significant candles driven by strong volume, often indicating potential trend continuations or reversals.
MACD Divergence Detection (Disabled by Default): The indicator includes logic to detect bullish and bearish MACD divergences, which can be enabled via the code for advanced users.
Usage
Best for Tesla (TSLA): The indicator is fine-tuned for TSLA, leveraging its volatility and volume characteristics to generate reliable signals. The Stochastic signals, in particular, are optimized for TSLA’s price action.
Other Stocks: The indicator can be applied to other stocks, but caution is advised with the Stochastic component. Stocks with different volatility profiles may require adjustments to the Stochastic parameters (e.g., k_length, k_smoothing, d_smoothing) to improve signal accuracy. Test thoroughly on your chosen stock and consider disabling Stochastic signals if they underperform.
Timeframes: Works on any timeframe, but swing traders may find the best results on daily higher. Ensure your chart has enough historical data (at least 300 bars) to calculate the longest MA (300 periods).
Customization: Adjust MA lengths, toggle between SMA/EMA, and tweak RSI and volume thresholds via the indicator settings to match your trading preferences.
How to Interpret
Trend Direction: Use the Bottom Line’s color (green, red, gray) to assess the overall trend. Green suggests a bullish bias, red indicates bearish conditions, and gray signals neutrality or a potential transition.
Momentum and Strength: The green RSI background (RSI > 50) confirms bullish momentum, while the absence of green indicates weaker momentum. Yellow high volume backgrounds highlight periods of significant market activity, often preceding major price movements.
Entry/Exit Signals: Look for Pre-Buy Signals (blue circles) and Crossover in Oversold (gold squares) for potential buy opportunities, and Crossunder in Overbought (pink squares) for sell signals. Confirm these signals with the trend direction (Bottom Line) and volume activity (yellow background).
Significant Candles: PVSRA candle colors help identify key price action. Lime and red candles (200% volume) indicate strong momentum, while blue and fuchsia (150% volume) suggest rising interest that may lead to bigger moves.
Limitations
Stochastic on Other Stocks: As noted, the Stochastic signals are optimized for TSLA and may generate false signals on stocks with different price behaviors. Adjust parameters or disable if necessary.
Historical Data: Ensure your chart has sufficient historical bars (at least 300) to calculate the longest MA. If not, reduce the MA4 length in the settings.
Volatility: The indicator assumes a certain level of volatility (as seen in TSLA). On low-volatility stocks, signals may be less frequent or less reliable.
Final Notes
The Tesla Swing Indicator is a robust tool for swing traders looking to capitalize on TSLA’s price movements, with the flexibility to adapt to other stocks with proper adjustments. Its combination of trend analysis (Bottom Line), momentum (RSI background), volume detection (high volume background), and entry/exit signals (Stochastic) provides a well-rounded approach to technical analysis. Use it as part of a broader trading strategy, and always backtest on your chosen stock and timeframe to ensure optimal performance.
XAUUSD Strategy with Visual DivergenceThis strategy is designed to capture high-probability trend-continuation trades on XAUUSD (Gold/US Dollar) by combining trend-following logic with momentum-based divergence detection. It uses the 200-period Exponential Moving Average (EMA) to filter for the prevailing trend and the Relative Strength Index (RSI) to identify bullish and bearish divergences as early entry signals. The strategy incorporates a risk-reward profile of 2:1, making it suitable for both swing and intra-day traders.
Parabolic RSI Strategy + MA Filter + TP/SL 【PakunFX】🧠 Parabolic RSI Strategy + MA Filter + TP/SL【PakunFX】
This strategy combines a **custom Parabolic SAR applied to the RSI** (momentum-based trend reversal detection) with a **price-based moving average filter** to create a clear and responsive trend-following system.
Additionally, it **automatically draws Take Profit (TP) and Stop Loss (SL) levels** on the chart based on a fixed risk-reward ratio, providing visual risk clarity and supporting consistent trade planning.
---
## 🔍 What This Script Does
**RSI-Based Trend Detection:**
A custom Parabolic SAR is applied to RSI rather than price, enabling detection of **momentum reversals** instead of just price swings.
**MA Directional Filter:**
Entries are filtered by a moving average (EMA or SMA). The strategy only allows trades **in the direction of the trend**—longs above the MA, shorts below.
**Auto-Drawn TP/SL Levels:**
Each trade includes auto-calculated TP and SL lines using a configurable risk-reward ratio (e.g., 2.0), helping traders maintain consistency and discipline.
**Clear Entry Triggers:**
Positions are opened **when the RSI-based Parabolic SAR flips direction**, but only if the price is on the correct side of the MA filter.
→ This ensures trades are made **at the moment of momentum shift**, but only **in the direction of the dominant trend**.
---
## 🧮 Core Logic Breakdown
✅ Entry Conditions
**Long Entry:**
RSI-based SAR flips below the RSI (bullish signal) **and** price is **above** the moving average.
**Short Entry:**
RSI-based SAR flips above the RSI (bearish signal) **and** price is **below** the moving average.
✅ Exit Conditions (Position Reversal)
When an opposite signal occurs, the current position is **closed immediately**, and a new one is **opened in the opposite direction**.
✅ TP / SL Setup
- SL is placed at a **virtual buffer distance** (e.g., 100 pips from entry).
- TP is calculated using the **risk-reward ratio** (e.g., 2.0 → TP at 200 pips if SL = 100).
→ Delivers consistent, risk-defined trades.
---
## 💰 Risk Management Parameters
**Asset / Timeframe:** Any (Backtested on 10-minute chart)
**Account Size (Virtual):** $3,000
**Commission:** 0.02% per trade
**Slippage Buffer:** Equivalent to 100 pips
**Risk Per Trade:** Approximately 5% of account balance
**Number of Trades (Backtest Period):** 125 trades
---
## 📈 Recommended Usage
**Timeframes:** 5m to 30m (scalping to intraday)
**Market Conditions:** Best in trending markets; responsive even in mild ranges
**Assets:** Forex pairs, Gold, WTI Crude, Indexes with volatility
**Discretionary Support:** Visual TP/SL allows for **pre-planned trades** and avoids impulsive decisions
---
## ⚠️ Notes & Considerations
Positions are reversed on opposite signals (no simultaneous longs & shorts).
Backtests do not include broker-specific execution factors—adjust for slippage and spreads if needed.
Strategy is **originally developed**, inspired by “ChartPrime's RSI Parabolic SAR” idea, but fully standalone.
---
## 🖼 Chart Visuals & Features
**MA Line (orange):** Shows trend direction
**TP Line (green dashed):** Take Profit visualization
**SL Line (red dashed):** Stop Loss boundary
**RSI-SAR Flip Points:** Highlight entry timing visually
---
## ✅ Summary
Parabolic RSI Strategy + MA Filter + TP/SL【PakunFX】 is a
“Momentum Detection × Trend Filtering × Exit Visualization” strategy designed for consistent, visually guided decision-making.
With clearly structured logic and visual aids, it serves both discretionary and systematic traders looking for a **momentum-aligned, risk-controlled approach**.
2 Red + 1 Green Buy / 2 Green + 1 Red Sell Signalits give buy and sell signal special in gold usd which work well in houlry and 2 houlry chart not less then hourly also we see suptertrde and 50 sma for entry and exit ..
signal also genrate when only less then 15 point stoploss candle form
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.
ian_Trado v15 Trend Entry Filter# 📈 ian_Trado v15 Trend Entry Filter (Pine Script v6)
The **ian_Trado v15** is a multi-factor **trend confirmation filter** for NASDAQ (NAS100), Dow Jones (DJ30), Gold (XAU), DAX, and USDJPY.
It combines **EMA structure**, **Donchian channel breakout**, **MACD histogram momentum**, **Volume confirmation**, and a **Range Compression Filter** to avoid entering during choppy or sideways markets.
✅ Designed for **bot deployment** (e.g., grid bots, long/short breakout bots) or **manual trading**.
---
## 🔍 How This Filter Works:
1. **EMA Trend Confirmation**
- Long Trend: EMA(1) > EMA(5) > EMA(60)
- Short Trend: EMA(1) < EMA(5) < EMA(60)
2. **Donchian Channel Width Expansion**
- Only allows trades when the **breakout width** exceeds a minimum threshold.
3. **MACD Histogram Slope Filter (Optional)**
- Confirms momentum building in the direction of the trend.
- Strict Mode: MACD histogram must consistently rise or fall over 3 bars.
4. **Volume Filter (Optional)**
- Ensures volume supports the move (filters out weak conditions).
5. **Range Compression Filter (Optional)**
- Avoids entries during sideways chop.
6. **Cooldown Control**
- Limits overtrading by requiring spacing between entries.
7. **Exit Conditions**
- Gray dot appears when trending conditions are no longer valid.
---
## ⚙️ Settings Explained:
| Setting | Description |
|:--------|:------------|
| **Cooldown Bars** | Minimum bars between consecutive entries |
| **Profit Target (%)** | Visual profit marker for exit tracking |
| **Donchian Channel Length** | Lookback period for detecting breakout width |
| **Minimum Donchian Width** | Threshold to confirm meaningful breakouts |
| **Volume Lookback Period** | Average volume validation window |
| **Box Range (Range Compression)** | Max allowed price range over lookback bars |
| **Range Compression Bars** | Number of bars to check for range compression |
| **Strict MACD Filter** | Use stricter MACD slope checks |
---
## 📊 Recommended Settings by Instrument (1H Chart):
| Asset | Min Donchian Width | Range Compression | Profit Target |
|:------|:-------------------|:------------------|:--------------|
| **NAS100** (Nasdaq) | 300–450 pts | 400 pts / 40 bars | 1.5% |
| **DJ30** (Dow Jones) | 400–600 pts | 500 pts / 40 bars | 1.0–1.5% |
| **XAU/USD** (Gold) | 10–15 pts | 8 pts / 30 bars | 0.8–1.2% |
| **DAX40** (Germany) | 200–300 pts | 250 pts / 40 bars | 1.0% |
| **USD/JPY** (Forex) | 0.5–0.8 pts | 0.4 pts / 40 bars | 0.5–0.8% |
---
## 🔔 Alerts Available:
- Long Entry
- Short Entry
- Exit Zone
> **Note:** Volume filter may be disabled if volume is unreliable (e.g., some forex pairs).
---
## 📅 Version:
- **ian_Trado v15** — April 2025
- Built with **Pine Script v6** for maximum stability
- Clean toggling and plotting logic (no `na` errors)
Global M2 [BizFing]MARKETSCOM:BITCOIN ECONOMICS:USM2
This is an indicator designed to show the correlation between the global M2 money supply and Bitcoin.
This indicator basically provides a Global M2 index by summing the M2 money supply data from the United States, South Korea, China, Japan, the EU, and the United Kingdom.
Furthermore, it is configured to allow you to add or remove the M2 data of desired countries within the settings.
I hope this proves to be a small aid in predicting the future price of Bitcoin.
If you have any questions or require any improvements while using it, please feel free to contact me.
Thank you.
[blackcat] L3 Trend BoxOVERVIEW
The L3 Trend Box indicator is a sophisticated technical analysis tool designed to assist traders in identifying trends and pinpointing potential entry and exit points within the market. By leveraging multiple moving averages and price level analyses, this indicator provides a detailed view of market dynamics. It plots several key lines and labels directly onto the chart, offering clear visual signals for both bullish and bearish scenarios. Its adaptability through customizable parameters makes it suitable for various trading strategies and market conditions 📊✅.
FEATURES
Comprehensive Parameter Customization: Tailor the indicator to match specific trading preferences:
High Length: Defines the period over which the highest prices are considered.
Low Length: Specifies the period for evaluating the lowest prices.
Upper Box Length: Smoothes out the upper boundary of the trend box using a specified period.
Lower Box Length: Smoothes out the lower boundary of the trend box similarly.
Trend Line Length: Determines the period for calculating the overall trend line.
Fast EMA Length: Sets the period for the fast-moving exponential moving average (EMA), crucial for capturing short-term movements.
MA15 EMA Length: Configures the period for the medium-term moving average (MA15 EMA) to provide a balanced perspective.
Short Spirit Length: Influences how quickly the indicator responds to recent price changes.
Golden EMA Length: Fine-tunes the long-term EMA for stability and reliability.
Buy Price Length: Establishes the lookback period for determining optimal buy prices.
Var1 Length & Var2 Length: Adjusts periods for variance calculations, enhancing the accuracy of trend detection.
Detailed Chart Plots:
Upper Box Top: A fuchsia-colored line representing the smoothed highest prices, marking resistance levels.
Lower Box Bottom: A green-colored line showing the smoothed lowest prices, highlighting support zones.
MA15 Up/Down: Dynamic red and green lines illustrating the directionality of the 15-period EMA, helping gauge momentum shifts.
Conditional Plots: Multiple lines based on intricate price actions and computed values, such as closing below the lower box while also closing at or above/below the opening price, ensuring nuanced insights into market behavior.
Buy/Sell Labels: Clearly marked 'Buy' and 'Sell' labels positioned strategically on the chart, facilitating quick decision-making without missing critical signals 🎯.
Alert System: Automatically generates alerts based on predefined buy and sell conditions, enabling timely responses to market changes 🛎️.
HOW TO USE
Adding the Indicator: Start by adding the L3 Trend Box to your TradingView chart via the indicators menu.
Parameter Configuration: Adjust each parameter according to your trading style and market volatility. For instance, increasing the High Length can make the indicator less sensitive to minor fluctuations but more responsive to significant trends.
Monitoring Signals: Keep an eye on the plotted lines and labels. Pay special attention to the crossover events between the fast EMA and the lower box bottom, as these often signify strong buy signals.
Setting Alerts: Configure alerts based on the buy/sell conditions provided by the indicator. This ensures you never miss an opportunity due to inattention.
Combining Strategies: While powerful on its own, combining this indicator with others like RSI or Bollinger Bands can enhance its predictive power and reduce false positives.
LIMITATIONS
Market Volatility: In extremely volatile or sideways-trending markets, the indicator might produce false signals. Always verify with additional confirmations.
Asset-Specific Performance: Different assets and timeframes will yield varying results; thorough backtesting across diverse instruments is recommended.
Over-Reliance Risk: Avoid relying solely on this indicator. Integrate it into a broader analytical framework that includes fundamental analysis and other technical indicators.
NOTES
Data Sufficiency: Ensure ample historical data is available for precise computations. Lack of data can skew results and lead to inaccurate signals.
Demo Testing: Before deploying the indicator in real trades, rigorously test it on demo accounts under varied market conditions to understand its strengths and weaknesses.
Customization Flexibility: Feel free to tweak the parameters continuously until they align perfectly with your unique trading approach and risk tolerance.
Engulfing Candle with Streaks and CountIdentifies Engulfing Candles + The Number of Consecutive Signals + Identifies 3rd/4th Consecutive Signals + Keeps Count of Most Recent Number of Signals as Decided by User.
- Have coded in the latest version 6
- This script allows the tracking of engulfing candles over a user defined amount of time (candles).
- The script will signal every engulfing candle and its consecutive corresponding number across the entire chart.
- The Engulfing Count box in the bottom right counts how many bullish and bearish engulfing candles have occurred over the number decided by the user.
- The Engulfing Signal that prints is triggered when an opposite next candle prints and the body is over 100% larger than the previous candle. It does not need to "fully engulf" the previous candle, the coding has an allowance for an "equal to and greater/smaller than" the previous close price. This allows for signals were the open of the engulfing candle can be equal to the close of the previous opposite, however the engulfing still must reach an over 100% sizing of the previous to print a signal.
- Where a piercing candle occurs and the open price is within the body of the previous candle, this will void the equation and no matter how big the candle is, it will not trigger an engulfing signal as I was only looking for true engulfing candles.
- The script keeps count of the same consecutive signals no matter the timeframe.
- It will print the consecutive number above or below the signal (depending if bullish or bearish).
- To assist with trend identification the 3rd consecutive signal will print blue, and the 4th consecutive signal will print yellow (or I prefer to use the term "Gold"). This can help filter out the noise on lower timeframes to assist to see where the momentum is going, or if there are signals going against the trend to try trick traders.
- Back testing I found the 3rd and 4th signals are uncommon on higher timeframes and tend to act as fake-outs before the trend reverses.
- Overall a good tool to add to your trend analysis, either for additional confluence or to assist with reversal identification.
- Colors are set as default, but everything can be changed by the user as I didn't want to limit its possibilities.
*** Please note that this script does not take into any consideration candle wicks. Although it can be used with Heikin Ashi it is somewhat unreliable. This indicator is designed to be used with standard candles only ***
Global M2 Liquidity [TheAlchimist]🌍 Global M2 Liquidity – Navigating the Quantum Field of Markets 🌍
Category: Macroeconomic Indicators 📊
"In quantum physics, the observer effect states that the mere act of observation changes the system being observed. Similarly, in financial markets, global liquidity acts as a quantum field that permeates all market states simultaneously. Just as Heisenberg’s uncertainty principle suggests we cannot precisely measure both position and momentum, the M2 money supply’s influence on market dynamics creates a complex web of cause and effect across multiple timeframes."
📈 Overview
The Global M2 Liquidity indicator is a powerful tool that tracks the combined M2 money supply from five major economies (US, EU, China, Japan, UK), converted to USD 💵, offering a panoramic view of global liquidity conditions. With multi-timeframe analysis and a customizable forward-shift feature, it empowers traders to anticipate market movements driven by liquidity trends.
✨ Features
- Global Coverage 🌎: Monitors M2 money supply from 5 major economic regions (US, EU, China, Japan, UK).
- Real-Time Conversion 💱: Converts all data to USD for consistent analysis.
- Multi-Timeframe Analysis ⏰: Tracks liquidity from 15-minute to weekly charts.
- Forward-Shift Capability 🔮: Aligns M2 data with future price action for predictive insights.
- Color-Coded Trends 🎨: Visualizes liquidity trends (🟢 Expansion, 🔴 Contraction).
🚀 How to Use
1. Main Line 📉: Displays total global M2 liquidity in trillions of USD.
2. Golden Moving Average ⭐: Identifies the overall trend direction.
3. Trend Colors 🟢🔴:
- Green: Liquidity expanding above the moving average (bullish for risk assets).
- Red: Liquidity contracting below the moving average (bearish signal).
4. Forward Shift ⏩: Use the shift parameter to align M2 data with price action for predictive analysis.
5. Combine with Price Action 🔍: Correlate liquidity trends with assets like Bitcoin, stocks, or forex for strategic entries/exits.
⚙️ Settings
- MA Period 📏: Length of the moving average (default: 50).
- Shift ⏳: Number of days to shift data forward (default: 60).
🏷️ Tags
#Trading #Macroeconomic #M2Liquidity #GlobalLiquidity #MoneySupply #MultiTimeframe #TrendAnalysis #PredictiveAnalysis #Forex #Stocks #Crypto #Bitcoin #RiskAssets #CentralBanks #USD #TheAlchimist #QuantumTrading #AlgoTrading #DayTrading #SwingTrading
Reversal Strength Meter – Adib NooraniThe Reversal Strength Meter is an oscillator designed to identify potential reversal zones based on supply and demand dynamics. It uses smoothed stochastic logic to reduce noise and highlight areas where momentum may be weakening, signaling possible market turning points.
🔹 Smooth, noise-reduced stochastic oscillator
🔹 Custom zones to highlight potential supply and demand imbalances
🔹 Non-repainting, compatible across all timeframes and assets
🔹 Visual-only tool — intended to support discretionary trading decisions
This oscillator assists scalpers and intraday traders in tracking subtle shifts in momentum, helping them identify when a market may be preparing to reverse — always keeping in mind that trading is based on probabilities, not certainties.
📘 How to Use the Indicator Efficiently
For Reversal Trading:
Buy Setup
– When the blue line dips below the 20 level, wait for it to re-enter above 20.
– Look for reversal candlestick patterns (e.g., bullish engulfing, hammer, or morning star).
– Enter above the pattern’s high, with a stop loss below its low.
Sell Setup
– When the blue line rises above the 80 level, wait for it to re-enter below 80.
– Look for bearish candlestick patterns (e.g., bearish engulfing, inverted hammer, or evening star).
– Enter below the pattern’s low, with a stop loss above its high.
🛡 Risk Management Guidelines
Risk only 0.5% of your capital per trade
Book 50% profits at a 1:1 risk-reward ratio
Trail the remaining 50% using price action or other supporting indicators
Reversal Scalping Ribbon - Adib NooraniThe Reversal Scalping Ribbon is a trend-following overlay tool designed to visually identify potential reversal zones based on price extremes and dynamic volatility bands. It calculates adaptive upper and lower bands using price action and custom ATR logic, helping traders quickly assess market direction and possible turning points
🔹 Volatility-adjusted bands based on price highs/lows
🔹 Color-coded ribbons to indicate trend bias and potential reversal shifts
🔹 No repainting, works on all timeframes and assets
🔹 Visual-only display, no trade signals — supports discretion-based entries
This ribbon is designed for scalpers and intraday traders to spot reversal setups with clarity. It enhances your trading by showing real-time market bias without unnecessary distractions. By focusing on probabilities, it helps to improve decision-making in fast-paced environments
How to use the indicator efficiently
For Reversal Trading:
Buy: When price closes below the green ribbon with a red candle, then re-enters with a green candle. Enter above the high of the green candle with a stop loss below the lowest low of the recent green/red candles
Sell: When price closes above the red ribbon with a green candle, then re-enters with a red candle. Enter below the low of the red candle with a stop loss above the highest high of the recent red/green candles
Risk Management:
Limit risk to 0.5% of your capital per trade
Take 50% profit at a 1:1 risk-reward ratio
For the remaining 50%, trail using the lower edge of the green band for buys and the upper edge of the red band for sells
Quarterly Theory ICT 04 [TradingFinder] SSMT 4Quarter Divergence🔵 Introduction
Sequential SMT Divergence is an advanced price-action-based analytical technique rooted in the ICT (Inner Circle Trader) methodology. Its primary objective is to identify early-stage divergences between correlated assets within precise time structures. This tool not only breaks down market structure but also enables traders to detect engineered liquidity traps before the market reacts.
In simple terms, SMT (Smart Money Technique) occurs when two correlated assets—such as indices (ES and NQ), currency pairs (EURUSD and GBPUSD), or commodities (Gold and Silver)—exhibit different reactions at key price levels (swing highs or lows). This lack of alignment is often a sign of smart money manipulation and signals a lack of confirmation in the ongoing trend—hinting at an imminent reversal or at least a pause in momentum.
In its Sequential form, SMT divergences are examined through a more granular temporal lens—between intraday quarters (Q1 through Q4). When SMT appears at the transition from one quarter to another (e.g., Q1 to Q2 or Q3 to Q4), the signal becomes significantly more powerful, often aligning with a critical phase in the Quarterly Theory—a framework that segments market behavior into four distinct phases: Accumulation, Manipulation, Distribution, and Reversal/Continuation.
For instance, a Bullish SMT forms when one asset prints a new low while its correlated counterpart fails to break the corresponding low from the previous quarter. This usually indicates absorption of selling pressure and the beginning of accumulation by smart money. Conversely, a Bearish SMT arises when one asset makes a higher high, but the second asset fails to confirm, signaling distribution or a fake-out before a decline.
However, SMT alone is not enough. To confirm a true Market Structure Break (MSB), the appearance of a Precision Swing Point (PSP) is essential—a specific candlestick formation on a lower timeframe (typically 5 to 15 minutes) that reveals the entry of institutional participants. The combination of SMT and PSP provides a more accurate entry point and better understanding of premium and discount zones.
The Sequential SMT Indicator, introduced in this article, dynamically scans charts for such divergence patterns across multiple sessions. It is applicable to various markets including Forex, crypto, commodities, and indices, and shows particularly strong performance during mid-week sessions (Wednesdays and Thursdays)—when most weekly highs and lows tend to form.
Bullish Sequential SMT :
Bearish Sequential SMT :
🔵 How to Use
The Sequential SMT (SSMT) indicator is designed to detect time and structure-based divergences between two correlated assets. This divergence occurs when both assets print a similar swing (high or low) in the previous quarter (e.g., Q3), but in the current quarter (e.g., Q4), only one asset manages to break that swing level—while the other fails to reach it.
This temporal mismatch is precisely identified by the SSMT indicator and often signals smart money activity, a market phase transition, or even the presence of an engineered liquidity trap. The signal becomes especially powerful when paired with a Precision Swing Point (PSP)—a confirming candle on lower timeframes (5m–15m) that typically indicates a market structure break (MSB) and the entry of smart liquidity.
🟣 Bullish Sequential SMT
In the previous quarter, both assets form a similar swing low.
In the current quarter, one asset (e.g., EURUSD) breaks that low and trades below it.
The other asset (e.g., GBPUSD) fails to reach the same low, preserving the structure.
This time-based divergence reflects declining selling pressure, potential absorption, and often marks the end of a manipulation phase and the start of accumulation. If confirmed by a bullish PSP candle, it offers a strong long opportunity, with stop-losses defined just below the swing low.
🟣 Bearish Sequential SMT
In the previous quarter, both assets form a similar swing high.
In the current quarter, one asset (e.g., NQ) breaks above that high.
The other asset (e.g., ES) fails to reach that high, remaining below it.
This type of divergence signals weakening bullish momentum and the likelihood of distribution or a fake-out before a price drop. When followed by a bearish PSP candle, it sets up a strong shorting opportunity with targets in the discount zone and protective stops placed above the swing high.
🔵 Settings
⚙️ Logical Settings
Quarterly Cycles Type : Select the time segmentation method for SMT analysis.
Available modes include: Yearly, Monthly, Weekly, Daily, 90 Minute, and Micro.
These define how the indicator divides market time into Q1–Q4 cycles.
Symbol : Choose the secondary asset to compare with the main chart asset (e.g., XAUUSD, US100, GBPUSD).
Pivot Period : Sets the sensitivity of the pivot detection algorithm. A smaller value increases responsiveness to price swings.
Activate Max Pivot Back : When enabled, limits the maximum number of past pivots to be considered for divergence detection.
Max Pivot Back Length : Defines how many past pivots can be used (if the above toggle is active).
Pivot Sync Threshold : The maximum allowed difference (in bars) between pivots of the two assets for them to be compared.
Validity Pivot Length : Defines the time window (in bars) during which a divergence remains valid before it's considered outdated.
🎨 Display Settings
Show Cycle :Toggles the visual display of the current Quarter (Q1 to Q4) based on the selected time segmentation
Show Cycle Label : Shows the name (e.g., "Q2") of each detected Quarter on the chart.
Show Bullish SMT Line : Draws a line connecting the bullish divergence points.
Show Bullish SMT Label : Displays a label on the chart when a bullish divergence is detected.
Bullish Color : Sets the color for bullish SMT markers (label, shape, and line).
Show Bearish SMT Line : Draws a line for bearish divergence.
Show Bearish SMT Label : Displays a label when a bearish SMT divergence is found.
Bearish Color : Sets the color for bearish SMT visual elements.
🔔 Alert Settings
Alert Name : Custom name for the alert messages (used in TradingView’s alert system).
Message Frequency :
All: Every signal triggers an alert.
Once Per Bar: Alerts once per bar regardless of how many signals occur.
Per Bar Close: Only triggers when the bar closes and the signal still exists.
Time Zone Display : Choose the time zone in which alert timestamps are displayed (e.g., UTC).
Bullish SMT Divergence Alert : Enable/disable alerts specifically for bullish signals.
Bearish SMT Divergence Alert : Enable/disable alerts specifically for bearish signals
🔵 Conclusion
The Sequential SMT (SSMT) indicator is a powerful and precise tool for identifying structural divergences between correlated assets within a time-based framework. Unlike traditional divergence models that rely solely on sequential pivot comparisons, SSMT leverages Quarterly Theory, in combination with concepts like liquidity sweeps, market structure breaks (MSB) and precision swing points (PSP), to provide a deeper and more actionable view of market dynamics.
By using SSMT, traders gain not only the ability to identify where divergence occurs, but also when it matters most within the market cycle. This empowers them to anticipate major moves or traps before they fully materialize, and position themselves accordingly in high-probability trade zones.
Whether you're trading Forex, crypto, indices, or commodities, the true strength of this indicator is revealed when used in sync with the Accumulation, Manipulation, Distribution, and Reversal phases of the market. Integrated with other confluence tools and market models, SSMT can serve as a core component in a professional, rule-based, and highly personalized trading strategy.
Daily Performance HeatmapThis script displays a customizable daily performance heatmap for key assets across crypto, equities, bonds, commodities, currencies, and volatility indices.
Each cell shows the current price and the percent change since the daily open, color-coded using a gradient from negative to positive. Assets are arranged in a left-to-right, top-down grid, with adjustable layout and styling.
⚙️ Features:
🔢 Displays current price and daily % change
🎨 Color-coded heatmap using customizable gradients
🧱 Adjustable layout: number of columns, cell size, and text size
🧠 Smart price formatting (no decimals for BTC, Gold, etc.)
🪟 Clean alignment with padded spacing for UI clarity
🛠️ Future plans:
User-input asset lists and labels
Category grouping and dynamic sorting
Optional icons, tooltips, or alerts
EMA-Based Squeeze Dynamics (Gap Momentum & EWMA Projection)EMA-Based Squeeze Dynamics (Gap Momentum & EWMA Projection)
🚨 Main Utility: Early Squeeze Warning
The primary function of this indicator is to warn traders early when the market is approaching a "squeeze"—a tightening condition that often precedes significant moves or regime shifts. By visually highlighting areas of increasing tension, it helps traders anticipate potential volatility and prepare accordingly. This is intended to be a statistically and psychologically grounded replacement of so-called "fib-time-zones," which are overly-deterministic and subjective.
📌 Overview
The EMA-Based Squeeze Dynamics indicator projects future regime shifts (such as golden and death crosses) using exponential moving averages (EMAs). It employs historical interval data and current market conditions to dynamically forecast when the critical EMAs (50-period and 200-period) will reconverge, marking likely trend-change points.
This indicator leverages two core ideas:
Behavioral finance theory: Traders often collectively anticipate popular EMA crossovers, creating a self-fulfilling prophecy (normative social influence), similar to findings from Solomon Asch’s conformity experiments.
Bayesian-like updates: It utilizes historical crossover intervals as a prior, dynamically updating expectations based on evolving market data, ensuring its signals remain objectively grounded in actual market behavior.
⚙️ Technical & Mathematical Explanation
1. EMA Calculations and Regime Definitions
The indicator uses three EMAs:
Fast (9-period): Represents short-term price movement.
Medial (50-period): Indicates medium-term trend direction.
Slow (200-period): Defines long-term market sentiment.
Regime States:
Bullish: 50 EMA is above the 200 EMA.
Bearish: 50 EMA is below the 200 EMA.
A shift between these states triggers visual markers (arrows and labels) directly on the chart.
2. Gap Dynamics and Historical Intervals
At each crossover:
The indicator records the gap (distance) between the 50 and 200 EMAs.
It tracks the historical intervals between past crossovers.
An Exponentially Weighted Moving Average (EWMA) of these intervals is calculated, weighting recent intervals more heavily, dynamically updating expectations.
Important note:
After every regime shift, the projected crossover line resets its calculation. This reset is visually evident as the projection line appears to move further away after each regime change, temporarily "repelled" until the EMAs begin converging again. This ensures projections remain realistic, grounded in actual EMA convergence, and prevents overly optimistic forecasts immediately after a regime shift.
3. Gap Momentum & Adaptive Scaling
The indicator measures how quickly or slowly the gap between EMAs is changing ("gap momentum") and adjusts its forecast accordingly:
If the gap narrows rapidly, a crossover becomes more imminent.
If the gap widens, the next crossover is pushed further into the future.
The "gap factor" dynamically scales the projection based on recent gap momentum, bounded between reasonable limits (0.7–1.3).
4. Squeeze Ratio & Background Color (Visual Cues)
A "squeeze ratio" is computed when market conditions indicate tightening:
In a bullish regime, if the fast EMA is below the medial EMA (price pulling back towards long-term support), the squeeze ratio increases.
In a bearish regime, if the fast EMA rises above the medial EMA (price rallying into long-term resistance), the squeeze ratio increases.
What the Background Colors Mean:
Red Background: Indicates a bullish squeeze—price is compressing downward, hinting a bullish reversal or continuation breakout may occur soon.
Green Background: Indicates a bearish squeeze—price is compressing upward, suggesting a bearish reversal or continuation breakout could soon follow.
Opacity Explanation:
The transparency (opacity) of the background indicates the intensity of the squeeze:
High Opacity (solid color): Strong squeeze, high likelihood of imminent volatility or regime shift.
Low Opacity (faint color): Mild squeeze, signaling early stages of tightening.
Thus, more vivid colors serve as urgent visual warnings that a squeeze is rapidly intensifying.
5. Projected Next Crossover and Pseudo Crossover Mechanism
The indicator calculates an estimated future bar when a crossover (and thus, regime shift) is expected to occur. This calculation incorporates:
Historical EWMA interval.
Current squeeze intensity.
Gap momentum.
A dynamic penalty based on divergence from baseline conditions.
The "Pseudo Crossover" Explained:
A key adaptive feature is the pseudo crossover mechanism. If price action significantly deviates from the projected crossover (for example, if price stays beyond the projected line longer than expected), the indicator acknowledges the projection was incorrect and triggers a "pseudo crossover" event. Essentially, this acts as a reset, updating historical intervals with a weighted adjustment to recalibrate future predictions. In other words, if the indicator’s initial forecast proves inaccurate, it recognizes this quickly, resets itself, and tries again—ensuring it remains responsive and adaptive to actual market conditions.
🧠 Behavioral Theory: Normative Social Influence
This indicator is rooted in behavioral finance theory, specifically leveraging normative social influence (conformity). Traders commonly watch EMA signals (especially the 50 and 200 EMA crossovers). When traders collectively anticipate these signals, they begin trading ahead of actual crossovers, effectively creating self-fulfilling prophecies—similar to Solomon Asch’s famous conformity experiments, where individuals adopted group behaviors even against direct evidence.
This behavior means genuine regime shifts (actual EMA crossovers) rarely occur until EMAs visibly reconverge due to widespread anticipatory trading activity. The indicator quantifies these dynamics by objectively measuring EMA convergence and updating projections accordingly.
📊 How to Use This Indicator
Monitor the background color and opacity as primary visual cues.
A strongly colored background (solid red/green) is an early alert that a squeeze is intensifying—prepare for potential volatility or a regime shift.
Projected crossover lines give a dynamic target bar to watch for trend reversals or confirmations.
After each regime shift, expect a reset of the projection line. The line may seem initially repelled from price action, but it will recalibrate as EMAs converge again.
Trust the pseudo crossover mechanism to automatically recalibrate the indicator if its original projection misses.
🎯 Why Choose This Indicator?
Early Warning: Visual squeeze intensity helps anticipate market breakouts.
Behaviorally Grounded: Leverages real trader psychology (conformity and anticipation).
Objective & Adaptive: Uses real-time, data-driven updates rather than static levels or subjective analysis.
Easy to Interpret: Clear visual signals (arrows, labels, colors) simplify trading decisions.
Self-correcting (Pseudo Crossovers): Quickly adjusts when initial predictions miss, maintaining accuracy over time.
Summary:
The EMA-Based Squeeze Dynamics Indicator combines behavioral insights, dynamic Bayesian-like updates, intuitive visual cues, and a self-correcting pseudo crossover feature to offer traders a reliable early warning system for market squeezes and impending regime shifts. It transparently recalibrates after each regime shift and automatically resets whenever projections prove inaccurate—ensuring you always have an adaptive, realistic forecast.
Whether you're a discretionary trader or algorithmic strategist, this indicator provides a powerful tool to navigate market volatility effectively.
Happy Trading! 📈✨
Pivot Clouds [SS]Hey everyone,
Whopper indicator here that I have been working on for some time, excited to finally release it! So let's get into it!
☁️☁️ What are Pivot Clouds?! ☁️☁️
The concept for pivot clouds came from trailing and erroring different iterations of support and resistance (which ultimately led to the creation of the BIN Based Support and Resistance indicator).
In the design and creation of my BIN support and resistance indicator, I initially tried to do something similar with pivot points. However, I found pivots to be relatively ineffective as support and resistance, especially in very trendy markets, and the BIN approach reigned supreme. However, not wanting to abandon the utility of pivots, I tried something different, creating a pivot based SMA.
This proved most useful and very helpful for determining directions, rejections and trends! From there, came this indicator, the Pivot Clouds. This is currently iteration 32 haha, which will be the final iteration for the time being and most functional.
The pivot cloud indicator works by smoothing pivot highs and pivot lows over the course of your inputted length. My general suggestion is to keep it between 150 to 250. Going to low will make it incredibly choppy. Using 200 seems to be the sweet spot for most tickers.
Over the course of the pivot lookback, it collects all pivot highs and pivot lows, then averages them out to create 2 separate SMAs, those being an SMA for the pivot high and an SMA for the pivot low. Together, these create the cloud you see in the main chart.
In addition to creating this cloud, the indicator marks and tracks pivot maxes to both the upside and downside and will draw cloud support on a fall below the main cloud and cloud resistance on a rise above the main cloud, as exampled here:
Above:
And Below:
These clouds represent the average of the pivot high/pivot low and extend to the max or min (high or low depending on position on the main cloud).
💡 Alternative Abilities 💡
Resulting from the sometimes inadequacy of pivots to determine targets and resistance/support, the indicator is capable of pulling in ATR target prices. This allows the user to either use both, pivot max/min clouds AND ATR targets, or simply one or the other.
The ATR targets can be customized in the indicator settings, with a default of daily timeframe targets on a 14 ATR lookback.
Here are some examples of how the ATR targets look:
And to the upside:
📈 Standalone Strategy 📈
This indicator can be used as a standalone strategy, or to complement other strategies. I will go over both briefly, starting with standalone strategy:
Select your target preference (ATR, Pivot Maxes and Mins or both)
Long on a break and hold over the main cloud to the targets; or
Shrot on a break below the main cloud to the targets.
That simple!
🎯Supplemental to existing Strategy 🎯
This indicator for me is gold for my strategy, which involves longing or shorting to calculated target prices.
You essentially follow the above, only your targets are determined by your strategy. So for me, I look for a rejection or hold of the cloud, to long or short to my targets:
💰Customizing the Indicator 💰
Let's quickly go over these options:
Smooth length: Creates a smooth cloud. Suggested limits are 150 - 250
Lookback Length: This determines the length of lookback for the indicator to store historical pivot information and create the clouds.
Pivot Lookforward/backward: Allows the user to select custom pivot timeframes. The traditional rule is 10, but 5 sometimes is preferred on larger timeframes.
Show Pivot Max and Min: These enables the pivot max and min cloud for a crossover or crossunder of the main cloud.
ATR timeframe: determines the ATR target price levels to look for. You can toggle weekly, daily, hourly, whichever you prefer.
ATR Length: Allows you to customize the lookback for determining the ATR targets.
USE ATR targets: This will turn on / off the ATR targets, if you wish to use/not use these reference points with the indicator, same as with the pivot max and min cloud toggle.
And that's the indicator, folks!
Hope you like it,
Take care and safe trades!🚀
Autofib Extensions | DTDHello trader comuunity!
I'm introducing another script that is part of my main day-trading strategy. We all know regardless of what strategy we use, we need to know what levels offer the least amount of risk to our trade entry and a great tool to anticipate how far a move might go or what level a move may retrace to are the Fibonacci Retracement and Extensions. This indicator combines both together, but with a twist.
The main elements of the script are:
1. Multiple Session High and Lows | Developing my first script led me to understand that measuring key times during each session provides understanding of the market's continuity. I have provided 3 "sessions' a user can define according to CST time where the script saves the high and low of that session window to produce the retracement and extensions from those plots. Currently, the levels are always plotted from low to high (with the 0 mark being the high) and negative values provided so the levels are consistent. You can toggle each session on or off.
2. Coloring Key Retracements / Extensions | I use a dark background for my charts so the default colors help me distinguish from other another indicator I use. Feel free to adjust the colors to your preference. I consider 3 different colors because of their significance. Retracements that you want to see continue fall back into the .50 to .618 level (this I consider the "Golden Zone"). While basic Elliott Wave Theory states a wave is completed near the 1.618 level (this I consider "Major Extensions"). Everything isn't noise, but minor levels in a larger sequence.
______________
Script Limitations
All of my scripts are made with the help of ChatGPT so there are going to be limitations. One current one that I have made progress on, but not fully is when you are viewing a timeframe where the candle doesn't start when a session window starts. On smaller timeframes like the 7-minute this is not an issue. However, on the hourly, if your session window starts at the half hour which the 3rd session default window does, the lines will not produce. I will hopefully have this rectified in the near future. I will open the script since none of this work is original in nature and I would love to see how others can create a better product. Also, this is mainly a futures trading tool. If you are using this on stocks you will find it not as useful if the session window is too wide since the script waits until the session window closes to calculate the extension values.
Cheers,
DTD
BeSight Mega SpotBeSight Mega Spot – Zone Based Price Grid Indicator
สคริปต์นี้ถูกออกแบบมาเพื่อช่วยเทรดเดอร์มองเห็นโซนราคาสำคัญที่ราคาอาจเกิดปฏิกิริยา โดยอ้างอิงจากระดับราคาที่ลงท้ายด้วย 0 และ 5 (เช่น 1350, 1355, 1360 เป็นต้น) ซึ่งมักเป็นระดับที่มีการตั้งคำสั่งซื้อขายจำนวนมากในตลาด
BeSight Mega Spot – Zone-Based Price Grid Indicator
This indicator is designed to help traders visualize key price zones where the market often reacts, based on price levels ending with 0 or 5 (e.g., 1350, 1355, 1360). These levels are commonly used for pending orders, liquidity, or price clustering zones.
It displays horizontal grid lines at fixed step intervals (default: every 5 points), covering the entire visible price range of the chart. Each price level is labeled for better clarity and planning.
🟦 Blue lines: Price levels ending in 0
⬜ Gray lines: Price levels ending in 5
This tool is useful for identifying potential institutional behavior zones, price consolidation, accumulation/distribution areas, or psychological support/resistance levels.
🧠 Notes:
- This indicator is not a buy/sell signal tool or predictive system.
- It works best when used in conjunction with other technical tools such as Supply/Demand zones or Smart Money Concepts (SMC) analysis.
- Compatible with all instruments: stocks, futures, forex, crypto, etc.
✅ How to use:
1. Add the indicator to your chart
2. Observe how price interacts with the 0/5 grid zones
3. Use the lines to assist with breakout, retest, or reversal planning
4. Combine with price action or other indicators for higher precision
✨ Developed by BeSight – A Community Of Traders
---------------------------------------------------------------------------------------
อินดิเคเตอร์นี้จะแสดงเส้นแนวนอนแบบตาราง (Grid) ที่แบ่งช่วงราคาออกเป็นระยะ ๆ ตามค่าที่ผู้ใช้กำหนด เช่น ทุก ๆ 5 จุด และครอบคลุมช่วงราคาทั้งหมดของกราฟ โดยแสดงเป็นเส้นแบบ dotted พร้อมป้ายราคาเพื่อให้มองเห็นได้ชัดเจน
🟦 เส้นสีน้ำเงิน: แสดงระดับราคาที่ลงท้ายด้วย 0
⬜ เส้นสีเทา: แสดงระดับราคาที่ลงท้ายด้วย 5
เหมาะสำหรับผู้ที่ต้องการดูโซนราคา "หยุดพัก / เก็บของ / เปิดโพซิชัน" ซึ่งอาจสะท้อนพฤติกรรมของผู้เล่นรายใหญ่หรือสถาบันในตลาด
🧠 ข้อควรรู้:
- อินดิเคเตอร์นี้ไม่ได้บอกจุดเข้าเทรดหรือการคาดการณ์ แต่ช่วยในการวางแผนแนวรับ-แนวต้านร่วมกับเครื่องมือวิเคราะห์อื่น ๆ
- รองรับทุกสินทรัพย์ที่มีหน่วยราคาคงที่ (หุ้น, ฟิวเจอร์ส, ฟอเร็กซ์, คริปโต ฯลฯ)
✅ วิธีใช้งาน:
1. เพิ่มอินดิเคเตอร์นี้ลงบนกราฟ
2. ใช้เส้น Grid เป็นแนวประกอบในการดูพฤติกรรมราคา เช่น การหยุดลง, การเบรกแนว, การกลับตัว
3. ผสมผสานกับโซน Demand/Supply หรือโซน SMC เพื่อความแม่นยำ
✨ พัฒนาโดย BeSight – คอมมูนิตี้ของเทรดเดอร์ตัวจริง
Z-Score Normalized Volatility IndicesVolatility is one of the most important measures in financial markets, reflecting the extent of variation in asset prices over time. It is commonly viewed as a risk indicator, with higher volatility signifying greater uncertainty and potential for price swings, which can affect investment decisions. Understanding volatility and its dynamics is crucial for risk management and forecasting in both traditional and alternative asset classes.
Z-Score Normalization in Volatility Analysis
The Z-score is a statistical tool that quantifies how many standard deviations a given data point is from the mean of the dataset. It is calculated as:
Z = \frac{X - \mu}{\sigma}
Where X is the value of the data point, \mu is the mean of the dataset, and \sigma is the standard deviation of the dataset. In the context of volatility indices, the Z-score allows for the normalization of these values, enabling their comparison regardless of the original scale. This is particularly useful when analyzing volatility across multiple assets or asset classes.
This script utilizes the Z-score to normalize various volatility indices:
1. VIX (CBOE Volatility Index): A widely used indicator that measures the implied volatility of S&P 500 options. It is considered a barometer of market fear and uncertainty (Whaley, 2000).
2. VIX3M: Represents the 3-month implied volatility of the S&P 500 options, providing insight into medium-term volatility expectations.
3. VIX9D: The implied volatility for a 9-day S&P 500 options contract, which reflects short-term volatility expectations.
4. VVIX: The volatility of the VIX itself, which measures the uncertainty in the expectations of future volatility.
5. VXN: The Nasdaq-100 volatility index, representing implied volatility in the Nasdaq-100 options.
6. RVX: The Russell 2000 volatility index, tracking the implied volatility of options on the Russell 2000 Index.
7. VXD: Volatility for the Dow Jones Industrial Average.
8. MOVE: The implied volatility index for U.S. Treasury bonds, offering insight into expectations for interest rate volatility.
9. BVIX: Volatility of Bitcoin options, a useful indicator for understanding the risk in the cryptocurrency market.
10. GVZ: Volatility index for gold futures, reflecting the risk perception of gold prices.
11. OVX: Measures implied volatility for crude oil futures.
Volatility Clustering and Z-Score
The concept of volatility clustering—where high volatility tends to be followed by more high volatility—is well documented in financial literature. This phenomenon is fundamental in volatility modeling and highlights the persistence of periods of heightened market uncertainty (Bollerslev, 1986).
Moreover, studies by Andersen et al. (2012) explore how implied volatility indices, like the VIX, serve as predictors for future realized volatility, underlining the relationship between expected volatility and actual market behavior. The Z-score normalization process helps in making volatility data comparable across different asset classes, enabling more effective decision-making in volatility-based strategies.
Applications in Trading and Risk Management
By using Z-score normalization, traders can more easily assess deviations from the mean in volatility, helping to identify periods when volatility is unusually high or low. This can be used to adjust risk exposure or to implement volatility-based trading strategies, such as mean reversion strategies. Research suggests that volatility mean-reversion is a reliable pattern that can be exploited for profit (Christensen & Prabhala, 1998).
References:
• Andersen, T. G., Bollerslev, T., Diebold, F. X., & Vega, C. (2012). Realized volatility and correlation dynamics: A long-run approach. Journal of Financial Economics, 104(3), 385-406.
• Bollerslev, T. (1986). Generalized autoregressive conditional heteroskedasticity. Journal of Econometrics, 31(3), 307-327.
• Christensen, B. J., & Prabhala, N. R. (1998). The relation between implied and realized volatility. Journal of Financial Economics, 50(2), 125-150.
• Whaley, R. E. (2000). Derivatives on market volatility and the VIX index. Journal of Derivatives, 8(1), 71-84.
Risk-On vs Risk-Off Meter (Pro)Risk-On vs Risk-Off Meter (Pro)
This macro-based tool analyzes capital flows across key assets to gauge overall market risk sentiment. It does not use ES, SPY, or stock data directly—making it a powerful confirmation tool for ES traders looking to align with macro forces.
🔹 Core Idea:
Tracks capital rotation between copper/gold, bonds, dollar, crude oil, VIX, and yield spreads to generate a normalized risk score (0–1). This score reflects whether macro money is flowing into risk or safety.
🔹 Use:
Use this indicator as confirmation of directional bias when scalping or day trading ES.
– Green Zone (>0.75): Risk-On environment. Favor long setups.
– Red Zone (<0.45): Risk-Off. Favor short setups or stand aside.
– Yellow Zone: Neutral, use caution.
– Divergence Alerts: Signals when ES price disagrees with macro risk trend—potential reversals or exhaustion zones.
HOT TO USE
– Combine with your existing price action or order flow signals
– Avoid trading against the macro sentiment unless strong setup
– Use divergence as a heads-up for fading or exiting trades
This gives you a macro-informed lens to validate or filter your entries.
Risk-On / Risk-Off ScoreRisk-On / Risk-Off Score (Macro Sentiment Indicator)
This indicator calculates a custom Risk-On / Risk-Off Score to objectively assess the current market risk sentiment using a carefully selected basket of macroeconomic assets and intermarket relationships.
🧠 What does this indicator do?
The score is based on 14 key components grouped into three categories:
🟢 Risk-On Assets (rising = appetite for risk)
(+1 if performance over X days is positive, otherwise –1)
NASDAQ 100 (NAS100USD)
S&P 500 (SPX)
Bitcoin (BTCUSD)
Copper (HG1!)
WTI Crude Oil (CLK2025)
🔴 Risk-Off Assets (rising = flight to safety)
(–1 if performance is positive, otherwise +1)
Gold (XAUUSD)
US Treasury Bonds (TLT ETF) (TLT)
US Dollar Index (DXY)
USD/CHF
USD/JPY
US 10Y Yields (US10Y) (yields are interpreted inversely)
⚖️ Risk Spreads / Relative Indicators
(+1 if rising, –1 if falling)
Copper/Gold Ratio → HG1! / XAUUSD
NASDAQ/VIX Ratio → NAS100USD / VIX
HYG/TLT Ratio → HYG / TLT
📏 Score Calculation
Total score = sum of all components
Range: from –14 (extreme Risk-Off) to +14 (strong Risk-On)
Color-coded output:
🟢 Score > 2 = Risk-On
🟠 –2 to +2 = Neutral
🔴 Score < –2 = Risk-Off
Displayed as a line plot with background color and signal markers
🧪 Timeframe of analysis:
Default: 5 days (adjustable via input)
Calculated using Rate of Change (% change)
🧭 Use Cases:
Quickly assess macro sentiment
Filter for position sizing, hedging, or intraday bias
Especially useful for:
Swing traders
Day traders with macro filters
Volatility and options traders
📌 Note:
This is not a buy/sell signal indicator, but a contextual sentiment tool designed to help you stay aligned with overall market conditions.