Swing Structure Bands [ChartPrime]⯁ OVERVIEW
Swing Structure Bands is a structure-based trend and reaction indicator that builds adaptive price bands directly from swing highs and swing lows.
Instead of using fixed-length moving averages, the bands dynamically adjust their length based on how long price has been forming higher highs or lower lows, allowing the indicator to naturally align with real market structure.
This makes the tool especially effective for identifying swing-based support and resistance, trend continuation zones, and exhaustion reactions.
⯁ CORE CONCEPT
The indicator continuously tracks:
The most recent swing high and swing low over a configurable swing window.
How long price has been developing since each swing point.
Dynamic moving averages whose length grows with the swing itself.
As long as price respects the current swing direction, the bands extend and adapt.
When structure breaks, the system resets and starts forming new swing-based bands.
⯁ SWING DETECTION LOGIC
A Swing High is detected when price forms a local maximum relative to the swing lookback.
A Swing Low is detected when price forms a local minimum relative to the swing lookback.
Direction flips when price transitions from forming highs to forming lows, or vice versa.
Each confirmed swing is marked on the chart, giving clear structural context.
⯁ ADAPTIVE BAND CONSTRUCTION
Upper bands are derived from swing highs.
Lower bands are derived from swing lows.
Band length dynamically increases as the swing develops.
Multiple MA types can be used (SMA, EMA, SMMA/RMA, WMA, VWMA).
ATR is applied as an offset to create upper and lower envelopes around each band, forming a volatility-aware structure channel.
⯁ VOLATILITY FILTERING
If the band moves too aggressively relative to ATR, it is temporarily disabled.
This prevents unstable or noisy bands during sudden expansions.
Bands only remain active when price structure is stable.
This logic keeps the indicator focused on meaningful swings rather than short-term spikes.
⯁ REACTION & SIGNAL LOGIC
Sell signals appear when price crosses down from the upper swing band after sufficient stabilization.
Buy signals appear when price crosses up from the lower swing band after sufficient stabilization.
Cooldown logic prevents signal clustering.
Signals are designed as structure reactions , not momentum breakouts.
⯁ VISUAL STRUCTURE CLARITY
Separate bullish and bearish bands with customizable colors.
Optional band envelopes for visual depth.
Clear swing labels marking structural turning points.
Diamond markers highlight reaction zones.
The visualization emphasizes where price reacts to structure rather than where it accelerates.
⯁ HOW TO USE
Use upper bands as dynamic resistance during bearish or corrective phases.
Use lower bands as dynamic support during bullish phases.
Combine band reactions with higher-timeframe trend direction.
Look for confirmations near bands rather than mid-range entries.
The indicator works best as a structure framework rather than a standalone signal generator.
⯁ IDEAL MARKET CONDITIONS
Trending markets with clear swing development.
Markets transitioning from impulse to correction.
Crypto, forex, indices, and liquid stocks.
⯁ CONCLUSION
Swing Structure Bands offers a structurally grounded alternative to traditional moving average channels.
By anchoring bands to real swing behavior and adapting dynamically over time, it provides traders with a clearer view of where price is reacting, pausing, or potentially reversing within the broader market structure.
Trend
Risk Manager & ATR TS Strategy📌 Overview
This script is not a simple indicator mashup. It is a Risk & Trade Planning Engine that combines a strategy-based signal generator with a snapshot-based risk, sizing, and expectancy model. It is designed to support real trading decisions, not just to generate cosmetic signals or overfitted backtests.
The core idea is to separate market logic from risk logic, evaluating each trade only at the moment it becomes actionable using fixed reference points that do not change afterward.
🎯 What makes this script original Unlike most tools that merely combine indicators or visualize entries, this script introduces several non-standard design choices:
Snapshot-based risk sizing (The "Time Machine" logic).
Expected Value (EV) calculation in both Money and R-multiples.
Kelly Criterion applied with weighted multi-target logic.
Strict architectural separation between the signal engine and the risk engine.
Decision-oriented dashboard instead of decorative plots.
These components are not merged for convenience; they are architecturally dependent on each other.
🧠 Conceptual Architecture
1️⃣ Signal Engine (Market Context) The signal engine is based on an ATR Trailing Stop system combined with trend regime filters (ADX and Choppiness Index). Its only responsibility is to answer one question: "Is this a valid directional opportunity right now?" It does not manage risk; it only identifies the opportunity.
2️⃣ Snapshot Logic (Key Design Choice) When a valid signal occurs, the script captures a Snapshot of the Entry price, Initial Stop-Loss, and Risk Distance. This snapshot is frozen at signal time. It is never updated, even if the trailing stop moves later. This avoids the most common error in TradingView scripts: recalculating position size using a moving stop, which falsifies the risk data.
3️⃣ Risk Engine (Sizing & Control) Using the snapshot values, the script computes:
Monetary risk per trade (capped at your user-defined max).
Position size derived from the fixed stop distance.
Effective leverage (informational).
4️⃣ Multi-Target Reward Model Instead of assuming a single take-profit, the script supports multiple targets with user-defined probability weights. From this, it derives a Weighted Risk/Reward Ratio, which feeds directly into the EV and Kelly calculations.
5️⃣ Expected Value (EV) in Money & R The script calculates EV in your account currency (real impact) and normalized in R-multiples (statistical quality). This allows you to compare trade quality across different assets and timeframes objectively.
6️⃣ Kelly Criterion (Conservative) The Kelly Criterion is applied using the weighted reward model and is always subordinated to your hard risk cap. If Kelly suggests a negative value, the script advises "NO TRADE". It is used as a filter, not a leverage amplifier.
📊 Dashboard & Alerts The on-chart dashboard summarizes everything you need at the moment of the signal:
Risk % and Position Size
Expected Value (Money + R)
Kelly Suggestion
Signal Strength
Alerts are triggered once per signal (on bar close) using snapshot data, ensuring no repainting and no spam.
🔍 How this is NOT a mashup Each component exists because another component depends on it. Snapshot logic is required for valid risk sizing; Risk sizing is required for EV normalization; Weighted RR is required for meaningful Kelly. Removing any part breaks the system’s logic.
📘 How to use
Choose your account size and risk parameters in the settings.
Configure your stop logic and reward targets.
Wait for a valid signal.
Evaluate the dashboard: Decide if the trade quality (EV, R, Risk) justifies participation.
⚖️ Open-Source Notice This script is published under the Mozilla Public License 2.0 (MPL-2.0). It does not copy or replicate any single public script. Standard concepts (ATR, ADX) are used as building blocks, but the architecture and calculations are original.
🚫 Disclaimer This script is a planning and evaluation engine designed to help traders think in terms of risk, expectancy, and discipline. It does not guarantee profitability.
✅ Summary This is a professional-grade framework built to answer one core question: “Is this trade worth taking, given my risk and my expectations?” Not every signal is a trade, and not every trade deserves capital. This script helps you make that distinction.
DkS Market Structure Breakout Strategy Crypto & ForexDkS Market Structure Breakout Strategy Crypto & Forex
🔍 Overview
DkSPro – Universal Market Analysis is a structure-based trading strategy designed for Crypto and Forex markets, focused on trend alignment, breakout confirmation, and volume validation.
This strategy is built to filter low-quality trades, avoid ranging conditions, and reduce false breakouts by requiring multiple layers of confirmation before any trade is executed.
It is intended for scalping and intraday trading, prioritizing consistency and risk control over trade frequency.
🧠 Strategy Logic (How It Works)
DkSPro follows a sequential decision process, not a single-indicator signal:
Trend Bias (EMA Structure)
A fast and slow EMA define the directional bias.
Long trades are only allowed during bullish EMA alignment.
Short trades are only allowed during bearish EMA alignment.
This prevents counter-trend and ranging-market entries.
Market Structure & Breakout Validation
The strategy identifies recent swing highs and lows.
Trades are triggered only after a confirmed breakout of structure, not during consolidation.
This avoids early entries and false momentum moves.
Volume Confirmation
Volume must exceed its moving average by a defined multiplier.
This ensures participation and filters out low-liquidity breakouts.
Volume thresholds adapt depending on the selected trading mode.
Momentum Confirmation (RSI)
RSI is used strictly as a momentum filter, not as a standalone signal.
It confirms that price movement aligns with the breakout direction.
Risk Management (Mandatory)
Every position includes a predefined Stop Loss and Take Profit.
Position sizing is based on a fixed percentage of equity, keeping risk per trade within sustainable limits.
All conditions must align simultaneously; otherwise, no trade is executed.
⚙️ Trading Modes
SAFE Mode
Stronger volume and RSI thresholds
Fewer trades, higher selectivity
Designed for risk control and consistency
AGGRESSIVE Mode
Slightly relaxed filters
Higher trade frequency during strong momentum
Intended for experienced users only
📊 Markets & Assets
This strategy has been actively used and tested on:
🟢 Crypto (Binance / Binance.US)
SOL-USDT
XRP-USDT
Other high-liquidity pairs (BTC, ETH)
Crypto mode benefits from stronger volume confirmation to adapt to higher volatility.
🔵 Forex
Major pairs such as EURUSD, GBPUSD, USDJPY
Optimized for liquid markets with lower relative volume
The same structural logic applies to both markets, with volume behavior naturally adapting to each asset class.
⏱ Recommended Timeframes
Crypto: 5m – 15m
Forex: 15m – 1H
Lower timeframes (1m) are not recommended due to noise and unreliable volume behavior.
🧪 Backtesting & Settings Transparency
Default strategy properties are intentionally conservative to reflect realistic conditions:
Initial capital: $20,000
Position size: 2% of equity
Commission: 0.08%
Slippage: 1 tick
Fixed Stop Loss and Take Profit on every trade
Backtests should be performed on sufficient historical data (ideally 6–12 months) to ensure a statistically meaningful sample size (100+ trades).
📈 Originality & Usefulness
DkSPro is not a simple indicator mashup.
Each component serves a specific role in a layered confirmation system:
EMAs define direction
Structure defines timing
Volume validates participation
RSI confirms momentum
Risk management controls exposure
Removing any layer significantly reduces signal quality. The strategy is designed as a complete decision framework, not a signal generator.
⚠️ Important Notes
This script is an analysis and execution tool, not financial advice.
Market conditions change, and no strategy performs well in all environments.
Users are encouraged to backtest, forward test, and adjust position sizing according to their own risk tolerance.
🧩 Version Notice
This publication represents a consolidated and refined version of an internal experimental script.
No parallel or duplicate versions are intended.
All future improvements will be released exclusively using TradingView’s Update feature.
🇪🇸 Descripción en Español (Resumen)
DkSPro es una estrategia basada en estructura de mercado, diseñada para Crypto y Forex, que combina tendencia, ruptura de estructura, volumen y control de riesgo.
Solo opera cuando todas las condiciones se alinean, evitando rangos, falsas rupturas y sobreoperar.
Ha sido utilizada en Binance con pares como SOL-USDT y XRP-USDT, así como en Forex, siempre con gestión de riesgo fija y condiciones realistas.
Deviation Momentum For Loop | Lyro RSThe Deviation Momentum For Loop is a directional momentum tool that evaluates the persistence of price deviation from a moving average over a historical range using a custom loop-based scoring function. It quantifies relative momentum strength by comparing current deviation to previous values, assigning a net score used to assess trend bias, reversals, and volatility-adjusted strength.
Key Features
Deviation-Based Momentum: Calculates standardized deviation from a selected moving average by subtracting the MA from price and normalizing via standard deviation and a scaling constant. This standardization adjusts for volatility and creates a consistent scoring base across assets and timeframes.
Historical For-Loop Scoring: Implements a user-defined for-loop function that compares current deviation to values from earlier bars (configurable range). Each comparison adds or subtracts from a cumulative score based on whether current deviation exceeds historical ones, producing a dynamic momentum read.
Threshold-Based Signal Logic: Applies user-defined thresholds for long and short signals. If the loop score exceeds the long threshold, a bullish bias is inferred; if it drops below the short threshold, a bearish bias is indicated. These thresholds are plotted for visual clarity.
Multi-Palette Visual System:
Predefined Palettes – Choose from Classic, Mystic, Accented, or Royal schemes for bullish and bearish colors.
Custom Colors – Toggle on custom color selection to manually define bullish (UpC) and bearish (DnC) tones.
Dynamic Visuals – Oscillator line, threshold markers, background shading, bar and candle coloring are applied in real time based on trend state
.
Glow and Overlay Effects: Layered glow lines and optional bar/candle coloring reinforce signal strength and trend status directly on the chart.
Built-In Alerts: Provides alert conditions when the for-loop score crosses above or below the defined thresholds, enabling automated monitoring of trend conditions.
How It Works
MA Calculation – Applies the selected moving average to the chosen price source (e.g., close, open, high). Offers 16 moving average types including SMA, EMA, WMA, TEMA, JMA, FRAMA, ZLSMA, KAMA, and others via the LyroRS/LMAs/1 library.
Deviation Computation – Measures the deviation of price from its moving average, normalized by standard deviation and scaled by a fixed constant factor to account for volatility.
Loop Function – Iterates from user-defined indices (From → To) and compares current deviation to past deviations. Increments score for each instance where current > past, decrements when current < past. The resulting value is plotted as the primary oscillator.
Signal Logic – Long and short threshold values are configurable inputs. Crossing above the long threshold signals bullish bias; crossing below the short threshold signals bearish pressure.
Color Coding & Visual Feedback
Palette or custom colors reflect oscillator's directional state.
Additional glow lines increase signal emphasis.
Background shading highlights crossovers with mid-threshold for enhanced visibility.
Optional bar and candle coloring aligns price visualization with indicator signals.
Practical Use
Momentum Confirmation – Use a score rising above the long threshold as a potential bullish signal; falling below the short threshold may indicate bearish strength.
Volatility Normalization – Standardized deviation ensures consistency across assets of different volatility profiles.
Multi-Timeframe Adaptation – The wide selection of moving averages and loop depth settings allows calibration for scalping, swing, or long-term analysis.
Visual Clarity – Color-coordinated candles, bars, oscillator lines, and background simplify interpretation of signal context and trend structure.
Customization
Select from 16 moving average types to control sensitivity and smoothing.
Adjust loop depth (From/To) to define how far back deviation is compared.
Set custom threshold levels to reflect your preferred sensitivity to momentum shifts.
Customize visuals with predefined palettes or manual color settings for full chart integration.
⚠️Disclaimer
This indicator is a tool for technical analysis and does not provide guaranteed results. It should be used in conjunction with other analysis methods and proper risk management practices. The creators of this indicator are not responsible for any financial decisions made based on its signals.
All-In-One Trading Toolkit [wjdtks255]Title: All-In-One Trading Toolkit
Description: This professional toolkit integrates 5 essential indicators into one seamless interface to enhance your market analysis. It provides a comprehensive view of trend, momentum, and volatility.
Features:
Bollinger Bands: Tracks price volatility and potential reversal zones.
Ichimoku Cloud: Visualizes long-term trend support and resistance.
RSI Dashboard: Real-time momentum monitoring in the top-right corner.
MACD Signals: Direct Buy/Sell shape indicators on the chart for instant decision making.
Volume Profile: Identifies key price levels with high trading activity.
Strategy:
Entry: Follow the MACD crossover signals (Green/Red triangles) when they align with the Ichimoku Cloud direction.
Session Liquidity Sweep + Trend ConfirmationThis strategy aims to capture high-probability intraday trades by combining liquidity sweeps with a trend confirmation filter. It is designed for traders who want a systematic approach to trade breakouts during specific market sessions while controlling risk with ATR-based stops.
How it Works:
Session Filter: Trades are only considered during a defined session (default 9:30 - 11:00). This helps avoid low-volume periods that can lead to false signals.
Trend Confirmation: The strategy uses a 50-period EMA to identify the market trend. Long trades are only taken in an uptrend, and short trades in a downtrend.
Liquidity Sweep Detection:
A long entry occurs when price dips below the prior N-bar low but closes back above it, indicating a potential liquidity sweep that stops being triggered before the trend continues upward.
A short entry occurs when price spikes above the prior N-bar high but closes below it, signaling a potential sweep of stops before the downward trend resumes.
ATR-Based Risk Management:
Stop loss is calculated using the Average True Range (ATR) multiplied by a configurable factor (default 1.5).
Take profit is set based on a risk-reward ratio (default 2.5x).
Position Sizing: Default position size is 5% of equity per trade, making it suitable for risk-conscious trading.
Inputs:
Session Start/End (HHMM)
Liquidity Lookback Period (number of bars to define prior high/low)
ATR Length for stop calculation
ATR Stop Multiplier
Risk-Reward Ratio
EMA Trend Filter Length
Visuals:
Prior Liquidity High (red)
Prior Liquidity Low (green)
EMA Trend (blue)
Why Use This Strategy:
Captures stop-hunt moves often triggered by larger market participants.
Only trades with trend confirmation, reducing false signals.
Provides automatic ATR-based stop loss and take profit for consistent risk management.
Easy to adjust session time, ATR, EMA length, and risk-reward to suit your trading style.
Important Notes:
Assumes 0.05% commission and 1-pip slippage. Adjust according to your broker.
Not financial advice; intended for educational, backtesting, or paper trading purposes.
Always test strategies thoroughly before applying to live accounts.
Axis-Pro System | Trend Structure + Fibonacci Pullbacks Axis-Pro System is a comprehensive Trend Following strategy designed to trade high-probability pullbacks. Unlike indicators that merely chase price, this system patiently waits for market structure alignment before seeking an entry.
The system is built on the premise of "Quality over Quantity", utilizing volatility and structure filters to avoid choppy markets (ranges) and false breakouts.
🧠 Strategy Logic
The system makes decisions based on a strict 4-step hierarchy:
Higher Timeframe (HTF) Bias:
Analyzes the trend on a higher timeframe to ensure we are trading in the direction of the dominant flow.
Structure & BOS (Break of Structure):
Identifies clear impulses that break previous highs or lows. Once a BOS is confirmed, the system "arms" the trade and waits.
Fibonacci Zone Pullback:
It does not chase the breakout. Instead, it waits for a pullback into the "Discount Zone" (Golden Zone, configurable between 0.382 and 0.618) to improve the Risk/Reward ratio.
Validation & Trigger:
Uses an ATR expansion check to filter out low-volatility periods.
Requires candle confirmation and alignment with fast EMAs before pulling the trigger.
🛡️ Risk Management
The system incorporates advanced position management using a split execution model (50/50):
Dynamic Stop Loss: Automatically calculated using an ATR multiplier or the recent Swing High/Low (whichever offers better protection).
TP1 (Take Profit 1): Closes 50% of the position at a fixed R-multiple (e.g., 1.5R) to lock in profit and moves the Stop Loss to Break-Even.
TP2 (Runner): The remaining 50% is left to run for higher targets (e.g., 3.0R) or until the trend bends, maximizing gains during strong moves.
Trailing Stop: Optional feature to trail price with a fast EMA once the first target is hit.
⚙️ Settings & Features
The script is highly customizable for different assets (Crypto, Forex, Indices):
Date Range Filter: Includes a date selector to perform precise Backtesting on specific periods (e.g., testing specifically during a Bear Market vs. Bull Market).
Auto Trendlines: Automatically draws relevant trendlines for visual support.
Quality Filters: Options to toggle the EMA 200 filter and breakout buffers.
⚠️ Disclaimer
This strategy is a tool for analysis and backtesting purposes. Past performance does not guarantee future results. It is highly recommended to test the strategy on a Demo account first and adjust parameters according to the volatility of the specific asset being traded. Always use responsible risk management.
ColorFlow EMA📊 ColorFlow EMA — Trend Flow & Bias Indicator
🔹 What This Indicator Does
ColorFlow EMA is a clean, visual trend-flow indicator designed to show directional bias and momentum state at a glance.
It uses two exponential moving averages:
Fast EMA (default: 10)
Slow EMA (default: 20)
The area between the EMAs is color-shaded to clearly display whether price is in a bullish or bearish flow.
🎨 Visual Logic
🔵 Blue shading → Bullish flow
(Fast EMA above Slow EMA)
🔴 Red shading → Bearish flow
(Fast EMA below Slow EMA)
Optional crossover markers can be enabled for visual confirmation when EMA alignment changes.
🧠 How to Use ColorFlow EMA
This indicator is not a standalone strategy and is not intended for signal-chasing.
It is best used as a context and bias filter alongside:
Price action
Market structure (HH/HL, LH/LL)
Support & resistance or supply & demand zones
Pullbacks vs premium/discount
Typical use cases:
Favor longs when the flow is blue
Favor shorts when the flow is red
Avoid forcing trades when EMAs are tangled or flat
Wait for pullbacks into structure instead of chasing price
⚠️ Important Notes
EMA crossovers alone do not guarantee profitable trades
Market conditions, structure, and location always matter
Works best in trending or transitioning markets
Not designed for ranging/choppy environments without context
⚙️ Customization
EMA lengths can be adjusted
Crossover markers can be toggled on/off
Designed to stay visually clean and uncluttered
🎯 Who This Indicator Is For
Traders who prioritize price action over indicators
Intraday traders (forex, indices, ETFs, stocks)
Traders who want clarity, not noise
📝 Final Thought
ColorFlow EMA answers one simple question:
“Should I be looking for longs or shorts here?”
Use it for bias, not prediction.
ColorFlow EMA📊 ColorFlow EMA — Trend Flow & Bias Indicator
🔹 What This Indicator Does
ColorFlow EMA is a clean, visual trend-flow indicator designed to show directional bias and momentum state at a glance.
It uses two exponential moving averages:
Fast EMA (default: 10)
Slow EMA (default: 20)
The area between the EMAs is color-shaded to clearly display whether price is in a bullish or bearish flow.
🎨 Visual Logic
🔵 Blue shading → Bullish flow
(Fast EMA above Slow EMA)
🔴 Red shading → Bearish flow
(Fast EMA below Slow EMA)
Optional crossover markers can be enabled for visual confirmation when EMA alignment changes.
🧠 How to Use ColorFlow EMA
This indicator is not a standalone strategy and is not intended for signal-chasing.
It is best used as a context and bias filter alongside:
Price action
Market structure (HH/HL, LH/LL)
Support & resistance or supply & demand zones
Pullbacks vs premium/discount
Typical use cases:
Favor longs when the flow is blue
Favor shorts when the flow is red
Avoid forcing trades when EMAs are tangled or flat
Wait for pullbacks into structure instead of chasing price
⚠️ Important Notes
EMA crossovers alone do not guarantee profitable trades
Market conditions, structure, and location always matter
Works best in trending or transitioning markets
Not designed for ranging/choppy environments without context
⚙️ Customization
EMA lengths can be adjusted
Crossover markers can be toggled on/off
Designed to stay visually clean and uncluttered
🎯 Who This Indicator Is For
Traders who prioritize price action over indicators
Intraday traders (forex, indices, ETFs, stocks)
Traders who want clarity, not noise
📝 Final Thought
ColorFlow EMA answers one simple question:
“Should I be looking for longs or shorts here?”
Use it for bias, not prediction.
Smart QA Checker Market StructureSmart Checker Market Structure
This Pine Script v6 indicator automatically analyzes market structure and displays the results in a clear question‑and‑answer format on the chart
It identifies basic structural patterns using recent highs and lows
Higher Highs HH and Higher Lows HL indicate an uptrend
Lower Lows LL and Lower Highs LH indicate a downtrend
Based on this logic, the script classifies the current market trend as
Uptrend
Downtrend
Sideways
Adaptive Momentum Contextdaptive Momentum Context (AMC)
Adaptive Momentum Context (AMC) is a single-panel, overlay indicator designed to help traders read market context, momentum behavior, and volatility-driven rhythm in a structured and non-misleading way.
This indicator does not aim to predict future price movements. Instead, it focuses on describing current market conditions using adaptive smoothing and higher-timeframe bias.
Concept Overview
AMC is built around three core ideas:
Higher Timeframe Context (Bias)
Adaptive Market Rhythm
Momentum Behavior within Context
These components are combined to provide a clearer view of when momentum aligns with the broader market structure.
Higher Timeframe Bias
The indicator retrieves price data from a user-selected higher timeframe and compares it to a moving average on that timeframe.
When higher timeframe price is above its average, the background is shaded green.
When it is below, the background is shaded red.
This background does not generate signals.
Its purpose is to define directional context and reduce decision-making against dominant market conditions.
Adaptive Market Rhythm
Instead of using a fixed-length moving average, AMC calculates an adaptive smoothing length based on relative volatility.
When volatility expands, the smoothing period increases.
When volatility contracts, the smoothing period shortens.
Because Pine Script does not allow dynamic lengths in built-in moving averages, the adaptive line is calculated manually using a recursive EMA formula.
This ensures:
No repainting
No future data access
Full Pine Script v6 compliance
The adaptive line represents the current market rhythm, not a trend guarantee.
Momentum Behavior
Momentum is derived from changes in the adaptive rhythm rather than raw price.
Small visual markers appear when:
Momentum accelerates in the direction of the higher timeframe bias
Momentum decelerates against that bias
These markers are contextual cues, not standalone trade signals.
How to Use
AMC is best used as a context and filtering tool, not as a mechanical entry system.
Possible use cases:
Filtering lower-timeframe entries
Avoiding trades against higher-timeframe structure
Visualizing momentum shifts during pullbacks or continuations
Users are encouraged to combine this indicator with their own risk management and execution rules.
Important Notes
This indicator does not provide performance guarantees.
Past behavior does not imply future results.
No lookahead, no repainting, or non-standard chart types are used.
Default settings are intended for general use and may require adjustment depending on market and timeframe.
Apex Wallet - Ultimate Trend Meter: 9-in-1 Multi-Layer Momentum Overview The Apex Wallet Trend Meter is an advanced decision-making dashboard designed to provide a comprehensive view of market conditions without cluttering your main price chart. It synthesizes complex data from 9 different technical sources into a clean, horizontal visual grid, allowing traders to spot confluence at a single glance.
The Power of Confluence Instead of switching between multiple oscillators, this tool monitors:
Triple EMA Structure: Tracks Short, Medium, and Long-term trend directions.
Momentum Suite: Real-time status of RSI, Stochastic, and StochRSI.
Advanced Analyzers: Includes MACD (Line/Signal), TDI (Traders Dynamic Index), and the Andean Oscillator for trend exhaustion and volatility states.
Smart Delta Net: A sophisticated Volume Delta engine that filters market noise through customizable modes (Buy/Sell, Neutral, or Automatic).
Key Features:
Adaptive Trading Presets: One-click selection for Scalping, Day-Trading, or Swing-Trading. The script automatically recalibrates all 9 indicator periods to fit your timeframe.
Market Bias Filtering: Indicators are color-coded based on their alignment with the global market trend. Signals only turn Bullish or Bearish when they align with the master trend EMA.
Dynamic Delta Grid: Displays scaled net volume values directly inside the grid for precise institutional flow tracking.
Fully Customizable UI: Toggle any layer on/off and adjust the layout density to match your workspace.
How to use: Look for "Vertical Confluence." When multiple layers turn the same color simultaneously, it indicates a high-probability momentum shift.
Bar-Close Confirmed SupertrendOverview
This indicator is a Supertrend-style trend follower that confirms direction changes only after a bar closes. Trend flips are determined using the previous bar’s close relative to the bands, which helps avoid intrabar changes during live candles.
How it works
Computes ATR (Average True Range)
Builds upper/lower bands using ATR and a multiplier
Updates trend direction only when a prior candle confirms a break of the band
Confirmation logic (bar-close based)
Trend direction is updated using conditions based on the previous candle, such as:
close > upper → confirm uptrend
close < lower → confirm downtrend
Because signals are confirmed on the prior bar, trend changes and markers are displayed only when confirmation exists.
Signals
Uptrend confirmation: prior candle closes above the upper band → bullish marker
Downtrend confirmation: prior candle closes below the lower band → bearish marker
Inputs
ATR Length (default 10)
ATR Multiplier (default 3.0)
Notes
This script is intended for bar-close workflows. Behavior and responsiveness may differ across markets and timeframes depending on volatility and chosen settings.
ICT Flow Matrix [Ultimate]📊 Overview
ICT Flow Matrix is a comprehensive, all-in-one Smart Money Concepts (SMC) indicator built for traders who follow ICT (Inner Circle Trader) methodology. This indicator consolidates over 15 institutional trading concepts into a single, highly customizable tool—eliminating chart clutter from multiple indicators while providing deep market structure analysis.
Whether you're identifying liquidity pools, tracking order flow, or timing entries during ICT Macro windows, this indicator delivers institutional-grade analysis directly on your chart.
Pro Tip: use with ICT Market Regime Detector for clear language reads on everything.
⚡ Key Features
🎯 Price Delivery Arrays (PDAs)
Fair Value Gaps (FVG) — Automatic detection with customizable mitigation tracking (Wick Touch, 50% CE, Full Close)
Inverse FVGs (iFVG) — Identifies when FVGs fail and flip, creating new tradeable zones
Order Blocks (OB) — Last opposing candle before impulsive moves with adjustable impulse strength
Breaker Blocks (BB) — Automatically generated when Order Blocks fail
Rejection Blocks (RB) — Strong wick rejections indicating institutional defense
Volume Imbalances (VIMB) — Gaps between candle bodies showing aggressive institutional activity
📐 Market Structure & Liquidity
Market Structure Shifts (MSS) — Real-time detection of bullish/bearish structure breaks
Equal Highs/Lows (EQH/EQL) — Liquidity pools where stop losses accumulate
Buy-Side/Sell-Side Liquidity (BSL/SSL) — Swing point liquidity levels with sweep detection
Premium/Discount Zones — Visual shading showing institutional buying/selling areas
OTE Zone (61.8%-79%) — Optimal Trade Entry zone for high-probability entries
⏰ Time-Based Analysis
ICT Macro Times — All nine 30-minute algorithmic windows (02:45, 03:45, 04:45, 09:45, 10:45, 13:45, 14:45, 15:15, 15:45 NY Time)
Killzone Sessions — Asia, London, NY AM, NY PM with customizable times
Session Opens — Weekly, Monthly, Daily opening prices
Previous Period H/L — PDH/PDL, PWH/PWL, PMH/PML levels
📏 Dealing Ranges
Multi-Timeframe Ranges — 21-Day, 3-Day, Daily dealing ranges
Session Ranges — Asia, London, NY dealing ranges with equilibrium
Fibonacci Structure — 0%, 50% (EQ), 100% levels with P/D shading
🕯️ HTF Orderflow
Higher Timeframe Candles — Display up to 6 HTF candles with auto-timeframe selection
Candle Timer — Countdown to next HTF candle close
O/H/L Reference Lines — Current HTF open, high, low levels extended on chart
🎨 Visual Customization
5 Theme Presets — Dark Pro, Light Clean, Neon, Classic, Custom
Full Color Control — Customize every element individually
Zone Styles — Filled or Border Only options
Mitigation Effects — Visual fade when zones are mitigated
📋 Smart Dashboard
Real-Time Status — Structure bias, zone position, active session, OTE status
Confluence Score — Algorithmic scoring when multiple concepts align
Zone Counters — Active FVG, OB, BB, RB, VIMB, liquidity levels
3 Display Modes — Minimal, Compact, Detailed
🔔 Comprehensive Alert System
40+ Alert Conditions including:
FVG/OB/BB/RB/VIMB formation
Liquidity sweeps (EQH, EQL, BSL, SSL)
Market Structure Shifts
OTE zone entry
Macro time windows
Session opens
High confluence zones
Combo alerts (Macro + Confluence)
📖 How To Use
For Swing/Position Traders:
Enable HTF Orderflow to identify dominant trend direction
Use Dealing Ranges (3D, 21D) to find premium/discount zones
Look for OB/FVG confluence in discount (longs) or premium (shorts)
Confirm with MSS for trend alignment
For Day/Intraday Traders:
Mark the Asian Range during pre-market
Wait for London or NY AM Killzone
Enter during ICT Macro windows when price reaches FVG/OB in OTE zone
Target opposite liquidity (BSL for longs, SSL for shorts)
Confluence Trading:
Dashboard shows real-time confluence score
Score ≥ 3 indicates multiple ICT concepts aligned
Higher scores = higher probability setups
⚙️ Recommended Settings
Trading Style FVG Max OB Max History Bars HTF Candles
Scalping 3-5 2-3 100-200 3-4 Day Trading 5-8 3-5 200-400 4-5
Swing Trading 8-12 5-8 400-800 5-6
🎯 Best Practices
✅ Do:
Use HTF bias before taking LTF entries
Wait for Macro time windows for highest probability
Combine MSS + FVG/OB + OTE for A+ setups
Let mitigated zones fade (use Mitigation Fade setting)
❌ Avoid:
Trading against HTF structure
Entries outside Killzones (lower probability)
Ignoring liquidity targets
Over-cluttering chart (disable unused features)
📝 Version History
v6.0 (Current)
Complete rewrite in PineScript v6
Added ICT Macro Times with bracket/background styles
Enhanced confluence detection algorithm
Improved HTF candle rendering with multiple styles
Added Inverse FVG detection
Session-based Dealing Ranges
Performance optimizations
40+ alert conditions
⚠️ Disclaimer
This indicator is a technical analysis tool designed to visualize ICT/SMC concepts. It does not provide financial advice or guarantee profitable trades. Past performance is not indicative of future results. Always use proper risk management and trade responsibly.
💬 Support & Feedback
If you find this indicator valuable, please leave a comment or boost! Your feedback helps improve future updates.
Questions? Drop a comment below—I actively respond to all questions about the indicator's features and usage.
ICT Market Regime Detector [TradeHook]🔮 Overview
The **ICT Market Regime Detector** is an advanced market condition classifier designed to identify the current market environment and provide context-aware trading guidance. Rather than generating buy/sell signals, this indicator focuses on answering the crucial question: *"What type of market am I trading in right now?"*
Understanding market regime is fundamental to successful trading. The same strategy that works brilliantly in a trending market can fail spectacularly during consolidation. This indicator automatically classifies market conditions into one of eight distinct regimes, each requiring different trading approaches.
---
🎯 Regime Classifications
The indicator identifies these market states:
| Regime | Description | Recommended Approach |
|------------------------|--------------------------------------------------|--------------------------------------|
| *STRONG TREND* |Directional momen. w/ healthy struc| Cont.entries with OTE pullbacks |
| **WEAK TREND** | Gradual drift with retracements | Conservative Order Block entries |
| **ACCUMULATION** | Institutional buying within range | Longs near range lows |
| **DISTRIBUTION** | Institutional selling within range | Shorts near range highs |
| **CONSOLIDATION** | Tight range, low volatility squeeze | Wait for breakout |
| **EXPANSION** | Volatile breakout phase | Momentum following |
| **REVERSAL** | Structural transition period | Wait for confirmation |
| **CHOPPY** | No clear edge | **Avoid trading** |
---
⚙️ How It Works
**Trend Analysis Engine**
- Calculates ADX (Average Directional Index) using Wilder's smoothing method
- Monitors +DI/-DI for directional bias
- Detects trend health via EMA alignment
- Identifies exhaustion through RSI divergence
**Volatility Analysis Engine**
- Measures current vs historical volatility ratio
- Classifies as LOW, NORMAL, HIGH, or EXTREME
- Tracks volatility expansion/contraction phases
**Range Analysis Engine**
- Calculates dynamic support/resistance boundaries
- Tracks price position within range (0-100%)
- Detects range narrowing (squeeze) and expansion patterns
**Institutional Activity Detection**
- Volume spike identification
- Absorption candle patterns (large wicks, small body)
- Displacement candles (large body, small wicks)
- Accumulation/Distribution pattern recognition
---
🛡️ Risk Management Features
**Daily Loss Limit**
- Set maximum daily loss as percentage of account
- Visual warning when approaching limit
- Alert when limit is breached
**Maximum Daily Trades**
- Configurable trade counter per session
- Prevents overtrading
- Session reset options (NY Open, London Open, etc.)
**Trading Readiness Checklist**
- Clear regime ✓/✗
- Kill zone active ✓/✗
- HTF alignment ✓/✗
- Volatility normal ✓/✗
- Loss limit OK ✓/✗
- Trades remaining ✓/✗
---
📊 Multi-Timeframe Analysis
The indicator includes 4H timeframe regime alignment to ensure lower timeframe setups align with higher timeframe bias. Trades taken with HTF alignment historically have higher probability.
---
⏰ Kill Zone Integration
Built-in ICT Kill Zone detection:
- 🌙 Asian Session (Range Building)
- 🇬🇧 London Open (Prime Execution)
- 🇺🇸 NY AM (Prime Execution)
- 🔫 Silver Bullet (10-11 AM EST)
- 🇺🇸 NY PM (Afternoon Opportunities)
Configurable UTC offset for your timezone.
---
🎨 Visual Features
- **Regime-Colored Bars** - Instantly see current market state
- **Comprehensive Dashboard** - All metrics in one panel
- **Adjustable Table Size** - Tiny/Small/Normal/Large
- **Flexible Positioning** - Place dashboard in any corner
- **Optional Regime Labels** - Mark regime changes on chart
---
⚠️ Important Notes
1. This indicator is a **decision support tool**, not a signal generator
2. Always combine with proper price action analysis
3. Past regime identification doesn't guarantee future performance
4. Risk management settings are for tracking purposes only - actual position management should be done through your broker
5. The indicator works best on liquid markets with consistent volume data
---
📚 Educational Purpose
This indicator is designed for educational purposes to help traders understand market structure and regime classification. It implements concepts from ICT (Inner Circle Trader) methodology including:
- Market structure analysis
- Kill zone timing
- Institutional activity patterns
- Multi-timeframe confluence
---
🔧 Inputs Summary
**Master Toggles**
- Enable/Disable indicator, regime detection, recommendations, risk management, alerts
**Core Settings**
- Analysis lookback periods (short/medium/long)
- ADX thresholds for trend classification
- Volatility spike multiplier
**Risk Management**
- Max daily loss percentage
- Max daily trades
- Account size for P&L calculation
- Session reset timing
**Visualization**
- Dashboard on/off and position
- Regime zones and labels
- Bar coloring
- Table text size
---
💡 Tips for Use
1. **Don't trade CHOPPY regimes** - The indicator explicitly warns when no edge exists
2. **Respect the checklist** - Trade only when multiple conditions align
3. **Adjust ADX thresholds** - Different instruments may require fine-tuning
4. **Monitor regime duration** - Fresh regime changes often present the best opportunities
5. **Use with other TradeHook indicators** - Designed to complement the MTMGBS system
⚖️ DISCLAIMER
This indicator is for **educational and informational purposes only**. It does not constitute financial advice. Trading involves substantial risk of loss and is not suitable for all investors. Past performance is not indicative of future results. Always conduct your own analysis and consult with a qualified financial advisor before making trading decisions.
Apex Wallet - Ultimate Trading Suite: All-In-One Overlay & SignaOverview The Apex Wallet All-In-One is a comprehensive professional trading toolkit designed to centralize every essential technical analysis tool directly onto your main price chart. Instead of cluttering your workspace with dozens of separate indicators, this script integrates trend analysis, volatility bands, automated chart patterns, and a multi-indicator signal engine into a single, cohesive interface.
Key Modular Features:
Trend Core: Features dynamic trend curves, cloud fills for momentum visualization, and a multi-timeframe dashboard (1m to 4h) to ensure you are always trading with the higher-timeframe bias.
Automated Chart Structures: Automatically detects and plots Support/Resistance levels, Standard Pivot Points, Market Gaps, and Fair Value Gaps (Imbalances).
Volatility & Volume: Includes professional-grade VWAP with standard deviation bands, Bollinger Bands, and a built-in Volume Delta (Raw/Net) tracker.
Signal Engine: A powerful cross-logic system that generates entry signals based on RSI (QQE), MACD (Zero-cross & Relance), Stochastic, TDI, and the Andean Oscillator.
Predictive Projections: A unique feature that projects current indicator slopes into future candles to help anticipate potential trend continuations or reversals.
Adaptability The script includes three core presets—Scalping, Day-Trading, and Swing-Trading—which automatically adjust all internal periods (Moving Averages, Bollinger, RSI, etc.) to match your specific market speed.
Visual Cleanliness Every feature is toggleable. You can display a "clean" chart with just the Trend Cloud or a "complete" workstation with signals, patterns (Doji, Engulfing), and pivot levels
Apex Wallet - Ultimate Multi-Oscillator (9-in-1) & Market TrendThe Apex Wallet Multi-Oscillator is a powerful "All-in-One" technical analysis tool designed to clean up your charts by combining nine of the most effective momentum and trend indicators into a single workspace. This script is engineered to adapt to different trading styles—Scalping, Day-Trading, or Swing-Trading—with a single click.
+4
Whether you are looking for trend exhaustion, momentum shifts, or volatility breakouts, this indicator provides a clear, visual summary of market dynamics.
+1
Key Features
9 Indicators in 1: Access RSI, Stochastic, StochRSI, MACD, Zero-Lag MACD, Andean Oscillator, and the Traders Dynamic Index (TDI).
+1
Smart Layout Modes:
Raw (Brut): Classic view with original values.
+1
Stacked (Empilé): Organizes indicators into fixed vertical zones to prevent overlapping.
+1
Proportional Stacking: Automatically calculates and adjusts the height of blocks based on active oscillators.
+2
Trading Presets: Switch between Scalping, Day-Trading, and Swing-Trading modes. The script automatically adjusts periods and lengths (e.g., RSI 7 for Scalping vs. 21 for Swing) to match the market speed.
+3
Included Oscillators
Stochastic & RSI: Standard momentum tools with color-coded signals.
Traders Dynamic Index (TDI): A full suite including the RSI Price Line, Signal Line, and Market Base Line with optional Bollinger Bandwidth columns.
+1
MACD & Zero-Lag MACD: Includes histogram fills and trend-colored lines for faster reaction to price movement.
+2
Andean Oscillator: An advanced tool to identify Bull/Bear dominance and market "Range" or "Reversal" states.
Visual Signals & Alerts
Market Trend: Optional visual coloring based on indicator crosses to quickly spot bullish or bearish momentum.
+3
Customizable UI: High-fidelity rendering with dashed levels and proportional fills for a professional, clean interface.
+1
Integrated Alerts: Pre-configured alerts for Andean Oscillator trend changes (Bullish, Bearish, or Reversal).
How to use
Select your Trading Mode in the settings based on your timeframe.
Toggle the indicators you want to see.
Use the Stacked mode if you want to keep your sub-window organized without lines crossing each other.
Trend ComboI have just combined Vwap with EMA's, along with a Parabolic Sar to help with timing potential entries and exits. Always use a stop loss.
Volume Channel Flow [ChartPrime]⯁ OVERVIEW — Volume Channel Flow
The Volume Channel Flow indicator dynamically tracks evolving trend channels while simultaneously analyzing volume distribution within each channel segment.
By combining adaptive volatility-based channel boundaries with real-time volume profiling, the tool highlights directional bias, structural breakouts, and zones where buy/sell pressure is concentrated.
This makes it a powerful hybrid of a trend-tracking system and a miniature volume-profile engine that updates live as the market moves.
⯁ CONCEPTS
Dynamic Volatility Channel:
Upper and lower channel levels are continuously recalculated using ATR. These levels shift only when price breaks outside the previous channel, signaling a trend transition.
Channel Segmentation:
When a channel shift occurs, the previous segment is closed and visually plotted as its own range — allowing traders to inspect each discrete “flow phase” of the market.
Embedded Volume Profile:
Inside each channel segment, the indicator builds a mini volume histogram using user-defined binning. This creates a quick visual read of how volume was distributed within that price range.
Point of Control (PoC):
The price level with the highest traded volume inside each completed segment is detected and plotted as a dashed horizontal PoC line.
Flow Bias (Bullish/Bearish):
The volume profile color adapts depending on whether cumulative delta volume (buy minus sell pressure) is positive or negative for the segment.
Breakout Labels:
When a new channel is formed, arrows mark whether the breakout occurred upward or downward.
⯁ FEATURES
Adaptive Trend Channel Construction
Channels update only when price closes beyond upper or lower volatility thresholds. This isolates trend shifts with minimal noise.
Channel Visualization Options
Choose to display full channel boxes or only trend lines using customizable styling.
Real-Time Volume Profiling
As long as the channel remains active, volume distribution is recalculated live on every bar.
PoC Projection
The PoC is drawn across the channel range, marking the highest-volume price level for each segment.
Directional Delta Coloring
Volume profiles automatically shift to bullish or bearish colors based on cumulative delta inside the channel.
Breakout Detection
Arrows highlight each transition into a new channel regime.
⯁ HOW TO USE
Spot trend changes using breakout arrows and the creation of new trend channels.
Gauge strength of a channel by examining the density and shape of the internal volume profile.
Use PoC levels as potential support/resistance interaction zones.
Validate momentum by checking whether volume delta shows bullish or bearish dominance.
Monitor channel edges to anticipate continuation or reversal setups.
⯁ CONCLUSION
The Volume Channel Flow indicator merges trend structure with volume analytics, providing a continuously adaptive picture of market flow.
It not only detects where trend phases begin and end, but also reveals what type of volume behavior shaped each segment, offering a deeper understanding of trend strength and directional pressure.
Kalman Hull Trend Score [BackQuant]Kalman Hull Trend Score
Overview
Kalman Hull Trend Score is a trend-strength and regime-evaluation indicator that combines two ideas, Kalman filtering and Hull-style smoothing, then measures persistence of that filtered trend using a rolling score. The goal is to produce a cleaner, more stable trend read than typical moving average tools, while still reacting fast enough to be practical in live markets.
Instead of treating a moving average as a simple line you cross, this indicator turns the filtered trend into an oscillator-like score that answers: “Is the smoothed trend consistently progressing, or is it stalling and degrading?”
Core idea
The indicator is built from two components:
A Kalman-based smoothing engine that estimates price state and reduces noise adaptively.
A Hull-style construction that uses multiple Kalman passes to create a responsive, low-lag trend filter.
Once the Kalman Hull filter is built, a persistence score is calculated by comparing the current Kalman Hull value to many past values. The result is a trend score that rises in sustained trends and compresses or flips during deterioration.
Why Kalman instead of standard smoothing
Traditional moving averages apply fixed smoothing rules regardless of market conditions. A Kalman filter behaves differently, it is designed to estimate an underlying state in noisy data, adjusting how much it “trusts” new price information versus prior estimates.
This script exposes that behavior through two key controls:
Measurement Noise: how noisy the observed price is assumed to be.
Process Noise: how much the underlying state is allowed to evolve from bar to bar.
Together, these settings let you tune the balance between smoothness and responsiveness without relying on blunt averaging alone.
Kalman filter mechanics (conceptual)
Each update cycle follows the classic structure:
Prediction: assume the state continues, and expand uncertainty by process noise.
Update: compute Kalman Gain, then blend the new price observation into the estimate.
Correction: reduce uncertainty based on how much the filter accepted the new information.
When measurement noise is higher, the filter becomes more conservative, smoothing harder. When process noise is higher, the filter adapts faster to regime changes, but can become more reactive.
Check out the original script:
Kalman Hull construction
The “Hull” component is not a standard HMA built from WMAs. Instead, it recreates the Hull idea using Kalman filtering as the smoothing primitive. The structure follows the same intent as HMA, reduce lag while keeping the line smooth, but does it with Kalman passes:
Apply Kalman smoothing over multiple effective lengths.
Combine them using the Hull-style weighting logic.
Run the combined output through another Kalman pass to finalize smoothing.
The result is a Kalman Hull filter that aims to track trend with less jitter than raw price, and less lag than slow averages.
Another Kalman Hull with Supertrend
Trend scoring logic
The trend score is computed by comparing the current Kalman Hull value to past Kalman Hull values over a fixed lookback range (1 to 45 bars in this script):
If current kalmanHMA > kalmanHMA , add +1
If current kalmanHMA < kalmanHMA , add -1
This produces a persistence score rather than a simple direction signal. Strong trends where the filter keeps advancing will accumulate positive comparisons. Weak trends, chop, or reversals will cause the score to flatten, decay, or flip negative.
Interpreting the score
Read the score as trend conviction and persistence:
High positive values: bullish persistence, the filtered trend is progressing consistently.
Low positive values: trend exists but is fragile, progress is slowing.
Near zero: indecision, range behavior, frequent challenges to structure.
Negative values: bearish persistence or sustained deterioration in the filtered trend.
The rate of change matters:
Score expansion suggests trend is gaining traction.
Score compression often signals consolidation or exhaustion.
Fast flips usually accompany regime transitions.
Signal thresholds and regime transitions
User-defined thresholds convert the score into regimes:
Long threshold: score must exceed this level to confirm bullish persistence.
Short threshold: a crossunder of the score triggers bearish regime transition.
This is intentionally conservative. Long bias is maintained while the score holds above the long threshold. Short transitions are event-triggered on breakdown via crossunder, helping avoid constant flipping during minor noise.
Signals are only plotted on regime changes (first bar of the flip), keeping them clean for alerts and backtests.
Visual presentation
The indicator provides multiple layers depending on how you want to use it:
Kalman Hull Trend Score oscillator, color-coded by active regime.
Optional Kalman Hull filter plotted on the price chart for structure context.
Optional threshold reference lines for quick regime mapping.
Optional candle coloring and background shading for instant readability.
You can run it as a pure score panel or as a combined panel + on-chart trend overlay.
How to use in practice
Trend filtering
Favor long setups when the score remains above the long threshold.
Reduce directional aggression when score compresses toward zero.
Treat a short-threshold breakdown as a regime risk event, not just a signal.
Trend quality assessment
Rising score supports continuation trades and adds confidence to breakouts.
Flat or falling score warns that trend persistence is fading.
If price trends but score fails to expand, trend may be weak or liquidity-driven.
Trade management
Use the Kalman Hull line as dynamic structure reference on chart.
Use score deterioration to scale out before a full regime flip.
Use regime flips as confirmation for bias shifts rather than prediction.
Tuning guidelines
Measurement Noise
Higher: smoother filter, fewer false shifts, slower to adapt.
Lower: more responsive, more sensitive to microstructure noise.
Process Noise
Higher: adapts quicker to sudden changes, but can become twitchy.
Lower: steadier state estimate, but slower during sharp regime transitions.
A practical approach is to first tune measurement noise until the Kalman Hull line matches the “clean trend structure” you want, then adjust process noise to control how quickly it reacts when the regime genuinely changes.
Summary
Kalman Hull Trend Score transforms a Kalman-based Hull-style trend filter into a quantified persistence oscillator. By combining adaptive Kalman smoothing with low-lag Hull logic and a rolling comparison score, it provides a cleaner read on trend quality than basic moving averages or single-condition trend tools. It is best used as a regime filter, trend strength gauge, and structure-aware trade management layer.
Strict EMA Wick Pullback Trend ContinuationThis script is a strict EMA pullback entry model
designed exclusively for trend continuation traders.
It does NOT attempt to predict tops or bottoms.
It waits for established trends and enters only
on shallow pullbacks with defined risk.
OVERVIEW
This strategy is built for disciplined trend continuation trading.
It looks for shallow pullbacks into a fast EMA during established uptrends
and exits when trend structure breaks.
There is no counter-trend logic and no optimization for win rate.
ENTRY LOGIC
A long entry is triggered when:
• Price pulls back into the fast EMA area (wick touch)
• The pullback remains above the slow EMA (trend integrity)
• The candle closes bullish
• Optional: slow EMA is rising (trend filter)
RISK MANAGEMENT
• A dynamic stop is placed just below the fast EMA
• The stop only tightens — it never loosens
• Losses are small and predefined
• The system is designed to be scaled via position sizing
EXIT LOGIC
• Positions are closed when the fast EMA crosses below the slow EMA
• This represents a breakdown of trend continuation structure
WHAT THIS STRATEGY IS
• A trend continuation entry module
• Risk-first by design
• Low win-rate, high payoff profile
• Designed for trending markets
WHAT THIS STRATEGY IS NOT
• Not a reversal system
• Not a scalping strategy
• Not a signal service
• Not optimized for ranging markets
• Not a promise of profitability
IMPORTANT NOTES
• Long-only by design (BTC context)
• No repainting logic
• Best used with higher-timeframe trend confirmation
• This is a tool, not financial advice
Recommended markets: BTCUSD / BTCUSDT
Timeframe: 1D
Trend filter: ON
Risk: fixed % per trade (user-defined)
Quality-Controlled Trend StrategyOverview
This strategy demonstrates a clean, execution-aware trend framework with fully isolated risk management.
Entry conditions and risk logic are intentionally separated so risk parameters can be adjusted without altering signal behavior.
All calculations are evaluated on confirmed bars to ensure backtest behavior reflects real-time execution.
Design intent
Many scripts mix entries and exits in ways that make results fragile or misleading.
This strategy focuses on structural clarity by enforcing:
confirmed-bar logic only
fixed and transparent risk handling
consistent indicator calculations
one position at a time
It is intended as a baseline framework rather than an optimized system.
Trading logic (high level)
Trend context
EMA 50 vs EMA 200 defines directional bias
Entry
Price alignment with EMA 50
RSI used as a momentum confirmation, not as an overbought/oversold signal
Risk management
Stop-loss based on ATR
Fixed risk–reward structure
Risk logic is isolated from entry logic
Editing risk without affecting signals
All stop-loss and take-profit calculations are handled in a dedicated block.
Users can adjust:
ATR length
stop-loss multiplier
risk–reward ratio
without modifying entry conditions.
This allows controlled experimentation while preserving signal integrity.
Usage notes
Results vary by market, timeframe, and volatility conditions.
This script is provided for testing and educational purposes and should be validated across multiple symbols and forward-tested before use in live environments.
Smart Money Flow Cloud [BOSWaves]Smart Money Flow Cloud - Volume-Weighted Trend Detection with Adaptive Volatility Bands
Overview
Smart Money Flow Cloud is a volume flow-aware trend detection system that identifies directional market regimes through money flow analysis, constructing adaptive volatility bands that expand and contract based on institutional pressure intensity.
Instead of relying on traditional moving average crossovers or fixed-width channels, trend direction, band width, and signal generation are determined through volume-weighted money flow calculation, nonlinear flow strength modulation, and volatility-adaptive band construction.
This creates dynamic trend boundaries that reflect actual institutional buying and selling pressure rather than price momentum alone - tightening during periods of weak flow conviction, expanding during strong directional moves, and incorporating flow strength statistics to reveal whether regimes formed under accumulation or distribution conditions.
Price is therefore evaluated relative to adaptive bands anchored at a flow-informed baseline rather than conventional trend-following indicators.
Conceptual Framework
Smart Money Flow Cloud is founded on the principle that sustainable trends emerge where volume-weighted money flow confirms directional price movement rather than where price alone creates patterns.
Traditional trend indicators identify regime changes through price crossovers or slope analysis, which often ignore the underlying volume dynamics that validate or contradict those movements.This framework replaces price-centric logic with flow-driven regime detection informed by actual buying and selling volume.
Three core principles guide the design:
Trend direction should correspond to volume-weighted flow dominance, not price movement alone.
Band width must adapt dynamically to current flow strength and volatility conditions.
Flow intensity context reveals whether regimes formed under conviction or uncertainty.
This shifts trend analysis from static moving averages into adaptive, flow-anchored regime boundaries.
Theoretical Foundation
The indicator combines adaptive baseline smoothing, close location value (CLV) methodology, volume-weighted flow tracking, and nonlinear strength amplification.
A smoothed trend baseline (EMA or ALMA) establishes the core directional reference, while close location value measures where price settled within each bar's range. Volume weighting applies directional magnitude to flow calculation, which accumulates into a normalized money flow ratio. Flow strength undergoes nonlinear power transformation to amplify strong conviction periods and dampen weak flow environments. Average True Range (ATR) provides volatility-responsive band sizing, with final width determined by the interaction between base volatility and flow-modulated multipliers.
Four internal systems operate in tandem:
Adaptive Baseline Engine : Computes smoothed trend reference using either EMA or ALMA methodology with configurable secondary smoothing.
Money Flow Calculation System : Measures volume-weighted directional pressure through CLV analysis and ratio normalization.
Nonlinear Flow Strength Modulation : Applies power transformation to flow intensity, creating dynamic sensitivity scaling.
Volatility-Adaptive Band Construction : Scales band width using ATR measurement combined with flow-strength multipliers that range from minimum (calm) to maximum (strong flow) expansion.
This design allows bands to reflect actual institutional behavior rather than reacting mechanically to price volatility alone.
How It Works
Smart Money Flow Cloud evaluates price through a sequence of flow-aware processes:
Close Location Value (CLV) Calculation : Each bar's closing position within its high-low range is measured, creating a directional bias indicator ranging from -1 (closed at low) to +1 (closed at high).
Volume-Weighted Flow Tracking : CLV is multiplied by bar volume, then accumulated and normalized over a configurable flow window to produce a money flow ratio between -1 and +1.
Flow Smoothing and Strength Extraction : The raw money flow ratio undergoes optional smoothing, then nonlinear power transformation to amplify strong flow periods and compress weak flow environments.
Adaptive Baseline Construction : Price (both open and close) is smoothed using either EMA or ALMA methodology with optional secondary smoothing to create a stable trend reference.
Dynamic Band Sizing : ATR measurement is multiplied by a flow-strength-modulated factor that interpolates between minimum (tight) and maximum (wide) multipliers based on current flow conviction.
Regime Detection and Visualization : Price crossing above the upper band triggers bullish regime, crossing below the lower band triggers bearish regime. The baseline cloud visualizes open-close relationship within the current trend.
Retest Signal Generation : Price touching the baseline from within an established regime generates retest signals with configurable cooldown periods to prevent noise.
Together, these elements form a continuously updating trend framework anchored in volume flow reality.
Interpretation
Smart Money Flow Cloud should be interpreted as flow-confirmed trend boundaries:
Bullish Regime (Blue) : Activated when price crosses above the upper adaptive band, indicating volume-confirmed buying pressure exceeding volatility-adjusted resistance.
Bearish Regime (Red) : Established when price crosses below the lower adaptive band, identifying volume-confirmed selling pressure breaking volatility-adjusted support.
Baseline Cloud : The gap between smoothed open and smoothed close within the baseline visualizes intrabar directional bias - wider clouds indicate stronger intrabar momentum.
Adaptive Band Width : Reflects combined volatility and flow strength - wider bands during high-conviction institutional activity, tighter bands during consolidation or weak flow periods.
Buy/Sell Labels : Appear at regime switches when price crosses from one band to the other, marking potential trend inception points.
Retest Signals (✦) : Diamond markers indicate price touching the baseline within an established regime, often occurring during healthy pullbacks in trending markets.
Trend Strength Gauge : Visual meter displays current regime strength as a percentage, calculated from price position within the active band relative to baseline.
Background Gradient : Optional coloring intensity reflects flow strength magnitude, darkening during high-conviction periods.
Flow strength, band width adaptation, and baseline relationship outweigh isolated price fluctuations.
Signal Logic & Visual Cues
Smart Money Flow Cloud presents three primary interaction signals:
Regime Switch - Buy : Blue "Buy" label appears when price crosses above the upper band after previously being in a bearish regime, suggesting volume-confirmed bullish transition.
Regime Switch - Sell : Red "Sell" label displays when price crosses below the lower band after previously being in a bullish regime, indicating volume-confirmed bearish transition.
Trend Retest : Diamond (✦) markers appear when price touches the baseline within an established regime, with configurable cooldown periods to filter noise.
Alert generation covers regime switches and retest events for systematic monitoring.
Strategy Integration
Smart Money Flow Cloud fits within volume-informed and institutional flow trading approaches:
Flow-Confirmed Entry : Use regime switches as primary trend inception signals where volume validates directional breakouts.
Retest-Based Refinement : Enter on baseline retest signals within established regimes for improved risk-reward positioning during pullbacks.
Band Width Context : Expect wider price swings when bands expand (high flow strength), tighter ranges when bands contract (weak flow).
Baseline Cloud Confirmation : Favor trades where baseline cloud width confirms intrabar momentum alignment with regime direction.
Strength Gauge Filtering : Use trend strength percentage to gauge continuation probability - higher readings suggest stronger institutional conviction.
Multi-Timeframe Regime Alignment : Apply higher-timeframe regime context to filter lower-timeframe entries, taking only setups aligned with dominant flow direction.
Technical Implementation Details
Core Engine : Configurable EMA or ALMA baseline with secondary smoothing
Flow Model : Close Location Value (CLV) with volume weighting and ratio normalization
Strength Transformation : Configurable power function for nonlinear flow amplification
Band Construction : ATR-scaled width with flow-strength-interpolated multipliers
Visualization : Dual-line baseline cloud with gradient fills, regime-colored bands, and embedded strength gauge
Signal Logic : Band crossover detection with baseline retest identification and cooldown management
Performance Profile : Optimized for real-time execution with minimal computational overhead
Optimal Application Parameters
Timeframe Guidance:
1 - 5 min : Micro-structure regime detection for scalping and intraday reversals
15 - 60 min : Intraday trend identification with flow-validated swings
4H - Daily : Swing and position-level regime analysis with institutional flow context
Suggested Baseline Configuration:
Trend Length : 34
Trend Engine : EMA
Trend Smoothing : 3
Flow Window : 24
Flow Smoothing : 5
Flow Boost : 1.2
ATR Length : 14
Band Tightness (Calm) : 0.9
Band Expansion (Strong Flow) : 2.2
Reset Cooldown : 12
These suggested parameters should be used as a baseline; their effectiveness depends on the asset's volume profile, volatility characteristics, and preferred signal frequency, so fine-tuning is expected for optimal performance.
Parameter Calibration Notes
Use the following adjustments to refine behavior without altering the core logic:
Bands too wide/frequent whipsaws : Reduce "Band Expansion (Strong Flow)" to limit maximum band width, or increase "Band Tightness (Calm)" to widen minimum bands and reduce noise sensitivity.
Trend baseline too choppy : Increase "Trend Length" for smoother baseline, or increase "Trend Smoothing" for additional filtering.
Flow readings unstable : Increase "Flow Smoothing" to reduce bar-to-bar noise in money flow calculation.
Missing legitimate regime changes : Decrease "Trend Length" for faster baseline response, or reduce "Band Tightness (Calm)" for earlier breakout detection.
Too many retest signals : Increase "Reset Cooldown" to space out retest markers, or disable retest signals entirely if not using pullback entries.
Flow strength not responding : Increase "Flow Boost" (power factor) to amplify strong flow differentiation, or decrease "Flow Window" to emphasize recent volume activity.
Prefer different smoothing characteristics : Switch "Trend Engine" to ALMA and adjust "ALMA Offset" (higher = more recent weighting) and "ALMA Sigma" (higher = smoother) for alternative baseline behavior.
Adjustments should be incremental and evaluated across multiple session types rather than isolated market conditions.
Performance Characteristics
High Effectiveness:
Markets with consistent volume participation and institutional flow
Instruments where volume accurately reflects true liquidity and conviction
Trending environments where flow confirms directional price movement
Mean-reversion strategies using retest signals within established regimes
Reduced Effectiveness:
Extremely low volume environments where flow calculations become unreliable
News-driven or gapped markets with discontinuous volume patterns
Highly manipulated or thinly traded instruments with erratic volume distribution
Ranging markets where price oscillates within bands without conviction
Integration Guidelines
Confluence : Combine with BOSWaves structure, order flow analysis, or traditional volume profile
Flow Validation : Trust regime switches accompanied by strong flow readings and wide band expansion
Context Awareness : Consider whether current market regime matches historical flow patterns
Retest Discipline : Use baseline retest signals as confirmation within trends, not standalone entries
Breach Management : Exit regime-aligned positions when price crosses opposing band with volume confirmation
Disclaimer
Smart Money Flow Cloud is a professional-grade volume flow and trend analysis tool. Results depend on market conditions, volume reliability, parameter selection, and disciplined execution. BOSWaves recommends deploying this indicator within a broader analytical framework that incorporates price structure, market context, and comprehensive risk management.






















