Supertrend BUY Only - Optimized for Gold M15 TimeframeOverview
The Supertrend BUY Only - Production Optimized is a high-performance trend-following indicator specifically tuned for XAUUSD (Gold) on the 15-minute timeframe. Unlike standard Supertrend scripts, this version focuses exclusively on bullish cycles to align with long-term upward bias and uses parameters discovered through deep data analysis of over 20,000 bars of historical market data.
Key Features
Data-Optimized Parameters: Defaults are set to ATR Period 7 and Multiplier 2.1, which backtesting has shown to provide a superior balance between sensitivity and noise reduction for Gold.
Production-Ready Alerts: Includes built-in alertcondition triggers for both BUY (Trend Flip) and STOP BUY (Trend Exit), complete with dynamic messages that include price and interval.
Trailing Support Band: Uses a trailing logic that locks in support levels during upward moves, preventing the band from dropping until the trend officially reverses.
Clean Visuals: Focuses on chart clarity by only plotting the support line during active uptrends and utilizing clean shape labels for entries and exits.
How to Use
Entry (BUY): When the Supertrend line flips from Red to Green and a "BUY" label appears. This indicates bullish momentum has overcome recent volatility.
Exit (STOP BUY): When the price closes below the Green support line. The indicator will plot a red "X" and clear the green background.
Setting Alerts: * Click the Alerts icon in TradingView.
Select this indicator under "Condition."
Choose "BUY Signal" for entries and "STOP BUY / EXIT" for managing your trade or taking profit.
Technical Details
The script allows users to toggle between the TradingView (RMA) ATR calculation and the Standard (SMA) method. For production and live trading, the RMA method is recommended as it provides a smoother response to volatility spikes common in the Gold market.
Volatilitas
ORB W/ Custom time FramesRelease Notes: Simplified ORB (Opening Range Breakout)
This indicator is a streamlined, high-performance tool designed to identify the Opening Range—one of the most widely used concepts by professional floor traders and institutional scalpers. It marks the high, low, and midpoint of the initial balance of the market, providing you with a "map" for the rest of the trading session.
Key Features
Customizable Timeframes: Define your opening range window (e.g., the first 5, 15, or 30 minutes) regardless of what timeframe you are currently viewing.
Custom Session Support: Choose between standard market hours (09:30–16:00) or define your own custom window (e.g., the London Open or the first hour of "Power Hour").
Real-Time Midpoint Calculation: Automatically plots the 50% Equilibrium level between the high and low, serving as a pivot point for intraday bias.
Dynamic Updating: During the ORB window, the lines adjust in real-time as new highs or lows are set. Once the window expires, the levels lock in place to act as support and resistance.
Clean Visuals: Utilizes a lightweight line drawing system that is easy on your GPU and keeps the chart clutter-free.
Why This is Essential for Scalping
Scalpers rely on volatility and clear "lines in the sand." The Opening Range Breakout (ORB) provides exactly that:
The "Opening Drive": If price breaks the ORB High with high volume, scalpers look for quick "long" momentum plays. Conversely, a break below the ORB Low signals a bearish trend.
The Midpoint Pivot: The 50% level (Mid) is often treated as the "Fair Value" of the morning. If price is above the mid, the bias is bullish; if below, the bias is bearish.
Stop Loss / Take Profit Anchor: The ORB High and Low act as natural areas for placing stops or targets. A failed breakout that returns inside the range often targets the opposite side of the box.
BullSideBottomSignal(BSBS) - kylekkkkBSBS is a bottom-oriented downside-pressure indicator derived from the Ulcer Index, which measures downside volatility using drawdowns from recent price peaks.
This script does not attempt to predict exact bottoms.
Instead, it focuses on identifying elevated downside-pressure regimes and the transition back toward normalization.
🔧 Core logic
The Ulcer Index (UI) is calculated over a rolling lookback window.
A fixed threshold is applied to the UI value.
When UI is below the threshold, the output remains 0 (quiet regime).
When UI is above the threshold, the output becomes UI − threshold (pressure regime).
The plotted line is clamped to a zero baseline:
This design intentionally filters noise and keeps the chart clean:
no signal = 0, signal appears only when downside pressure is elevated.
📈 How to interpret the signal (heuristics)
When the line is greater than zero, the market is in an elevated downside-pressure regime.
Within that regime:
Early stabilization (light bull)
The line forms a local low and starts to turn upward, indicating that downside pressure is no longer accelerating in the same way.
Pressure easing (medium bull)
The line starts decreasing, suggesting downside pressure is cooling.
Normalization (strong bull)
The line returns to 0, meaning Ulcer Index has fallen back below the threshold.
These stages describe risk-pressure behavior, not guaranteed price outcomes.
⚠️ Notes & limitations
In strong downtrends, downside-pressure regimes can persist and “bottom-like” structures may fail.
This is an indicator, not a trading strategy, and not financial advice.
Always combine with your own analysis, risk management, and multi-timeframe confirmation if desired.
Volatility Regimes | GainzAlgo📊 OVERVIEW:
=========
This is a comprehensive ATR-based trading system designed for professional
traders who need advanced volatility analysis, precise trade management, and
intelligent market regime detection. The indicator combines multiple proven
volatility concepts into one powerful, customizable tool.
⭐ WHY THIS SYSTEM IS UNIQUE AND WORTHY OF PUBLICATION:
====================================================
This is not simply a collection of ATR-based indicators placed together.
It represents a unified volatility analysis framework where each component
is specifically designed to work in concert with the others, creating a
complete trading workflow that cannot be replicated by using multiple
separate indicators.
🔗 SYNERGISTIC INTEGRATION - How Components Work Together:
🧠 1. CONTEXT-AWARE ANALYSIS
The Volatility Regime Detection acts as the "brain" of the system,
classifying market conditions into 4 distinct phases. Every other
component then adapts its behavior based on this regime classification:
- ATR Bands expand/contract with regime changes
- Stop Loss distances automatically adjust (tighter in compression,
wider in high volatility)
- Take Profit targets scale proportionally to current regime
- Signal sensitivity filters itself based on market phase
📐 2. UNIFIED VOLATILITY FOUNDATION
All calculations share a single ATR baseline calculation, ensuring
internal consistency across the entire system. When ATR changes, every
element updates in perfect synchronization:
- Bands recalculate from the same ATR value
- Risk management levels use the same volatility measurement
- Regime classification and signals reference identical data
🛡️ 3. INTEGRATED RISK MANAGEMENT
The system doesn't just show WHERE to enter - it calculates HOW MUCH
to risk:
- Dynamic Stop Loss adapts to current ATR automatically
- Position Size Calculator uses the dynamic stop to compute exact quantities
- Take Profit levels scale proportionally, maintaining optimal risk:reward
✅ 4. TWO-STAGE SIGNAL CONFIRMATION
The alert system creates a logical progression:
Step 1: Volatility Breakout → Market energy is building
Step 2: Trend Confirmation → Direction confirmed with volatility support
This prevents false breakouts by requiring both volatility AND direction.
🏦 5. PROFESSIONAL WORKFLOW INTEGRATION
The system mirrors how institutional traders analyze markets:
Phase 1: Assess regime → What's the market doing?
Phase 2: Identify setup → Where's the opportunity?
Phase 3: Calculate risk → What's my exposure?
Phase 4: Set targets → Where do I take profit?
Phase 5: Monitor regime → When do conditions change?
❌ WHY NOT USE SEPARATE INDICATORS?
- Separate ATR Bands: Don't know about regime changes, remain static
- Separate Regime Indicator: Doesn't automatically adjust stop/targets
- Separate Position Calculator: Doesn't know your actual ATR-based stop
- Manual Integration: Requires constant mental calculation and cross-referencing
🧮 DETAILED CALCULATION METHODOLOGY:
=================================
📏 ATR (AVERAGE TRUE RANGE) CALCULATION:
- True Range = Maximum of:
1. Current High - Current Low
2. Absolute value of (Current High - Previous Close)
3. Absolute value of (Current Low - Previous Close)
- ATR = Simple Moving Average of True Range over specified period (default: 14)
📊 DYNAMIC ATR BANDS:
- Upper Band = Current Close + (ATR × Band Multiplier)
- Lower Band = Current Close - (ATR × Band Multiplier)
- Band 1: 1.0× ATR (closest support/resistance)
- Band 2: 2.0× ATR (intermediate zone)
- Band 3: 3.0× ATR (extended zone)
🌡️ VOLATILITY REGIME CLASSIFICATION:
Step 1: Calculate ATR Baseline
- Baseline ATR = SMA or EMA of ATR over long period (default: 50 bars)
- This represents "normal" volatility for the instrument
Step 2: Calculate ATR Ratio
- ATR Ratio = Current ATR ÷ Baseline ATR
- Example: If current ATR = 70 and baseline = 50, ratio = 1.40
Step 3: Classify Regime Based on Ratio
- COMPRESSION: Ratio < 0.70 (ATR is 30% below normal)
Market consolidating, volatility contracting, energy building
- EXPANSION: Ratio between 1.15 and 1.40 (ATR is 15-40% above normal)
Volatility breaking out, early phase of directional movement
- HIGH VOLATILITY: Ratio > 1.40 (ATR is 40%+ above normal)
Strong sustained trend with high participation
- EXHAUSTION: ATR declining after high volatility period
Requires: Previous high ratio + declining ATR over X bars (default: 5)
Trend maturity, potential reversal or consolidation approaching
🛑 DYNAMIC STOP LOSS CALCULATION:
- For Long Positions: Stop Loss = Entry Price - (ATR × SL Multiplier)
- For Short Positions: Stop Loss = Entry Price + (ATR × SL Multiplier)
- Default Multiplier: 2.0× ATR
- Adjusts automatically: Wider in high volatility, tighter in compression
🎯 TAKE PROFIT LEVELS:
- TP1 = Entry Price ± (ATR × TP1 Multiplier)
- TP2 = Entry Price ± (ATR × TP2 Multiplier)
- TP3 = Entry Price ± (ATR × TP3 Multiplier)
- Direction (+ or -) depends on trade direction
📦 POSITION SIZE CALCULATION:
Formula: Position Size = Account Risk Amount ÷ Stop Loss Distance
Step-by-step:
1. Risk Amount = Account Size × (Risk Percentage ÷ 100)
2. Stop Distance = |Entry Price - Stop Loss Price|
3. Position Size = Risk Amount ÷ Stop Distance
📈 ATR PERCENTILE RANKING:
- >80% = Extremely high volatility
- 20-80% = Normal volatility range
- <20% = Extremely low volatility
🌀 VOLATILITY CONTRACTION PATTERN:
Detects extended low-volatility periods indicating imminent breakout.
🧭 TREND DETECTION SIGNALS:
Bullish: Price > MA AND Current ATR > ATR MA
Bearish: Price < MA AND Current ATR > ATR MA
⚡ VOLATILITY BREAKOUT SIGNALS:
Triggered when ATR exceeds its moving average by a defined threshold.
🧩 CORE FEATURES:
==============
1. ATR BANDS (Dynamic Support/Resistance)
2. VOLATILITY REGIME DETECTION
3. DYNAMIC STOP LOSS SYSTEM
4. MULTIPLE TAKE PROFIT LEVELS
5. SUPPORT & RESISTANCE LEVELS
6. RISK MANAGEMENT CALCULATOR
7. ATR PERCENTILE RANKING
8. VOLATILITY CONTRACTION PATTERN
9. TREND DETECTION SIGNALS
10. VOLATILITY BREAKOUT SIGNALS
⚙️ RECOMMENDED SETTINGS BY TRADING STYLE:
======================================
DAY TRADING • SWING TRADING • POSITION TRADING • SCALPING
📘 HOW TO USE THIS INDICATOR:
==========================
STEP 1: Identify Market Regime
STEP 2: Wait for Entry Signal
STEP 3: Set Stop Loss
STEP 4: Set Take Profits
STEP 5: Position Sizing
STEP 6: Monitor & Manage
🔔 ALERT SYSTEM:
=============
Alerts for volatility breakouts, trend changes, regime transitions,
ATR band crossings, contraction completion, and percentile extremes.
🎨 CUSTOMIZATION:
==============
All visuals, thresholds, multipliers, colors, alerts, and risk parameters
can be fully customized.
⚠️ IMPORTANT DISCLAIMER:
=====================
This indicator is a volatility analysis tool and does NOT provide financial advice.
Past performance does not guarantee future results.
All trading involves substantial risk.
All trading decisions are the sole responsibility of the user.
Institutional Flow X-Ray [Blk0ut]Introduction
In the world of quantitative trading, volume is often described as the "fuel" of the market. However, standard volume bars have a major flaw: they show you how much changed hands, but they don't tell you who was in control.
The Institutional Flow X-Ray is designed to solve this opacity problem. It looks "under the hood" of every candle to visualize the intent of the Smart Money participants. By combining Volume Price Analysis (VPA), Wyckoff Logic, and Volatility Compression into a single interface, this tool helps traders identify when institutions are quietly accumulating positions (Absorption) before a major expansion occurs.
How It Works: The Logic
This indicator is not a simple moving average crossover. It aggregates four distinct quantitative models into one composite view:
1. Institutional Flow (The Histogram) Instead of just looking at whether price closed up or down, we calculate the "Intra-Bar Delta." We measure where the price closed relative to the high-low range of that specific candle, weighted by the volume.
• The Result: A smoothed momentum oscillator that reveals the internal strength of the trend.
• Gradient Coloring: The bars use a 4-color gradient system. Bright Green/Red indicates accelerating momentum, while Darker Green/Red indicates exhaustion or a pullback is likely.
2. Stealth Absorption (The "Gold" Signal) This is based on Wyckoff’s Law of Effort vs. Result. The script scans for a specific anomaly: Volume is significantly higher than average (>2.0x), but Price Range is significantly lower than average.
• Why this matters: When you see high volume but no price movement, it often means a large entity is absorbing all available liquidity (Iceberg Orders). These bars are painted GOLD.
3. Volatility Compression (The "Squeeze" Dots) Markets move in cycles of Expansion and Compression. This module compares the width of Bollinger Bands against Keltner Channels.
• The Logic: When the Bollinger Bands contract inside the Keltner Channels, the market is like a coiled spring. This measures potential energy.
4. Relative Strength (The Alpha Line) Institutional capital rarely flows into underperforming assets. The script automatically compares your current ticker against a benchmark (SPY for Stocks, BTC for Crypto, DXY for Forex).
• The Logic: If the benchmark is dropping, but your ticker is holding steady (Rising Blue Line), it shows Relative Strength, a key footprint of institutional support.
________________________________________
Visual Guide & Usage
The Histogram (Flow & Signals)
• Green Gradients: Buyers are in control.
• Red Gradients: Sellers are in control.
• GOLD Bars (Absorption): Be alert. A major player is active. If this happens at Support, it is a high-probability Accumulation setup.
• WHITE Bars (Alpha Signal): The "Triple Confluence." This occurs when we have (1) Absorption + (2) Bullish Flow + (3) Relative Strength all activating at once. This is the strongest signal in the system.
The Volatility Map (Center Dots) The dots running along the zero line tell you the state of market energy:
• 🔴 Red (Extreme Squeeze): Ratio < 0.7. Massive energy build-up. Expect an explosive move soon.
• 🟠 Orange (Squeeze): Ratio < 1.0. Standard pre-breakout compression.
• ⚪ Gray (Normal): Standard volatility.
• 🔵 Blue (Expansion): The move is underway. Volatility is expanding.
The Heads-Up Dashboard A professional table in the corner provides real-time quantitative data so you don't have to guess:
• Inst. Flow: The raw score (0-100).
• Volatility: Tells you exactly which phase the market is in (Squeeze vs. Expansion).
• Rel. Strength: Tells you if you are "Outperforming" or "Lagging" the benchmark.
________________________________________
[Gio Screener] Bias + Inflect (v2)In crypto BTC is king: when it moves, the market moves (most of the time).
In this screener, correlation and volatility are used as an advantage — at least we try.
This script is a benchmark-relative screener designed to quickly identify which assets are most interesting to trade when the market is moving, especially during high-volatility sessions.
The core idea is simple:
most assets behave like a beta of a benchmark (usually BTC). When the benchmark accelerates, correlated assets tend to follow — but with different strength, timing, and structure. This screener helps you exploit those differences.
What this screener does
For each symbol in the list, the script compares its behavior to a benchmark across two evaluation windows (LTF and HTF) and displays the results in a sortable table. It focuses on three main aspects:
- relative strength vs the benchmark
- correlation quality
- timing / inflection readiness
The goal is to quickly answer:
Which assets should I long or short when the benchmark dips or tops?
Main columns
Bias
Bias measures directional edge relative to the benchmark.
It combines:
- relative performance vs benchmark (HTF and LTF)
- higher-timeframe price change (structural trend)
Interpretation
- Positive Bias → better long candidates
-Negative Bias → better short candidates
Bias answers “what side should I prefer?”
Inflect (Inflection index)
Inflect measures how ready an asset is for a reversal or mean-reversion entry in the direction suggested by Bias.
It combines:
- oscillator stretch (overbought / oversold)
- oscillator turning (delta sign-hold)
- short-term pullback (anti-chase logic)
- volatility amplification (reward movers)
- correlation quality (prefer benchmark-aligned assets)
Inflect is a single numeric score, used both for:
- table reading and sorting
- actionable alerts
Interpretation:
- High positive Inflect → long-side inflection candidates
- High negative Inflect → short-side inflection candidates
Inflect answers “is this a good moment?”
Actionable logic (alerts-grade)
A symbol becomes actionable only when all of the following conditions are met:
- correlation with the benchmark is strong enough
- benchmark itself confirms the same direction (turning)
- Bias magnitude is large enough
- Inflect magnitude is large enough
- oscillator reached an extreme
- oscillator delta confirms the turn
When this happens, the Inflect cell is highlighted for a few bars so recent signals remain visible even after sorting.
How to use
Typical workflow:
- choose a benchmark (BTC, TOTAL, TOTAL3, etc.)
- set LTF / HTF evaluation windows
- sort by Bias to rank strong vs weak assets
- sort by Inflect to rank best timing opportunities
- focus on correlated, volatile assets during market moves
This screener is especially useful in high-volatility environments, when reversals and pullbacks offer better risk/reward.
Implementation notes
- Uses one request per symbol (efficient and stable)
- Calculations are independent from the chart symbol
- Rolling-window logic in chart bars (good trade-off between precision and performance)
Final note
This is not a signal generator by itself.
It is a decision-compression tool: it reduces a large universe into a short list of where and when to focus your attention.
Chaikin Money Flow & Volatility Duo +Discover the Ultimate Edge in Trading: Chaikin Money Flow & Volatility Duo + (CMV_Duo +)
Tired of indicators that lag behind the action or give you vague, conflicting signals? Say hello to Chaikin Money Flow & Volatility Duo + – the powerful, all-in-one oscillator that combines the legendary insights of Marc Chaikin with smart, high-conviction filtering to pinpoint where the real money is flowing.
This isn't just another CMF script. This is the enhanced, next-level version designed for traders who demand precision and clarity.
Why CMV_Duo + Will Become Your Go-To Indicator
Crystal-Clear Money Flow Insight
Tracks Chaikin Money Flow (CMF) with a customizable period (default 21) and adds a smooth EMA signal line (default 9) for cleaner trend confirmation.
Beautiful momentum-colored histogram:
Bright green when accumulation is accelerating
Bright red when distribution is intensifying
Softer shades when momentum is fading – you’ll spot weakening trends instantly.
Volatility That Actually Matters
Built-in Chaikin Volatility measures the rate of change in price range expansion.
Rising volatility (CV > 0) tells you the move has legs – no more getting faked out by quiet, low-conviction grinding.
"Smart Money" Conviction Signals – The Real Game-Changer
Exclusive background highlighting and entry markers that only fire when three powerful forces align:
Strong positive/negative CMF
CMF decisively above/below its signal line
Rising volatility confirming real momentum
These rare, high-probability zones light up your chart with subtle green/red backgrounds and precise triangle markers – showing you exactly where institutional "smart money" is likely stepping in with conviction.
Multiple Ways to Trade It
Classic CMF/signal line crossovers (optional circles)
Smart Money conviction entries (the ones serious traders live by)
Visual reference levels at ±0.2 for strong accumulation/distribution zones
Fully Loaded Alerts
Instant notifications for Bullish/Bearish Smart Money phases
CMF bullish/bearish crossovers
Never miss the moments that move markets.
Perfect For:
Swing traders hunting high-probability reversals
Day traders filtering noise for stronger entries
Anyone who wants to see institutional accumulation/distribution in real time
Clean, non-repainting, lightweight, and overlay-free – it sits beautifully in a separate pane and plays nicely with your existing setup.
Stop guessing where the big money is going. Let Chaikin Money Flow & Volatility Duo + show you – clearly, confidently, and with conviction.
Add it to your chart today and start trading like the smart money does. You’ll wonder how you ever traded without it.
🔶 RISK DISCLAIMER
Trading is risky & most day traders lose money. All content, tools, scripts, articles, & education provided by TheAmericanBastard are purely for informational & educational purposes only. Past performance does not guarantee future results.
Overview of Chaikin Money Flow & Volatility Duo + (CMV_Duo +)
The Chaikin Money Flow & Volatility Duo + is a custom technical indicator built in Pine Script® version 6 for TradingView. It combines two classic metrics from Marc Chaikin—Chaikin Money Flow (CMF) and Chaikin Volatility (CV)—into a single, non-overlay oscillator panel. The goal is to provide insights into accumulation/distribution (via CMF) while filtering for high-conviction moves using volatility (CV). It enhances standard CMF with a signal line, momentum-based coloring, and "Smart Money" signals that highlight potential institutional entry points during rising volatility.
The indicator operates on historical price and volume data from the chart's symbol. It doesn't overlay on the price chart but appears in a separate pane below it. Key features include customizable periods, visual cues like colored histograms and backgrounds, entry signals, and alerts. Below, I'll break it down step by step, referencing the code's logic and calculations.
1. User Inputs and Configuration
The indicator starts with customizable inputs grouped for ease of use in TradingView's settings panel:
Chaikin Money Flow Group:
cmfLen: Integer input for the CMF lookback period (default: 21). This determines how many bars are used to average the money flow.
sigLen: Integer input for the CMF signal line length (default: 9). This smooths the CMF for trend confirmation.
Chaikin Volatility Group:
cvLen: Integer input for smoothing the high-low range (default: 10). Uses an EMA on (high - low).
cvRocLen: Integer input for the Rate of Change (ROC) period on the smoothed range (default: 10).
Visuals Group:
showSmart: Boolean to toggle "Smart Money" entry shapes (default: true).
showCross: Boolean to toggle CMF crossover shapes (default: false).
These inputs allow users to adapt the indicator to different timeframes or assets (e.g., shorter periods for intraday trading).
2. Chaikin Money Flow (CMF) Calculation
CMF measures buying/selling pressure by weighting volume based on where the price closes within the bar's range. It's an oscillator ranging roughly from -1 to +1, where positive values indicate accumulation (buying) and negative values indicate distribution (selling).
The code computes it as follows:
Money Flow Multiplier (MFM):$ NYSE:MFM = \frac{(Close - Low) - (High - Close)}{High - Low}$$
This simplifies to $\frac{2 \cdot Close - High - Low}{High - Low}$, but the code uses the expanded form: (close - low - (high - close)) / (high - low).
MFM is +1 if close is at the high (strong buying), -1 if at the low (strong selling), and 0 if in the middle.
Money Flow Volume (MFV):$ SEED_ALEXDRAYM_SHORTINTEREST2:MFV = MFM \times Volume$$
Scales the multiplier by the bar's volume to emphasize high-volume moves.
CMF:$ AMEX:CMF = \frac{\sum_{i=1}^{cmfLen} MFV_i}{\sum_{i=1}^{cmfLen} Volume_i}$$
Uses ta.sma(mfv, cmfLen) for the numerator (simple moving average of MFV) and ta.sma(volume, cmfLen) for the denominator.
Result: A smoothed ratio showing net money flow over the period.
CMF Signal Line:$$CMF_{Sig} = EMA(CMF, sigLen)$$
An exponential moving average (EMA) of the CMF for a smoother "signal" line, similar to MACD's signal. This helps identify crossovers and trends.
CMF above 0 suggests net buying pressure; below 0 suggests selling. Levels like +0.2/-0.2 (plotted as dashed lines) indicate "strong" accumulation/distribution.
3. Chaikin Volatility (CV) Calculation
CV quantifies volatility by measuring the rate of change in the price range (high - low), smoothed to reduce noise. It's useful for confirming if a move has momentum—rising volatility often accompanies trend starts or breakdowns.
Smoothed High-Low Range:$$HL_{EMA} = EMA(High - Low, cvLen)$$
Applies an EMA to the bar's range for a stable baseline.
Chaikin Volatility (CV):$ NASDAQ:CV = ROC(HL_{EMA}, cvRocLen) = \frac{HL_{EMA} - HL_{EMA} }{HL_{EMA} } \times 100$$
Uses ta.roc(hl_ema, cvRocLen), which computes the percentage change over the period.
Positive CV means expanding ranges (increasing volatility, potential trend acceleration); negative means contracting ranges (decreasing volatility, potential consolidation).
For visualization, CV is scaled by dividing by 200 (cv_scaled = cv / 200) to fit neatly alongside CMF on the same scale, though they have different units. It's plotted as a line: red for positive (rising volatility), blue for negative.
4. Visual Elements
The indicator emphasizes intuitive visuals to make interpretation quick:
CMF Histogram:
Plotted as columns (plot.style_columns).
Color Logic (momentum-based):
If CMF ≥ 0 (accumulation):
Bright green (#26A69A) if rising (cmf > cmf ).
Pale green (#B2DFDB) if falling.
If CMF < 0 (distribution):
Bright red (#EF5350) if falling (cmf < cmf ).
Pale red (#FFCDD2) if rising.
This coloring highlights accelerating vs. decelerating trends.
CMF Signal Line:
Thin orange line (color.orange, linewidth 1) for easy comparison with the histogram.
CV Line:
Thicker line (linewidth 2), red for CV > 0 (expanding volatility), blue for CV < 0.
Reference Lines:
Dotted gray zero line (hline(0)).
Dashed green +0.2 for strong accumulation.
Dashed red -0.2 for strong distribution.
These elements create a clean, glanceable pane where CMF's direction and strength are obvious, augmented by CV's volatility context.
5. "Smart Money" Conviction Signals
This is the indicator's unique enhancement: It filters CMF signals with CV to identify "high-conviction" zones where smart money (e.g., institutions) might be entering.
Bullish Conviction Condition:$$bull_conviction = (CMF > 0) \land (CMF > CMF_{Sig}) \land (CV > 0)$$
CMF positive and above signal (strong buying), plus rising volatility (move has energy).
Bearish Conviction Condition:$$bear_conviction = (CMF < 0) \land (CMF < CMF_{Sig}) \land (CV > 0)$$
CMF negative and below signal (strong selling), plus rising volatility.
Background Highlighting:
Light green background (color.new(color.green, 90)) for bullish conviction.
Light red background for bearish.
Only appears when conditions are true, highlighting sustained phases.
Entry Shapes (if showSmart is true):
Triggers only on the first bar the condition becomes true (bull_entry = bull_conviction and not bull_conviction ).
Green upward triangle at bottom for bullish entry.
Red downward triangle at top for bearish entry.
Small size, no offset, for precise marking.
These signals aim to catch the start of high-probability moves, reducing false positives from low-volatility chop.
6. CMF Crossover Signals
Optional classic signals based on CMF crossing its signal line (if showCross is true):
Bullish Crossover: cross_bull = ta.crossover(cmf, cmfSig) (CMF crosses above signal).
Lime circle at bottom.
Bearish Crossunder: cross_bear = ta.crossunder(cmf, cmfSig) (CMF crosses below signal).
Maroon circle at top.
These are simpler momentum signals, without the volatility filter.
7. Alerts
The indicator includes four alert conditions for TradingView notifications:
Bullish Smart Money: Triggers on bull_conviction (message: "CMF Positive + Rising Volatility").
Bearish Smart Money: Triggers on bear_conviction (message: "CMF Negative + Rising Volatility").
CMF Bullish Crossover: Triggers on CMF > signal (message: "CMF Crossed above Signal").
CMF Bearish Crossunder: Triggers on CMF < signal (message: "CMF Crossed below Signal").
Users can set these up in TradingView to get real-time alerts via email, SMS, etc.
Practical Usage and Interpretation
Timeframe Agnostic: Works on any chart timeframe, but tune periods (e.g., shorter for crypto volatility).
Strengths: Combines flow with volatility to filter noise; Smart Money signals are rare but high-quality.
Limitations: Like all oscillators, it can lag in strong trends or whipsaw in ranges. Always use with price action or other confirmations.
Non-Repainting: All calculations use historical data only—no forward-looking elements.
This indicator empowers traders to spot where volume-weighted pressure aligns with expanding volatility, potentially signaling smart money involvement. If you're implementing it, copy the code into TradingView's Pine Editor and apply it to a chart for hands-on testing!
Advanced Market Flow IndicatorAdvanced Market Flow Indicator - Complete Trading Guide
What This Indicator Does
The Advanced Market Flow (AMF) Indicator helps you identify whether the market is in a buying condition, selling condition, or if you should wait. It combines multiple analysis methods to give you clear signals on when to enter and exit trades.
Getting Started: Choose Your Trading Mode
Before using the indicator, select your preferred Trading Mode in the input settings:
Aggressive Mode ⚡
Best for: Day traders, scalpers, short-term traders
Shows: Volatility Band 1 (Green/Red line only)
Characteristics: Fast signals, more trade opportunities, quicker reactions
Risk Level: Higher (more false signals possible)
Timeframes: 1M, 5M, 15M, 1H
Balanced Mode 🎯
Best for: Swing traders, position traders, beginners
Shows: Volatility Band 2 (Blue/Orange line only)
Characteristics: Stable signals, fewer but quality trades, smoother trends
Risk Level: Lower (more reliable signals)
Timeframes: 1H, 4H, 1D, 1W
Both Mode 📊
Best for: Experienced traders, full market analysis
Shows: Both Volatility Bands (all lines visible)
Characteristics: Complete picture, can compare fast vs slow signals
Risk Level: Medium (requires understanding of both bands)
Timeframes: All timeframes
Understanding the Visual Elements
1. Volatility Bands
Band 1 - Aggressive (Green/Red Line)
More sensitive, reacts faster to price changes
Green = Price in uptrend (bullish)
Red = Price in downtrend (bearish)
Acts as dynamic support/resistance for quick trades
Band 2 - Balanced (Blue/Orange Line)
Less sensitive, shows stronger, confirmed trends
Blue = Price in confirmed uptrend (bullish)
Orange = Price in confirmed downtrend (bearish)
Acts as major support/resistance for swing trades
Key Concept:
When price is above the band = bullish territory
When price is below the band = bearish territory
Price touching the band = potential entry point
2. Green Zone (Bullish Zone)
Appears when conditions favor buying
Shows the support flow area where price may bounce up
The larger the green zone, the stronger the bullish signal
Only appears during BUY signals
3. Red Zone (Bearish Zone)
Appears when conditions favor selling
Shows the resistance flow area where price may reverse down
The larger the red zone, the stronger the bearish signal
Only appears during SELL signals
4. Status Box (Top Right)
BUY (Green Background) = Long position conditions
SELL (Red Background) = Short position conditions
WAIT (Gray Background) = No clear direction, stay out
P&L Row: Shows profit/loss from current signal entry point
5. Multi-Timeframe Table (Bottom Right)
Displays signals across 7 timeframes (1M, 5M, 15M, 1H, 4H, 1D, 1W)
Each row shows: Period | Status | P&L
Helps confirm if multiple timeframes align
Green = BUY, Red = SELL, Gray = WAIT
How to Take Trades by Mode
🔴 AGGRESSIVE MODE TRADING
BUY Signal (Long Entry)
Set indicator to "Aggressive" mode
Wait for Status Box to show "BUY" in green
Confirm green zone appears on chart
Watch for price to touch the Green/Red Band (when it's green)
Enter: When price bounces off the green band or breaks above it
Stop Loss: 10-20 points below the green zone bottom
Take Profit:
Quick scalp: 1:1 or 1:2 risk-reward
Or exit when band turns red
Or exit when Status changes to "WAIT"
SELL Signal (Short Entry)
Wait for Status Box to show "SELL" in red
Confirm red zone appears on chart
Watch for price to touch the Green/Red Band (when it's red)
Enter: When price rejects from the red band or breaks below it
Stop Loss: 10-20 points above the red zone top
Take Profit:
Quick scalp: 1:1 or 1:2 risk-reward
Or exit when band turns green
Or exit when Status changes to "WAIT"
Aggressive Mode Tips
Take profits quickly (signals change fast)
Use tight stop losses
Best during high volatility periods
Check 1M, 5M, 15M timeframes in the table
Don't hold positions overnight
🔵 BALANCED MODE TRADING
BUY Signal (Long Entry)
Set indicator to "Balanced" mode
Wait for Status Box to show "BUY" in green
Confirm green zone appears on chart
Watch for price to touch the Blue/Orange Band (when it's blue)
Enter: When price bounces off the blue band or confirms above it
Stop Loss: 30-50 points below the green zone bottom
Take Profit:
Target previous swing high
Or 2:1 to 3:1 risk-reward ratio
Or exit when band turns orange
Or exit when Status changes to "WAIT"
SELL Signal (Short Entry)
Wait for Status Box to show "SELL" in red
Confirm red zone appears on chart
Watch for price to touch the Blue/Orange Band (when it's orange)
Enter: When price rejects from the orange band or confirms below it
Stop Loss: 30-50 points above the red zone top
Take Profit:
Target previous swing low
Or 2:1 to 3:1 risk-reward ratio
Or exit when band turns blue
Or exit when Status changes to "WAIT"
Balanced Mode Tips
Be patient, wait for clear setups
Use wider stop losses
Best during trending markets
Check 1H, 4H, 1D timeframes in the table
Can hold positions for days/weeks
Fewer trades but higher win rate
🟣 BOTH MODE TRADING
Advanced Strategy: Band Confluence
When both bands are visible, you can use advanced techniques:
Strong BUY Setup (Highest Probability)
Both bands are green/blue = Strong uptrend
Price above both bands = Momentum confirmed
Green zone present = Support established
Multiple timeframes show BUY = Alignment confirmed
Action: Enter long with confidence, wider profit targets
Strong SELL Setup (Highest Probability)
Both bands are red/orange = Strong downtrend
Price below both bands = Momentum confirmed
Red zone present = Resistance established
Multiple timeframes show SELL = Alignment confirmed
Action: Enter short with confidence, wider profit targets
Early Entry Signal
Band 1 turns green but Band 2 still red = Early bullish reversal
Action: Small position, tight stop, expect volatility
Exit: When Band 2 turns blue (confirm trend) or Band 1 turns red (false signal)
Trend Confirmation Signal
Band 1 already green, Band 2 turns blue = Confirmed uptrend
Action: Add to position, move stop to breakeven
Hold: Until either band changes color
Divergence Warning
Band 1 red but Band 2 blue = Conflicting signals
Action: Reduce position size or stay out
Meaning: Short-term weakness in longer-term uptrend
Both Mode Tips
Use Band 1 for entries, Band 2 for confirmation
When bands disagree, respect the higher timeframe (Band 2)
Best for traders who want complete market view
Requires more screen time and experience
Multi-Timeframe Analysis
How to Use the Bottom Right Table
The table shows 7 timeframes simultaneously. Here's how to read it:
Strong Signals (High Confidence)
All green (1M through 1W) = Very strong uptrend across all timeframes
All red = Very strong downtrend across all timeframes
Action: Trade in the direction of alignment with larger positions
Moderate Signals (Medium Confidence)
3-4 timeframes aligned = Decent trend forming
Action: Trade with standard position size
Example: 15M, 1H, 4H all show BUY = Good long setup
Weak Signals (Low Confidence)
Mixed colors = No clear trend, choppy market
Action: Reduce position size or avoid trading
Example: 5M shows BUY, but 1H shows SELL = Conflict
Timeframe Priority by Trading Style
Scalpers: Focus on 1M, 5M (must align)
Day Traders: Focus on 5M, 15M, 1H (at least 2 must align)
Swing Traders: Focus on 1H, 4H, 1D (at least 2 must align)
Position Traders: Focus on 4H, 1D, 1W (must align)
Risk Management Rules (CRITICAL)
Position Sizing
Aggressive Mode: Risk 0.5-1% per trade (more trades = smaller size)
Balanced Mode: Risk 1-2% per trade (fewer trades = larger size)
Both Mode: Risk 1-1.5% per trade
Never risk more than 5% of capital across all open trades
Stop Loss Rules
ModeStop Loss DistanceMax Risk per TradeAggressive10-20 points below/above zone0.5-1%Balanced30-50 points below/above zone1-2%Both20-40 points (based on band used)1-1.5%
Take Profit Targets
Aggressive Mode: 1:1 to 1:2 risk-reward ratio
Balanced Mode: 2:1 to 3:1 risk-reward ratio
Both Mode: 1.5:1 to 2.5:1 risk-reward ratio
When to Exit Immediately
Status changes to "WAIT" (close all positions in that direction)
Stop loss is hit (no exceptions, no "holding hoping")
P&L in Status Box turns negative and worsening
Major news event announced (close before news)
Common Trading Scenarios
Scenario 1: Perfect Setup (Take This Trade)
Mode: Balanced
Status: BUY
Zone: Large green zone
Timeframes: 1H, 4H, 1D all show BUY
P&L: All positive in table
Action: Enter long, standard position size, target 2:1 RR
Scenario 2: Risky Setup (Reduce Size or Skip)
Mode: Aggressive
Status: BUY
Zone: Small green zone
Timeframes: Mixed (some BUY, some SELL)
P&L: Some negative in table
Action: Either skip or enter with 0.5% risk, tight stop
Scenario 3: Reversal Setup
Mode: Both
Status: Changes from SELL to BUY
Bands: Band 1 turns green, Band 2 still orange
Action: Exit all shorts immediately, prepare for long entry when Band 2 turns blue
Scenario 4: Trend Continuation
Mode: Balanced
Status: BUY (has been BUY for several candles)
P&L: +50 in Status Box
Price: Pulls back to touch blue band
Action: Add to position (pyramid), move stop to breakeven
Scenario 5: Choppy Market (Stay Out)
Status: Constantly switching BUY → WAIT → SELL → WAIT
Zones: Appearing and disappearing rapidly
Timeframes: No alignment (all different)
Action: Close all positions, wait for clarity
Scenario 6: False Signal
Status: BUY
You enter: Long position
P&L immediately negative: -10, -15, -20
Action: Exit immediately (don't wait for stop loss), signal is failing
Trading Rules Checklist
Before Entering Any Trade:
Indicator Status is BUY or SELL (not WAIT)
Appropriate zone is visible (green for BUY, red for SELL)
At least 2 timeframes agree in the multi-timeframe table
You know your exact stop loss level
You know your exact take profit target
Risk is 0.5-2% of capital (based on mode)
No major news in next 30 minutes
After Entering a Trade:
Stop loss order placed immediately
Take profit target set
Position size recorded
Monitor Status Box for changes
Monitor P&L (if goes deeply negative, consider exit)
Daily Trading Rules:
Maximum 3 trades per day in Aggressive mode
Maximum 1-2 trades per day in Balanced mode
Stop trading after 2 consecutive losses
Stop trading if daily loss reaches 3%
Pro Tips & Tricks
Timing Your Entries
Best Entry (Aggressive): When price touches the band and shows rejection candle
Best Entry (Balanced): Wait for candle close above/below band before entering
Worst Entry: Chasing price far from the band
Using the P&L Feature
Positive P&L growing: Signal is working, consider adding position
P&L near zero: Signal uncertain, prepare to exit
Negative P&L: Signal failing, exit or tighten stop
P&L in table all negative: Wrong market conditions, stop trading
Zone Size Interpretation
Large zones (wide gap): Strong conviction, high probability
Medium zones: Standard signal, normal position size
Tiny zones: Weak signal, reduce size or skip
No zone: Never trade when no zone is visible
Band Color Changes
Aggressive Band (1) flips frequently: High volatility, good for scalping
Balanced Band (2) stable: Low volatility, good for swing trading
Both bands same color: Strong trend, high confidence
Bands different colors: Transitioning, be cautious
Best Market Conditions by Mode
ModeBest MarketWorst MarketAggressiveHigh volatility, rangingLow volatility trendingBalancedTrending marketsChoppy, sidewaysBothAny (adaptable)Extremely choppy
Troubleshooting Common Problems
Problem 1: Too Many Losses in Aggressive Mode
Solution: Switch to Balanced mode or reduce trade frequency
Reason: Market may not be suitable for quick trades
Problem 2: Missing Big Moves in Balanced Mode
Solution: Switch to Both mode to see early signals
Or: Add alerts on Aggressive band for early warnings
Problem 3: Signals Keep Changing to WAIT
Solution: Market is choppy, stop trading until clear trend forms
Check: Move to higher timeframe charts
Problem 4: Stop Loss Getting Hit Often
Solution: Widen stop loss distance or trade higher timeframes
Check: Zone size - if tiny, signals are weak
Problem 5: Can't Decide Between Modes
Start with: Balanced mode (safer for beginners)
After 50 trades: Review results, switch if needed
Consider: Your personality (patient vs action-oriented)
Mode Selection Guide
Choose Aggressive Mode If:
You can monitor charts constantly
You prefer many small profits over few large ones
You trade during high volatility hours
You're comfortable with quick decisions
You use timeframes: 1M, 5M, 15M
Choose Balanced Mode If:
You check charts a few times per day
You prefer fewer, higher-quality trades
You want less stressful trading
You're a beginner or part-time trader
You use timeframes: 1H, 4H, 1D
Choose Both Mode If:
You're an experienced trader
You want to see complete market structure
You can interpret conflicting signals
You want early entry + confirmation
You use multiple strategies
Quick Reference Cards
Aggressive Mode Quick Reference
SignalBand ColorZoneActionStopTargetBUYGreenGreen appearsLONG-10-20pts1:1 RRSELLRedRed appearsSHORT+10-20pts1:1 RRWAITAnyNone/BothOUT--
Balanced Mode Quick Reference
SignalBand ColorZoneActionStopTargetBUYBlueGreen appearsLONG-30-50pts2:1 RRSELLOrangeRed appearsSHORT+30-50pts2:1 RRWAITAnyNone/BothOUT--
Both Mode Quick Reference
Band 1Band 2Signal StrengthActionGreenBlueVery Strong UPLONG (full size)RedOrangeVery Strong DOWNSHORT (full size)GreenOrangeWeak/EarlyLONG (small size)RedBlueWeak/EarlySHORT (small size)MixedMixedConfusedWAIT
Final Reminders
Golden Rules
Never trade without a stop loss - This is your safety net
Respect the WAIT signal - No signal is better than a bad signal
Start small - Master one mode before trying others
Keep a trading journal - Track which mode works best for you
The indicator is a tool, not a crystal ball - Use your brain too
Success Formula
Success = (Right Mode × Proper Risk Management × Discipline) - Emotions
Remember
This indicator shows probabilities, not certainties
No indicator wins 100% of the time
Risk management is more important than win rate
Consistency beats occasional big wins
Paper trade first before risking real money
777 expected Movehell yeaaaaaaaaaaaah, we back at it again yfm, some bs right here, will NOT tap ever!!!!!!
Swings P1 / P2 / P3Swing detection via ta.pivothigh/ta.pivotlow (len/len), so labels appear after pivot confirmation (len bars). P2 = swing high, P3 = swing low, P1 marks the prior pivot at trend transition (HH/HL → up, LL/LH → down). Optional ATR minimum leg-length filter.
ATR Reversal Wick ZigZag, Swing P2-P3 LabelsThis indicator plots a wick-based ZigZag where swing points are confirmed by a minimum counter-move (ATR multiple) and a minimum number of bars between swings. Confirmed swing highs are labeled P2, swing lows P3. Optional IDs, labels, and a trend-colored ZigZag line.
Wick-based ZigZag (High/Low wicks)
Swing confirmation via ATR reversal threshold + minimum bars between swings
Labels: P2 = confirmed swing high, P3 = confirmed swing low (optional IDs)
Optional ZigZag line colored by simple HH/HL vs LL/LH trend state
Note: potential swings can move until confirmed
Volume Momentum Radar📊 Volume Momentum Radar — Smarter Volume, Clear Momentum
Volume Momentum Radar is a simple, zero-nonsense improvement on the standard volume indicator. It helps you instantly see when volume matters by combining:
Relative Volume
Price Momentum
…in a single, easy-to-read volume pane.
Instead of just plotting raw volume, this tool highlights when rising volume is actually aligned with momentum, helping you quickly spot meaningful participation vs noise.
🧠 What it measures
The indicator calculates:
Relative Volume
Volume compared to its moving average to detect unusually high or low activity.
Momentum
You can choose:
RSI-based momentum (default)
or Rate of Change (ROC)
Momentum is centered so:
above 0 = bullish momentum
below 0 = bearish momentum
🎨 Color Logic (at a glance)
Each volume column is colored according to both volume and momentum:
🟢 Bright Green – high volume + bullish momentum
🔴 Bright Red – high volume + bearish momentum
🟦 Blue – neutral / choppy
🌫️ Gray – low relative volume (quiet market)
🟩 Teal – bullish momentum, normal volume
🟫 Maroon – bearish momentum, normal volume
The orange line is the Volume Moving Average, your baseline for relative volume.
👀 Optional extra information
Turn on the settings toggle to show:
📈 Relative Volume as a line
⚡ Normalized momentum line
This is helpful if you want a more analytical view rather than just colors.
✅ How traders commonly use it
identify high-participation breakouts or breakdowns
filter fake moves on low volume
visually time trend continuation vs exhaustion
confirm price action with momentum-aligned volume
It is designed to be:
clean
fast to read
beginner-friendly
useful on any market or timeframe
🔔 Notes
Does not repaint
Works on crypto, forex, indices, stocks, futures
Best paired with:
trend tools
market structure
support/resistance / liquidity concepts
Multi-Metric Market Regime Detector - [KK]This indicator identifies current market behavioral regimes by synthesizing six complementary analytical methodologies. Rather than generating trading signals, it provides contextual analysis to help traders understand market conditions and adapt their strategies accordingly.
Markets cycle through distinct behavioral states - trending efficiently, consolidating in ranges, compressing before breakouts, or transitioning between states. This tool quantifies these conditions using only price action data (OHLC), enabling traders to filter strategies based on current market structure.
Core Methodology
The indicator combines six independent metrics into a weighted composite classification system:
Efficiency Ratio (30% weight)
Measures the signal-to-noise ratio of price movement by comparing net price displacement to total path traveled. High efficiency indicates clean directional movement; low efficiency indicates choppy, noisy conditions.
Choppiness Index (25% weight)
Quantifies whether the market is trending or consolidating by comparing cumulative True Range to actual price range. Values below 38.2 suggest trending behavior; values above 61.8 suggest range-bound consolidation.
Volatility Analysis (20% weight)
Detects compression and expansion cycles using the relationship between Bollinger Bands and Keltner Channels. Compression phases (squeeze conditions) often precede significant directional moves.
Fractal Efficiency Proxy (10% weight)
Analyzes path complexity by comparing net displacement to cumulative range, providing insight into the smoothness versus randomness of price action.
Market Structure (15% weight)
Examines pivot point sequences to identify structural trends. Higher Highs and Higher Lows indicate bullish structure; Lower Lows and Lower Highs indicate bearish structure.
Wick-to-Body Ratio Analysis (qualitative)
Identifies rejection and indecision patterns by measuring the proportion of candle wicks to bodies, highlighting potential reversal zones or liquidity events.
Regime Classifications
The composite scoring system produces four distinct regime states:
TRENDING : High efficiency, low choppiness, clear directional structure. Favorable conditions for momentum and trend-following strategies.
CHOPPY/RANGE : Low efficiency, high choppiness, mean-reverting behavior. Favorable conditions for range trading and counter-trend setups.
COMPRESSION : Volatility squeeze detected, market coiling. Anticipate expansion; reduce position size until breakout confirmation.
TRANSITION : Mixed signals, conflicting metrics, unclear direction. Recommended to reduce exposure and wait for regime clarity.
Visual Features
Regime-Colored Candles (enabled by default)
Candles are colored according to the current regime state for immediate visual identification. Green indicates trending, gray indicates choppy, orange indicates compression, and yellow indicates transition.
Comprehensive Metrics Table (top right)
Displays real-time values for all six metrics along with individual regime assessments and the final composite classification with score.
Regime Guide Table (middle right)
Quick reference guide showing recommended strategies and actions to avoid for each regime state.
Chart Label ( optional)
Summary label displaying current regime and key metric values.
Background Coloring (optional)
Alternative visualization using background colors instead of candle coloring.
Indicator Plots (optional)
Displays Efficiency Ratio and Choppiness Index with threshold reference lines.
Customization Options
All calculation parameters are adjustable:
- Efficiency Ratio lookback period and thresholds
- Choppiness Index length and classification thresholds
- Volatility analysis parameters (BB/KC multipliers and lengths)
- Pivot detection sensitivity (left/right bars)
- Text size controls for both tables (Tiny to Huge)
- Visual element toggles (candles, background, label, tables, plots)
The indicator automatically detects chart theme (dark/light) and adjusts text colors for optimal readability.
Practical Application
This is a context tool, not a signal generator. Use it to:
- Filter trend-following strategies to trending regimes only
- Identify range-bound conditions for mean-reversion setups
- Anticipate breakout opportunities during compression phases
- Reduce exposure during transitional periods with mixed signals
- Improve risk management by matching position size to regime clarity
The indicator works on all timeframes and instruments using only OHLC data. Higher timeframes generally provide more stable regime classifications.
Alert Conditions
Four alert types are available:
- Efficiency Ratio crosses trend threshold
- Choppiness Index enters range territory
- Volatility squeeze released
- Regime state change detected
Technical Notes
Built with Pine Script v5. Uses up to 500 bars of historical data for stable calculations. All metrics are calculated in real-time with no repainting on confirmed pivots. Compatible with all chart themes through adaptive text coloring.
Disclaimer
This indicator is provided for educational and informational purposes only. It does not constitute financial advice or trading recommendations. Past performance and theoretical analysis do not guarantee future results. Always conduct independent research and implement appropriate risk management. Trading financial instruments involves substantial risk of loss.
Usage Philosophy
The goal is not to trade more frequently, but to think more clearly about market conditions. Use this tool to develop deeper intuition about market structure and to enforce discipline by avoiding low-probability setups during unfavorable regime conditions.
Previous & Current Candle Size - Top right on ChartElevate your price action awareness with the Pro-Flow Candle Size Dashboard. This high-performance utility provides instant, real-time visual data on market volatility by displaying the exact range of the current and previous candles directly on your chart.
Designed for traders who need to gauge momentum at a glance, this script eliminates the need for manual measurement tools and mental math. Whether you are monitoring for a breakout, a climax move, or a volatility squeeze, this dashboard puts the data you need in the most accessible spot on your screen.
Key Features:
🚀 Smart Asset Detection: Automatically switches between Pips (for Forex/Gold) and Dollar Value/Points (for Stocks/Crypto/Indices) based on the symbol you’re trading.
⚡ Live Precision: The "Current" data field updates tick-by-tick, allowing you to see exactly how much volume and range is being injected into the live candle.
🔍 Contextual Awareness: Instantly compare the live candle's range against the previous candle to identify expanding or contracting volatility.
🎨 Sleek & Customizable: Features a clean, non-intrusive table UI. Customize font sizes (from Tiny to Huge) and colors to perfectly match your chart theme.
📍 Zero-Clutter Overlay: Built to stay fixed in the top right corner, ensuring your price action remains clear and unobstructed.
Perfect For:
Scalpers needing to hit specific pip targets.
Day Traders monitoring Average Daily Range (ADR) exhaustion.
Price Action Traders looking for "impulse" candles.
Supertrend, by ParagonSignalsThis indicator implements a trend-following overlay with flow-conditioned preprocessing, regime conditioning, and explicit signal lifecycle governance.
Input engineering (flow-conditioned baseline):It replaces raw price with an engineered baseline designed to capture effective directionality modulated by relative participation.
The internal signal is kept robust and stable via robust scaling, outlier clipping, and a finite-memory integrator to mitigate structural drift.
Trend engine (SuperTrend on engineered series): It computes SuperTrend on the engineered baseline, shifting the trend logic from pure price to a more stable representation of directional pressure and reducing sensitivity to single-bar noise.
Regime conditioning: It estimates a continuous tradeability index (0–1) combining directional efficiency, relative volatility expansion, and return-sign stability.
This index governs the system’s aggressiveness.
Signal governance (stateful execution proxy): It maintains a discrete LONG/SHORT/FLAT state with dynamic TTL, cooldown, persistence-gated flips, and degradation-based exits—enforcing hysteresis and exposure control in adverse regimes.
Relative to a classic SuperTrend (fixed parameters and binary logic), this design adds context awareness, signal quality gating, and lifecycle management, with the intent of reducing whipsaw and formalizing entry/exit behavior under uncertainty.
Hope you enjoy this SuperTrend—consider it a free, research-oriented release.
The methodology reflects professional quant practice—robust preprocessing, regime conditioning, and signal governance—features typically reserved for paid toolkits.
Research-grade release, provided as-is: no edge promised, no warranty, no liability — validate statistically and manage risk accordingly.
Disclaimer: This indicator is for educational and informational purposes only. It is not financial advice, investment advice, or a recommendation to buy, sell, or trade any asset. Trading involves risk and you may lose part or all of your capital. You are solely responsible for your decisions.
Advanced Footprint Analysis1. ABSORPTION = BEST ENTRY SIGNALS
When BTC hits support and shows bullish absorption:
You know big money is buying
Price won't fall further (supply absorbed)
Risk/reward is optimal (tight stop below absorption)
Win rate on these setups is 70-80%
2. EXHAUSTION = REVERSAL TIMING
Catches exact moment selling/buying pressure is exhausted
No more guessing "is the dip over?"
Volume confirms the reversal
3. IMBALANCES = CONTINUATION TRADES
Stacked imbalances show trend strength
Enter pullbacks in strong trends
Avoid counter-trend trades when imbalance is strong
4. DELTA DIVERGENCE = EARLY WARNING
Cumulative delta rising but price flat = accumulation (buy setup)
Cumulative delta falling but price rising = distribution (sell setup)
This divergence appears BEFORE price moves
5. FILTERS OUT NOISE
Crypto has tons of fake volume and wash trading
By requiring volume to be significantly above average (2x, 3x), you ignore the noise
Only trade when institutions are active
6. WORKS ON ALL CRYPTO PAIRS
BTC, ETH, SOL - same patterns
Especially powerful on perpetual futures (more volume data)
PRACTICAL 5M CRYPTO ALGO STRATEGY:
LONG ENTRY:
Wait for bullish absorption OR bullish exhaustion
Confirm with positive stacked imbalances (3 bars)
Enter when price breaks above absorption high
Stop below absorption low
Target: 2-3x risk or next resistance
SHORT ENTRY:
Wait for bearish absorption OR bearish exhaustion
Confirm with negative stacked imbalances
Enter when price breaks below absorption low
Stop above absorption high
Target: 2-3x risk or next support
FILTER:
Only trade in direction of cumulative delta trend
Avoid when volume is below average (no institutional activity)
IU Gap DetectorDISCRIPTION
IU Gap Detector is a smart and flexible gap detection indicator designed to identify Bullish and Bearish price gaps using three different measurement methods: Volatility (ATR), Fixed Points, and Percentage-based gaps.
It helps traders quickly spot significant market gaps that often lead to strong momentum, reversals, or continuation moves.
The indicator works on any timeframe and any tradable instrument supported on TradingView.
USER INPUTS :
1. Gap Measure Base
* Volatility: Detects gaps based on ATR (Average True Range) to adapt to market volatility
* Points: Detects gaps using fixed point values
* Percentage: Detects gaps based on percentage difference between previous close and current open
2. Gap Points
* Defines minimum gap size in points when using Points mode
3. Gap Percentage
* Defines minimum gap size in percentage when using Percentage mode
4. ATR Factor
* Multiplier for ATR-based gap detection
5. ATR Length
* Period used for ATR calculation
HOW IT WORKS ?
* The script compares the current candle’s open price with the previous candle’s close
* Based on the selected gap measurement type, it calculates whether the gap size is significant
* If the gap is upwards beyond the defined threshold, it marks it as a Bullish Gap
* If the gap is downwards beyond the defined threshold, it marks it as a Bearish Gap
* The background color changes to visually highlight bullish or bearish gaps
* Alerts are triggered automatically when a valid gap is detected
WHY IT IS UNIQUE:
* Supports three different gap detection methods in a single indicator
* ATR-based volatility gaps automatically adapt to changing market conditions
* Clean and minimal background visualization without cluttering the chart
* Works consistently across stocks, indices, forex, crypto, and commodities
* Easy-to-configure inputs suitable for both beginners and advanced traders
HOW USER CAN BENIFIT FROM IT :
* Identify high-probability gap trading opportunities instantly
* Improve entry timing during market open or high volatility sessions
* Use gaps for momentum, reversal, or continuation strategies
* Combine with trend, volume, or price action strategies for confirmation
* Set TradingView alerts to never miss important gap events
Market Divergence Index (MDI)MDI - Specialized indicator for BTC, ETH and dominance analysis.
⚠️ FREE BETA - Временный открытый доступ для тестирования
Recommended pairs:
• BTC/USDT or ETH/USDT → Benchmark: USDT.D
• USDT.D → Benchmark: BTC
Adjust Quality Threshold (1-10) for signal filtering.
📱 Telegram: @belfort94
MAs + Bollinger Bands by @ETERNYWORLDMAs + Bollinger Bands by @ETERNYWORLD is the core trend and volatility layer inside the Trend Mastery Pro ecosystem, engineered by EternityWorld to deliver a clean, structured, and highly customizable market bias reading directly on the chart.
What’s Inside the Indicator
5 independent Moving Averages (EMA or SMA) with individual enable/disable toggles, lengths, colors, and widths.
Bollinger Bands with professional basis options: SMA, EMA, RMA/SMMA, WMA, VWMA, plus adjustable deviation multiplier and visual band fill.
Chart overlay compatibility, making trend and volatility easy to interpret for fast decisions.
Fully configurable alerts, enabling traders to stay proactive without missing high-probability expansion triggers.
Enhanced by Trend Mastery Pro Workflow
This indicator complements the 3-step methodology of Trend Mastery Pro:
Bias → defines the dominant trend direction.
Trigger → identifies breakout or momentum expansion zones using confluence with volatility.
Management → supports consistent risk execution when combined with external strategy rules and trade plans.
Key Strengths
✔ Unified trend + volatility envelope on chart
✔ Individual component control (no clutter, no guesswork)
✔ Noise reduction in consolidation environments
✔ Adaptable to crypto, forex, indices, commodities, and equities
✔ Reliable for intraday impulse plays and structured directional setups
How to Use It
Context: Align your analysis with the broader bias before execution.
Signal: Watch for volatility expansion and trend alignment for breakout scenarios.
Execution: Apply your risk plan (position size, partials, BE/trailing) based on your trading model.
Best Practices
🛡️ Tune sensitivity according to asset volatility and timeframe horizon
🛡️ Avoid trading against dominant bias during compression phases
🛡️ Always validate through backtesting and forward testing before scaling
🛡️ Log performance and refine parameters iteratively
Who It's For
Traders who want:
A repeatable and disciplined process
A professional visual structure
Less noise, more clarity, better bias alignment
A premium indicator suite that supports real decision-making
Compatibility
Seamlessly works with any asset and timeframe on TradingView supporting chart overlay indicators. Alerts are designed to help monitoring without being glued to the screen.
Disclaimer ⚠️
This product is not financial advice and does not guarantee results. Performance varies depending on market conditions, asset behavior, user configuration, and applied risk management. Always trade responsibly and follow your own risk plan.
BB + RSI Div + Volume + VWAP (4H Perp Short Alert) - SafeThis Indicator use Bollinger Band + RSI Div + Volumne + VWAP for shorting Mid and Small Cap token in 4H timeframe
Uptrick: Price Memory TrendIntroduction
Uptrick: Price Memory Trend is a custom indicator designed to detect directional shifts and volatility changes using a non-traditional price memory approach. Unlike moving average systems, it builds a dynamic memory of price that adapts gradually over time, allowing it to detect significant deviations and trend transitions with reduced noise.
Overview
This script identifies trend changes by comparing the current price to a memory-based baseline. When price deviates significantly from this memory base, it triggers a trend regime shift—either bullish or bearish. Adaptive deviation bands are calculated using absolute deviation from the memory base, not ATR or standard deviation, which allows the indicator to capture volatility uniquely. Visual components include color-coded candles, labeled signals, optional bands, and a live status table summarizing current trend metrics.
Originality
The indicator’s core innovation lies in its use of a decaying memory function to track trend direction, replacing moving averages with a price memory that responds only to significant deviations. This method avoids lag typically associated with smoothing techniques, enabling timely trend detection. Furthermore, deviation is measured directly in price terms, rather than through volatility surrogates like ATR or Bollinger Bands, resulting in a more raw and responsive depiction of price behavior.
Inputs
Core Engine
Memory Strength: Sets how strongly the memory responds to price changes. Higher values make the memory base more reactive.
Memory Decay: Controls how much past memory is retained. Lower values weight new prices more heavily.
Deviation Length: Length of the EMA used to smooth absolute price deviation. A longer setting results in smoother bands.
Band Multiplier: Expands or contracts the dynamic bands. Higher values widen the bands, reducing sensitivity.
Customization
Color Palette: Selects one of six predefined color schemes for bull and bear visuals.
Show Bands: Enables or disables the display of deviation bands.
Look: Chooses between 'Bands', 'Trail', or 'Intense' styles, affecting how bands and fills are drawn.
Bands
Trail
Intense
Show Info Table: Toggles display of the real-time trend and volatility status panel.
Table Position: Determines which corner of the chart the info panel appears in.
Text Size: Adjusts font size used within the info table.
Features
Trend Detection
Bullish Shift: Triggered when price crosses above the upper band, entering a new bullish regime.
Bearish Shift: Triggered when price crosses below the lower band, entering a new bearish regime.
Trend state is persistent and updated only on confirmed transitions, avoiding repeated entries in the same direction.
Candle Coloring
Candles are dynamically recolored based on current trend direction: bull, bear, or neutral.
Signal Labels
Visual labels marked "Up" or "Down" are placed on the chart when a regime shift occurs, helping to mark turning points.
Deviation Bands
Dynamic upper and lower bands are drawn based on smoothed absolute deviation from the memory base.
Additional outer bands based on ATR may be drawn to highlight zone intensity when the 'Intense' or 'Trail' styles are selected.
Bands visually indicate overextension and help frame price context relative to memory.
Alerts
Built-in alert conditions trigger on bullish or bearish trend shifts, useful for automation or notifications.
Info Table
The optional info table displays:
Current trend direction
Band state (calm, hot, or cool)
Price stretch from base
Trend age in bars
Confidence level based on deviation
Memory slope and acceleration
Band width and compression state
Reversion risk based on stretch level
Info Table:
Trade Example:
Logic
Price Memory
A recursive formula updates a memory variable based on the current price.
The memory adjusts only when the price deviates meaningfully from its previous value.
The formula uses a combination of delta-weighting and exponential decay:
> memory := previous_memory + delta × memory_strength
> memory := memory × memory_decay + price × (1 - memory_decay)
This produces a smooth, adaptive base that responds gradually to directional price moves.
Deviation and Bands
Absolute deviation between price and the memory base is calculated and smoothed using an EMA.
The upper and lower bands are then calculated as:
> Upper Band = memory base + (smoothed deviation × band multiplier)
> Lower Band = memory base - (smoothed deviation × band multiplier)
ATR-based extensions can optionally be drawn around these bands for added visual structure.
Trend Logic
Bullish and bearish states are tracked using crossovers and crossunders of price against the upper and lower bands.
The indicator maintains a persistent trend state variable that updates only when a confirmed regime change occurs.
This prevents multiple signals within the same trend direction (non-pyramiding behavior).
Stretch and Band Analysis
Stretch is measured as the deviation of price from memory, normalized by smoothed deviation.
Band width is tracked over time and used to detect compression or expansion.
Band position is calculated to identify where price sits between the upper and lower bands.
Info Table Metrics
Memory Slope and Acceleration: Show first and second derivative of the memory base to capture trend speed and change.
Confidence Level: Based on stretch intensity, indicating trend strength.
Reversion Risk: Inferred from how extended price is beyond the band.
Compression: Evaluated by comparing current band width to its recent average.
Summary
Uptrick: Price Memory Trend provides an alternative framework for trend identification by replacing traditional smoothing with adaptive memory logic. It measures price deviation without reliance on ATR or standard deviation, instead focusing on distance from a reactive baseline. With regime-based trend tracking, customizable visuals, and a detailed status table, it supports both discretionary and system-driven trading styles.
Disclaimer
This script is for informational and educational purposes only. It does not provide financial advice or guarantees. Trading involves risk, and past performance is not indicative of future results. Always perform your own research before making trading decisions.
Adaptive Gaussian AFR# Adaptive Gaussian AFR (Average Filtering Range)
The **Adaptive Gaussian AFR** is a sophisticated trend-following overlay designed to provide a "cleaner" perspective on market structure. It synthesizes advanced signal processing with volatility-adjusted trailing logic to create a perpetual trend indicator that filters noise while maintaining extreme responsiveness during momentum breakouts.
## How It Works
This indicator combines three distinct mathematical principles to analyze and visualize price action:
### 1. 4-Pole Gaussian Smoothing
Standard moving averages often suffer from a trade-off between smoothness and lag. By employing a **4-pole Gaussian filter**, the indicator applies a bell-curve weighting to price data. This results in a curve that is mathematically smoother than an EMA but reacts more sharply to significant price shocks.
### 2. Adaptive Volatility Scaling
Unlike static indicators, this script utilizes a **Volatility Ratio** (comparing short-term ATR to long-term ATR).
- **Expansion:** When volatility spikes, the Gaussian filter automatically shortens its lookback to "catch" the breakout.
- **Contraction:** When the market consolidates, it lengthens the lookback to prevent "whipsaws" and false signals.
### 3. AFR (Average Filtering Range) Logic
The "step-ladder" behavior is driven by the AFR logic. It calculates volatility-based boundaries (using an ATR factor). The trend line only moves higher if the price exceeds the current floor, and only moves lower if the price breaks the ceiling, creating a "perpetual" support and resistance level.
## Visual Interface & Branding
The script features a high-visibility sentiment map using a custom brand color scheme:
- **Bullish State (Blue - rgb(45, 162, 252)):** Triggered when price is trading above the Adaptive Gaussian mean and the AFR floor.
- **Bearish State (Purple - rgb(113, 59, 249)):** Triggered when price breaks below the mean and the AFR ceiling.
- **Brand Candles:** Price bars are automatically colored to match the trend state for immediate visual confirmation.
## Why This is Unique
Most trend followers are "fixed"—they perform well in trending markets but fail in sideways chop. The uniqueness of the **Adaptive Gaussian AFR** lies in its ability to "breathe." Because the Gaussian engine is adaptive, it attempts to solve the "lag vs. noise" problem by becoming more rigid when the market is indecisive and more fluid when a trend is confirmed.
## Great inventions require great Care
**This is not a standalone trading system.** While the Adaptive Gaussian AFR provides a highly refined view of the trend, it should be used in conjunction with other analysis tools.
- **Lag:** Like all indicators based on historical data, the filter is inherently lagging and cannot predict future price movements.
- **No Standalone Use:** Do not use this as your sole reason for entering or exiting a trade. It is best used as a **Trend Filter** or a **Volatility-Adjusted Entry/Exit Strategy in confluence with other tools**.
- **Context Matters:** It does not account for fundamental news, higher-timeframe resistance, or volume profiles.
Enjoy!
Repent Deviationsalot of levels, use at own risk, ict method, idk wth to type here just use ts and delete it instantly






















