One-Sided Hodrick-Prescott FilterTechnical & Mathematical Architecture
This indicator represents a significant departure from standard Moving Averages or traditional Hodrick-Prescott (HP) filter implementations found on Trading View. It utilizes a State-Space Model approach to decompose time-series data into trend and cyclical components, solved recursively via a Kalman Filter (Forward Pass) and a Rauch-Tung-Striebel (RTS) Smoother (Backward Pass). Furthermore, it introduces a proprietary Maximum Likelihood Estimation (MLE) loop to adapt the smoothing parameter (λ) dynamically in response to market regimes.
1.1 The State-Space Formulation
The standard HP filter minimizes a specific loss function involving the sum of squared deviations and the sum of squared second differences. While typically solved via batch matrix inversion, this script reformulates the problem as a Local Linear Trend (LLT) model, a stochastic structural model defined by:
Measurement Equation:
y = μ + ε
(Where ε is normally distributed noise)
State Transition Equations:
μ = μ + β + η
β = β + ζ
Where μ represents the stochastic level (trend) and β represents the stochastic slope (drift). The crucial link to the HP filter is the signal-to-noise ratio. By setting the variance of η to 0 (smooth trend) and defining λ as the ratio of measurement variance to slope variance, the Kalman Filter solution converges exactly to the One-Sided HP Filter.
1.2 The Forward Pass: Kalman Filter
The script executes a recursive estimation loop for real-time (causal) filtering:
Prediction Step: Projects the state mean and error covariance forward based on the transition matrix.
Innovation: Calculates the measurement residual (v = y - predicted y).
Update Step: Computes the Kalman Gain. The posterior state is updated based on how much the prediction missed the actual price.
Stability: The covariance update utilizes the Joseph Form subtraction to ensure the covariance matrix remains positive semi-definite, preventing numerical instability inherent in high-precision floating-point calculations over long durations.
1.3 Adaptive λ via Maximum Likelihood
Standard filters use a static λ (e.g., 1600 for quarterly data), which fails in crypto/FX markets exhibiting changing volatility. This script implements an Adaptive ML Loop.
The Kalman Filter assumes innovations are normally distributed with a specific theoretical variance (S). We compute a running variance ratio test:
Ratio = Actual Innovation Variance / Theoretical Variance
Ratio > 1: The model is "surprised" by volatility. The filter is under-fitting. The script dynamically decreases λ to increase responsiveness (reduce lag).
Ratio < 1: The model is over-fitting noise. The script increases λ to enforce a smoother trend.
This allows the filter to function as a low-lag trend follower during impulses and a robust noise filter during consolidation, automatically.
1.4 The Backward Pass: Rauch-Tung-Striebel (RTS) Smoother
This is the most complex feature of the script. While the Forward Pass provides the optimal estimate based on past data, the Backward Pass computes the optimal estimate based on all data.
The RTS algorithm runs purely on historical arrays stored in memory:
It iterates backward from the last bar to the past. It computes a "Smoother Gain" matrix based on future information. It updates the past estimates to correct them based on what happened afterwards. This results in a Minimum Mean Squared Error (MMSE) estimator. Note: This smoothed line is for analytical hindsight and back testing theoretical limits; it is distinct from the real-time filtered line used for live signaling.
Usage Guide:
This indicator is designed for precision trend following and mean-reversion trading. It separates the market price into a Trend Component (Signal) and a Cycle Component (Noise/Oscillation).
The Two Trend Lines:
The Filtered Trend (Real-Time): This is the filled/shaded line on your chart. It calculates the trend using only past data. It does not repaint. Use this for entering and exiting live trades.
Green Fill: Price is above the trend (Bullish bias).
Red Fill: Price is below the trend (Bearish bias).
The Smoothed Trend (Hindsight): (Optional, enabled via settings). This is the "God mode" line. It uses future data to show you exactly where the trend was.
WARNING: This line repaints. Do not trade the tip of this line. Its purpose is to show you the ideal path for training your eye or optimizing parameters.
Mean Reversion Signals:
The script calculates the "Cycle," which is the percentage deviation of price from the HP Trend.
Bands: The Upper and Lower bands represent the Cycle Threshold.
Long Signal (L): Triggered when the Cycle is Oversold (below lower band) AND begins to turn up, while the Filtered Drift (slope) is positive. This suggests a "dip buy" in an uptrend.
Short Signal (S): Triggered when the Cycle is Overbought (above upper band) AND begins to turn down, while the Filtered Drift is negative. This suggests selling a rally in a downtrend.
Adaptive Lambda Panel:
Enable the "Lambda Panel" to see the engine under the hood.
Rising Lambda (Blue): The market is noisy or consolidating. The filter is becoming "stiffer" to ignore the chop.
Falling Lambda (Orange): The market is trending impulsively. The filter is becoming "looser" to track the price closely and reduce lag.
Strategy: You can use low Lambda values as a confirmation of high-volatility breakout regimes.
Performance Table:
A dashboard in the bottom right corner displays the efficiency of the Kalman Filter:
MSE Filtered vs. Smoothed: Shows the Mean Squared Error of the real-time prediction vs. the hindsight-optimal smooth.
Improvement %: A higher percentage indicates that the RTS Smoother is extracting significantly more noise than the real-time filter (common in choppy markets).
Kalman Gains (K1, K2): These display the current weight the filter assigns to new price data for updating the Level and Slope respectively.
Summary of Settings
Base Lambda: The starting stiffness. Higher = smoother (long-term trend). Lower = responsive (short-term trend).
Adaptation Speed: Recommended between 0.01 and 0.05. Controls how fast λ reacts to volatility shocks.
Smoother Lookback: How far back (in bars) the RTS algorithm re-optimizes the historical line.
Best Practice: Use the Filtered Trend for execution. Use the Smoothed Trend to analyze past price action and determine if your Base Lambda setting is appropriate for the asset's volatility profile.
Moyennes mobiles
Slope Averages
📊 Indicator Overview: Three Moving Averages Slope Table
This indicator is designed to calculate and display the slopes and averages of three different moving averages (MAs) in a table format. It helps traders quickly visualize the direction and strength of multiple moving averages, as well as their combined averages, across different timeframes.
⚙️ Inputs and Configuration
• MA Type 1, 2, 3: Choose the type of moving average for each line. Options:
• (Exponential Moving Average)
• (Simple Moving Average)
• (Weighted Moving Average)
• (Volume-Weighted Moving Average)
• (a custom smoother using multiple EMAs)
• Length 1, 2, 3: Periods for each moving average (e.g., 20, 50, 100).
• Source: The price source used (default = ).
• Extra Timeframes (optional): You can configure up to 3 additional timeframes (e.g., 1h, 4h, Daily) to compare the combined average across different chart periods.
🔧 Functions Explained
1. tilson(src, length)
• A custom moving average that smooths price using 8 sequential EMAs.
• Produces a smoother line than a standard EMA.
2. getMA(src, length, maType)
• Selects the correct moving average type based on user input.
• Returns the chosen MA value.
3. Slope Calculation
• Each slope is calculated as:
• This converts the difference between current and previous MA values into an angle in degrees.
• Positive slope = upward trend, negative slope = downward trend.
4. Combined Slopes
• : Average slope of all three MAs.
• , , : Average slopes of pairs of MAs.
5. Combined Averages
• : Average of MA1 and MA2.
• : Average of MA2 and MA3.
• : Average of MA1 and MA3.
• : Average of all three MAs.
6. Color Function
• : Returns green if value ≥ 0, red if value < 0.
• Used to color table cells for quick visual feedback.
📋 Table Output
The table shows:
1. Individual slopes of MA1, MA2, MA3.
2. Average slope of all three.
3. Combined averages (M1+M2, M2+M3, M1+M3).
4. Combined slopes of pairs.
5. Overall average .
6. Optional: RSI or multi-timeframe averages can also be added.
Each value cell is colored green if positive, red if negative, making it easy to spot bullish or bearish conditions.
🎯 How to Use It
• Trend Strength: Look at the slope values. Steeper positive slopes = stronger uptrend; steep negative slopes = stronger downtrend.
• Confluence: When all three MAs and their combined averages point in the same direction, it signals strong trend alignment.
• Multi-Timeframe Analysis: Configure extra timeframes to see if short-term and long-term averages agree. If they align, confidence in the trend increases.
• RSI Integration (optional): Add RSI to confirm momentum. For example, bullish slope + RSI > 50 = stronger buy signal.
✅ Practical Example
• MA1 = EMA(20), MA2 = SMA(50), MA3 = WMA(100).
• If slope1, slope2, slope3 are all positive and green, and is also green → strong bullish trend.
• If slopes are mixed (some green, some red), the market is consolidating.
• If all slopes are red and is red → strong bearish trend.
Market NavigatorIntroducing Market Navigator: The Ultimate Trading Indicator for Forex and Gold Markets
In today’s fast-paced trading world, having all-in-one tools that provide clarity and actionable insights is more critical than ever. The FINAL EMA 05 indicator is a comprehensive TradingView tool designed to help traders spot trends, key levels, and market reversals—all on a single chart.
This indicator combines 8 EMAs, Delta Zones, Swing Highs/Lows, Candle Patterns, and Liquidity Channels—making it perfect for Forex, Gold (XAUUSD), and other major markets.
1. Multi-Timeframe EMAs for Trend Clarity
The indicator includes 8 EMAs:
EMA 7 & 9 – Short-term trend detection
EMA 10 & 20 – Short-to-mid-term trend confirmation
EMA 50 & 89 – Mid-to-long-term trend
EMA 100 & 200 – Long-term trend and strong support/resistance levels
Each EMA can be customized with a different length, color, width, and timeframe, making it easy to visualize both local and major market trends.
✅ Why it matters: EMAs help traders quickly identify whether the market is in an uptrend or downtrend, and spotting EMA crossovers can signal potential trade entries.
2. Delta Zones: Detect Buy & Sell Pressure
Delta Zones identify buying and selling pressure by analyzing price movement deviations. The system plots green “Buy Boxes” when bullish pressure is high and red “Sell Boxes” when bearish pressure dominates.
Configurable StdDev levels and lookback periods
Alerts when buy or sell pressure is detected
✅ Why it matters: Delta Zones give traders an edge by visually highlighting where buyers or sellers are strongest, helping to anticipate market moves.
3. Swing Highs & Lows with Candle Patterns
FINAL EMA 05 automatically detects:
Swing Highs (HH/LH) and Swing Lows (LL/HL)
Key candlestick patterns including Hammer, Inverted Hammer, Bullish Engulfing, Hanging Man, Shooting Star, and Bearish Engulfing
Labels are plotted directly on the chart, with tooltips explaining the pattern, making it perfect for beginners and experienced traders alike.
✅ Why it matters: Swing levels and candle patterns help identify market reversals and trend continuations, allowing precise entry and exit timing.
4. Liquidity Channels: Spot Key Levels for Big Moves
Liquidity Channels detect important highs and lows where large traders may have placed their orders. The channels expand over time and are visually highlighted:
Teal lines for bullish liquidity
Red lines for bearish liquidity
Customizable channel growth, line style, and deletion timing
✅ Why it matters: These levels often act as support and resistance zones, and price reactions at these points can indicate major breakouts or reversals.
5. Why Bangladeshi Traders Should Use FINAL EMA 05
Gold (XAUUSD) & Forex Focus: The EMAs and Delta Zones provide accurate trend direction, while liquidity levels show where institutional traders are active.
Multi-Timeframe Insights: Short-term traders can focus on EMA 7, 9, and 10, while swing traders can watch EMA 50, 89, and 200.
All-in-One View: No need to add multiple indicators; this script combines trend, pressure, patterns, and liquidity in one.
Conclusion
The FINAL EMA 05 indicator is not just another EMA or candlestick tool—it’s a complete trading toolkit. By combining trend analysis, pressure zones, swing levels, candlestick patterns, and liquidity channels, it empowers traders to make informed, precise, and confident decisions.
Whether you’re trading USDJPY trends, Gold XAUUSD, or Forex pairs, this indicator helps you spot
Dynamic Multi-Timeframe SMAs (Brian Shannon Style)Overview : This indicator implements the logic of Brian Shannon's "Multi-Timeframe Analysis" on intraday charts. It automatically calculates the correct length for the 5-Day and 50-Day Simple Moving Averages (SMA), regardless of the timeframe (e.g., 5m, 15m, 1h) you are viewing.
How it works Standard SMAs only count bars. A "50 SMA" on a 5-minute chart only looks back ~4 hours. This script dynamically calculates how many bars represent full trading days.
Features:
Asset Class Selector : Choose between Crypto (24/7) and Stocks (6.5h US Session) to ensure correct minute-per-day calculations.
Info Table : Displays exactly how many bars are being used for the calculation in real-time.
Max Trend Master Pro + Energy MA [SYNC & TRADE]Max Trend Master Pro + Energy MA: Revolutionary Trend Indicator
Max Trend Master Pro + Energy MA is a breakthrough indicator for TradingView, representing a **new wave** in market analysis: integrating physical laws (conservation of energy for kinetic and potential price dynamics) with AI elements like Markov chains for trend prediction and K-Means clustering for volatility regimes. This isn't just a tool—it's a **new perspective** on trading, where price is viewed as an energy system, and adaptive EMAs "stick" to extremes in real-time, forecasting shifts with probabilistic accuracy. No one else offers this: physics meets machine learning to uncover hidden energies, divergences, and breakouts before they manifest.
**What makes it a new wave?**
In an era where standard indicators (like simple EMAs or RSI) lag behind the market, Max Trend Master introduces an **energy approach**: price isn't random fluctuations, but a balance of kinetic energy (momentum from volume and speed) and potential (accumulated "height" from baseline). This wave is inspired by physics but tailored for trading: the indicator calculates "mass" (volume delta), "speed" (price change), and "height" (deviation from SMA), creating Energy MAs that react to real market forces. Add Markov chains—probabilistic AI for forecasting states (from strong bull to bear) based on historical transitions—and K-Means, which online-learns to classify the market (CALM, NORMAL, VOLATILE, EXTREME). This is the wave of "smart" trading: not reacting to the past, but anticipating the future with 35%+ accuracy boost in backtests on BTC/USD compared to classics.
**New perspective on analysis:**
Traditional indicators focus on price/volume, ignoring "energy"—the hidden momentum leading to reversals. Here, the perspective is broader: the market as a physical system where energy is conserved but transforms (KE to PE and vice versa). Adaptive EMAs aren't fixed—they "stick" to highs/lows, auto-selecting periods to touch extremes, with adaptation speed for volatility. Markov adds a predictive analytics perspective: transition matrix forecasts with confidence thresholds (e.g., 80% for growth). K-Means—a regime perspective: dynamic clustering by volatility, volume, and energy to adapt strategies (scalp in VOLATILE, swing in CALM). Integration with ADX, SuperTrend, and energy divergences yields a composite signal—from -1 (short) to +1 (long), smoothed for reliability.
**Unique features no one else has:**
- **Sticking adaptive EMAs:** Dynamically cling to extremes, minimizing lag—ideal for crypto/forex.
- **Markov chains:** AI trend prediction with probabilities (↗ 85%), alerts for strong shifts.
- **K-Means clustering:** Online learning for market regimes, optimizing for volatility.
- **Energy components:** Visualization of KE/PE, divergences (diamonds for reversals), breakouts (cross for momentum).
- **Info panel:** Emojis for trend (🟢 LONG), speed (⚡ FAST), energy (🔋), Markov, and regime—instant overview.
Visuals: Colored trend backgrounds, signal arrows, SuperTrend lines for stops. Alerts: on entries, divergences, regime changes, Markov predictions.
**Why does it dominate?** Physics + AI = edge in trends. Add it now and see the market in a new way! 🚀
QX Expert Imtiazz 3.0.4 PROQX Expert Imtiazz 3.0.4 (qx_expert_imtiaz)
is a high-precision 1-minute binary scalping indicator, built using a hybrid trading strategy that combines momentum, structure, volume, and zone-based logic.
This indicator is specially designed for fast decision-making and short expiry trades in volatile market conditions.
---
🔹 Core Concepts Used
This indicator integrates multiple professional trading concepts into a single system:
QQE (Quantitative Qualitative Estimation)
Identifies momentum shifts and trend strength with reduced noise.
EMA Trend Filter
Confirms market direction and avoids counter-trend entries.
Smart Zones (Base & Reaction Zones)
Detects key price areas where reversals or continuations are most likely.
Volume Confirmation
Filters weak signals and confirms real market participation.
Footprint Logic (Price Acceptance / Rejection)
Analyzes candle behavior to validate buy/sell pressure.
---
Smart MA Zone Crossover [HMA-EMA]Smart MA Zone Crossover is a trend-following indicator designed to capture early momentum shifts using the crossover between Hull Moving Average (HMA) and Exponential Moving Average (EMA).
The indicator visually highlights trend direction using a dynamic colored zone, making it easy to identify bullish and bearish market phases at a glance.
🔸 Step 1: Moving Average Calculation
HMA (Hull Moving Average) → Faster, smoother, reacts quickly to price
EMA (Exponential Moving Average) → Stable trend reference
Both MA lengths are **fully adjustable** from the settings panel.
🔸 Step 2: Trend Detection
Bullish Trend: HMA is above EMA
Bearish Trend: HMA is below EMA
The area between the two averages is filled with color to visually represent the current trend state.
Step 3: Signal Generation (Non-Repainting)
Signals are generated **only on confirmed crossovers**:
✅ BUY Signal- HMA crosses above EMA
❌ SELL Signal-HMA crosses belowEMA
Signals do **not repaint** and appear only once per crossover.
🔸 Step 4: Visual Customization
Users can enable or disable:
* Moving average lines
* Colored MA zone fill
* Buy/Sell arrows
* Buy/Sell text labels
This allows the indicator to remain **minimal or detailed**, depending on user preference.
🔹 Key Features
✔ Non-repainting logic
✔ Clean crossover-based signals
✔ Customizable HMA & EMA lengths
✔ Optional MA zone fill
✔ Buy/Sell arrows & labels
✔ Works on all timeframes
✔ Beginner-friendly & scalper-ready
🔹 Best Use Cases
* Trend confirmation
* Momentum trading
* Scalping & intraday trading
* Swing trend filtering
For best results, combine with:
* Support & resistance
* Volume
* Higher-timeframe trend
🔹 Disclaimer
This indicator is provided for **educational purposes only**.
It is **not financial advice**. Always backtest and use proper risk management before trading live markets.
Sniper SuiteSniper Suite is a multi-module trend & momentum toolbox built for disciplined entries.
It combines AlphaTrend, a dynamic MA Resistance line, optional Flow Band / Vegas Tunnel / Guppy Flow, plus ADX + Squeeze + Pinbar veto and a 0–100 Score engine that summarizes conditions into a simple table:
SCORE: strength/quality (0–100)
LIVE: current bar decision (ENTRY / WAIT)
CLOSE: “last confirmed decision” with session-specific logic
What’s inside
AlphaTrend core with optional BUY/SELL markers
MA Resistance (Donchian mid + SMA smoothing)
Optional overlays: Flow Band, Vegas Tunnel, Guppy Flow
Filters:
ADX filter (Soft/Hard/Off, with early-pass option)
Squeeze Momentum (LazyBear-style) influence + penalty
Bear Pinbar Veto (blocks risky long entries)
Score logic (0–100)
The score blends:
AlphaTrend alignment + slope
Price vs MA Resistance + slope/dist
Selected module contribution (Flow/Vegas/Guppy)
Optional Squeeze “power” contribution
Then applies penalties and optional ADX scaling.
Market/session behavior
BIST: after 17:55 (Istanbul time), the CLOSE cell can preview the LIVE decision (visual-only).
Crypto (Gate): uses a 03:00 daily base close for the CLOSE decision and performs a single 07:00 check:
If CLOSE = ENTRY at 03:00 but Score < Gate Threshold at 07:00, it is downgraded to WAIT.
If CLOSE = WAIT at 03:00, it will not upgrade later (by design).
Optional Reclaim can be enabled to require price reclaiming a reference level before keeping ENTRY.
Alerts
Includes an alert condition for confirmed Score threshold cross-up (when LIVE decision becomes ENTRY on bar close).
Disclaimer: This indicator is for informational/educational purposes only and does not constitute financial advice. Always manage risk.
ES Signals (Sequencer Labels)Here i am using EMA crossover systems to catch the market. One can use this with their own choice.
Using Some simple rules, we can get some good quality trades! You can see for yourself before trading.
=== HOW TO USE THIS INDICATOR ===
1) Choose your market and timeframe. ( according to their need )
2) Choose if the strategy is long-only or bidirectional.
Don't overthink nobody knows the best answer of market. We're going to test and find out.
After you find a good combination, set up an alert system with the default Exponential Moving Average indicators provided by TradingView.
=== TIPS ===
Change the Time frame according to their need.
i) for intraday 3-5 minute.
ii) 60 minute for 3-4 days View
iii) Daily for positional
Try a Long-Only strategy to see if that performs better.
Hitjo Swing IndicatorTL;DR – READ THIS FIRST
This is a TWO-INDICATOR SYSTEM. Both indicators must be used together.
Hitjo Zones TF = WHERE you are allowed to trade
Hitjo Swing Trend = WHEN you are allowed to trade
Rules:
Only take BUY signals from Hitjo Swing Trend inside DEMAND zones from Hitjo Zones TF
Only take SELL signals from Hitjo Swing Trend inside SUPPLY zones from Hitjo Zones TF
Ignore signals when structure and timing do not align
Recommended setup: 1H chart with 4H or Daily zones.
Hitjo Swing Trading System
(Hitjo Zones TF + Hitjo Swing Trend)
This TradingView system combines higher-timeframe Supply & Demand zones with momentum-based swing entries to create a clean, rule-based swing trading framework.
It is designed for traders who want fewer but higher-quality trades, clear market structure, objective entry timing, and reduced overtrading.
Required Indicators
Hitjo Zones TF (Structure)
Automatically draws Supply & Demand zones using a selectable higher timeframe.
Displays SUPPLY and DEMAND labels when price enters key zones.
Defines where trades are allowed.
Do not trade based on zones alone.
Hitjo Swing Trend (Timing)
Displays BUY and SELL labels using EMA structure, momentum, and higher-timeframe trend.
Plots ATR-based stop loss and target levels.
Defines when to enter trades.
Do not take BUY or SELL signals outside zones.
Core Concept
Hitjo Zones TF tells you WHERE to trade.
Hitjo Swing Trend tells you WHEN to trade.
If both are not aligned, there is no trade.
Trading Rules
Long Trades
Take a BUY only when all conditions are true:
Price is inside or just above a DEMAND zone from Hitjo Zones TF
Higher-timeframe trend is bullish
A BUY label appears from Hitjo Swing Trend
There is room to target without immediately hitting resistance
Short Trades
Take a SELL only when all conditions are true:
Price is inside or just below a SUPPLY zone from Hitjo Zones TF
Higher-timeframe trend is bearish
A SELL label appears from Hitjo Swing Trend
There is room to target without immediately hitting support
Common Mistakes to Avoid
Buying just because DEMAND appears
Selling just because SUPPLY appears
Taking BUY or SELL signals in the middle of the chart
Counter-trend trading
Forcing trades on every signal
Stops and Targets
Hitjo Swing Trend plots:
Stop Loss using ATR (red)
Target using ATR (green)
These are visual guides only, not broker orders.
Recommended Setup
Chart timeframe: 1H
Zone timeframe (Hitjo Zones TF): 4H or Daily
Fast / Slow EMA: 8 / 21
ATR Stop / Target: 1.5 / 3.0
Remember This
DEMAND does not mean BUY
SUPPLY does not mean SELL
DEMAND + BUY = Long
SUPPLY + SELL = Short
Disclaimer
This system does not predict tops or bottoms and does not guarantee profits.
It is designed to help traders wait for alignment, reduce low-quality trades, and trade with structure.
Always manage risk appropriately.
TradingView Search Keywords
Supply Demand
Swing Trading
EMA Strategy
Multi Timeframe
Trend Following
Support Resistance
Momentum Trading
ATR Stop Loss
Crypto Trading
Stock Trading
Credit Spreads Swing TradingCredit Spreads Swing Trading
Summary
Credit Spreads Swing Trading is a decision-support indicator designed to identify higher-probability put credit spread (PCS) and call credit spread (CCS) opportunities using trend alignment, momentum shifts, and volatility-aware structure.
The indicator works on any ticker and any timeframe, and includes multiple built-in ticker presets that automatically adjust internal parameters. While it will generate signals on all charts, the on-chart table displays a recommended context to indicate when the current symbol, timeframe, and session conditions match the optimized configuration.
Core Signal Logic
Signals are generated when multiple conditions align:
Momentum shift-
Identifies directional momentum changes that often precede short-term swing continuation.
Trend confirmation-
Ensures trades align with the prevailing trend and avoids counter-trend entries.
Higher-timeframe bias
Incorporates Daily and 4-Hour EMA structure to bias trades in the dominant market direction.
Relative volume filter-
Confirms participation to reduce low-quality signals during thin or inactive periods.
Cooldown logic
Enforces spacing between signals to prevent clustering and over-trading.
Credit Spread Direction & Structure
PCS (Put Credit Spread) signals are generated in neutral to bullish conditions
CCS (Call Credit Spread) signals are generated in neutral to bearish conditions
When a signal triggers, the script calculates a recommended short strike using recent pivot structure and displays it visually on the chart. This level is intended as a reference point for structuring a credit spread, not as an execution instruction.
On-Chart Table (Informational)
The indicator includes a compact table that displays:
Current signal type (PCS or CCS)
Recommended sell-leg strike
Average spacing between historical signals
How often prior sell-legs were crossed before the next signal (visual reference only)
Recommended context status
The recommended context row indicates whether the chart matches the optimized setup:
1-Hour timeframe
Extended hours enabled
Selected ticker preset matches the chart symbol (unless set to Auto)
This recommendation is informational only. Signals are not blocked when the chart does not match the recommended context.
Ticker Presets & Flexibility
Users can select from multiple built-in ticker presets (or Auto), which adjust internal parameters such as:
Momentum sensitivity
Volatility handling
Trend responsiveness
This allows the indicator to adapt to different instruments while maintaining a consistent signal framework.
Important Notes
This indicator does not place trades and does not include automated backtesting or performance reporting.
All statistics and visual markers are for manual review and contextual analysis only.
Signals are intended for experienced traders who understand options risk, assignment risk, and proper position sizing.
Intended Use
Credit Spreads Swing Trading is intended as a research and decision-support tool for traders who sell option premium and want structured, rules-based signals aligned with trend, momentum, and volume.
It should be used alongside independent analysis and disciplined risk management.
Gold Trend Tracker - TREND TRACKER DG25Gold Trend Tracker - Complete All-In-One Trading System
A professional, institutional-grade trading system specifically optimized for Gold (XAU/USD) that combines multiple technical indicators with session-based filtering and real-time performance tracking. No external indicators required - everything you need is built right in!
🎯 CORE FEATURES
Multi-Layered Confirmation System:
Dynamic EMA trend filter (default 10-period) with color-coded visualization
Optional secondary confirmation EMA (21-period) for stronger validation
3-minute MACD analysis with histogram tracking and direction monitoring
MACD bounce detection for high-probability continuation entries
Built-in Stochastic RSI (K=3, D=3, RSI Length=14, Stochastic Length=14)
Option to connect external Stochastic RSI if preferred
Intelligent Signal Generation:
Clear BUY/SELL triangles plotted directly on price chart
Minimum bars filter to eliminate signal spam and overtrading
Higher timeframe signal overlay (optional) - see 3min signals on 15min chart
Visual Stochastic RSI threshold cross markers (customizable shapes & sizes)
"Show Only First Cross" option to reduce visual clutter
Comprehensive alert system for all signal types
Advanced Session Management:
Pre-configured trading sessions: Asian (1-4am), London (6-9am), NY (12-3pm)
Timezone-aware filtering supporting major financial centers:
Europe/London
America/New_York
America/Chicago
Europe/Paris
Asia/Tokyo
Asia/Dubai
Color-coded session backgrounds (purple/blue/orange)
Individual session toggle switches
24/7 mode for continuous trading (crypto/forex)
Signals only generate during active sessions
Real-Time Performance Tracking:
Live P/L calculation since last signal entry
Customizable lot size for accurate dollar calculations
Pip movement tracking with automatic conversion
Last signal type and duration display
Performance color-coding (green profits, red losses)
Professional Dashboard:
Clean, scalable interface (Small/Medium/Large sizing)
Current time and active session display
Trading status indicator (TRADING/PAUSED/24/7)
Price position relative to Main EMA (ABOVE ↑ / BELOW ↓)
Confirmation EMA status (when enabled)
3-minute MACD color, direction arrow, and bar count
Stochastic RSI value with color-coded status
RSI status: BULLISH/BEARISH/NEUTRAL
Source type indicator (Built-in/External)
Large, clear SIGNAL display: BUY NOW / SELL NOW / WAIT
Performance summary: signal type + price change + dollar value
📊 HOW THE SYSTEM WORKS
BUY Signal Requirements:
✓ Price trading ABOVE main EMA (bullish trend confirmation)
✓ 3-minute MACD crosses above zero OR bounces higher after crossover
✓ Stochastic RSI K-line above bullish threshold (default 50)
✓ Within an active trading session (if session filter enabled)
✓ Confirmation EMA aligned (if secondary EMA enabled)
✓ Minimum bars since last signal met (prevents overtrading)
SELL Signal Requirements:
✓ Price trading BELOW main EMA (bearish trend confirmation)
✓ 3-minute MACD crosses below zero OR bounces lower after crossover
✓ Stochastic RSI K-line below bearish threshold (default 50)
✓ Within an active trading session (if session filter enabled)
✓ Confirmation EMA aligned (if secondary EMA enabled)
✓ Minimum bars since last signal met (prevents overtrading)
Multi-Confirmation Philosophy:
This system requires ALL conditions to align before generating a signal. This drastically reduces false signals and increases win rate by only trading the highest-probability setups where trend, momentum, and volume all confirm direction.
⚙️ BUILT-IN STOCHASTIC RSI
No External Dependencies:
The indicator includes a fully functional Stochastic RSI calculation based on the standard TradingView formula. No need to hunt for compatible indicators or worry about settings mismatches.
Default Settings (Optimized for Gold):
K Smoothing: 3
D Smoothing: 3
RSI Length: 14
Stochastic Length: 14
Bullish Threshold: 50
Bearish Threshold: 50
How It Works:
Calculates RSI on price data
Applies Stochastic formula to RSI values
Smooths result with K-period SMA
Uses K-line (not D-line) for cleaner, faster signals
Compares to your bullish/bearish thresholds
Generates visual cross markers when thresholds breached
Visual Markers:
Multiple shape options: Circle, Diamond, Square, Cross
Four size options: Tiny, Small, Normal, Large
Customizable colors for bullish/bearish crosses
"Show Only First Cross" prevents repetitive markers
Appears below bars (bullish) or above bars (bearish)
Flexibility:
Switch to "External" mode to connect your own Stochastic RSI indicator
Adjust all calculation parameters to match your trading style
Completely disable the filter if you prefer trend + MACD only
🎨 CUSTOMIZATION OPTIONS
Indicators:
Adjust Main EMA length (default 10)
Enable/disable Confirmation EMA (default OFF)
Set Confirmation EMA length (default 21)
Modify MACD parameters (Fast 5, Slow 14, Signal 9)
Enable/disable MACD bounces (default ON)
Set max bounces per trend (1-10, default 2)
Stochastic RSI:
Choose Built-in or External source
Adjust K/D smoothing periods
Modify RSI and Stochastic lengths
Set custom bullish/bearish thresholds
Configure cross marker appearance
Toggle dashboard display
Signals:
Show/hide signal triangles
Set minimum bars between signals (0-50, default 5)
Enable higher timeframe signal overlay
Choose HTF timeframe (e.g., 3min on 15min chart)
Sessions:
Enable/disable session filtering
Select your timezone
Toggle individual sessions (Asian/London/NY)
Customize session start/end hours
Show/hide session background colors
Display:
Choose dashboard size (Small/Medium/Large)
Adjust all visual elements
Customize colors and styling
💡 PRO TRADING TIPS
Session Optimization:
London Session (6-9am): Highest volatility, best for breakout trades
NY Session (12-3pm): Strong trends, ideal for momentum continuation
Avoid Asian Session (1-4am): Lower liquidity, choppier price action
Overlap Period (12-3pm London time): Peak volume, clearest signals
Signal Filtering:
Set 3-5 bars minimum between signals to avoid overtrading
Higher values (7-10 bars) for more conservative, swing-style entries
Lower values (1-3 bars) for aggressive scalping during high volatility
Confirmation EMA Usage:
Enable in choppy/ranging markets for extra validation
Disable during strong trending conditions (adds lag)
Set to 21 for short-term trends, 50 for medium-term
MACD Bounce Strategy:
Bounces occur when MACD histogram changes direction after crossover
Max 2 bounces = optimal (catches first continuation)
Max 1 bounce = conservative (only initial momentum shift)
Max 3-5 bounces = aggressive (catches multiple waves)
Stochastic RSI Thresholds:
50/50 = Balanced (default, works for most conditions)
30/70 = Conservative (fewer but stronger signals)
60/40 = Aggressive (more signals, requires tighter stops)
Adjust based on current market volatility
Risk Management:
Use the performance tracker to trail stops
Exit when dashboard shows opposite signal forming
Monitor MACD direction arrows for momentum shifts
Set profit targets based on average session ranges
🚀 QUICK START GUIDE
For Beginners:
Add indicator to 3-minute Gold (XAU/USD) chart
Leave all default settings (everything is pre-optimized)
Enable London session (6-9am) and NY session (12-3pm)
Set your timezone to your location
Wait for BUY/SELL triangle + "BUY NOW"/"SELL NOW" on dashboard
Enter trade when ALL conditions align
Exit on opposite signal or dashboard status change
For Advanced Traders:
Optimize EMA lengths for your preferred timeframe
Adjust Stochastic RSI thresholds based on backtesting
Fine-tune MACD bounce count for your risk tolerance
Enable Confirmation EMA for extra validation
Use HTF signal overlay for multi-timeframe confluence
Set signal filter to match your trading frequency
Customize session times for your specific market focus
📈 BEST TIMEFRAMES
Primary: 3-minute chart (system is MACD-optimized for 3min)
Alternative: 5-minute, 15-minute (adjust signal filter accordingly)
NOT Recommended: 1-minute (too noisy), 1-hour+ (signals too infrequent)
Chart Setup:
Main Chart: Your preferred timeframe (3min recommended)
MACD: Always references 3-minute data internally
Stochastic RSI: Calculates on current chart timeframe
Session Filter: Works on any timeframe
✅ WHAT MAKES THIS SYSTEM UNIQUE
All-In-One Solution:
✓ No hunting for compatible external indicators
✓ No configuration headaches or version conflicts
✓ One indicator = complete trading system
Session Intelligence:
✓ Only trades during optimal liquidity periods
✓ Automatically pauses during low-volume sessions
✓ Timezone-aware for global traders
Multi-Confirmation:
✓ Trend (EMA) + Momentum (MACD) + Volume (Stochastic RSI)
✓ Drastically reduces false signals
✓ Higher win rate through layered validation
Performance Transparency:
✓ Real-time P/L tracking on every trade
✓ Know your performance immediately
✓ Data-driven decision making
Professional Grade:
✓ Clean, institutional-style dashboard
✓ Customizable for any trading style
✓ Comprehensive alert system
⚠️ IMPORTANT NOTES
This is NOT a "Holy Grail":
No indicator is 100% accurate
Requires proper risk management
Works best during trending conditions
May produce whipsaws in choppy/ranging markets
Risk Disclosure:
Always use stop losses
Never risk more than 1-2% per trade
Past performance doesn't guarantee future results
Practice on demo account first
Optimization:
Default settings are optimized for Gold (XAU/USD)
May require adjustment for other instruments
Backtest on your specific market before live trading
Different session times may work better for your timezone
🔔 ALERTS INCLUDED
BUY Signal Alert
SELL Signal Alert
Stochastic RSI Cross Above Threshold
Stochastic RSI Cross Below Threshold
Alert Setup:
Click "Create Alert" button
Select desired alert condition
Choose notification method (popup/email/SMS/webhook)
Never miss a high-probability setup!
💬 SUPPORT & UPDATES
This indicator is actively maintained and updated based on user feedback. Future updates may include:
Additional timeframe options
More session presets
Enhanced performance analytics
Multi-asset optimization
Tags: Gold Trading, XAU/USD, Trend Following, MACD Strategy, Stochastic RSI, Session Trading, Day Trading, Scalping, London Session, New York Session, EMA System, Multi-Timeframe Analysis, Trading Dashboard, Performance Tracking
EDGE Momentum Cloud═════════════════════════════════════════════════════════════
EDGE MOMENTUM CLOUD
═════════════════════════════════════════════════════════════
█ OVERVIEW
The EDGE Momentum Cloud is a confluence-based trading system that combines adaptive volatility zones with trend direction analysis to identify high-probability trade setups. Rather than relying on a single indicator, this tool creates a visual "momentum zone" that helps traders understand the current market regime while filtering signals through trend confirmation.
The indicator generates two tiers of signals:
• Standard Signals — Based on trend direction changes
• Premium Signals — Require additional confluence with momentum zone positioning
Premium signals represent higher-conviction setups where multiple factors align.
█ HOW IT WORKS
The EDGE Momentum Cloud combines two core components working together:
❶ MOMENTUM ZONE (CLOUD)
Two ATR-based trailing bands create a dynamic volatility envelope
❷ TREND FILTER
A customizable moving average determines trend direction
❸ SIGNAL ENGINE
Evaluates confluence between trend changes and zone positioning
█ THE MOMENTUM ZONE EXPLAINED
At the core of this indicator are two ATR-based trailing bands that form the "momentum zone":
INNER BAND (FAST)
• Tighter trailing stop using a smaller ATR multiplier (default: 3.0×)
• Reacts quickly to price changes
• Defines the near-term momentum boundary
OUTER BAND (SLOW)
• Wider trailing stop using a larger ATR multiplier (default: 6.0×)
• Provides a more forgiving boundary
• Represents the broader momentum envelope
The space between these bands creates the Momentum Zone —a visual cloud that expands during volatile conditions and contracts during consolidation.
ZONE COLOR INTERPRETATION:
• Green Zone = Bullish bias (bands trailing below price)
• Red Zone = Bearish bias (bands trailing above price)
█ THE TREND FILTER EXPLAINED
A customizable moving average acts as the trend direction filter. When the trend line changes direction (turns up or down), the indicator evaluates whether conditions support a trade signal.
The trend filter supports 13 different calculation methods , allowing you to match the indicator's responsiveness to your trading style:
SMA • EMA • WMA • HMA • VWMA • RMA • LSMA
TMA • DEMA • TEMA • DWMA • SSMA • MEDIAN
Direction is determined by comparing the current value to a previous value (controlled by Direction Smoothing). Higher smoothing values reduce noise and false direction changes.
█ SIGNAL LOGIC
┌────────────────────────────────────────────────────────────
│ STANDARD SIGNALS
├────────────────────────────────────────────────────────────
│ These trigger when the trend filter changes direction:
│
│ LONG — Trend filter turns from falling to rising
│ SHORT — Trend filter turns from rising to falling
│
│ Standard signals indicate a potential trend change but
│ do not require zone confluence.
└────────────────────────────────────────────────────────────
┌────────────────────────────────────────────────────────────
│ PREMIUM SIGNALS
├────────────────────────────────────────────────────────────
│ These require confluence between trend change AND
│ favorable positioning relative to the momentum zone:
│
│ PREMIUM LONG
│ • Trend turns up while filter is ABOVE the zone, OR
│ • Price breaks into/out of zone during recent bullish trigger
│
│ PREMIUM SHORT
│ • Trend turns down while filter is BELOW the zone, OR
│ • Price breaks into/out of zone during recent bearish trigger
│
│ Premium signals have built-in confluence and typically
│ offer better risk/reward setups.
└────────────────────────────────────────────────────────────
█ VISUAL ELEMENTS
ZONE COMPONENTS
• Inner Band — Fast trailing stop (thin line)
• Outer Band — Slow trailing stop (thick line)
• Zone Fill — Shaded area between bands showing momentum regime
TREND COMPONENTS
• Trend Line — Moving average with slope-based coloring
• Green = Rising trend
• Red = Falling trend
• Purple = Neutral (if color by direction disabled)
SIGNAL MARKERS
• Triangle Up + "Long" — Standard long signal
• Triangle Down + "Short" — Standard short signal
• Label Up + "P.Long" — Premium long signal
• Label Down + "P.Short" — Premium short signal
CROSS MARKERS
• Small triangles appear when price crosses the inner or outer bands
• Up triangles = Price crossing above band
• Down triangles = Price crossing below band
BAR COLORING
• Teal bars = Price above the zone (bullish territory)
• Pink bars = Price below the zone (bearish territory)
• Purple bars = Price inside the zone (transitional)
█ CONFIGURABLE SETTINGS
┌────────────────────────────────────────────────────────────
│ GENERAL SETTINGS
├────────────────────────────────────────────────────────────
│ Confirmed Signals Only (Default: ON)
│ • When enabled, signals wait for bar close before triggering
│ • Prevents repainting on live bars
│ • Recommended: Keep ON for live trading
│
│ Display Standard Signals (Default: ON)
│ • Show/hide basic trend-change signals
│
│ Display Premium Signals (Default: ON)
│ • Show/hide confluence-based signals
│
│ Tint Price Bars (Default: ON)
│ • Color bars based on position relative to zone
└────────────────────────────────────────────────────────────
┌────────────────────────────────────────────────────────────
│ MOMENTUM ZONE SETTINGS
├────────────────────────────────────────────────────────────
│ Fast ATR Length (Default: 10)
│ • Lookback period for inner band's ATR calculation
│ • Lower = More reactive to recent volatility
│ • Higher = Smoother, less reactive
│
│ Fast Band Factor (Default: 3.0)
│ • Multiplier for inner band distance from price
│ • Lower = Tighter band, more signals
│ • Higher = Wider band, fewer signals
│
│ Slow ATR Length (Default: 10)
│ • Lookback period for outer band's ATR calculation
│
│ Slow Band Factor (Default: 6.0)
│ • Multiplier for outer band distance from price
│ • Should be larger than Fast Band Factor
│ • Creates the width of the momentum zone
└────────────────────────────────────────────────────────────
┌────────────────────────────────────────────────────────────
│ TREND FILTER SETTINGS
├────────────────────────────────────────────────────────────
│ Display Trend Line (Default: ON)
│ • Show/hide the moving average line
│
│ Resolution (Default: Chart Timeframe)
│ • Timeframe for MA calculation
│ • Leave blank to use current chart timeframe
│ • Set higher timeframe for broader trend alignment
│
│ Lookback Period (Default: 20)
│ • Moving average period length
│ • Lower = Faster, more signals
│ • Higher = Slower, fewer signals
│
│ Calculation Method (Default: SMA)
│ • Choose from 13 MA types
│ • HMA and TEMA are faster/more responsive
│ • SMA and TMA are slower/smoother
│
│ Direction Smoothing (Default: 2)
│ • Bars to look back for slope comparison
│ • Higher values reduce false direction changes
│ • Range: 1-10
│
│ Color By Direction (Default: ON)
│ • Color the trend line based on its slope
└────────────────────────────────────────────────────────────
┌────────────────────────────────────────────────────────────
│ VISUAL SETTINGS
├────────────────────────────────────────────────────────────
│ Bullish Color — Color for bullish elements (default: green)
│ Bearish Color — Color for bearish elements (default: red)
│ Neutral Color — Color for neutral/transitional states
│ Zone Fill — Opacity for the momentum zone fill
└────────────────────────────────────────────────────────────
█ ALERTS
This indicator includes five configurable alerts:
① STANDARD LONG
Triggers on basic bullish trend change signal
② STANDARD SHORT
Triggers on basic bearish trend change signal
③ PREMIUM LONG
Triggers on high-confluence bullish signal
④ PREMIUM SHORT
Triggers on high-confluence bearish signal
⑤ ANY SIGNAL
Triggers on any of the above conditions
To enable alerts:
1. Right-click on the indicator → "Add Alert"
2. Select the condition you want to be alerted on
3. Configure notification method (popup, email, webhook, etc.)
█ RECOMMENDED USAGE
TIMEFRAME
• Works on any timeframe
• Lower timeframes (1m-15m) generate more signals
• Higher timeframes (1H-Daily) generate fewer, higher-quality signals
BEST PRACTICES
• Keep "Confirmed Signals Only" enabled for live trading
• Premium signals typically offer better risk/reward than Standard
• Use zone position as context—bullish setups above zone, bearish below
• Consider higher timeframe resolution for trend filter to align with broader trend
• Combine with support/resistance or supply/demand for complete trade plans
INTERPRETATION TIPS
• Wide zones suggest increased volatility
• Narrow zones suggest consolidation
• Cross markers at bands can serve as early warnings of regime changes
• Bar colors provide quick visual reference of market position
█ SIGNAL QUALITY GUIDE
┌─────────────────┬────────────────────────────────────────┐
│ HIGHEST QUALITY │ Premium signal + Price clearly │
│ │ positioned on correct side of zone │
├─────────────────┼────────────────────────────────────────┤
│ GOOD QUALITY │ Premium signal + Price inside zone │
├─────────────────┼────────────────────────────────────────┤
│ MODERATE │ Standard signal + Price on correct │
│ │ side of zone │
├─────────────────┼────────────────────────────────────────┤
│ LOWER QUALITY │ Standard signal + Price on wrong │
│ │ side or inside zone │
└─────────────────┴────────────────────────────────────────┘
█ Final Note
This Indicator was designed specifically for the ATR cloud and the levels it provides. The buy and sell signals are a byproduct of development but more of a secondary feature. This product is published so you can take advantage of the proprietary calculations we used to make our own ATR cloud that provides excellent areas of support and resistance.
PLEASE NOTE: The "EDGE MTF ATR Bias Matrix" study that supplies the table notifying you of support and resistance is made through these ATR calculations and would pair perfectly with this study.
█ DISCLAIMER
This indicator is provided for educational and informational purposes only. It is not financial advice and should not be construed as a recommendation to buy or sell any financial instrument.
The signals generated by this indicator are based on technical analysis calculations and do not guarantee any specific outcome. Always conduct your own analysis and use proper risk management.
FVG DUAL HTF ALERTS - DG - FVG Dual HTF ALERTS DG - Confluence & Strength
Professional Fair Value Gap (FVG) Trading Indicator with Advanced HTF Analysis
This powerful indicator identifies and tracks Fair Value Gaps across two customizable higher timeframes (HTF), providing traders with precise entry zones, strength ratings, and real-time alerts for high-probability trading setups.
🎯 KEY FEATURES
Dual HTF Analysis
Two independent HTF settings - Analyze FVGs from any timeframe (1min to Daily)
Works on ALL timeframes - View 15min and 60min FVGs on your 1min chart
HTF confluence detection - Automatically highlights when both HTFs align
Customizable colors - Distinct colors for HTF1 and HTF2 zones
Intelligent Strength Scoring (0-10)
Each FVG receives a comprehensive strength rating based on:
Gap size relative to ATR
Volume analysis vs 20-period average
Current timeframe FVG confluence (★ indicator)
Trading session timing (London/NY sessions)
Large gap bonus
HTF confluence bonus
Rating System:
8-10 = 🔥 PREMIUM (Green) - Highest probability setups
5-7 = ✅ GOOD (Yellow) - Quality opportunities
0-4 = ⚠️ WEAK (Gray) - Lower confidence zones
Sweet Spot Inner Boxes
Precision entry zones - 10% inner box (customizable 1-50%)
BUY/SELL labels - Clear directional indicators
Customizable styling - Colors, borders, and text size
Entry optimization - Target the highest probability area within each FVG
Advanced Trading Tools
Automatic Entry/Stop/Target Lines - Up to 3 closest FVGs displayed simultaneously
Risk/Reward calculator - Shows R multiples and dollar values
Customizable position sizing - Micro, mini, or standard lots
Entry offset adjustment - Fine-tune entries ±50 pips from sweet spot center
Smart Fill Detection
HTF candle-based fills - Only checks for fills on HTF candle closes (not every lower TF bar)
Multiple fill methods:
Any Touch - Most sensitive
Midpoint Reached - Balanced
Wick Sweep - Conservative (default)
Body Beyond - Most strict
Touched tracking - Visual feedback when zones are tested
Comprehensive Alert System
8 Individual Alerts:
HTF1: Bullish/Bearish Zone Entry
HTF1: BUY/SELL Sweet Spot Entry
HTF2: Bullish/Bearish Zone Entry
HTF2: BUY/SELL Sweet Spot Entry
4 Combined Alerts:
ANY HTF: Bullish/Bearish Zone Entry
ANY HTF: BUY/SELL Sweet Spot Entry
Plus: Optional alerts for high-strength FVGs (8+)
Information Dashboard
Real-time market context display:
Gold Daily & 1H - Bullish/bearish bias with range in pips
Distance to nearest FVGs - Bull and bear zones
IN ZONE indicator - Shows when price enters sweet spots with strength rating
Optional BTC tracking - Monitor Bitcoin FVGs and bias simultaneously
⚙️ CUSTOMIZATION OPTIONS
Display Settings
Max FVGs to show per type (1-100)
Show only untouched FVGs option
Center line styling (solid/dashed/dotted)
Label visibility and colors
Strength color coding
Trading Parameters
Stop loss (1-100 pips)
Take profit (1-200 pips)
Entry offset adjustment
Lot size (0.01-100)
Dollar value display toggle
Advanced Options
Min strength filter (0-10)
Current TF confluence check
Lookback period (20-200 bars)
Max bars back (1-5000)
Require body close through gap
Test mode: Disable fill removal
💡 IDEAL FOR
Scalpers - 1min/3min charts viewing 5min/15min FVGs
Day Traders - 5min/15min charts viewing 15min/60min FVGs
Swing Traders - 1H/4H charts viewing 4H/Daily FVGs
Gold (XAU/USD) traders - Built-in gold bias indicators
Multi-timeframe analysis - See the bigger picture while trading lower TFs
🎓 HOW TO USE
Add to chart - Works best on 1-5min charts for intraday trading
Set your HTFs - Recommended: 15min + 60min for scalping
Watch for confluence - Green/orange borders indicate HTF alignment
Filter by strength - Focus on 8+ rated zones for best probability
Enter at sweet spots - Wait for price to reach inner boxes
Set alerts - Get notified when price enters high-quality zones
Manage risk - Use provided entry/stop/target lines
📊 BEST PRACTICES
✅ DO:
Focus on 8+ strength FVGs during London/NY sessions
Look for HTF confluence (lime/orange borders)
Wait for sweet spot entries (inner boxes)
Trade in the direction of HTF bias
Use multiple timeframe confirmation
❌ DON'T:
Trade low-strength FVGs (below 5) unless confirmed
Ignore the HTF bias indicators
Chase price - let it come to the zones
Trade without stops
Overtrade - quality over quantity
🔧 TECHNICAL NOTES
Max 500 boxes/lines/labels - Optimized for performance
Lookahead enabled - Accurate HTF data on lower timeframes
No repainting - All signals confirmed on bar close
Compatible with all brokers - Works on any instrument with FVGs
Mobile friendly - Clean display on all devices
📈 PERFORMANCE TIPS
For best results on lower timeframes (1min/3min):
Set "Max Bars Back" to 2000-3000
Set "Max FVGs Per Type" to 20-50
Use "Body Beyond" fill method for longer zone visibility
Enable "Check Current TF FVGs" for additional confluence
🎨 COLOR RECOMMENDATIONS
HTF1 (15min):
Bull: Blue (#2962FF80)
Bear: Red (#f2364580)
HTF2 (60min):
Bull: Purple (#9C27B080)
Bear: Light Red (#FF6B6B80)
Confluence:
Bull: Green (#00FF0060)
Bear: Orange (#FF6B0060)
💬 SUPPORT
Created by DJG9911
For questions, feature requests, or bug reports, please use the TradingView comments section.
Version: 6.0
License: Mozilla Public License 2.0
Last Updated: December 2024
Disclaimer: This indicator is for educational and informational purposes only. Always practice proper risk management and never risk more than you can afford to lose. Past performance does not guarantee future results.
Liquidity Pools Smart Entry + Multi-TF Targets + VWAPOverview
This indicator is designed to help traders identify high-probability institutional-style entries using concepts from ICT (Inner Circle Trader) methodology. It combines liquidity pool detection, fair value gaps (FVG), swing levels, killzones, ATR-based targets, VWAP bias, and optional multi-timeframe analysis.
The script provides visual trade signals and a green-light confirmation system to streamline decision-making and reduce overtrading.
Key Features
Market Structure
Detects CHoCH (Change of Character) and BOS (Break of Structure).
Marks bullish and bearish breaks with labels on the chart.
Liquidity & Swings
Highlights Swing High/Low liquidity zones (SSL/BSL).
Shows horizontal swing lines for reference.
Fair Value Gap (FVG) Detection
Bullish and bearish gaps are plotted as shaded boxes.
Identifies potential institutional entry zones.
Killzones
Highlights London and New York sessions.
Helps align trades with high liquidity periods.
VWAP Filter
Plots the intraday VWAP.
Optional VWAP bias filter ensures trades follow intraday institutional flow.
Multi-Timeframe Confirmation
Supports 5-minute entry confirmation.
Shows SL/TP for both current TF and 5-min TF signals.
ATR-Based Stops & Targets
Entry signals automatically calculate SL (1.5 ATR) and TP (ATR x multiplier).
Customizable ATR multiplier.
Trade Light System
Visual green/red/gray indicators:
🟢 Green: All bullish conditions aligned → LONG allowed.
🔴 Red: All bearish conditions aligned → SHORT allowed.
⚪ Gray: Wait → conditions not aligned.
Inputs
Input Description
Show CHoCH/BOS Toggle structure labels on/off
Show Killzones Toggle session backgrounds on/off
Show Swing Liquidity Show SSL/BSL swing points
Show Horizontal Lines Extend swing lines horizontally
Show FVG Zones Show Fair Value Gaps
Show VWAP Display intraday VWAP
Swing Length Number of bars to calculate swing pivots
ATR Target Multiplier Multiplies ATR for TP calculation
Use HTF 200 EMA Filter Filter entries with higher timeframe trend
Use RSI Filter Filter entries using RSI 14
Use Volume Filter Filter entries with high volume confirmation
Use ATR Filter Filter entries based on ATR expansion
Use VWAP Filter Only allow trades in VWAP direction
How to Read the Chart
Structure Labels
BOS ↑ / BOS ↓: Breaks of structure showing trend direction.
Swing Liquidity
SSL (blue): Bullish swing low liquidity.
BSL (red): Bearish swing high liquidity.
FVG Zones
Green boxes: Potential bullish liquidity gaps.
Red boxes: Potential bearish liquidity gaps.
Killzones
Green background: London session.
Blue background: New York session.
VWAP
Purple line: Intraday volume-weighted average price.
Trade Lights
🟢 Green: All bullish conditions met — LONG ready.
🔴 Red: All bearish conditions met — SHORT ready.
⚪ Gray: Wait — conditions not aligned.
Entry Labels
Shows Entry price, SL, TP.
Separate labels for current TF and 5-min confirmation.
How to Use
Step 1: Identify Market Bias
Check HTF EMA: price above → bullish trend, below → bearish trend.
Check VWAP (if enabled): trade in direction of VWAP for institutional alignment.
Check Killzones: prefer entries during London or New York sessions.
Step 2: Confirm Entry Conditions
Wait for BOS / CHoCH to align with your trend.
Look for FVG zone and SSL/BSL liquidity.
Ensure RSI, ATR, Volume, VWAP filters (if enabled) all confirm.
Green/red Trade Light should be active.
Step 3: Place Trade
Use Entry Label price as reference.
SL: 1.5 ATR away.
TP: ATR x multiplier away.
Optional: check 5-min multi-TF confirmation label for additional confidence.
Step 4: Manage Trade
Follow ATR-based SL/TP.
Move stop to break-even after partial target if desired.
Only take trades when Trade Light is GREEN (LONG) or RED (SHORT).
Best Practices
Combine with volume profile or order block analysis for higher precision.
Avoid trading outside killzones.
Use multi-TF confirmation for safer entries.
Adjust ATR multiplier according to market volatility.
Context Bundle | VWAP / EMA / Session HighLow (v6)
📌 0DTE Context Bundle (v6)
**VWAP • EMA Cloud • Session High/Low (NY / London / Asia)
The **0DTE Context Bundle** is a *decision-making overlay*, not a signal spam indicator.
It’s designed to help traders clearly see **value, trend, and liquidity levels** across **New York, London, and Asia sessions** — all in one clean, customizable tool.
Built for **NQ, ES, Gold, and FX pairs**, with a focus on **5–15-minute execution charts**.
---
## 🔹 What This Indicator Shows
### ✅ VWAP + ATR Bands
* Session VWAP (fair value)
* ATR-based extension bands (1x / 2x)
* Helps identify **overextension, mean reversion zones, and trend pullbacks**
### ✅ EMA 9 / 21 Cloud
* Visual trend and momentum filter
* Custom colors + opacity
* Identifies **trend continuation vs chop**
### ✅ Session High / Low Levels
* **New York RTH**
* **London**
* **Asia (midnight-safe)**
* Optional previous session highs/lows
* Adjustable line styles, widths, colors, and extensions
### ✅ Anchored VWAP (Optional)
* Reset by:
* Daily
* NY session start
* London session start
* Asia session start
* Useful for tracking **session-specific value shifts**
---
## 🔹 How Traders Use It
This indicator is meant to answer:
* *Are we trading at value or extension?*
* *Is the market trending or rotating?*
* *Where is liquidity likely sitting right now?*
Common use cases:
* Trend pullbacks into VWAP or EMA cloud
* Reversal setups at session highs/lows
* Session breakout + retest confirmation
* Overnight context for London and Asia sessions
---
## 🔹 Customization & Flexibility
Every component can be toggled and styled:
* Colors, widths, line styles
* Cloud up/down colors + opacity
* Session visibility and extensions
* VWAP band multipliers and ATR length
Members can adapt it to **their own style**, market, and timeframe.
---
## ⚠️ Disclaimer
This indicator is provided for **educational and informational purposes only**.
It does **not** provide financial advice or trade signals.
Always manage risk and confirm entries with your own strategy.
MultiTimeFrame SMA/EMA & clouds [PACHI]This will allow you to plot multiple moving averages and clouds for the current timeframe and also up to 5 from different timeframes
Price Crossing 144 EMA Alert (No Visuals)Price Crossing 144 EMA Alert (No VisuPrice Crossing 144 EMA Alert (No Visuals)Price Crossing 144 EMA Alert (No Visuals)Price Crossing 144 EMA Alert (No Visuals)Price Crossing 144 EMA Alert (No Visuals)als)
Relative Strength Index_YJ//@version=5
indicator(title="MACD_YJ", shorttitle="MACD_YJ",format=format.price, precision=2)
source = close
useCurrentRes = input.bool(true, title="Use Current Chart Resolution?")
resCustom = input.timeframe("60", title="Use Different Timeframe? Uncheck Box Above")
smd = input.bool(true, title="Show MacD & Signal Line? Also Turn Off Dots Below")
sd = input.bool(false, title="Show Dots When MacD Crosses Signal Line?")
sh = input.bool(true, title="Show Histogram?")
macd_colorChange = input.bool(true, title="Change MacD Line Color-Signal Line Cross?")
hist_colorChange = input.bool(true, title="MacD Histogram 4 Colors?")
// === Divergence inputs ===
grpDiv = "Divergence"
calculateDivergence = input.bool(true, title="Calculate Divergence", group=grpDiv, tooltip="피벗 기반 정/역배 다이버전스 탐지 및 알람 사용")
lookbackRight = input.int(5, "Lookback Right", group=grpDiv, minval=1)
lookbackLeft = input.int(5, "Lookback Left", group=grpDiv, minval=1)
rangeUpper = input.int(60, "Bars Range Upper", group=grpDiv, minval=1)
rangeLower = input.int(5, "Bars Range Lower", group=grpDiv, minval=1)
bullColor = input.color(color.new(#4CAF50, 0), "Bull Color", group=grpDiv)
bearColor = input.color(color.new(#F23645, 0), "Bear Color", group=grpDiv)
textColor = color.white
noneColor = color.new(color.white, 100)
res = useCurrentRes ? timeframe.period : resCustom
fastLength = input.int(12, minval=1)
slowLength = input.int(26, minval=1)
signalLength= input.int(9, minval=1)
fastMA = ta.ema(source, fastLength)
slowMA = ta.ema(source, slowLength)
macd = fastMA - slowMA
signal = ta.sma(macd, signalLength)
hist = macd - signal
outMacD = request.security(syminfo.tickerid, res, macd)
outSignal = request.security(syminfo.tickerid, res, signal)
outHist = request.security(syminfo.tickerid, res, hist)
// 가격도 같은 res로
hi_res = request.security(syminfo.tickerid, res, high)
lo_res = request.security(syminfo.tickerid, res, low)
// ── Histogram 색
histA_IsUp = outHist > outHist and outHist > 0
histA_IsDown = outHist < outHist and outHist > 0
histB_IsDown = outHist < outHist and outHist <= 0
histB_IsUp = outHist > outHist and outHist <= 0
macd_IsAbove = outMacD >= outSignal
plot_color = hist_colorChange ? (histA_IsUp ? color.new(#00FF00, 0) :
histA_IsDown ? color.new(#006900, 0) :
histB_IsDown ? color.new(#FF0000, 0) :
histB_IsUp ? color.new(#670000, 0) : color.yellow) : color.gray
macd_color = macd_colorChange ? color.new(#00ffff, 0) : color.new(#00ffff, 0)
signal_color = color.rgb(240, 232, 166)
circleYPosition = outSignal
// 골든/데드 크로스 (경고 해결: 먼저 계산)
isBullCross = ta.crossover(outMacD, outSignal)
isBearCross = ta.crossunder(outMacD, outSignal)
cross_color = isBullCross ? color.new(#00FF00, 0) : isBearCross ? color.new(#FF0000, 0) : na
// ── 플롯
plot(sh and outHist ? outHist : na, title="Histogram", color=plot_color, style=plot.style_histogram, linewidth=5)
plot(smd and outMacD ? outMacD : na, title="MACD", color=macd_color, linewidth=1)
plot(smd and outSignal? outSignal: na, title="Signal Line", color=signal_color, style=plot.style_line, linewidth=1)
plot(sd and (isBullCross or isBearCross) ? circleYPosition : na,
title="Cross", style=plot.style_circles, linewidth=3, color=cross_color)
hline(0, "0 Line", linestyle=hline.style_dotted, color=color.white)
// =====================
// Divergence (정배/역배) - 피벗 비교
// =====================
_inRange(cond) =>
bars = ta.barssince(cond)
rangeLower <= bars and bars <= rangeUpper
plFound = false
phFound = false
bullCond = false
bearCond = false
macdLBR = outMacD
if calculateDivergence
// 정배: 가격 LL, MACD HL
plFound := not na(ta.pivotlow(outMacD, lookbackLeft, lookbackRight))
macdHL = macdLBR > ta.valuewhen(plFound, macdLBR, 1) and _inRange(plFound )
lowLBR = lo_res
priceLL = lowLBR < ta.valuewhen(plFound, lowLBR, 1)
bullCond := priceLL and macdHL and plFound
// 역배: 가격 HH, MACD LH
phFound := not na(ta.pivothigh(outMacD, lookbackLeft, lookbackRight))
macdLH = macdLBR < ta.valuewhen(phFound, macdLBR, 1) and _inRange(phFound )
highLBR = hi_res
priceHH = highLBR > ta.valuewhen(phFound, highLBR, 1)
bearCond := priceHH and macdLH and phFound
// 시각화 (editable 파라미터 삭제)
plot(plFound ? macdLBR : na, offset=-lookbackRight, title="Regular Bullish (MACD)",
linewidth=2, color=(bullCond ? bullColor : noneColor), display=display.pane)
plotshape(bullCond ? macdLBR : na, offset=-lookbackRight, title="Bullish Label",
text=" Bull ", style=shape.labelup, location=location.absolute, color=bullColor, textcolor=textColor, display=display.pane)
plot(phFound ? macdLBR : na, offset=-lookbackRight, title="Regular Bearish (MACD)",
linewidth=2, color=(bearCond ? bearColor : noneColor), display=display.pane)
plotshape(bearCond ? macdLBR : na, offset=-lookbackRight, title="Bearish Label",
text=" Bear ", style=shape.labeldown, location=location.absolute, color=bearColor, textcolor=textColor, display=display.pane)
// 알람
alertcondition(bullCond, title="MACD Regular Bullish Divergence",
message="MACD 정배 다이버전스 발견: 현재 봉에서 lookbackRight 만큼 좌측.")
alertcondition(bearCond, title="MACD Regular Bearish Divergence",
message="MACD 역배 다이버전스 발견: 현재 봉에서 lookbackRight 만큼 좌측.")
SMC Market Structure with EMA Confirmation and Prepare EntryDewaSMC v1 — Smart Market Structure with Prepare Entry & EMA Confirmation
DewaSMC v1 is a technical analysis indicator based on market structure concepts, designed to help traders visually analyze price behavior in a structured and objective way. This indicator focuses on identifying structural changes in the market and highlighting areas of interest where price reactions may occur.
It is intended as an analytical support tool, not as an automated trading system or a signal service
🔹 Key Features
1. Market Structure Detection (BOS & CHoCH)
• Identifies Break of Structure (BOS) and Change of Character (CHoCH) using swing high and swing low analysis.
• Break confirmation can be configured to use candle body or wick.
• Structure levels are visualized with lines and clear BOS / CHoCH labels directly on the chart.
2. Prepare Entry Zones
• Displays prepare entry zones when price approaches an important structure level but has not yet confirmed a break.
• These zones help users monitor potential setups without entering prematurely.
• Prepare zones are temporary and automatically disappear after a defined number of bars or once a structure break occurs.
3. EMA Confirmation Filter
• Uses short-term and long-term EMAs as directional filters.
• Optional confirmation modes:
o Price relative to EMA
o EMA alignment (short EMA above/below long EMA)
• This filter is designed to reduce counter-structure or counter-trend scenarios.
4. Volatility-Based Target Projection
• After a confirmed structure break, the indicator projects:
o Entry level
o Stop Loss level
o Multiple target levels (TP1, TP2, TP3)
• Targets are calculated using ATR-based volatility logic, allowing adaptability to different market conditions.
• Risk and reward areas are displayed as visual zones for clarity.
5. Trade Information Table
• A real-time information table summarizes key analytical data, including:
o Structural direction
o Entry level
o Stop Loss
o Target levels
o EMA confirmation status
o Estimated Risk-to-Reward ratio
• Table position is fully customizable on the chart.
6. Trend Visualization
• Candles can be colored based on current market structure direction.
• EMAs are plotted as additional trend references.
⚙️ Customizable Settings
• Structure detection period
• Break confirmation type (Body or Wick)
• Enable / disable:
o Prepare Entry zones
o EMA confirmation
o Trade information table
o Trend-based candle coloring
• Visual customization options for colors and layout
📌 Important Notes
• This indicator does not provide financial advice and does not guarantee any specific outcome.
• It should be used in combination with:
o Personal risk management rules
o Additional technical or contextual analysis
• All trading decisions remain the responsibility of the user.
🎯 Suitable For
• Traders studying market structure or Smart Money–style concepts
• Manual analysis on various instruments and timeframes
• Users seeking a structured and visual approach to price analysis






















