Apex Trend & Liquidity Master The Apex Trend & Liquidity Master is a hybrid trading system designed to align traders with the dominant market trend while identifying key structural price levels. Unlike simple moving average crossovers, this tool utilizes a volatility-adaptive "Trend Cloud" (based on Hull Moving Averages and ATR) to filter out market noise and chop.
Simultaneously, the script employs a "Smart Liquidity" engine that automatically detects and plots institutional Supply and Demand zones based on pivot points. These zones are dynamic; they extend forward in time until price breaks through them, at which point they are automatically removed (mitigated) to keep the chart clean.
Key Features
Adaptive Trend Cloud: Expands and contracts based on market volatility to define clear Bullish and Bearish regimes.
Smart Liquidity Zones: Automatically draws Supply (Resistance) and Demand (Support) boxes that vanish once the price invalidates them.
Signal Filters: Integrated Volume and RSI filters ensure "Buy" and "Sell" signals only appear during high-conviction moves.
Live HUD: An on-chart dashboard displaying the current Trend Bias, Momentum strength, and Volume status.
How to Use
1. Trend Identification The primary background fill serves as your trend bias.
Green Cloud/Candles: Bullish Trend. Look for long opportunities or bounces off Demand zones.
Red Cloud/Candles: Bearish Trend. Look for short opportunities or rejections from Supply zones.
2. Liquidity Zones (Supply & Demand) The indicator plots boxes extending from major pivot points.
Green Boxes (Demand): Areas where buyers previously stepped in. These act as support.
Red Boxes (Supply): Areas where sellers previously stepped in. These act as resistance.
Mitigation: If a candle closes through a zone, the box is deleted, signaling that the liquidity at that level has been consumed.
3. Entry Signals Labels ("BUY" and "SELL") appear when the trend flips.
These signals are filtered. If "Volume Filter" is enabled, a signal will only appear if the current volume is above the 20-period average.
If "RSI Filter" is enabled, Buy signals are blocked if the market is already overbought, preventing "top ticking."
4. The Dashboard (HUD) Located on the chart, this panel provides a summary of the current candle:
Trend Bias: The direction of the cloud.
Momentum: Based on RSI (Weak, Neutral, or Strong).
Volume: Indicates if the current volume is High (above average) or Low.
Disclaimer This indicator is provided for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a guarantee of future results.
Analizy Trendu
Smart Adaptive Double Patterns [The_lurker]Smart Adaptive Double Patterns
This is an advanced technical indicator that combines two of the strongest and most renowned classical price reversal patterns:
✅ Double Bottom Pattern — a bullish reversal pattern that forms after a downtrend
✅ Double Top Pattern — a bearish reversal pattern that forms after an uptrend
The indicator does not merely detect patterns — it provides a fully integrated, intelligent system that includes:
✅ Precise quality scoring for each pattern using 5 technical criteria
✅ Automatic price target calculation at three levels (Conservative, Balanced, Aggressive)
✅ Multi-layer dynamic filtering to avoid false signals
✅ Live pattern tracking from formation to target achievement or failure
✅ Comprehensive alert system covering all possible trading scenarios
🎯 Why Is This Indicator Unique?
1️⃣ High Detection Accuracy
Unlike traditional indicators that rely on simple rules, this one applies 5 strict structural conditions to confirm pattern validity:
A clear trend must precede the pattern
High symmetry between the two bottoms or two tops
No break of critical price levels during formation
Logical spacing between key points
Technical confirmation from ADX, ATR, and Volume
2️⃣ Advanced Quality Scoring System
Each pattern is scored out of 100 based on 5 weighted criteria:
Symmetry (30%): How closely the two bottoms or tops match
Trend Strength (20%): Strength of the prior trend
Volume Behavior (20%): Trading activity at critical points
Pattern Depth (15%): Vertical distance between neckline and bottom/top
Structural Integrity (15%): Full compliance with structural rules
3️⃣ Smart Target Management
Separate targets for bullish (Double Bottom) and bearish (Double Top) patterns
Separate projections for success and failure cases
Multiple options: Conservative (0.618) / Balanced (1.0) / Aggressive (1.618)
Live tracking with dynamic moving lines
4️⃣ Professional Failure Handling
Failed patterns are not ignored — they are turned into counter-trend opportunities:
Failed Double Bottom → triggers a bearish signal with downside targets
Failed Double Top → triggers a bullish signal with upside targets
Automatic color change for clear visual distinction
5️⃣ Full Customization Flexibility
Enable/disable each pattern independently
22+ adjustable settings
Unique colors for each pattern and quality level
Full bilingual support (Arabic / English)
📐 Pattern Details
🟦 Double Bottom Pattern
Sequence of points:
🔹 Point 1: Peak marking the start of a strong downtrend
🔹 Point 2 (Bottom 1): First low — first key bounce
🔹 Point 3: Intermediate high — forms the neckline (resistance)
🔹 Point 4 (Bottom 2): Second low — should closely match Bottom 1
🔹 Point 5: Breakout point — pattern confirmation
Mandatory Conditions:
✅ Clear downtrend before Point 2
✅ Bottoms 2 & 4 nearly identical (≤1.5% difference by default)
✅ Point 3 higher than both bottoms
✅ Neither bottom is broken during formation
✅ Sufficient time between points (≥10 candles by default)
✅ Success Scenario
→ Price breaks above the neckline (Point 3)
→ Point 5 is plotted at breakout candle
→ Dashed vertical line drawn from Point 5 to target
→ Horizontal dashed line tracks price toward target
→ Dashboard shows: Pattern Type | Quality | Rating | Target | Status
→ When target hits: line turns green + ✅ appears
🎯 Target Calculation
Pattern Height = Point 3 − Point 4
• Conservative: Point 3 + (Height × 0.618 × Quality Factor)
• Balanced: Point 3 + (Height × 1.0 × Quality Factor)
• Aggressive: Point 3 + (Height × 1.618 × Quality Factor)
❌ Failure Scenario
→ Price breaks below both Bottom 1 or Bottom 2 before neckline breakout
Visual Changes:
All lines turn red
Red ✖ appears at breakdown candle
Neckline stops expanding
Red dashed vertical line from breakdown point to bearish target
Red horizontal tracking line follows price
Dashboard updates to:
⚠ Failed Bottom – Bearish
→ Shows new bearish target
→ Indicates target mode for failure case
→ Status: Bearish Reversal
→ Fully red display
🟥 Double Top Pattern
Sequence of points:
🔹 Point 1: Trough marking the start of a strong uptrend
🔹 Point 2 (Top 1): First peak — first key resistance
🔹 Point 3: Intermediate low — forms the neckline (support)
🔹 Point 4 (Top 2): Second peak — should closely match Top 1
🔹 Point 5: Breakdown point — pattern confirmation
Mandatory Conditions:
✅ Clear uptrend before Point 2
✅ Tops 2 & 4 nearly identical (≤1.5% difference by default)
✅ Point 3 lower than both tops
✅ Neither top is breached during formation
✅ Sufficient time between points (≥10 candles by default)
✅ Success Scenario
→ Price breaks below the neckline (Point 3)
→ Point 5 is plotted at breakdown candle
→ Dashed vertical line drawn to target
→ Horizontal tracking line moves with price
→ Dashboard updates accordingly
→ Green line + ✅ on hit
🎯 Target Calculation
Pattern Height = Point 4 − Point 3
• Conservative: Point 3 − (Height × 0.618 × Quality Factor)
• Balanced: Point 3 − (Height × 1.0 × Quality Factor)
• Aggressive: Point 3 − (Height × 1.618 × Quality Factor)
❌ Failure Scenario
→ Price breaks above either Top 1 or Top 2 before neckline breakdown
Visual Changes:
All lines turn cyan (light blue)
Cyan ✖ appears at breakout candle
Neckline stops expanding
Cyan dashed vertical line to bullish target
Cyan horizontal tracking line follows price
Dashboard updates to:
⚠ Failed Top – Bullish
→ Shows new bullish target
→ Indicates target mode for failure case
→ Status: Bullish Reversal
→ Fully cyan display
🎯 Upside Target (after Double Top failure)
Max Top = max(Point 2, Point 4)
Height = Max Top − Point 3
• Conservative: Max Top + (Height × 0.618)
• Balanced: Max Top + (Height × 1.0)
• Aggressive: Max Top + (Height × 1.618)
📊 Quality Scoring System (0–100)
1️⃣ Symmetry (30%)
Measures price match between the two bottoms or two tops.
High score (25–30): Near-perfect symmetry → very strong pattern
Medium (15–24): Good match → reliable signal
Low (5–14): Weak symmetry → use caution
Zero: No symmetry → invalid pattern
2️⃣ Trend Strength (20%)
Uses ADX and DI indicators.
20 pts: Strong trend confirmed (e.g., ADX ≥ 20 + correct DI alignment)
10 pts: Trend filter disabled
6 pts: Weak or sideways trend
3️⃣ Volume Behavior (20%)
Declining volume on second touch is a positive sign (shows exhaustion).
15–20 pts: Clear volume drop → strong signal
10 pts: Neutral volume
6 pts: Rising volume → higher risk of continuation
4️⃣ Pattern Depth (15%)
Deeper patterns = stronger reversals.
12–15 pts: Deep → high reversal power
8–11 pts: Medium → acceptable
<8 pts: Shallow → weak signal
5️⃣ Structural Integrity (15%)
Checks logical structure (e.g., Point 1 > Point 3 in Double Bottom).
12–15 pts: Ideal structure
8–11 pts: Minor flaws
<8 pts: Poor setup
📈 Final Quality Rating & Colors
• 85–100 → ⭐ Excellent
→ Double Bottom: Cyan #00BCD4
→ Double Top: Light Red #FF5252
• 75–84 → ✨ Very Good
• 65–74 → ✓ Good
• 60–64 → ○ Acceptable
→ All use Amber #FFC107
• <60 → ❌ Rejected (not shown)
→ Gray #9E9E9E
🔧 Dynamic Filters
1️⃣ ATR Filter (Volatility Check)
Rejects patterns in abnormally high volatility periods.
→ If current ATR > 1.8 × 50-period ATR MA → pattern rejected
✅ Recommended for crypto, small caps
❌ Optional for calm markets (gold, bonds)
2️⃣ ADX Filter (Trend Confirmation)
Ensures a real trend exists before the pattern.
→ If ADX < 14 (70% of default 20) → pattern rejected
✅ Strongly recommended (keep ON)
3️⃣ Volume Filter (Behavior Validation)
Not used to reject patterns, but strongly affects quality score.
✅ Best for liquid markets (Forex majors, large stocks)
❌ Optional for illiquid assets
⚙️ Key Settings Explained
🔘 General Settings
• Language: Arabic / English
• Show Previous Patterns: Yes / No
→ “No” keeps chart clean; “Yes” for historical review
🔘 Pattern Selection
• Enable Double Bottom: ✅ / ❌
• Enable Double Top: ✅ / ❌
→ Use combinations:
✅✅ → Full reversal scanning
✅❌ → Long setups only
❌✅ → Short setups only
❌❌ → Indicator OFF
🔘 Detection Parameters
• Pivots Left (1–20): Higher = more reliable, fewer patterns
• Pivots Right (1–20): Lower = faster signals
• Min Width (5–100): Min candles between Bottom/Top 1 & 2
• Tolerance % (0.1%–5%): Max allowed price difference
• Min Arm (5–50): Min candles between pivot & neckline
• Min Trend (5–50): Min candles in prior trend
• Trend Lookback (50–500): How far back to detect trend start
• Extension Multiplier (1.0–5.0): How long to wait for breakout
🔘 Quality Settings
• Min Quality Score (0–100):
→ Conservative: 75–85
→ Balanced: 60–70
→ Flexible: 50–55
• Custom Weights: Adjust based on market (e.g., increase Volume weight in Forex)
🔘 Target Settings
• Bottom Bullish Target: Conservative / Balanced / Aggressive
• Bottom Bearish Target: (used on failure)
• Top Bearish Target: Conservative / Balanced / Aggressive
• Top Bullish Target: (used on failure)
🔘 Visual Settings
• Label Size: Small / Normal / Large / Huge
• Pattern Colors: Fully customizable
• Table: Show/Hide + Size (Small/Normal/Large) + Position (Top-Right / Top-Left / Bottom-Right / Bottom-Left)
• Fill Transparency: 70%–95% (default: 85%)
🔔 Alert System (8 Independent Alerts)
📌 Double Bottom Alerts
Bullish Breakout → “Double Bottom Breakout – Bullish!”
Bullish Target Hit → “Bullish Target Achieved!”
Failure (Bearish) → “Double Bottom Failed – Bearish!”
Bearish Target Hit → “Bearish Target Achieved (Failure)!”
📌 Double Top Alerts
Bearish Breakdown → “Double Top Breakdown – Bearish!”
Bearish Target Hit → “Bearish Target Achieved!”
Failure (Bullish) → “Double Top Failed – Bullish!”
Bullish Target Hit → “Bullish Target Achieved (Failure)!”
Each alert can be enabled/disabled independently and supports pop-ups, emails, or webhooks.
⚠️ Disclaimer:
This indicator is for educational and analytical purposes only. It does not constitute financial, investment, or trading advice. Use it in conjunction with your own strategy and risk management. Neither TradingView nor the developer is liable for any financial decisions or losses.
Hyper Squeeze Sniper (Dual Side: Long + Short)Hyper Squeeze Sniper (Dual Side Strategy)
This script is a comprehensive Volatility Breakout System designed to identify and trade explosive price moves following periods of consolidation. It combines the classical "Squeeze" theory with Linear Regression Momentum, Volume Analysis, and an ATR-based Trailing Stop to filter false signals and manage risk effectively.
The script operates on a logic of "Compression -> Explosion -> Trend Following" suitable for both Long and Short positions.
🛠 Detailed Methodology (How it works)
1. The Squeeze Detection (Consolidation) The core concept relies on the relationship between Bollinger Bands (BB) and Keltner Channels (KC).
Condition: When the Bollinger Bands (Standard Deviation) contract and fall inside the Keltner Channels (ATR based), it indicates a period of extremely low volatility (The Squeeze).
Visual: The background turns Gray to indicate "Do Not Trade / Wait Mode".
2. Momentum Confirmation (Linear Regression) Instead of using standard lagging indicators, this script utilizes Linear Regression of the price deviation to determine the direction of the breakout.
If the Linear Regression Slope > 0, the bias is Bullish.
If the Linear Regression Slope < 0, the bias is Bearish.
3. Volume Validation To avoid fake breakouts, a Volume Spike filter is applied. A signal is only valid if the current volume exceeds its moving average by a defined multiplier (Default x1.2).
4. Risk Management: ATR Trailing Stop Once a trade is entered, the script calculates a dynamic Trailing Stop based on the Average True Range (ATR).
- Long: The stop line trails below the price and never moves down.
- Short: The stop line trails above the price and never moves up.
- Exit: The position is closed immediately when the price breaches this volatility-based safety line.
How to Use
1. Wait: Look for the Gray Background. This is the accumulation phase.
2. Entry:
LONG: Wait for a Green Triangle ▲ (Price breaks Upper BB + Vol Spike + Bullish Momentum).
SHORT: Wait for a Red Triangle ▼ (Price breaks Lower BB + Vol Spike + Bearish Momentum).
3. Exit: Close the position when the "X" mark appears or when candles cross the trailing safety line.
Settings
- BB Length/Mult: Adjust the sensitivity of the squeeze detection.
- Vol Spike Factor: Increase this to filter out low-volume breakouts.
- ATR Period/Mult: Adjust the trailing stop distance (Higher = Wider stop for swing trading).
SoopAlgo — Premium Buy & Sell Targets (v6)SoopAlgo — Premium Targets (v6)
Description / Usage:
SoopAlgo — Premium Targets is a powerful trading tool designed to provide clear and actionable buy and sell signals directly on your chart. It highlights optimal entry points with distinct labels and automatically plots target levels, helping traders plan exits with precision.
Advantages:
Clear Visual Signals: Buy and sell opportunities are displayed prominently, reducing confusion and improving decision-making speed.
Integrated Target Levels: Automatic target lines allow traders to set realistic profit expectations without manual calculations.
Customizable Alerts: Receive alerts when signals occur, ensuring you never miss a trade opportunity.
Clean, Modern Display: Minimal clutter with intuitive color-coding (Buy in blue, Sell in purple) for easy chart readability.
Flexible Settings: Easily adjust target distances, label sizes, and indicator sensitivity to fit different trading styles.
Ideal For:
Traders who want a streamlined, easy-to-read tool for spotting market entries and exits with visual targets and alerts, while keeping the chart clean and focused.
Multi Condition Stock Screener & Alert SystemMulti Condition Stock Screener & Strategy Builder
This script is a comprehensive Stock Screener and Strategy Builder designed to scan predefined groups of stocks (specifically focused on BIST/Istanbul Stock Exchange symbols) or a custom list of symbols based on user-defined technical conditions.
It allows users to combine multiple technical indicators to create complex entry or exit conditions without writing code. The script iterates through a list of symbols and triggers alerts when the conditions are met.
Key Features
• Custom Strategy Building: Users can define up to 6 separate conditions. • Logical Operators: Conditions can be linked using logical operators (AND / OR) to create flexible strategies. • Predefined Groups: Includes 14 groups of stocks (covering BIST symbols) for quick scanning. • Custom Scanner: Users can select the "SPECIAL" group to manually input up to 40 custom symbols to scan. • Directional Scanning: Capable of scanning for both Buy/Long and Sell/Short signals. • Alert Integration: Generates JSON-formatted alert messages suitable for webhook integrations (e.g., sending notifications to Telegram bots).
Supported Indicators for Conditions
The script utilizes built-in ta.* functions to calculate the following indicators:
• MA (Moving Average): Supports EMA, SMA, RMA, and WMA. • RSI (Relative Strength Index) • CCI (Commodity Channel Index) • ATR (Average True Range) • BBW (Bollinger Bands Width) • ADX (Average Directional Index) • MFI (Money Flow Index) • MOM (Momentum)
How it Works
The script uses request.security() to fetch data for the selected group of symbols based on the current timeframe. It evaluates the user-defined logic (Condition 1 to 6) for each symbol.
• Comparison Logic: You can compare an indicator against a value (e.g., RSI > 50 ) or against another indicator (e.g., MA1 CrossOver MA2 ). • Signal Generation: If the logical result is TRUE based on the "AND/OR" settings, a visual label is plotted on the chart, and an alert condition is triggered.
Alert Configuration
The script produces a JSON output containing the Ticker, Signal Type, Period, and Price. This is optimized for users who want to parse alerts programmatically or send them to external messaging apps via webhooks.
Disclaimer This tool is for informational purposes only and does not constitute financial advice. Since it uses request.security across multiple symbols, please allow time for the script to load data on the chart.
Support Resistance📌 1. Indicator Name
Premium Auto Support & Resistance
📌 2. One-Line Description
An automated S/R system that generates support and resistance zones based on swing highs and lows, displaying them in a premium visual style directly on the chart.
📌 3. Overall Summary (7+ lines)
This indicator automatically detects price levels where the market has repeatedly reacted and generates support and resistance zones.
Instead of simple horizontal lines, it visualizes reaction ranges as zones, helping traders clearly understand the actual price areas where activity occurs.
It uses swing points (high/low pivots) as the fundamental basis and continuously updates only the most meaningful recent S/R levels.
A smoothing process is applied, reducing noise and creating more natural, reliable S/R zones.
Support and resistance are displayed as filled transparency-based zones, enabling intuitive identification of zone strength and market position.
When price touches one of these zones, a small signal appears to highlight potential reversal points.
All elements are plotted directly over the candles with overlay=true, making it an instantly usable and visually premium tool.
📌 4. Advantages (6 items)
① Automatic Swing-Based S/R Detection
Automatically analyzes key pivot points and extracts only the most meaningful support and resistance levels.
② Support/Resistance Zone Structure
Provides intuitive reaction ranges instead of single lines, making it far more practical for real trading.
③ Smooth Premium-Style Lines
S/R lines are smoothed to remove noise, maintaining a natural and refined premium visual appearance.
④ Automatic Candle-Touch Alerts
Displays signals whenever price touches support or resistance, helping you quickly identify potential reversal areas.
⑤ Overlay-Based Immediate Clarity
Drawn directly onto the chart without occupying indicator windows, keeping visual focus on price action.
⑥ Simple Yet Powerful Framework
A pivot + smoothing + zone combination that strengthens automatic S/R detection while remaining easy for beginners to use.
Consolidation Breakout PRO — Clean Boxes + 200 EMA Trend Filter High-probability range breakout detector that draws perfect, always-visible consolidation boxes and only alerts when price breaks out with strong volume and (optionally) in the direction of the prevailing trend.
Features
Automatically draws and extends clean consolidation boxes in real time
Boxes stop extending the moment the breakout occurs — no more “ghost” lines
Optional but powerful 200 EMA trend filter (dramatically reduces false breakouts)
Stronger volume confirmation (default 1.8× the 20-period average, fully adjustable)
Auto-deletes old boxes so your chart stays perfectly clean even after hundreds of signals
Clear “BREAKOUT ↑” and “BREAKDOWN ↓” labels + ready-to-use alerts
Works on any market and any timeframe (best on 1H, 4H, Daily)
How to trade it (edge > 65 % when used correctly)
Wait for the labeled breakout candle to close
Enter on pullback/retest of the box edge (or on strong close + retest)
Stop-loss just outside the opposite side of the box
Take-profit: minimum 1:2, ideally measured move (box height added/subtracted) or trailing with the 20 EMA
This is the cleanest and most professional public consolidation breakout tool available in 2025 — no repainting, no lag, no chart clutter.
Created and continuously improved with love for the TradingView community.
Apex Trend & Liquidity Master v2.1CONCEPT & OVERVIEW The Apex Trend & Liquidity Master v2.1 is a comprehensive trading suite designed to unify Trend Following, Smart Money Concepts (SMC), and Momentum detection into a single, clutter-free interface.
While the original version provided a foundational trend cloud and pivot points, this v2.1 Edition represents a complete architectural overhaul. It moves beyond simple signal generation by incorporating institutional-grade filters (ADX & Volume), advanced oscillator logic (WaveTrend), and dynamic risk management tools (Chandelier Exits).
KEY IMPROVEMENTS VS. ORIGINAL
From Static to Dynamic Momentum: Replaced the rigid RSI filter with a Multi-Engine Oscillator (WaveTrend, MFI, or RSI), allowing for smoother cycle detection.
From "Pivots" to "Smart Structure": The liquidity engine now detects Swing Failure Patterns (SFP)—identifying when price "pokes" a level to trap traders before reversing—and automatically cleans up mitigated zones.
Choppy Market Protection: Added an ADX (Average Directional Index) integration to strictly filter out signals during flat/sideways markets.
Risk Management Layer: Introduced a Smart Trailing Stop (ATR-based Chandelier Exit) to help traders manage active positions objectively.
Visual Overhaul: Features a modern gradient trend cloud and a fully adaptive "Heads-Up Display" (HUD) that provides real-time market stats.
MAIN FEATURES
1. The Gradient Trend Cloud Uses a volatility-adjusted Moving Average (HMA/EMA/SMA) to define the baseline bias. The cloud expands and contracts based on market volatility (ATR).
Green Gradient: Bullish Bias (Look for Longs).
Red Gradient: Bearish Bias (Look for Shorts).
2. Smart Liquidity & SFPs Automatically plots Supply (Resistance) and Demand (Support) zones.
Mitigation Logic: Zones are automatically removed when price validates and breaks through them, keeping the chart clean.
SFP Detection: Detects "Fake-outs" where price sweeps a high/low but closes back within the range—a high-probability reversal signal.
3. The Momentum Engine You can now select the engine that drives your signals:
WaveTrend (Default): An institutional oscillator that is smoother than RSI and excellent for spotting cycles.
MFI: Volume-weighted RSI that ignores price moves unsupported by volume.
RSI: Classic price velocity.
Includes hidden divergence detection for all three engines.
4. Signal Filters
Volume Filter: Ensures signals are backed by above-average volume.
ADX Filter: Prevents signals when the trend strength is weak (ADX < 20).
HOW TO USE
For a Long Setup:
Trend: The Cloud must be Green.
Signal: Wait for a BUY label (confirmed by Volume + ADX).
Confluence: Ideally, price is bouncing off a Green Demand Zone or forming a Bullish Divergence.
Exit: Trail your stop loss along the Smart Trailing Stop line until price closes below it.
For a Short Setup:
Trend: The Cloud must be Red.
Signal: Wait for a SELL label (confirmed by Volume + ADX).
Confluence: Ideally, price is rejecting a Red Supply Zone or forming a Bearish Divergence.
Exit: Trail your stop loss along the Smart Trailing Stop line until price closes above it.
SETTINGS & TOOLTIPS Every single setting in this script includes a detailed tooltip. Simply hover over the "i" icon in the settings menu to understand exactly what each input controls and how to adjust it for your specific asset (Crypto, Forex, or Stocks).
3. Disclaimer
DISCLAIMER This script is for educational and informational purposes only and does not constitute financial advice. Trading financial markets involves a high level of risk and may not be suitable for all investors. Past performance of any indicator or strategy is not indicative of future results. The author accepts no liability for any losses incurred while using this script. Always practice proper risk management.
UM Nadaraya-Watson OscillatorDescription
This is a different take on the Nadaraya-Watson Estimator from both Jdhorty and LuxAlgo. Both great scripts, I encourage everyone to check them out. Think of this script as a measure of trend direction, direction change, and trend acceleration or deceleration. It is not a Moving Average, but you could think of it as loosely as an intelligent adaptive regression curve with the focus on trend direction. The Gaussian calculations prefer and add more weight to the most recent bars. The end result is the oscillator is more responsive with less lag and less prone to pure price noise.
How it Works
The indicator was added to the chart twice; once with an MA, once without. The oscillator indicates trend change by crossing up through the zero line or down through the zero line. Once the indicator turns positive, we are in a positive trend until it crosses below zero and then the trend turns negative. I implemented a Moving Average overlay for additional signal determination; if the configured MA (EMA, SMA, WMA, or Nadaraya-Watson Estimator) trends higher, it is green. When trending down, it is red. The indicator also changes the color of the price bars; when the indicator below zero and red, the price bars are red. When the indicator is above zero and green, the price bars are green.
I marked up the chart and indicator to identify LONG, SHORT, and divergences between price and oscillator.
Default Settings
The default settings are 16 for Bandwidth and a WMA with 110. This is shown in the chart example. There directional arrows, but they are off by default. The Price bars are colored green or red to match the oscillator and the bar coloring is on by default.
All settings are user-configurable including bandwidth, MA type, MA length, bar coloring, and arrows.
Suggested Settings and uses
I personally like the 30 min chart with a bandwidth of 16 and a WMA of 110. The bandwidth 8 and 8 period EMA or WMA also work well on 6 hour and daily charts. Add this to your chart arsenal and use your favorite indicators for confirmation. This indicator works well on the 30 minute chart for inverse ETFs as well (SQQQ, SOXS, TZA). Also, the oscillator is good for identifying divergences between price and and indicator. (see chart for illustration)
Experiment with settings and adapt them to your trading style.
Alerts
If you right click the indicator, and select add alert, I have configured 4 standard alerts: A bullish cross above zero, A bearish cross below zero, An MA bullish turned up to trend higher, (green), and an MA bearish turned down to trend lower (red).
Session Open Range, Breakout & Trap Framework - TrendPredator OBSession Open Range, Breakout & Trap Framework — TrendPredator Open Box
Stacey Burke’s trading approach combines concepts from George Douglas Taylor, Tony Crabel, Steve Mauro, and Robert Schabacker. His framework focuses on reading price behaviour across daily templates and identifying how markets move through recurring cycles of expansion, contraction, and reversal. While effective, much of this analysis requires real-time interpretation of session-based behaviour, which can be demanding for traders working on lower intraday timeframes.
The TrendPredator indicators formalize parts of this methodology by introducing mechanical rules for multi-timeframe bias tracking and session structure analysis. They aim to present the key elements of the system—bias, breakouts, fakeouts, and range behaviour—in a consistent and objective way that reduces discretionary interpretation.
The Open Box indicator focuses specifically on the opening behaviour of major trading sessions. It builds on principles found in classical Open Range Breakout (ORB) techniques described by Tony Crabel, where a defined time window around the session open forms a structural reference range. Price behaviour relative to this range—breaking out, failing back inside, or expanding—can highlight developing session bias, potential trap formation, and directional conviction.
This indicator applies these concepts throughout the major equity sessions. It automatically maps the session’s initial range (“Open Box”) and tracks how price interacts with it as liquidity and volatility increase. It also incorporates related structural references such as:
* the first-hour high and low of the futures session
* the exact session open level
* an anchored VWAP starting at the session open
* automated expansion levels projected from the Open Box
In combination, these components provide a unified view of early session activity, including breakout attempts, fakeouts, VWAP reactions, and liquidity targeting. The Open Box offers a structured lens for observing how price transitions through the major sessions (Asia → London → New York) and how these behaviours relate to higher-timeframe bias defined in the broader TrendPredator framework.
Core Features
Open Box (Session Structure)
The indicator defines an initial session range beginning at the selected session open. This “Open Box” represents a fixed time window—commonly the first 30 minutes, or any user-defined duration—that serves as a structural reference for analysing early session behaviour.
The range highlights whether price remains inside the box, breaks out, or rejects the boundaries, providing a consistent foundation for interpreting early directional tendencies and recognising breakout, continuation, or fakeout characteristics.
How it works:
* At the session open, the indicator calculates the high and low over the specified time window.
* This range is plotted as the initial structure of the session.
* Price behaviour at the boundaries can illustrate emerging bias or potential trap formation.
* An optional secondary range (e.g., 15-minute high/low) can be enabled to capture early volatility with additional precision.
Inputs / Options:
* Session specifications (Tokyo, London, New York)
* Open Box start and end times (e.g., equity open + first 30 minutes, or any custom length)
* Open Box colour and label settings
* Formatting options for Open Box high and low lines
* Optional secondary range per session (e.g., 15-minute high/low)
* Forward extension of Open Box high/low lines
* Number of historic Open Boxes to display
Session VWAPs
The indicator plots VWAPs for each major trading session—Asia, London, and New York—anchored to their respective session opens. These session-specific VWAPs assist in tracking how value develops through the day and how price interacts with session-based volume distributions.
How it works:
* At each session open, a VWAP is anchored to the open price.
* The VWAP updates throughout the session as new volume and price data arrive.
* Deviations above or below the VWAP may indicate balance, imbalance, or directional control.
* Viewed together, session VWAPs help identify transitions in value across sessions.
Inputs / Options:
* Enable or disable VWAP per session
* Adjustable anchor and end times (optionally to end of day)
* Line styling and label settings
* Number of historic VWAPs to draw
First Hour High/Low Extensions
The indicator marks the high and low formed during the first hour of each session. These reference points often function as early control levels and provide context for assessing whether the session is establishing bias, consolidating, or exhibiting reversal behaviour.
How it works:
* After the session starts, the indicator records the highest and lowest prices during the first hour.
* These levels are plotted and extended across the session.
* They provide a visual reference for observing reactions, targets, or rejection zones.
Inputs / Options:
* Enable or disable for each session
* Line style, colour, and label visibility
* Number of historic sessions displayed
EQO Levels (Equity Open)
The indicator plots the opening price of each configured session. These “Equity Open” levels represent short-term reference points that can attract price early in the session.
Once the level is revisited after the Open Box has formed, it is automatically cut to avoid clutter. If not revisited, the line remains as an untested reference, similar to a naked point of control.
How it works:
* At session open, the open price is recorded.
* The level is plotted as a local reference.
* If price interacts with the level after the Open Box completes, the line is cut.
* Untested EQOs extend forward until interacted with.
Inputs / Options:
* Enable/disable per session
* Line style and label settings
* Optional extension into the next day
* Option for cutting vs. hiding on revisit
* Number of historic sessions displayed
OB Range Expansions (Automatic)
Range expansions are calculated from the height of the Open Box. These levels provide structured reference zones for identifying potential continuation or exhaustion areas within a session.
How it works:
* After the Open Box is formed, multiples of the range (e.g., 1×, 2×, 3×) are projected.
* These expansion levels are plotted above and below the range.
* Price reactions near these areas can illustrate continuation, hesitation, or potential reversal.
Inputs / Options:
* Enable or disable per session
* Select number of multiples
* Line style, colour, and label settings
* Extension length into the session
Stacey Burke 12-Candle Window Marker
The indicator can highlight the 12-candle window often referenced in Stacey Burke’s session methodology. This window represents the key active period of each session where breakout attempts, volatility shifts, and reversal signatures often occur.
How it works:
* A configurable window (default 12 candles) is highlighted from each session open.
* This window acts as a guide for observing active session behaviour.
* It remains visible throughout the session for structural context.
Inputs / Options:
* Enable/disable per session
* Configurable window duration (default: 3 hours)
* Colour and transparency controls
Concept and Integration
The Open Box is built around the same multi-timeframe logic that underpins the broader TrendPredator framework.
While higher-timeframe tools track bias and setups across the H8–D–W–M levels, the Open Box focuses on the H1–M30 domain to define session structure and observe how early intraday behaviour aligns with higher-timeframe conditions.
The indicator integrates with the TrendPredator FO (Breakout, Fakeout & Trend Switch Detector), which highlights microstructure signals on lower timeframes (M15/M5). Together they form a layered workflow:
* Higher timeframes: context, bias, and developing setups
* TrendPredator OB: intraday and intra-session structure
* TrendPredator FO: microstructure confirmation (e.g., FOL/FOH, switches)
This alignment provides a structured way to observe how daily directional context interacts with intraday behaviour.
See the public open source indicator TP FO here (click on it for access):
Practical Application
Before Session Open
* Review previous session Open Box, Open level, and VWAPs
* Assess how higher-timeframe bias aligns with potential intraday continuation or reversal
* Note untested EQO levels or VWAPs that may function as liquidity attractors
During Session Open
* Observe behaviour around the first-hour high/low and higher-timeframe reference levels
* Monitor how the M15 and 30-minute ranges close
* Track reactions relative to the session open level and the session VWAP
After the Open Box completes
* Assess price interaction with Open Box boundaries and first-hour levels
* Use microstructure signals (e.g., FOH/FOL, switches) for potential confirmation
* Refer to expansion levels as reference zones for management or target setting
After Session
* Review how price behaved relative to the Open Box, EQO levels, VWAPs, and expansion zones
* Analyse breakout attempts, fakeouts, and whether intraday structure aligned with the broader daily move
Example Workflow and Trade
1. Higher-timeframe analysis signals a Daily Fakeout Low Continuation (bullish context).
2. The New York session forms an Open Box; price breaks above and holds above the first-hour high.
3. A Fakeout Low + Switch Bar appears on M5 (via FO), after retesting the session VWAP triggering the entry.
4. 1x expansion level serves as reference targets for take profit.
Relation to the TrendPredator Ecosystem
The Open Box is part of the TrendPredator Indicator Family, designed to apply multi-timeframe logic consistently across:
* higher-timeframe context and setups
* intraday and session structure (OB)
* microstructure confirmation (FO)
Together, these modules offer a unified structure for analysing how daily and intraday cycles interact.
Disclaimer
This indicator is for educational purposes only and does not guarantee profits.
It does not provide buy or sell signals but highlights structural and behavioural areas for analysis.
Users are solely responsible for their trading decisions and outcomes.
Confirmed Pivots + MACD Signals (with BOS Lines)Confirmed Pivots + MACD Signals
This indicator combines confirmed swing highs/lows (pivots) with MACD-based momentum signals to highlight key reversal and continuation points on the chart.
Core Logic
Confirmed Pivots:
The script identifies swing highs and lows using the user-defined pivot confirmation length.
Once a structure is broken beyond the last pivot, that level becomes a confirmed support (CL) or resistance (CH) line.
These levels are plotted as dashed horizontal rays and labeled directly on the chart.
MACD Integration:
The classic MACD crossover/under logic is used:
Bullish Crossover: MACD line crosses above the Signal line.
Bearish Crossunder: MACD line crosses below the Signal line.
Signal Filtering by Proximity:
A Proximity Zone (%) defines how close price must be to an active support or resistance to trigger a signal.
Buy Signal: When price is within the support zone and a bullish MACD crossover occurs.
Sell Signal: When price is within the resistance zone and a bearish MACD crossunder occurs.
Inputs
Pivot Confirmation Length: Bars used to confirm swing points.
MACD Fast/Slow/Signal Lengths: Standard MACD settings.
Proximity Zone (%): Defines zone width (e.g., 1% around active level).
Output
Labels: "CH" (Confirmed High) and "CL" (Confirmed Low) with color-coded dashed lines.
Signals: "BUY" and "SELL" markers appear when both pivot and MACD conditions align.
Tips
Works best on higher timeframes (H1 and above).
Combine with price action or trend filters for confirmation.
Use proximity percentage according to volatility (e.g., smaller % for low-vol assets).
⚠️ Disclaimer:
This script is provided for educational and informational purposes only.
It does not constitute financial or investment advice, and the author is not responsible for any financial losses that may occur from its use.
Always perform your own analysis and use this indicator together with other technical and risk management tools before making trading decisions.
---------------------------------------------------------------------------------------------
سقف و کف تاییدشده + سیگنالهای MACD
این اندیکاتور ترکیبی از شناسایی سقفها و کفهای تاییدشده (Pivot High/Low) به همراه سیگنالهای مومنتوم MACD است که نقاط برگشت یا ادامهی روند را روی چارت مشخص میکند.
🔹 منطق عملکرد
تایید سقف و کفها:
ابتدا سقف و کفهای محلی بر اساس تعداد کندلهای تنظیمشده شناسایی میشوند.
وقتی ساختار قیمتی از آخرین سقف یا کف عبور کند، آن سطح به عنوان حمایت یا مقاومت تاییدشده در نظر گرفته شده و با برچسبهای “CL” (کف تاییدشده) و “CH” (سقف تاییدشده) و خطوط نقطهچین رسم میشود.
ادغام با MACD:
از منطق کلاسیک کراساور/کراسآندر MACD استفاده شده است:
کراس صعودی: عبور خط MACD از بالای خط سیگنال.
کراس نزولی: عبور خط MACD از زیر خط سیگنال.
فیلتر سیگنال با ناحیه مجاور:
با استفاده از درصد ناحیه مجاور (Proximity Zone %)، فقط زمانی سیگنال صادر میشود که قیمت نزدیک حمایت یا مقاومت فعال باشد.
سیگنال خرید: وقتی قیمت در ناحیهی حمایت و همزمان MACD صعودی شود.
سیگنال فروش: وقتی قیمت در ناحیهی مقاومت و همزمان MACD نزولی شود.
تنظیمات ورودی
طول تأیید پیوتها
تنظیمات MACD (Fast, Slow, Signal)
درصد ناحیه مجاور برای فعال شدن سیگنالها
خروجیها
برچسبهای “CL” و “CH” برای سطوح تاییدشده
نشانگرهای “BUY” و “SELL” در محل صدور سیگنال
نکات کاربردی
بهترین عملکرد در تایمفریمهای بالاتر (۱ ساعته به بالا)
برای دقت بیشتر، آن را با فیلتر روند یا پرایساکشن ترکیب کنید
درصد ناحیه مجاور را با توجه به نوسانات دارایی تنظیم کنید
Auto Position CalculatorA position sizing tool that automatically detects the instrument you're trading and calculates the correct position size based on your risk parameters.
What It Does
This indicator calculates how many contracts, lots, or shares to trade based on your account size, risk percentage, and stop loss distance. It auto-detects the instrument type and adjusts the point/pip value accordingly.
Supported Instruments
Futures: NQ, MNQ, ES, MES, YM, MYM, RTY, M2K, CL, MCL, GC, MGC
Forex: All major pairs (USD, EUR, GBP, JPY, etc.)
Index CFDs: NAS100, US500, US30, GER40, UK100
Metals: XAU, XAG
Crypto and Stocks: Automatic detection
How to Use
Set your account size and risk % in settings
Click the settings icon and place Entry, Stop Loss, and Take Profit on the chart
The position size and risk calculations appear automatically
Levels auto-reset at your chosen session (Asia, London, or New York open)
Limitations
CFD and forex pip values assume standard lot sizing - your broker may differ
Auto-detection relies on ticker naming conventions, which vary by broker/data feed
Session reset times are based on ET (Eastern Time)
Grok/Claude AI Neural Fusion Pro * Grok/Claude X SeriesGrok/Claude AI Neural Fusion Pro
This is a TradingView indicator that combines multiple technical analysis methods into a unified scoring system to identify trading opportunities. Despite the "Neural" and "AI" branding, it's not actually using machine learning — it's a sophisticated blend of traditional indicators weighted together to produce a single decision-aiding score.
Core Philosophy
The indicator attempts to answer the question: "How bullish or bearish is the current market environment, and when should I consider entering a trade?"
It does this by calculating a "GXS Score" (ranging from -1 to +1) that aggregates five different market dimensions: trend strength, momentum, volume, price structure, and price action quality. Each dimension contributes to the final score based on user-defined weights.
The Dynamic Bands System
Rather than using standard Bollinger Bands, this indicator creates adaptive bands that expand and contract based on market conditions. The bands are built around a midpoint calculated from Heikin Ashi candles (smoothed price bars that filter out noise), then extended outward using ATR (Average True Range) multiplied by a dynamic factor.
What makes these bands "dynamic" is that the multiplier adjusts based on two factors: the Chaikin Oscillator (which measures buying/selling pressure through accumulation/distribution) and ADX (trend strength). When there's strong directional pressure or a powerful trend, the bands widen to accommodate larger price swings. In quieter markets, they tighten.
The Five Scoring Components
The GXS Score is built from five weighted components:
ComponentDefault WeightWhat It MeasuresTrend Strength30%ADX direction and magnitude — is there a real trend, and which way?Momentum25%RSI, MACD, Stochastic, CCI, Rate of Change, plus divergence detectionVolume20%On-Balance Volume slope and whether volume confirms price movementPrice Structure15%Where price sits within the bands, plus volatility regimePrice Action10%Ratio of bullish vs bearish candles over recent bars
Trend Strength Component
This component only contributes to the score when ADX indicates a trending market (above the threshold, default 24). If DI+ exceeds DI-, the score tilts bullish; if DI- dominates, it tilts bearish. In ranging markets, this component essentially zeros out, preventing false trend signals during choppy conditions.
Momentum Component
This is the most complex component, combining six sub-indicators. RSI is normalized around the 50 level. MACD histogram is standardized against its own volatility. Stochastic and CCI contribute bonus points at extreme levels (oversold/overbought). Rate of Change adds directional bias for strong moves. Finally, divergence detection looks for situations where price makes new highs/lows but RSI doesn't confirm — a classic reversal warning.
Volume Component
The indicator tracks On-Balance Volume (a cumulative measure of buying vs selling pressure) and compares it to its moving average. When OBV is rising above its average during an uptrend, that's confirmation. The volume rate of change also contributes — surging volume adds conviction to signals.
Price Structure Component
This measures where the current price sits within the dynamic bands. If price is in the bottom 20% of the band range, that's bullish (potential bounce zone). If it's in the top 20%, that's bearish (potential resistance). The component also factors in volatility regime — low volatility environments get a slight bullish bias (breakouts tend to follow compression), while high volatility gets a bearish bias (exhaustion risk).
Price Action Component
A simple measure of recent candle character. If 70%+ of the last 10 candles were bullish (closed higher than they opened), the score tilts positive. Heavy bearish candle dominance tilts it negative.
Signal Generation
Buy and sell signals are generated when price touches or breaches the dynamic bands, but only if several filters pass:
ADX Filter (optional): Requires the market to be trending, avoiding signals in choppy conditions
RSI Filter (optional): For buys, RSI must be oversold (below 30); for sells, RSI must be overbought (above 70)
Cooldown Period: Prevents signal spam by requiring a minimum number of bars between signals (default 6)
The indicator also tracks "zones" based purely on the GXS Score. When the score exceeds the buy threshold (default 0.12) during a trending market, a green cloud appears between the bands. When it drops below the sell threshold (default -0.12), a red cloud appears. These zones indicate favorable conditions even without a specific band-touch signal.
Trend Strength Meter
Separate from the GXS Score, the indicator calculates a "Trend Strength" percentage (0-100%) displayed in the info table. This combines ADX strength (40% weight), slope consistency (30% — how steady is the price direction), volume alignment (20% — is volume confirming the move), and momentum agreement (10% — are multiple indicators pointing the same direction). This helps traders gauge how reliable the current trend is.
Visual Elements
The indicator provides multiple visual layers that can be toggled on or off:
Dynamic bands (blue midline, red upper, green lower)
Signal clouds between the bands when in buy/sell zones
Background shading indicating bullish (green) or bearish (red) regime
Triangle arrows at signal points with configurable sizes
Price labels showing exact entry prices at signals
ADX strength dots at the bottom (white = weak, orange = moderate, blue = strong)
Info table with current readings for all key metrics
Debug panel (optional) showing individual component scores
Summary
This is essentially a "committee voting" system where multiple technical indicators each cast votes on market direction, and those votes are weighted and summed into a single score. The dynamic bands provide context for where price is relative to recent volatility, while the various filters help avoid low-quality signals. It's designed for traders who want a synthesized view of market conditions rather than watching a dozen separate indicators.
BOS and CHoCHThe market never moves in a straight line. It moves in waves.
It makes a High, comes down a bit (Low), then breaks the previous High to make a new High.
Similarly, It makes a Low, goes up a bit (High), then breaks the previous Low to make a new Low.
BOS (Break Of Structure) - Trend Continuation
BOS means the market is continuing its current trend. If the market is in an Uptrend and breaks the old "High" -> Bullish BOS. If the market is in a Downtrend and breaks the old "Low" -> Bearish BOS.
3. CHOCH (Change Of Character) - Trend Reversal
CHOCH means the mood of the market has changed. For the first time, the trend has shifted its nature.
Bullish to Bearish CHOCH: The market was making Higher Highs, but suddenly it broke its previous "Low". Now the market can fall.
Bearish to Bullish CHOCH: The market was falling (Lower Lows), but suddenly it broke its previous "High". Now the market can rise.
BOS: Confirms the trend (Breaking the ceiling to go higher).
CHOCH: Signals a trend change (Slipping and falling below the previous floor).
DarkPool's Gann High Low Activator DarkPool's Gann High-Low Activator.
It enhances the traditional trend-following logic by integrating Heikin Ashi smoothing, Multi-Timeframe (MTF) analysis, and volatility filtering. It is designed to filter out market noise and provide clearer trend signals during volatile conditions.
Underlying Concepts
Heikin Ashi Smoothing: Standard price candles can produce erratic signals due to wicks and short-term volatility. This script includes a "Calculation Mode" setting that allows the Gann logic to run on Heikin Ashi average prices. This smoothes out price data, helping traders stay in trends longer by ignoring temporary pullbacks.
Gann High-Low Logic: The core algorithm tracks the Simple Moving Average (SMA) of Highs and Lows over a user-defined period.
Bullish Trend: Price closes above the trailing SMA of Highs.
Bearish Trend: Price closes below the trailing SMA of Lows.
Volatility & Trend Filtering: To reduce false signals during sideways markets, this tool employs two filters:
ADX Filter (Choppiness): Uses the Average Directional Index to detect low-volatility environments. If the ADX is below the defined threshold (default 20), the indicator identifies the market as "choppy" and suppresses signals to preserve capital.
EMA Filter (Baseline): An optional Exponential Moving Average filter ensures trades are only taken in the direction of the longer-term trend (e.g., Longs only above the 200 EMA).
Features
Dual Calculation Modes: Switch between Standard price logic and Heikin Ashi smoothing logic.
Multi-Timeframe (MTF): Calculate the trend based on a higher timeframe (e.g., 4-Hour) while viewing a lower timeframe chart (e.g., 15-Minute).
Automated JSON Alerts: Generates machine-readable JSON alert payloads compatible with external trading bots and webhooks.
Live Dashboard: A data table displaying the current Trend State, Calculation Mode, ADX Value, and risk percentage.
How to Use
Buy Signal: Generated when the trend flips Bullish, provided the ADX indicates sufficient momentum and the price satisfies the EMA filter (if enabled).
Sell Signal: Generated when the trend flips Bearish, subject to the same momentum and trend filters.
Neutral State (Gray Cloud): When the cloud fill turns gray, the market is in consolidation. It is recommended to avoid entering new positions during this state.
Trailing Stop: The Gann Line serves as a dynamic trailing stop-loss level. A close beyond this line invalidates the current trend.
Settings Configuration
Calculation Mode: Select "Standard" for raw price action or "Heikin Ashi" for smoothed trend following.
Gann Length: Lower values (3-5) are suitable for short-term scalping; higher values (10+) are better for swing trading.
MTF Mode: Enable to lock the calculation to a specific higher timeframe.
ADX Threshold: Adjust based on asset volatility. Recommended: 20-25 for Crypto, 15-20 for Forex/Indices.
Disclaimer
This source code and the information presented here are for educational purposes only. This script does not constitute financial advice, trading recommendations, or a solicitation to buy or sell any financial instruments. Trading in financial markets involves a high degree of risk and may not be suitable for all investors. Past performance is not indicative of future results. The author assumes no responsibility for any losses incurred while using this indicator. Use this tool at your own discretion and risk.
Divergence Detector (MACD + Volume)Divergence Detector (MACD + Volume Confirmation)
This indicator automatically detects bullish and bearish divergences between price and MACD, enhanced with volume confirmation to filter out weak signals.
🔹 Core Logic
Pivot Detection:
The script identifies swing highs and lows (pivots) using customizable left/right lookback values.
Bullish Divergence:
Occurs when price makes a lower low, but MACD makes a higher low.
A label "Bull Div" appears below the bar; if confirmed by high volume, it shows "Bull Div 🔥".
Bearish Divergence:
Occurs when price makes a higher high, but MACD makes a lower high.
A label "Bear Div" appears above the bar; if confirmed by high volume, it shows "Bear Div 📉".
Volume Confirmation:
The indicator checks whether the volume at the pivot bar is above the moving average of volume (customizable length).
This ensures that divergence signals are backed by strong market participation.
Inputs
MACD Fast/Slow/Signal Length – standard MACD parameters
Pivot Lookback Left/Right – defines the swing structure sensitivity
Volume MA Length – defines how volume strength is validated
Output
Labels:
🔹 Bull Div / Bull Div 🔥 → Bullish divergence (confirmed with volume)
🔹 Bear Div / Bear Div 📉 → Bearish divergence (confirmed with volume)
Tips
Works best on higher timeframes and trending markets.
Volume confirmation helps filter false divergences in low liquidity conditions.
Combine with trend or structure indicators for better trade setups.
----------------------------------------------------------------------------------------------
اندیکاتور شناسایی واگرایی MACD با تأیید حجم
این اندیکاتور بهصورت خودکار واگراییهای صعودی و نزولی بین قیمت و MACD را شناسایی کرده و با استفاده از تأیید حجم (Volume Confirmation) سیگنالهای ضعیف را فیلتر میکند.
🔹 منطق عملکرد
شناسایی پیوتها:
نقاط چرخش (سقف و کف) با استفاده از تعداد کندلهای قابل تنظیم در دو سمت شناسایی میشوند.
واگرایی صعودی (Bullish):
زمانی که قیمت کف پایینتر و MACD کف بالاتر میسازد.
برچسب "Bull Div" در زیر کندل نمایش داده میشود؛ اگر حجم بالا باشد، با علامت 🔥 مشخص میگردد.
واگرایی نزولی (Bearish):
زمانی که قیمت سقف بالاتر و MACD سقف پایینتر میسازد.
برچسب "Bear Div" در بالای کندل نمایش داده میشود؛ اگر حجم بالا باشد، با 📉 مشخص میگردد.
تأیید حجم:
اگر حجم در کندل پیوت بالاتر از میانگین متحرک حجم باشد، سیگنال معتبرتر در نظر گرفته میشود.
تنظیمات ورودی
تنظیمات MACD (Fast, Slow, Signal)
پارامترهای شناسایی پیوت (Left / Right)
طول میانگین متحرک حجم (Volume MA Length)
خروجیها
Bull Div 🔥 / Bear Div 📉 برای واگراییهای تأییدشده با حجم
Bull Div / Bear Div برای واگراییهای بدون تأیید حجم
نکات کاربردی
بهترین عملکرد در تایمفریمهای بالا و بازارهای دارای روند
تأیید حجم به حذف سیگنالهای اشتباه در شرایط حجم پایین کمک میکند
برای دقت بیشتر، آن را با اندیکاتورهای روند یا ساختار ترکیب کنید
⚠️ Disclaimer:
This script is provided for educational and informational purposes only.
It does not constitute financial advice, and the author is not responsible for any financial losses caused by its use.
Always confirm signals with your own analysis and other tools before making trading decisions.
⚠️ توجه:
این اسکریپت صرفاً جهت آموزش و اطلاعرسانی طراحی شده و توصیه مالی یا سرمایهگذاری محسوب نمیشود.
نویسنده مسئول هیچگونه ضرر یا زیان احتمالی ناشی از استفاده از آن نیست.
لطفاً پیش از هر تصمیم معاملاتی، تحلیل شخصی خود را انجام داده و از این ابزار در کنار سایر ابزارهای تحلیل و مدیریت ریسک استفاده کنید.
Money Flow Matrix This comprehensive indicator is a multi-faceted momentum and volume oscillator designed to identify trend strength, potential reversals, and market confluence. It combines a volume-weighted RSI (Money Flow) with a double-smoothed momentum oscillator (Hyper Wave) to filter out noise and provide high-probability signals.
Core Components
1. Money Flow (The Columns) This is the backbone of the indicator. It calculates a normalized RSI and weights it by relative volume.
Green Columns: Positive money flow (Buying pressure).
Red Columns: Negative money flow (Selling pressure).
Neon Colors (Overflow): When the columns turn bright Neon Green or Neon Red, the Money Flow has breached the dynamic Bollinger Band thresholds. This indicates an extreme overbought or oversold condition, suggesting a potential climax in the current move.
2. Hyper Wave (The Line) This is a double-smoothed Exponential Moving Average (EMA) derived from price changes. It acts as the "signal line" for the system. It is smoother than standard RSI or MACD, reducing false signals during choppy markets.
Green Line: Momentum is increasing.
Red Line: Momentum is decreasing.
3. Confluence Zones (Background) The background color changes based on the agreement between Money Flow and Hyper Wave.
Green Background: Both Money Flow and Hyper Wave are bullish. This represents a high-probability long environment.
Red Background: Both Money Flow and Hyper Wave are bearish. This represents a high-probability short environment.
Signal Guide
The Matrix provides three tiers of signals, ranging from early warnings to confirmation entries.
1. Warning Dots (Circles) These appear when the Hyper Wave crosses specific internal levels (-30/30).
Green Dot: Early warning of a bullish rotation.
Red Dot: Early warning of a bearish rotation.
Usage: These are not immediate entry signals but warnings to tighten stop-losses or prepare for a reversal.
2. Major Crosses (Triangles) These occur when Money Flow crosses the zero line, confirmed by momentum direction.
Green Triangle Up: Major Buy Signal (Money Flow crosses above 0).
Red Triangle Down: Major Sell Signal (Money Flow crosses below 0).
Usage: These are the primary trend-following entry signals.
3. Divergences (Labels "R" and "H") The script automatically detects discrepancies between Price action and the Hyper Wave oscillator.
"R" (Regular Divergence): Indicates a potential Reversal.
Bullish R: Price makes a lower low, but Oscillator makes a higher low.
Bearish R: Price makes a higher high, but Oscillator makes a lower high.
"H" (Hidden Divergence): Indicates a potential Trend Continuation.
Bullish H: Price makes a higher low, but Oscillator makes a lower low.
Bearish H: Price makes a lower high, but Oscillator makes a higher high.
Dashboard (Confluence Meter)
Located in the bottom right of the chart, the dashboard provides a snapshot of the current candle's status. It calculates a score based on three factors:
Is Money Flow positive?
Is Hyper Wave positive?
Is Hyper Wave trending up?
Readings:
STRONG BUY: All metrics are bullish.
WEAK BUY: Mixed metrics, but leaning bullish.
NEUTRAL: Metrics are conflicting.
WEAK/STRONG SELL: Bearish equivalents of the buy signals.
Trading Strategies
Strategy A: The Trend Rider
Entry: Wait for a Green Triangle (Major Buy).
Confirmation: Ensure the Background is highlighted Green (Confluence).
Exit: Exit when the background turns off or a Red Warning Dot appears.
Strategy B: The Reversal Catch
Setup: Look for a Neon Red Column (Overflow/Oversold).
Trigger: Wait for a Green "R" Label (Regular Bullish Divergence) or a Green Warning Dot.
Confirmation: Wait for the Hyper Wave line to turn green.
Strategy C: The Pullback (Continuation)
Context: The market is in a strong trend (Green Background).
Trigger: Price pulls back, but a Green "H" Label (Hidden Bullish Divergence) appears.
Action: Enter in the direction of the original trend.
Settings Configuration
The code includes tooltips for all inputs to assist with configuration.
Money Flow Length: Adjusts the sensitivity of the volume calculation. Lower numbers are faster but noisier; higher numbers are smoother.
Threshold Multiplier: Controls the "Neon" overflow bars. Increasing this (e.g., to 2.5 or 3.0) will result in fewer, more extreme signals.
Divergence Lookback: Determines how many candles back the script looks to identify pivots. Increase this number to find larger, macro divergences.
Disclaimer
This source code and the accompanying documentation are for educational and informational purposes only. They do not constitute financial, investment, or trading advice.
ZY Target TerminatorThe indicator generates trading signals. The profitability displayed on the signal at the time it is generated is the maximum profitability of the trade opened with the preceding signal. Therefore, avoid trading pairs and trends where this ratio is insufficient.
Grok/Claude MoneyLine Fusion * Grok/Claude X SeriesMoneyLine Fusion Indicator
This is a technical analysis indicator designed to help traders identify potential buy and sell opportunities in the market. It combines several well-known trading concepts into one unified tool, displaying visual bands on the chart and generating signals when multiple conditions align.
The Core Concept: The "Money Line"
At the heart of this indicator is something called the Money Line, which is essentially a smoothed trend line calculated using linear regression over the last 16 bars (by default). Think of it as a "best fit" line through recent prices that shows you the general direction the market is heading. The indicator colors this line green when the trend is rising, red when it's falling, and yellow when it's essentially flat or undecided.
The Dynamic Bands
Surrounding the Money Line are upper and lower bands that expand and contract based on market volatility. These bands use the ATR (Average True Range) to measure how much the price typically moves. Here's where it gets clever: the bands also factor in the ADX indicator (which measures trend strength). When the market is trending strongly, the bands widen more aggressively to account for bigger price swings. When the trend is weak, they stay tighter. This adaptive behavior helps the indicator adjust to different market conditions automatically.
The area between the bands is shaded in the trend color (green, red, or yellow) to give you a quick visual of the current market bias.
How Buy and Sell Signals Are Generated
The indicator doesn't just look at one thing — it requires multiple conditions to align before triggering a signal. This is designed to filter out false signals and only alert you when several factors agree.
Signal TypeRequired ConditionsBUYFisher Transform is below -2.0 (oversold), Aroon Up is low (below 20), Aroon Down is high (above 80), and optionally a positive TA ScoreSELLFisher Transform is above +2.0 (overbought), Aroon Up is high (above 80), Aroon Down is low (below 20), and optionally a negative TA Score
Fisher Transform is a mathematical technique that converts price data into a bell curve distribution, making extreme readings (overbought/oversold) easier to spot.
Aroon measures how long it's been since the highest high or lowest low. When Aroon Down is high and Aroon Up is low, it suggests recent price action has been dominated by lows — a potential reversal setup for a buy.
The indicator also prevents signal spam by requiring at least 5 bars between signals of the same type.
The TA Scoring System
Behind the scenes, the indicator calculates a composite score based on four different technical indicators:
MACD — Momentum and trend direction (scores -2 to +2)
DMI — Directional movement comparing buyers vs sellers (scores -2 to +2)
MFI — Money Flow Index, similar to RSI but incorporates volume (scores -2 to +2)
RSI — Classic overbought/oversold measure (scores -1 to +1)
These scores are added together, and the result is displayed in the info panel with labels like "very bullish," "slightly bearish," or "neutral." You can optionally require a minimum TA score before signals trigger, adding another layer of confirmation.
Visual Display Elements
The indicator offers several optional display features:
Shaded bands between upper and lower lines
Buy/Sell labels directly on the chart showing the entry price
Bright blue candle highlighting when a signal fires
Info panel in the corner showing the Money Line value, volatility percentile, RSI, and TA score
Score dots at the bottom of the chart (green for bullish, red for bearish, yellow for neutral)
Debug table for troubleshooting that shows real-time values of Fisher, Aroon, and signal conditions
In Summary
This indicator is essentially a multi-factor confirmation system. Rather than relying on a single indicator that might give many false signals, it waits until the trend direction (Money Line), momentum extremes (Fisher Transform), price cycle position (Aroon), and overall technical picture (TA Score) all point in the same direction. The adaptive bands help visualize where price "should" be trading given current volatility and trend strength. It's designed for traders who prefer fewer but higher-conviction signals.
Dual MACD AccelerationDual MACD Acceleration Indicator – Synopsis
Purpose:
This indicator identifies early momentum shifts in the market by comparing a fast MACD (8/20/6) with a slower MACD (12/26/9). It highlights potential strong buy and sell signals when the faster MACD crosses the slower MACD, allowing traders to catch trend accelerations before the full move develops.
Components
Fast MACD (8/20/6)
Responds quickly to short-term price changes.
Detects early momentum shifts.
Slow MACD (12/26/9)
Captures the dominant trend.
Provides a smoother reference for comparison.
Acceleration Signals
Long (▲): Fast MACD crosses above Slow MACD → potential bullish acceleration.
Short (▼): Fast MACD crosses below Slow MACD → potential bearish acceleration.
Zero Line
Optional visual reference for overall trend direction.
Crosses above zero = bullish trend, below zero = bearish trend.
Key Features
Clean, minimal chart display.
Optional toggles to show/hide each MACD line.
Label markers indicate crossovers.
Built-in alert conditions for automated notifications.
Trading Use
Trend Confirmation:
Best used with higher timeframe filters (VWAP or EMAs) to avoid fakeouts.
Entry Timing:
Enter on the first pullback after a crossover signal.
Only trade in the direction of the dominant trend.
Stops & Risk:
Use recent swing lows/highs for stop placement.
TP levels can be structure-based or trailing with price momentum.
Synopsis Summary:
The Dual MACD Acceleration Indicator is a lightweight, early-momentum tool designed for scalpers and short-term traders. It captures fast shifts in trend by comparing a faster and slower MACD, highlighting strong buy and sell opportunities while remaining clean and easy to read. For higher accuracy, combine with trend filters like VWAP or EMAs.
🐋 Whale Flow 🐋Whale Flow: Institutional Order Tracking
Uncover the Footprints of Smart Money
The Whale Flow indicator is a comprehensive institutional analysis suite designed to expose the activity of large market participants. Retail traders often rely on lagging indicators; Whale Flow focuses on the primary driver of price action: Volume Anomalies.
By combining Wick-Adjusted Volume pressure, Smart VWAP logic, and High-Volume Nodes (POC), this tool filters out retail noise and highlights where significant capital is entering and exiting the market.
1. The Whale Engine (Candle Coloring)
The core of this indicator uses a relative volume (RVOL) algorithm to color-code candles based on institutional participation.
Whale Accumulation (Purple): Indicates a massive volume spike associated with buying pressure. This often marks the start of a trend or a defense of a support level.
Whale Distribution (Yellow): Indicates a massive volume spike associated with selling pressure. Look for these at tops or breakdowns.
Noise Filter (Gray): Candles with low volume or "Doji" bodies (indecision) are turned Gray. Pro Tip: Ignore price action in gray zones; wait for the colors to return.
Standard Trend (Green/Red): When no anomalies are present, candles default to standard Bull/Bear colors based on the Delta Trend.
2. Whale Point of Control (POC)
The Blue Stepline tracks the single highest volume level over your lookback period (Default: 100 bars).
How to use it: This line acts as a "Magnet." If price moves too far away from the Whale POC, it often snaps back to re-test this level. It serves as major Support/Resistance.
3. Smart VWAP & Money Flow
This is not a standard VWAP. The line changes color based on Chaikin Money Flow (CMF).
Green Line: Money is flowing IN (Institutional Accumulation).
Red Line: Money is flowing OUT (Institutional Distribution).
Outer Bands: These represent "Institutional Deviation" (2.0 Standard Deviations). When price hits these bands, it is statistically overextended, and a reversion to the mean (the center line) is likely.
4. Liquidity & Fair Value Gaps (FVG)
The script automatically detects and highlights imbalances in price.
Teal Boxes: Bullish Gaps (Support).
Maroon Boxes: Bearish Gaps (Resistance).
How to Trade with Whale Flow
Strategy A: The Trend Continuation
Ensure the Smart VWAP is Green (Positive Flow).
Wait for a Purple (Whale Buy) candle to appear.
Entry: On the close of the Purple candle or a retest of its high.
Stop Loss: Below the low of the Purple candle.
Strategy B: The Mean Reversion
Wait for price to hit the Upper Institutional Band (Overbought).
Look for a Yellow (Whale Sell) candle.
Entry: Short targeting the central VWAP line.
Strategy C: The POC Bounce
Identify the Blue POC Line.
If price crashes down into the POC line and you see a Purple Candle or a Bullish FVG form, this confirms institutions are defending their entry level.
Data HUD (Dashboard)
A non-intrusive table provides real-time metrics:
Whale Vol: Shows the current volume multiplier (e.g., 3.0x average).
Money Flow: Inflow vs Outflow status.
Delta Trend: Who is winning the immediate battle (Buyers vs Sellers).
Deviation: Readout of Overbought/Oversold status relative to VWAP.
Dist to POC: Percentage distance to the biggest volume level.
Settings Configuration
Sensitivity: Increase Whale Size (default 2.8) to see fewer, but stronger signals.
Defense Lines: Projects short-term support/resistance lines from Whale Candles to help you place stops.
Visuals: You can toggle the display of specific icons or lines in the settings menu to keep your chart clean.
Disclaimer: This tool is for educational purposes and market analysis only. Volume analysis is subjective. Always manage risk.
MTC – Multi-Timeframe Trend Confirmator V2MTC – Multi-Timeframe Trend Confirmator V2
A comprehensive trend analysis indicator that systematically combines six technical indicators across three customizable timeframes, using a weighted scoring system to identify high-probability trend conditions.
ORIGINALITY AND CONCEPT
This indicator is original in its approach to multi-timeframe trend confirmation. Rather than relying on a single indicator or timeframe, it creates a composite score by evaluating six different technical conditions simultaneously across three timeframes. The scoring system weighs certain indicators more heavily based on their reliability in trend identification. The visual gauge provides an at-a-glance view of trend alignment across timeframes, making it easier to identify when multiple timeframes agree - a condition that typically produces stronger, more reliable trends.
HOW IT WORKS - DETAILED SCORING METHODOLOGY
The indicator evaluates six technical conditions on each timeframe. Each condition contributes to a composite score:
EMA 200 (Weight: 1 point)
Bullish: Price closes above EMA 200 (+1)
Bearish: Price closes below EMA 200 (-1)
Rationale: Long-term trend direction
SMA 50/200 Crossover (Weight: 1 point)
Bullish: SMA 50 above SMA 200 (+1)
Bearish: SMA 50 below SMA 200 (-1)
Rationale: Golden/Death cross confirmation
RSI 14 (Weight: 1 point)
Bullish: RSI above 55 (+1)
Bearish: RSI below 45 (-1)
Neutral: RSI between 45-55 (0)
Rationale: Momentum filter with buffer zone to avoid chop
MACD (12,26,9) (Weight: 1 point)
Bullish: MACD line above signal line (+1)
Bearish: MACD line below signal line (-1)
Rationale: Trend momentum confirmation
ADX 14 (Weight: 2 points - DOUBLE WEIGHTED)
Requires ADX above 25 to activate
Bullish: DI+ above DI- and ADX > 25 (+2)
Bearish: DI- above DI+ and ADX > 25 (-2)
Neutral: ADX below 25 (0)
Rationale: Trend strength filter - only counts when a strong trend exists. Double weighted because ADX is specifically designed to measure trend strength, making it more reliable than oscillators.
Supertrend (Factor: 3.0, ATR Period: 10) (Weight: 2 points - DOUBLE WEIGHTED)
Bullish: Direction indicator = -1 (+2)
Bearish: Direction indicator = +1 (-2)
Rationale: Dynamic support/resistance that adapts to volatility. Double weighted because Supertrend provides clear, objective trend signals with built-in stop-loss levels.
COMPOSITE SCORE CALCULATION:
Total possible score range: -10 to +10 points
Score interpretation:
Score > 2: UPTREND (majority of indicators bullish, especially weighted ones)
Score < -2: DOWNTREND (majority of indicators bearish, especially weighted ones)
Score between -2 and +2: NEUTRAL/RANGING (mixed signals or weak trend)
The threshold of +/- 2 was chosen because it requires more than just basic agreement - it typically means at least 3-4 indicators align, or that the heavily-weighted indicators (ADX, Supertrend) confirm the direction.
MULTI-TIMEFRAME LOGIC:
The indicator calculates the composite score independently for three timeframes:
Higher Timeframe (default: 4H) - Major trend direction
Mid Timeframe (default: 1H) - Intermediate trend
Lower Timeframe (default: 15min) - Entry timing
Main Trend Confirmation Rule:
The indicator only signals a confirmed trend when BOTH the higher timeframe AND mid timeframe scores agree (both > 2 for uptrend, or both < -2 for downtrend). This dual-timeframe confirmation significantly reduces false signals during choppy or ranging markets.
HOW TO USE IT
Setup:
Add indicator to chart
Customize timeframes based on your trading style:
Scalpers: 15min, 5min, 1min
Day traders: 4H, 1H, 15min (default)
Swing traders: Daily, 4H, 1H
Toggle individual indicators on/off based on your preference
Adjust Supertrend parameters if needed for your instrument's volatility
Reading the Gauge (Top Right Corner):
Each row shows one timeframe
Left column: Timeframe label
Middle column: Visual strength bars (10 bars = maximum score)
Green bars = Bullish score
Red bars = Bearish score
Yellow bars = Neutral/ranging
More filled bars = stronger trend
Right column: Numerical score
Trading Signals:
Entry Signals:
Long Entry: Wait for upward triangle arrow (appears when higher + mid TF both bullish)
Confirm gauge shows green bars on higher and mid timeframes
Lower timeframe should ideally turn green for entry timing
Chart background tints light green
Short Entry: Wait for downward triangle arrow (appears when higher + mid TF both bearish)
Confirm gauge shows red bars on higher and mid timeframes
Lower timeframe should ideally turn red for entry timing
Chart background tints light red
Position Management:
Stay in position while higher and mid timeframes remain aligned
Consider reducing position size when mid timeframe score weakens
Exit when higher timeframe trend reverses (daily label changes)
Avoiding False Signals:
Ignore signals when gauge shows mixed colors across timeframes
Avoid trading when scores are close to threshold (+/- 2 to +/- 4 range)
Best trades occur when all three timeframes align (all green or all red in gauge)
Use the numerical scores: higher absolute values (7-10) indicate stronger, more reliable trends
Practical Examples:
Example 1 - Strong Uptrend Entry:
Higher TF: +8 (strong green bars)
Mid TF: +6 (strong green bars)
Lower TF: +4 (moderate green bars)
Action: Look for long entries on lower timeframe pullbacks
Background is tinted green, upward arrow appears
Example 2 - Ranging Market (Avoid):
Higher TF: +3 (weak green)
Mid TF: -1 (weak red)
Lower TF: +2 (neutral yellow)
Action: Stay out, wait for alignment
Example 3 - Trend Reversal Warning:
Higher TF: +7 (still green)
Mid TF: -3 (turned red)
Lower TF: -5 (strong red)
Action: Consider exiting longs, prepare for potential higher TF reversal
Customization Options:
Timeframes: Adjust all three to match your trading horizon
Indicator Toggles: Disable indicators that don't suit your instrument:
Disable RSI for highly volatile crypto markets
Disable SMA crossover for range-bound instruments
Keep ADX and Supertrend enabled for trending markets
Visual Preferences:
Arrow size: 5 options from Tiny to Huge
Gauge size: Small/Medium/Large for different screen sizes
Toggle arrows on/off if you only want the gauge
Alert Setup:
Right-click chart, "Add Alert"
Condition: MTC v6 - UPTREND or DOWNTREND
Get notified when multi-timeframe confirmation occurs
Best Practices:
Use with Price Action: The indicator works best when combined with support/resistance levels, chart patterns, and volume analysis
Risk Management: Even with multi-timeframe confirmation, always use stop losses
Market Context: Works best in trending markets; less reliable in strong consolidation
Backtesting: Test the default settings on your specific instrument and timeframe before live trading
Patience: Wait for full multi-timeframe alignment rather than taking premature signals
Technical Notes:
All calculations use Pine Script's security function to fetch data from multiple timeframes
Prevents repainting by using confirmed bar data
Gauge updates in real-time on the last bar
Daily labels mark at the open of each new daily candle
Works on all instruments and timeframes
This indicator is ideal for traders who want objective, systematic trend identification without the complexity of analyzing multiple indicators manually across different timeframes.
-NATANTIA
Market Cycle Master The Market Cycle Master (MCM) by © DarkPoolCrypto is a sophisticated trading system designed to bridge the gap between standard retail trend indicators and institutional-grade risk management. Unlike traditional indicators that simply provide entry signals based on a single timeframe, this system employs a "Confluence Engine" that requires multi-timeframe (MTF) alignment before generating a signal.
Crucially, this script integrates a live Risk Management Calculator directly into the chart overlay. This feature allows traders to stop guessing position sizes and instead execute trades based on a fixed percentage of account equity at risk, calculating the exact lot size relative to the dynamic stop-loss level.
Core Concept and Logic
This system operates on three distinct layers of logic to filter out noise and identifying high-probability trend continuations:
1. The Trend Architecture (Layer 1) At its core, the script utilizes an adaptive ATR-based SuperTrend calculation. This allows the system to adjust to market volatility dynamically. When volatility expands, the trend bands widen to prevent premature stop-outs. When volatility contracts, the bands tighten to capture early reversals.
2. Institutional Context / Multi-Timeframe Filter (Layer 2) This is the primary filter of the Pro system. The script monitors a higher timeframe (default: 4-Hour) in the background.
Bullish Context: If the Higher Timeframe (HTF) is in an uptrend, the script will only permit LONG signals on your current chart.
Bearish Context: If the HTF is in a downtrend, the script will only permit SHORT signals.
Grayscale Filters: If the current chart's trend opposes the Higher Timeframe trend (e.g., a 5-minute uptrend during a 4-hour downtrend), the candles will be painted GRAY. This indicates a low-probability "Counter-Trend" environment, and no signals will be generated.
3. Money Flow Filtering (Layer 3) To prevent buying tops or selling bottoms, the system utilizes the Money Flow Index (MFI). Long signals are filtered if volume-weighted momentum is already overbought, and Short signals are filtered if oversold.
The Risk Management HUD
The Heads-Up Display (HUD) is the distinguishing feature of this tool. It transforms the indicator from a visual aid into a trading terminal.
Trend Direction: Displays the current verified trend.
MTF Status: Shows the state of the Higher Timeframe trend.
Volatility: Displays the current ATR value.
Stop Loss: Displays the exact price level of the trend line.
Risk Calculator:
Risk ($): Shows the total dollar amount you will lose if the stop loss is hit (based on your settings).
Units: Calculates exactly how much Crypto, Stock, or FX lots to purchase to match your risk parameters.
Guide: How to Use
Configuration
Trend Architecture: Adjust the "Volatility Factor" (Default: 3.0). Higher values reduce noise but delay entries. Lower values are faster but riskier.
Institutional Context: Select the "Higher Timeframe."
If trading 1m to 15m charts: Set HTF to 4 Hours (240).
If trading 1H to 4H charts: Set HTF to Daily (1D).
Risk Calculator:
Account Size: Enter your total trading capital.
Risk Per Trade: Enter the percentage of your account you are willing to lose on a single trade (e.g., 1.0%).
Trading Strategy
The Signal: Wait for a "Sniper Long" or "Sniper Short" label. This appears only when price action, volatility, and the higher timeframe consensus all align.
The Execution: Look at the HUD under "Units." Open a position for that specific amount.
The Stop Loss: Place your hard Stop Loss at the price shown in the HUD ("Stop Loss" row). This corresponds to the trend line.
The Exit: Close the position if the candle color turns Gray (loss of momentum/consensus) or if an opposing signal appears.
Disclaimer
This script and the information provided herein are for educational and entertainment purposes only. They do not constitute financial advice, investment advice, trading advice, or any other advice. Trading in financial markets involves a high degree of risk and may result in the loss of your entire capital.
The "Risk Calculator" included in this script provides theoretical values based on mathematical formulas relative to the price data provided by TradingView. It does not account for slippage, spread, exchange fees, or liquidity gaps. Always verify calculations manually before executing live trades. Past performance of any trading system is not indicative of future results. The author assumes no responsibility for any losses incurred while using this script.






















