EMA Slope + Pullback Pro IndicatorEMA Slope + Pullback Pro Indicator
Core: EMA trend analysis with automated pullback detection.
Key Features:
3-EMA Slope System (9,20,50) with trend signals
Smart Pullback Monitor with visual alerts
Complete Data Table showing all metrics
Multi-Filter System (timeframe + volume)
What It Does:
Shows EMA trends and strength
Detects price pullbacks to EMA levels
Gives entry signals at EMA support/resistance
Filters signals with higher timeframe trend
Visual:
EMA lines on chart
Pullback zones (colored)
Entry arrows
Data table with live metrics
For: Trend + pullback traders wanting automated EMA analysis.
インジケーターとストラテジー
EDUVEST QQE Grade System - S/A/B/C Signal ClassificationEDUVEST QQE Grade System - S/A/B/C Signal Classification
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ ORIGINALITY
This indicator introduces a unique grading system (S/A/B/C) for QQE signals, combining traditional QQE analysis with SMC (Smart Money Concepts) price zones and trading session filters. Unlike standard QQE indicators that show all signals equally, this version classifies signals by quality to help traders focus on the highest probability setups.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ WHAT IT DOES
- Generates BUY/SELL signals with S/A/B/C grade classification
- Automatically detects asset type and applies optimized QQE factors
- Integrates SMC price zones (support/resistance) for grade enhancement
- Filters signals by trading session time
- Displays real-time session and market status
Grade Hierarchy:
- S (Gold/Orange): Signal near SMC zone + active trading hours - Highest quality
- A (Green/Red): Score 70+ during trading hours - High quality
- B (Darker): Score 50-69 during trading hours - Medium quality
- C (Gray, small): Outside trading hours or weak signal - Low quality
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ HOW IT WORKS
【QQE Core Calculation】
The QQE (Quantitative Qualitative Estimation) is calculated as:
1. RSI with configurable period (default: 14)
2. EMA smoothing of RSI (Smoothing Factor: 5)
3. Dynamic bands using Wilder's smoothing: RSI ± (ATR of RSI × QQE Factor)
QQE Factor is auto-adjusted per asset:
- USD/JPY: 4.238
- EUR/USD: 3.8
- Gold (XAU/USD): 8.0
- NASDAQ/US100: 9.0
【Signal Generation】
- BUY: QQE line crosses above its trailing stop (QQExlong == 1)
- SELL: QQE line crosses below its trailing stop (QQExshort == 1)
【Internal Scoring System】
Score components (0-100):
- Signal Base: +25 points when signal occurs
- QQE Strength: +10 to +20 based on RSI distance from 50
- Volatility: +15 (optimal ATR ratio 1.1-2.0), -10 (low volatility)
- Volume Confirmation: +10 (high volume), -5 (low volume)
- Session Bonus: +5 during London/NY sessions
- Base: +20 points
【Grade Assignment】
- Grade S: Signal near user-defined SMC price zone (within tolerance %) AND during trading hours
- Grade A: Internal score >= 70 AND during trading hours
- Grade B: Internal score >= 50 AND during trading hours
- Grade C: Outside trading hours OR score < 50
【SMC Price Zone Integration】
Users can set support/resistance levels for each asset. When price is within the tolerance percentage of these levels, signals are upgraded to S-grade, indicating confluence with institutional price levels.
【Trading Session Filter】
Configurable active trading hours (JST timezone):
- Default: 15:00 - 01:00 JST (London + NY overlap)
- Signals outside this window receive C-grade
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ HOW TO USE
【Recommended Settings】
- Timeframe: 15M, 1H, 4H
- Best on: USD/JPY, EUR/USD, Gold, NASDAQ
- Focus on: S and A grade signals
【Trading Strategy】
- S-Grade (Gold/Orange): Highest conviction - consider larger position
- A-Grade (Green/Red): Strong signal - standard position
- B-Grade: Valid but use additional confirmation
- C-Grade: Avoid or use minimal size
【Setting Up SMC Zones】
1. Identify key support/resistance on higher timeframe
2. Input prices in SMC Price Settings
3. Adjust tolerance % (default: 0.15%)
4. S-grade appears when signal occurs near these levels
【Info Panel】
Top-right panel shows:
- Asset name and detection mode (Auto/Manual)
- Current session (Tokyo/London/NY)
- Trading hours status
- SMC zone proximity
【Alert Setup】
1. Enable alerts in settings
2. Create alert with "Any alert() function call"
3. Alerts include grade, price, and session info
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ SETTINGS
Basic Settings:
- Enable Alerts: Turn on/off notifications
- Time Filter: Activate trading hour filter
- Start/End Hour: Define active trading window (JST)
QQE Settings:
- RSI Period: RSI calculation period
- RSI Smoothing: EMA smoothing factor
- Auto QQE Factor: Auto-detect optimal factor per asset
- Manual QQE Factor: Override when auto is disabled
SMC Price Settings:
- Support/Resistance levels for each asset
- Tolerance %: How close to SMC line for S-grade
Display Settings:
- Grade Only: Hide QQE lines, show only signals
- Show SMC Lines: Display support/resistance on chart
- Show Debug: Display asset detection info
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ CREDITS
QQE concept originally developed by John Ehlers.
SMC (Smart Money Concepts) integration and grading system by EduVest.
License: Mozilla Public License 2.0
Level Targeting Heatmap (Effort -Targets) Level Targeting — Volume-Based Heatmap
Level Targeting visualizes price zones where the market previously approached with elevated relative volume.
These zones represent targets, not signals.
The indicator is built on a simple idea:
price moves with effort, and effort is expressed through volume.
⸻
What it shows
• Heatmap zones where price was approached on high relative volume
• Zones represent price ranges, not exact levels
• Stronger zones indicate repeated market interest
• Separate visualization for zones above and below current price
• Optional focus on nearest targets or recently active zones
⸻
How to read it
• Levels = targets
• Volume = effort
• The path to a level matters more than the level itself
• Volume anomalies are questions, not buy/sell signals
• The market is always being driven, held, or distributed
⸻
What this indicator is
✔️ A market context filter
✔️ A statistical heatmap of historical market attention
✔️ A tool to understand where the market has previously paid to be
⸻
What this indicator is not
✘ Not a buy/sell signal
✘ Not predictive on its own
✘ Not a trading system
⸻
Design philosophy
This indicator adapts naturally to timeframe and chart scale.
Zones may change with zoom level — this is intentional and reflects contextual market structure, not repainting.
Designed for analysis, not automation.
156D EMA 5 Crossover ScanWhen the price crosses and closes above the 5 EMA on a 156-day time frame, it indicates a bullish turnaround. A buy can be initiated at the closing price of the bullish turnaround candle, with a stop-loss set at the low of the entry candle on a closing basis within the same 156-day time frame. This indicator signals a long-term bullish trend and is best suited for positional trades and investments with a minimum time horizon of 3–5 years.
4MA / 4MA-1 Interactive Projection and Volatility Envelopehis script is a user-interactive upgrade to my original 4MA projection tool (Code 1). The goal of this version is to keep the same core behavior while adding transparent controls so you can adapt it to different symbols, timeframes, and market regimes.
At its core, the indicator tracks:
MA4 (4-period SMA) and MA4 (the 1-bar lag of MA4) to show short-term alignment and slope, and
A forward projection path plus a deviation “envelope” to visualize typical expansion vs. stretched moves vs. extreme deviations.
What’s on the chart
1) Live structure lines
MA4 and MA4 are plotted on the chart.
Their relationship provides a simple structure read:
MA4 > MA4 → bullish alignment
MA4 < MA4 → bearish alignment
2) Projection path (optional)
The script builds a forward “projection” by sampling a historical MA window and drawing that shape forward by a user-defined bar shift.
Delta-anchor option (recommended):
When enabled, the sampled shape is re-centered onto the current MA level (preserves relative movement rather than absolute price level).
Important: This projection is a visual reference model, not a promise of future price.
3) Standard deviation envelopes (optional)
Deviation bands are derived from the distribution of (close − MA4) across the sampled window, then applied around the projected path using configurable multipliers (a “ladder” of envelopes).
These envelopes are designed to help visualize:
Normal expansion zones
Momentum stretch zones
Extreme deviation zones where the model is more likely to be challenged
4) Projected cross confluence (vertical lines)
Vertical confluence lines mark where the projected MA4 and projected MA4 would intersect (bull / bear).
These are intended as forward structure landmarks, not trade signals.
5) Alerts (optional)
Alerts can be enabled for breaches of the projected deviation envelope:
Band 3 breach: momentum stretch / extension
Band 4 breach: extreme deviation / model challenged (“invalidation” zone)
Wicks or closes can be used for the breach check depending on preference.
6) Table (optional)
A compact table summarizes:
MA values
alignment status
The most recent cross context (BUY/SELL labeling here is informational labeling of the MA cross state, not a guarantee of performance)
How to use (practical workflow)
Set the market + timeframe first
Choose the symbol and timeframe you trade. This tool is designed to be tuned.
Adjust the pattern window
“Pattern Start/End (bars back)” controls what historical sample is used.
Different assets/timeframes respond best to different windows.
Toggle projection + confluence lines
If projection landmarks add clarity, keep them on.
If you want a cleaner chart, toggle them off.
Use bands as context
Movement inside the inner bands often reflects more typical expansion.
Band 3/4 areas represent progressively more stretched conditions.
Use alerts as notifications, not commands
Alerts are best used as “check the chart” prompts rather than auto-trade triggers.
Notes & disclaimers (Publishing-safe)
This script is intended for analysis and decision support.
It does not execute trades and does not guarantee outcomes.
Projections and envelopes are models and can be exceeded or invalidated by volatility.
Always use risk management and confirm with your own framework.
Change log (recommended)
v2 (Interactive Upgrade):
Added user controls for projection window and visualization
Added/expanded optional confluence markers, alerts, and presentation settings
Improved transparency and tunability across symbols/timeframes
This version is the recommended upgrade to the original release: same concept, more user control, clearer documentation, and better adaptability across markets.
Ian Trades COT Net PositionsThe COT net positions indicator shows how many futures contracts big traders are buying minus how many they are selling.
VDUB Bands - MTF WMA+ATR Volatility Lanes (6 Alerts)VDUB Bands draws volatility-scaled “trend lanes” around a Weighted Moving Average (WMA) using ATR (or a WMA of True Range). It can display up to four tiers (L1–L4), with higher tiers sourced from higher timeframes to show local structure → higher-timeframe structure on a single chart.
────────────────────────────────────────
1. What it does (plain English)
────────────────────────────────────────
Think of each tier as a lane system around the trend:
• Inner rails = “normal volatility lane” around the WMA
• Outer rails = “extension / extreme zone” for that tier
• Higher tiers (L3/L4) show bigger structure
• Lower tiers (L1/L2) show active lane behavior
Typical interpretation:
• Price inside inner rails → normal variance around the trend lane
• Between inner and outer → stretched, but not extreme
• Outside outer rails → extended vs that tier’s volatility band
────────────────────────────────────────
2) Why it’s useful (and why it’s not a mashup)
────────────────────────────────────────
This is not a bundle of unrelated indicators. Everything serves one cohesive purpose:
• Visualize trend + volatility lanes across multiple time horizons
• Keep rails consistent and readable (levels, fills, outlines)
• Optional multi-timeframe aggregation for structure context
• A compact 6-alert set to catch key transitions without alert spam
────────────────────────────────────────
3) What you see on the chart
────────────────────────────────────────
For each level (L1–L4), you can show:
• Upper/Lower Inner rails
• Upper/Lower Outer rails
• Optional center fill (between outer rails) = operating range
• Optional MA line per tier (off by default to reduce clutter)
• Base WMA line (L1 MA) if enabled
Suggested workflow:
• Start with L1 + L2 only
• Add L3/L4 once you like the structure view
• Use Dynamic Opacity if the chart feels crowded
────────────────────────────────────────
4) How it works (transparent formula)
────────────────────────────────────────
For each tier:
• MA = WMA(source, baseLen × levelMultiplier)
• ATR_like = Wilder ATR (default)
OR WMA(TrueRange, atrLen × levelMultiplier)
Inner rails:
• upperInner = MA + ATR_like × innerMult
• lowerInner = MA - ATR_like × innerMult
Outer rails:
• upperOuter = MA + ATR_like × outerMult
• lowerOuter = MA - ATR_like × outerMult
Tier behavior:
• L1 uses the chart timeframe
• L2–L4 can use user-selected HTFs (defaults: 4H / D / W)
or optional auto-selection
────────────────────────────────────────
5) Multi-timeframe behavior + interpolation
────────────────────────────────────────
• L2–L4 use request.security() with lookahead OFF (no future data).
• HTF bands naturally “step” when the HTF candle confirms.
• Interpolate HTF Bands (optional): visually blends from the prior confirmed HTF value to the current confirmed HTF value to reduce stepping. This is display smoothing, not prediction.
Repaint note:
• If Live Interp (Repaints) is enabled, the HTF lines can update intrabar and may repaint. Keep it OFF for strict non-repainting behavior.
────────────────────────────────────────
6) Auto-select L2/L3/L4 (optional)
────────────────────────────────────────
Two modes:
A) Ladder (deterministic)
• Picks “bigger” timeframes relative to the chart (simple and fast).
B) Score (data-driven)
• Tests candidate timeframes and scores them using:
• Coverage: % of closes inside the OUTER band over Score Lookback
• Width: average outer-band width as a fraction of MA
• Targets: Target Coverage + Target Width
• Weights: Coverage Weight + Width Weight
Performance notes:
• Score mode is heavier (many candidates).
• “Lock auto-select after first pick” is recommended to reduce load and avoid platform limits.
────────────────────────────────────────
7) Alerts (6 total, aggregated across L1–L4)
────────────────────────────────────────
Alerts trigger if ANY tier meets the condition:
• Cross ABOVE an OUTER band
• Cross BELOW an OUTER band
• Cross ABOVE an INNER band
• Cross BELOW an INNER band
• Price is OUTSIDE ABOVE an OUTER band
• Price is OUTSIDE BELOW an OUTER band
These are intentionally aggregated to keep the alert count small while catching meaningful transitions.
────────────────────────────────────────
8) Limitations & transparency
────────────────────────────────────────
• Indicator only (not a strategy). No performance claims.
• MTF values update when the higher timeframe candle confirms.
• Interpolation is visual smoothing; it does not forecast.
• Non-standard chart types (Heikin Ashi/Renko/etc) may behave differently from standard candles.
• If you enable repainting options, signals/levels may change intrabar.
────────────────────────────────────────
9) Credits/reuse disclosure
────────────────────────────────────────
• Conceptual inspiration: VDUB and the community “VDUB_BINARY_PRO_3_V2” idea of WMA ± TR/ATR × multipliers.
• This version is a reimplementation + extension, adding:
o Multi-tier architecture (L1–L4)
o Higher-timeframe sourcing + optional interpolation
o Optional scoring-based timeframe selection
o Dynamic opacity + streamlined plotting
o Aggregated 6-alert set
No code was copied directly from the older script; this is a rewritten implementation with additional features and different structure.
www.tradingview.com
DTG Open Range Breakout
Description:
Overview The Open Range Breakout (ORB) is one of the most statistically significant strategies for day traders, particularly in Futures (ES/NQ) and Forex markets. This indicator automates the process of identifying the "Opening Range" (e.g., the first 30 minutes of the New York session) and visualizing the key High/Low levels that define the day's bias.
Unlike standard indicators that clutter the chart, this tool focuses on Price Action context. It highlights the critical volatility window and alerts you only when price makes a definitive move outside of this established range.
Key Features
Fully Customizable Session: Defaults to 09:30–10:00 (ET), but can be adjusted for any market (London Open, Tokyo Open, etc.).
Visual "No-Trade" Zone: Draws a shaded box representing the range formation period. This helps traders avoid "choppy" price action during the initial volatility.
Auto-Reset: The script automatically detects a new trading day and resets the range, keeping your chart clean without manual intervention.
Dynamic Support/Resistance: Once the range is closed, the High and Low lines extend forward, acting as key support or resistance levels for the rest of the session.
Smart Alerts: Alerts are programmed to trigger only after the range has fully formed, preventing false signals during the volatility establishment phase.
Reversals: If price breaks out but immediately fails and re-enters the box, consider this a "Fakeout" and look for a move to the opposite side.
Settings
Open Range Session: The specific time window to measure (Format: HHMM-HHMM).
Range Box Color: Visual preference for the shaded area.
Extend High/Low Lines: Toggle the dashed projection lines on/off.
DON.TRADES.GOLD@GMAIL.COM
Disclaimer This script is for educational and analytical purposes only. Past performance of a breakout strategy does not guarantee future results. Always manage risk.
ULTIMATE SMC FUSION 💎 ULTIMATE SMC FUSION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
A premier Smart Money Concepts (SMC) indicator that masterfully combines multi-dimensional structure analysis with precision momentum filtering. This edition is optimized for manual SMC traders looking for clarity and performance.
🚀 KEY FEATURES:
• FULL SMC SUITE: Automated Break of Structure (BOS) and Change of Character (CHoCH) detection.
• HTF ADAPTIVITY: Fine-tuned logic specifically for $30m$, $1h$, and $4h$ charts to catch the major institutional moves.
• PRECISION REVERSAL ENGINE: Advanced detection for Pinbar and Engulfing patterns at key liquidity zones.
• SMART SCORING SYSTEM: Integrated analysis of ADX (Trend Strength), RSI (Momentum), and Volume.
• ZERO-API ARCHITECTURE: Streamlined for maximum efficiency on your local TradingView terminal.
• 2026 V2026 VISUALS: Modern, premium interface with glassmorphic stats and high-contrast signals.
BEST FOR: SMC Traders, Prop Firm Challenges, and High-Precision Analysis.
Feel free to adjust the settings to your own needs.
Do not put your full confidence into a script, make your own decisions allways.
Trade at your own risk.
ATR Table (Top Right) - Multi Rangejust your friendly atr table to multiple ranges and for the sense of what is brewing
Trading Sessions - BluePipsWhat the indicator does
A TradingView Pine Script indicator that overlays trading sessions on intraday charts and tracks session highs/lows.
Main features
Three trading sessions (all times in CST/CDT):
Asian Session: 7:00 PM - 12:00 AM (19:00-00:00)
London Session: 1:00 AM - 6:00 AM (01:00-06:00)
New York Session: 7:00 AM - 1:00 PM (07:00-13:00)
Visual elements (toggleable):
Colored boxes: highlight each active session
Session labels: show session name, price range, and average price
Open/Close lines: dashed lines at session open and close prices
Average price line: dotted line showing the average price during the session
High/Low lines: solid lines showing the session high and low
High/Low labels: "AH" (Asian High), "AL" (Asian Low), "LH" (London High), "LL" (London Low), "NH" (New York High), "NL" (New York Low)
Behavior:
During a session: box expands, lines extend, high/low update in real time
After a session ends: box and open/close lines are removed; high/low lines remain visible as reference levels
Daily reset: all elements are cleaned up at the start of each new day
Use cases
Identify session boundaries and overlaps
Track session highs/lows as support/resistance
Analyze price action during specific trading hours
Monitor session ranges and averages
Technical details
Works only on intraday timeframes (errors on daily/weekly/monthly)
Handles daylight saving time automatically via IANA timezones
Properly cleans up visual elements to prevent memory leaks
All times are in Central Standard Time (CST/CDT)
Useful for traders who want to see session-based price levels and ranges directly on their charts.
Trap Longs - Hamza NaveedTrap Longs – Hamza Naveed is an advanced Open Interest–based indicator that analyzes net longs, net shorts, delta, and ratio across multiple exchanges (Binance, BitMEX, Kraken). It visualizes institutional positioning using candles, lines, or columns, with optional VWMA/EMA smoothing, RSI strength, volume heatmaps, statistical tables, and divergence detection. Designed to identify traps, absorption, and exhaustion, this tool helps traders understand positioning shifts, liquidity behavior, and potential trend reversals beyond price action alone.
EMA 50 / EMA 200 Crossoversimple indicator to use with the others. this one gives a signal when ema 50 crosses 200. you can set an alert and snipe the best entry!
EDUVEST UTBOT ADJ - Adaptive ATR Trailing StopEDUVEST UTBOT ADJ - Adaptive ATR Trailing Stop with Session-Based Sensitivity
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ ORIGINALITY
This indicator is an enhanced version of the classic UT Bot concept, featuring automatic session-based ATR sensitivity adjustment. Unlike the original UT Bot which uses a fixed sensitivity value, this version dynamically adapts to different trading sessions (Tokyo, London, New York) and automatically detects asset characteristics to optimize signal generation.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ WHAT IT DOES
- Generates BUY and SELL signals based on ATR trailing stop crossovers with a moving average
- Automatically adjusts sensitivity based on current trading session (Tokyo/London/NY)
- Auto-detects asset type and applies optimized parameters for each instrument
- Displays real-time session information and volatility status
- Provides alert functionality with customizable cooldown periods
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ HOW IT WORKS
【Core Logic: ATR Trailing Stop】
The indicator calculates an ATR-based trailing stop using the formula:
Trailing Stop = Price ± (Sensitivity × ATR)
When price is above the trailing stop and rising, the stop trails below price.
When price is below the trailing stop and falling, the stop trails above price.
【Signal Generation】
- BUY Signal: Price crosses above the trailing stop AND Moving Average crosses above the trailing stop
- SELL Signal: Price crosses below the trailing stop AND Moving Average crosses below the trailing stop
【Session-Based Sensitivity Adjustment】
The indicator adjusts ATR sensitivity based on trading session (JST timezone):
- Tokyo (08:00-15:00): Lower sensitivity (reduced by adjustment value) - typically quieter markets
- London (15:00-23:00): Base sensitivity - moderate volatility
- New York (23:00-08:00): Higher sensitivity (increased by adjustment value) - higher volatility
【Dynamic ATR Adjustment】
When enabled, the indicator compares current ATR to its smoothed average:
- ATR Ratio = Current ATR / SMA(ATR, smoothing period)
- Volatility Multiplier = 1.0 + (Sensitivity × (2.0 - ATR Ratio))
This reduces sensitivity during high volatility (fewer false signals) and increases sensitivity during low volatility (faster response).
【Auto Asset Detection】
The indicator automatically detects the traded instrument and applies optimized parameters:
- Stable pairs (USDJPY, EURUSD, USDCHF): Base sensitivity 1.5-1.8
- Moderate pairs (AUDUSD, USDCAD, EURJPY): Base sensitivity 2.0-2.3
- Volatile pairs (GBPUSD): Base sensitivity 2.8
- Commodities (GOLD/XAUUSD): Base sensitivity 3.5
- Indices (NASDAQ/NAS100): Base sensitivity 4.0
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ HOW TO USE
【Recommended Settings】
- Timeframe: 15 minutes or higher (15M, 1H, 4H recommended)
- Best performance on: Forex majors, Gold, NASDAQ
- Enable "Auto Asset Detection" for optimized parameters
【Entry Rules】
- BUY: Enter long when green BUY label appears
- SELL: Enter short when pink SELL label appears
【Session Panel】
The top-right panel displays:
- Current trading session (Tokyo/London/NY)
- Volatility status (High Chance/Medium Chance/Caution)
- Mode (AUTO/MANUAL)
【Alert Setup】
1. Enable "Viewer Alert Display" in settings
2. Set cooldown period (default: 15 minutes) to avoid signal spam
3. Create alert with "Any alert() function call" condition
【Important Notes】
- This indicator does not repaint - signals are confirmed at bar close
- Lower timeframes (1M, 5M) may generate excessive signals
- Always use proper risk management and confirm with other analysis
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ SETTINGS OVERVIEW
🎯 Alert Settings
- Viewer Alert Display: Enable/disable alert labels
- Cooldown Function: Prevent rapid consecutive signals
- Cooldown Time: Minutes between alerts (5-60)
🔧 Dynamic ATR Settings
- Enable Dynamic ATR: Auto-adjust based on volatility
- ATR Period: Calculation period (default: 14)
- ATR Smoothing: Smoothing period for ratio calculation
- Volatility Sensitivity: How much to adjust (0.1-1.0)
🕐 Session ATR Adjustment
- Enable Time Adjustment: Session-based sensitivity
- Show Session Info: Display session panel
📊 Asset Settings
- Auto Asset Detection: Automatically optimize for instrument
- Manual settings available when auto-detection is disabled
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ CREDITS
Based on the original UT Bot concept by QuantNomad.
Enhanced with session-based adaptation and auto-asset detection by EduVest.
License: Mozilla Public License 2.0
Session High Low - Multi SessionDraws horizontal lines showing the highest and lowest prices for three trading sessions (Asian, London, New York) each day. Labels them AH/AL, LH/LL, NH/NL. Lines extend across the chart so you can see these levels after the session ends.
In one sentence: It draws daily high/low lines for three trading sessions with labels so you can see important price levels.
Macro Risk Sentiment - Intermarket Timing SignalOverview
This indicator builds a composite macro sentiment score by analyzing intermarket relationships between bonds, credit spreads, the US dollar, and volatility. The core premise is that these markets often signal shifts in risk appetite before equities react, providing a timing edge for managing exposure.
When macro conditions favor risk assets, the indicator signals RISK-ON (green). When conditions deteriorate, it signals RISK-OFF (red). This is not a predictive tool but rather a systematic way to assess the current macro environment.
The Problem It Solves
Markets do not move in isolation. Before major equity drawdowns, stress often appears first in credit markets, bonds, and volatility. By monitoring these leading indicators systematically, we can identify periods when holding equity exposure carries elevated risk.
The goal is not to catch every move but to avoid the worst drawdowns by stepping aside when multiple macro factors align negatively.
How It Works
Step 1: Data Collection
The indicator pulls daily data from four key markets:
Risk-On Inputs (positive for equities when rising):
- TLT (20+ Year Treasury Bonds): Rising bonds can signal improving liquidity or flight-to-safety ending
- JNK (High-Yield Corporate Bonds): Rising junk bonds indicate credit conditions improving and risk appetite increasing
Risk-Off Inputs (negative for equities when rising):
- DXY (US Dollar Index): Strong dollar tightens global financial conditions and signals risk-off flows
- VIX (Volatility Index): Elevated VIX indicates fear and hedging demand
Step 2: Z-Score Normalization
Each input trades at different absolute levels, so direct comparison is impossible. The indicator converts each to a z-score: how many standard deviations the current value is from its 252-day (1 year) average.
A z-score of +1 means "unusually high relative to recent history." A z-score of -1 means "unusually low." This puts all inputs on the same scale.
Step 3: Composite Calculation
The macro score combines the normalized inputs:
Macro Score = (TLT z-score + JNK z-score) - (DXY z-score + VIX z-score)
The result is clamped between -1.5 and +1.5 to prevent outliers from dominating, then smoothed with an EMA to reduce noise.
Step 4: Signal Generation
Seven different methods are available for determining when conditions shift:
1. EMA Cross: Classic crossover between smoothed macro and its signal line
2. Slope: Simple direction of the macro trend
3. Momentum: Rate of change exceeding a threshold
4. Session Delta: Comparing today's reading to yesterday's
5. Pivot: Market structure analysis (higher lows vs lower highs)
6. Acceleration: Second derivative (is momentum increasing?)
7. Multi-Confirm: Requires 4 or more methods to agree
Why These Specific Markets?
Bonds (TLT)
Treasury bonds often lead equities at turning points. When institutions rotate into bonds, it signals caution. When they rotate out, it signals risk appetite returning.
Credit (JNK)
High-yield bonds price credit risk faster than equities. Widening credit spreads (falling JNK) often precede equity weakness by days or weeks.
Dollar (DXY)
A strong dollar creates headwinds for multinational earnings, tightens global USD liquidity, and signals defensive positioning globally.
Volatility (VIX)
The options market prices fear before it manifests in price. Sustained elevated VIX readings indicate hedging demand and uncertainty.
Research Application: Weekly Put Selling
One application of this indicator is timing premium-selling strategies. I tested using the EMA Cross method to filter 7-day-to-expiration (7DTE) put sales on ES futures with 90% Profit Target and 600% Stop Loss, only selling puts when the indicator showed RISK-ON.
Results with Macro Filter (2020-2025):
- Trades: 200
- Win Rate: 96.0%
- Total P/L: +$33,636
- Max Drawdown: 2.91%
- Profit Factor: 3.51
Results without Filter (same period):
- Trades: 357
- Win Rate: 96.1%
- Total P/L: +$63,492
- Max Drawdown: 10.30%
- Profit Factor: 2.90
Key Insight:
The filtered approach made less total profit (fewer trades) but reduced maximum drawdown by 72% (from 10.30% to 2.91%). This significantly improves risk-adjusted returns and allows for potentially higher position sizing with confidence.
Note: These results are from external backtesting on actual options data, not the TradingView backtest engine. Past performance does not guarantee future results.
Features
Seven configurable signal methods for different trading styles
Adjustable weights for each data source
Z-score normalization puts all inputs on equal footing
Visual info table showing all metrics at a glance
Background coloring for quick regime identification
Alert conditions for signal changes
Secondary plot showing method-specific metrics
Settings Guide
Macro Settings
Z-Score Lookback (default 252): Period for calculating standard deviations. 252 equals approximately one trading year. Longer periods are more stable but slower to adapt.
Macro EMA (default 7): Smoothing for the raw composite score. Lower values give faster but noisier signals.
Signal EMA (default 8): Secondary smoothing for the signal line. Used primarily in EMA Cross method.
Signal Method
EMA Cross : Recommended starting point. Signals when smoothed macro crosses its signal line.
Slope : Simpler approach based purely on trend direction.
Momentum : Requires rate of change to exceed a threshold.
Session Delta : Compares today to yesterday (daily timeframe focus).
Pivot : Uses market structure (higher lows for bullish, lower highs for bearish).
Acceleration : Measures change in slope (second derivative).
Multi-Confirm : Conservative approach requiring 4+ methods to agree.
Data Sources
Each source can be enabled/disabled and weighted from 0 to 3
Default is equal weighting (1.0) for all four sources
Experiment with emphasizing sources most relevant to your trading (tested on SPX)
How to Use
Basic Interpretation:
Green background / RISK-ON: Macro conditions favor equity exposure
Red background / RISK-OFF: Macro conditions suggest caution
Arrow markers indicate regime changes
For Risk Management:
Use RISK-OFF signals to reduce position size or hedge
Use RISK-ON signals to resume normal exposure
Consider the indicator as one input among many, not a complete system
For Options Strategies:
Avoid selling premium during RISK-OFF periods
Resume premium selling when RISK-ON returns
This approach trades frequency for reduced tail risk
Alert Setup:
Set alerts on "Bullish Turn" and "Bearish Turn" conditions
Receive notifications when the macro regime changes
Research Ideas
This indicator is designed as a research framework. Consider testing:
Different signal methods for your specific strategy
Adding or removing data sources based on what you trade
Varying the z-score lookback for different market regimes
Combining with price-based filters (moving averages, support/resistance)
Using the multi-confirm method for higher-conviction signals only
Limitations
The indicator uses daily data, so intraday signals may lag
Overnight gaps from surprise news cannot be anticipated
False signals will occur, especially in choppy, range-bound markets
The z-score lookback creates a recency bias; what was "normal" a year ago may not be relevant today
Not all drawdowns are preceded by macro deterioration; some come from idiosyncratic events
Past intermarket relationships may not persist in the future
Disclaimer
This indicator is for educational and research purposes only. It does not constitute financial advice.
Past performance does not guarantee future results
The research results shared are from historical backtesting and may not reflect actual trading conditions
Always conduct your own research and due diligence
Consider your personal risk tolerance before making any trading decisions
Never risk more than you can afford to lose
Credits
Intermarket analysis concepts draw from established macro trading principles. The multi-signal approach is original work designed to give users flexibility in how they interpret the macro data.
Ultra-Compact MTF EMAsimple indicator which shows you the trend on other timeframes. fully customizable
Pullback Master ProPullback Master Pro - Scalping & Swing Trading Indicator
Perfect for both scalping and swing trading:
For Scalpers (1-5 min charts):
Quick pullback signals with fast EMA response
Real-time RSI/volume confirmation for rapid entries
Clean signals for fast in/out decisions
For Swing Traders (1H-4H charts):
Multi-timeframe trend filtering for higher accuracy
Deep pullback detection for better risk/reward
Sustained momentum signals for longer holds
Core Features:
Pullback detection with customizable depth
Multi-timeframe trend alignment
RSI + Volume + EMA confluence
Adjustable signal display (opacity, position, size)
Always-visible 3×6 data table
Multiple themes and customization options
One indicator for all timeframes - works equally well for quick scalps and strategic swing trades by adjusting the settings.
Pullback Master Pro v2Yes, excellent for scalping too when used on lower timeframes (1-15 min):
Why it works for scalping:
Quick pullback identification for fast entries
EMA slope changes catch momentum shifts early
RSI extremes pinpoint overextended moves
Volume spikes confirm momentum entries
Fast signals for quick in-and-out trades
Scalping Setup:
Use on 1-5 minute charts
Set higher timeframe to 15-30 minutes for trend filter
Shorter EMA periods (5-9) for faster signals
Small pullback depth (5-15%) for tighter entries
The indicator's real-time signals and clean visualization make it ideal for rapid scalping decisions.






















