Adaptive Machine Learning Trading System [PhenLabs]📊Adaptive ML Trading System
Version: PineScript™v6
📌Description
The Adaptive ML Trading System is a sophisticated machine learning indicator that combines ensemble modeling with advanced technical analysis. This system uses XGBoost, Random Forest, and Neural Network algorithms to generate high-confidence trading signals while incorporating robust risk management features. Traders benefit from objective, data-driven decision-making that adapts to changing market conditions.
🚀Points of Innovation
• Machine Learning Ensemble - Three integrated models (XGBoost, Random Forest, Neural Network)
• Confidence-Based Trading - Only executes trades when ML confidence exceeds threshold
• Dynamic Risk Management - ATR-based stop loss and max drawdown protection
• Adaptive Position Sizing - Volatility-adjusted position sizing with confidence weighting
• Real-Time Performance Metrics - Live tracking of win rate, Sharpe ratio, and performance
• Multi-Timeframe Feature Analysis - Adaptive lookback periods for different market regimes
🔧Core Components
• ML Ensemble Engine - Weighted combination of XGBoost, Random Forest, and Neural Network outputs
• Feature Normalization System - Advanced preprocessing with custom tanh/sigmoid activation
• Risk Management Module - Dynamic position sizing and drawdown protection
• Performance Dashboard - Real-time metrics and risk status monitoring
• Alert System - Comprehensive alert conditions for entries, exits, and risk events
🔥Key Features
• High-confidence ML signals with customizable confidence thresholds
• Multiple trading modes (Conservative, Balanced, Aggressive) for different risk profiles
• Integrated stop loss and risk management with ATR-based calculations
• Real-time performance metrics including win rate and Sharpe ratio
• Comprehensive alert system with entry, exit, and risk management notifications
• Visual confidence bands and threshold indicators for easy signal interpretation
🎨Visualization
• ML Signal Line - Primary signal output ranging from -1 to +1
• Confidence Bands - Visual representation of model confidence levels
• Threshold Lines - Customizable buy/sell threshold levels
• Position Histogram - Current market position visualization
• Performance Tables - Real-time metrics display in customizable positions
📖Usage Guidelines
Model Configuration
• Confidence Threshold: Default 0.55, Range 0.5-0.95 - Minimum confidence for signals
• Model Sensitivity: Default 0.9, Range 0.1-2.0 - Adjusts signal sensitivity
• Ensemble Mode: Conservative/Balanced/Aggressive - Trading style preference
• Signal Threshold: Default 0.55, Range 0.3-0.9 - ML signal threshold for entries
Risk Management
• Position Size %: Default 10%, Range 1-50% - Portfolio percentage per trade
• Max Drawdown %: Default 15%, Range 5-30% - Maximum allowed drawdown
• Stop Loss ATR: Default 2.0, Range 0.5-5.0 - Stop loss in ATR multiples
• Dynamic Sizing: Default true - Volatility-based position adjustment
Display Settings
• Show Signals: Default true - Display entry/exit signals
• Show Threshold Signals: Default true - Display ±0.6 threshold crosses
• Show Confidence Bands: Default true - Display ML confidence levels
• Performance Dashboard: Default true - Show metrics table
✅Best Use Cases
• Swing trading with 1-5 day holding periods
• Trend-following strategies in established trends
• Volatility breakout trading during high-confidence periods
• Risk-adjusted position sizing for portfolio management
• Multi-timeframe confirmation for existing strategies
⚠️Limitations
• Requires sufficient historical data for accurate ML predictions
• May experience low confidence periods in choppy markets
• Performance varies across different asset classes and timeframes
• Not suitable for very short-term scalping strategies
• Requires understanding of basic risk management principles
💡What Makes This Unique
• True machine learning ensemble with multiple model types
• Confidence-based trading rather than simple signal generation
• Integrated risk management with dynamic position sizing
• Real-time performance tracking and metrics
• Adaptive parameters that adjust to market conditions
🔬How It Works
Feature Calculation: Computes 20+ technical features from price/volume data
Feature Normalization: Applies custom normalization for ML compatibility
Ensemble Prediction: Combines XGBoost, Random Forest, and Neural Network outputs
Signal Generation: Produces confidence-weighted trading signals
Risk Management: Applies position sizing and stop loss rules
Execution: Generates alerts and visual signals based on thresholds
💡Note:
This indicator works best on daily and 4-hour timeframes for most assets. Ensure you understand the risk management settings before live trading. The system includes automatic risk-off modes that halt trading during excessive drawdown periods.
波动率
Market Sentiment Trend Gauge [LevelUp]Market Sentiment Trend Gauge simplifies technical analysis by mathematically combining momentum, trend direction, volatility position, and comparison against a market benchmark, into a single trend score from -100 to +100. Displayed in a separate pane below your chart, it resolves conflicting signals from RSI, moving averages, Bollinger Bands, and market correlations, providing clear insights into trend direction, strength, and relative performance.
THE PROBLEM MARKET SENTIMENT TREND GAUGE (MSTG) SOLVES
Traditional indicators often produce conflicting signals, such as RSI showing overbought while prices rise or moving averages indicating an uptrend despite market underperformance. MSTG creates a weighted composite score to answer: "What's the overall bias for this asset?"
KEY COMPONENTS AND WEIGHTINGS
The trend score combines
▪ Momentum (25%): Normalized 14-period RSI, capped at ±100.
▪ Trend Direction (35%): 10/21-period EMA relationships,
▪ Volatility Position (20%): Price position, 20-period Bollinger Bands, capped at ±100.
▪ Market Comparison (20%): Daily performance vs. SPY benchmark, capped at ±100.
Final score = Weighted sum, smoothed with 5-period EMA.
INTERPRETING THE MSTG CHART
Trend Score Ranges and Colors
▪ Bright Green (>+30): Strong bullish; ideal for long entries.
▪ Light Green (+10 to +30): Weak bullish; cautiously favorable.
▪ Gray (-10 to +10): Neutral; avoid directional trades.
▪ Light Red (-10 to -30): Weak bearish; exercise caution.
▪ Bright Red (<-30): Strong bearish; high-risk for longs, consider shorts.
Reference Lines
▪ Zero Line (Gray): Separates bullish/bearish; crossovers signal trend changes.
▪ ±30 Lines (Dotted, Green/Red): Thresholds for strong trends.
▪ ±60 Lines (Dashed, Green/Red): Extreme strength zones (not overbought/oversold); manage risk (tighten stops, partial profits) but trends may persist.
Background Colors
▪ Green Tint (>+20): Bullish environment; favorable for longs.
▪ Red Tint (<-20): Bearish environment; caution for longs.
▪ Light Gray Tint (-20 to +20): Neutral/range-bound; wait for signals.
Extreme Readings vs. Traditional Signals
MSTG ±60 indicates maximum alignment of all factors, not reversals (unlike RSI >70/<30). Use for risk management, not automatic exits. Strong trends can sustain extremes; breakdowns occur below +30 or above -30.
INFORMATION TABLE INTERPRETATION
Trend Score Symbols
▲▲ >+30 strong bullish
▲ +10 to +30
● -10 to +10 neutral
▼ -30 to -10
▼▼ <-30 strong bearish
Colors: Green (positive), White (neutral), Red (negative).
Momentum Score
+40 to +100 strong bullish
0 to +40 moderate bullish
-40 to 0 moderate bearish
-100 to -40 strong bearish
Market vs. Stock
▪ Green: Stock outperforming market
▪ Red: Stock underperforming market
Example Interpretations:
-0.45% / +1.23% (Green): Market down, stock up = Strong relative strength
+2.10% / +1.50% (Red): Both rising, but stock lagging = Relative weakness
-1.20% / -0.80% (Green): Both falling, but stock declining less = Defensive strength
UNDERSTANDING EXTREME READINGS VS TRADITIONAL OVERBOUGHT/OVERSOLD
⚠️ Critical distinctions
Traditional Overbought/Oversold Signals:
▪ Single indicator (like RSI >70 or <30) showing momentum excess
▪ Often suggests immediate reversal or pullback expected
▪ Based on "price moved too far, too fast" concept
MSTG Extreme Readings (±60):
▪ Composite alignment of 4 different factors (momentum, trend, volatility, relative strength)
▪ Indicates maximum strength in current direction
▪ NOT a reversal signal - means "all systems extremely bullish/bearish"
Key Differences:
▪ RSI >70: "Price got ahead of itself, expect pullback"
▪ MSTG >+60: "Everything is extremely bullish right now"
▪ Strong trends can maintain extreme MSTG readings during major moves
▪ Breakdowns happen when MSTG falls below +30, not at +60
Proper Usage of Extreme Readings:
▪ Risk Management: Tighten stops, take partial profits
▪ Position Sizing: Reduce new position sizes at extremes
▪ Trend Continuation: Watch for sustained extreme readings in strong markets
▪ Exit Signals: Look for breakdown below +30, not reversal from +60
TRADING WITH MSTG
Quick Assessment
1. Check trend symbol for direction.
2. Confirm momentum strength.
3. Note relative performance color.
Examples:
▲▲ 55.2 (Green), Momentum +28.4, Outperforming: Strong buy setup.
▼ -18.6 (Red), Momentum -43.2, Underperforming: Defensive positioning.
Entry Conditions
▪ Long: stock outperforming market
- Score >+30 (bright green)
- Sustained green background
- ▲▲ symbol,
▪ Short: stock underperforming market
- Score <-30 (bright red)
- Sustained red background
- ▼▼ symbol
Avoid Trading When:
▪ Gray zone (-10 to +10).
▪ Rapid color changes or frequent zero-line crosses (choppy market).
▪ Gray background (range-bound).
Risk Management:
▪ Stop Loss: Exit on zero-line crossover against position.
▪ Take Profit: Partial at ±60 for risk control.
▪ Position Sizing: Larger when signals align; smaller in extremes or mixed conditions.
KEY ADVANTAGES
▪ Unified View: Weighted composite reduces noise and conflicts.
▪ Visual Clarity: 5-color system with gradients for rapid recognition.
▪ Market Context: Relative strength vs. SPY identifies leaders/laggards.
▪ Flexibility: Works across timeframes (1-min to weekly); customizable table.
▪ Noise Reduction: EMA smoothing minimizes false signals.
EXAMPLES
Strong Bull: Trend Score 71.9, Momentum Score 76.9
Neutral: Trend Score 0.1, Momentum Score -9.2
Strong Bear: Trend Score -51.7, Momentum Score -51.5
PERFORMANCE AND LIMITATIONS
Strengths: Trend identification, noise reduction, relative performance versus market.
Limitations: Lags at turning points, less effective in extreme volatility or non-trending markets.
Recommendations: View on multiple timeframes, combine with price action and fundamentals.
Swing Dashboard - Pro Trader Metrics with MTF & Enhanced VolumeDESCRIPTION:
A comprehensive real-time dashboard designed for swing traders and active investors trading US equities. Displays all critical metrics in one customizable panel overlay - no need to clutter your chart with multiple indicators.
KEY FEATURES:
📊 Relative Strength Analysis:
Stock vs Market (SPY/QQQ/IWM/DIA)
Stock vs Sector (automatic sector ETF detection)
Sector vs Market comparison
Customizable lookback period (5-60 days)
📈 Price & Range Metrics:
Daily range, change, and gap percentages
Distance from SMA20, SMA50, VWAP
52-week position percentage
ATR% and ADR% for volatility assessment
Range/ADR ratio for breakout detection
💪 Advanced Volume Analysis:
RVOL (full day volume vs 20-day average)
Volume Strength (bar-by-bar analysis)
Volume Trend (5-day vs 20-day momentum)
Customizable RVOL alert thresholds
Non-repainting volume calculations
⚙️ Multi-Timeframe (MTF) Mode:
View daily charts with 5-min or 15-min metric updates
Perfect for monitoring positions without switching timeframes
All calculations remain accurate across timeframes
🎨 Fully Customizable:
Choose which metrics to display
9 position options for the dashboard
Adjustable text size and colors
Toggle individual metrics on/off
Sector-specific ETF mapping for accurate RS calculations
TECHNICAL SPECIFICATIONS:
✅ Non-repainting - all calculations use confirmed bar data
✅ No lookahead bias or future data
✅ Optimized for US stocks with proper sector mapping
✅ Works on any timeframe (best on 5m-Daily)
✅ Pine Script v6 with best practices
✅ Handles edge cases and missing data gracefully
IDEAL FOR:
Swing traders monitoring multiple positions
Day traders needing quick metric overview
Investors tracking relative strength and momentum
Anyone who wants institutional-grade metrics in one place
SECTOR ETF MAPPING:
Automatically maps to correct sector ETFs: XLK, XLF, XLV, XLY, XLP, XLE, XLB, XLI, XLRE, XLC, XLU
HOW TO USE:
Green = Positive/Strong | Red = Negative/Weak | White = Neutral
RS > 0 = Outperforming benchmark/sector
RVOL > 1.5x = High volume day
VWAP% negative = Price below VWAP (mean reversion opportunity)
R/ADR > 100% = Extended range (potential exhaustion)
Perfect for traders who need professional-grade analysis without chart clutter.
TAGS:
dashboard, swing, relativestrengrh, sectoranalysis, volume, rvol, multitimeframe, mtf, tradingdashboard, metrics, daytrading, swingtrading, momentum, vwap, atr, volatility, volumeanalysis
ActivTrades Europe Market Pulse – Ion JaureguiActivTrades Europe Market Pulse Indicator – Detailed Description
The ActivTrades Europe Market Pulse Indicator is a market analysis tool designed to assess overall risk sentiment in European financial markets. Unlike trading signals, it provides a clear view of market conditions, helping traders and analysts understand whether the market environment favors risk-taking or caution.
How it Works:
The indicator combines three key metrics to gauge European market sentiment:
1. Equity Index and Sector Performance:
o Compares the relative position of major European equity indices and sector ETFs to their 50-day moving averages.
o A performance above the moving average signals market strength, while below indicates relative weakness, reflecting investors’ appetite for risk.
2. German 10-Year Government Bond Yield:
o Monitors the level of the German 10-year bond yield relative to its 10-day moving average.
o Yields above the moving average indicate greater confidence and risk tolerance, while yields below suggest caution or risk aversion.
3. Point-Based Scoring System:
o Each instrument is assigned points depending on whether it is above or below its moving average.
o Points are combined to generate an overall Risk-On/Risk-Off score, which oscillates between -5 (Extreme Risk-Off) and +5 (Extreme Risk-On), providing a quantitative measure of European market sentiment.
Visual Output:
• The results are displayed as a colored histogram, allowing quick interpretation of market conditions.
• Labeled zones include:
o Extreme Risk-On: Indicates bullish conditions with high risk appetite.
o Extreme Risk-Off: Reflects heightened market caution or fear.
o Neutral Zone: Suggests mixed or balanced sentiment.
Purpose and Use:
• Provides investors, analysts, and traders with insight into the prevailing European market mood.
• Supports informed decision-making and risk management strategies without offering explicit buy or sell signals.
________________________________________
Disclaimer:
The information provided does not constitute investment research. It has not been prepared in accordance with legal requirements designed to promote the independence of investment research and should be considered marketing communication.
All information is prepared by ActivTrades ("AT") and does not contain a record of AT’s prices or constitute an offer or solicitation for a transaction in any financial instrument. No representation is made regarding its accuracy or completeness.
This material does not consider the specific investment objectives or financial situation of any individual. Past performance and forecasts are not reliable indicators of future results. AT provides execution-only services. Any action taken based on this information is at the recipient’s own risk. Political and central bank risks are unpredictable. Platform tools do not guarantee success.
Indicators Risk Advice: The indicator and publications do not constitute financial, investment, trading, or other advice. They are designed to provide trend guidance and filter market noise for international users and are not intended for use by users in Spain.
ATR ProThe indicator was created for traders who are taking ATR seriously in their trading strategy and at the same time want a tool which will omit paranormal movements when showing a true average range of the asset as well os providing details on how the price moves in terms of volatility.
The Table:
ATR % Passed - Shows the current passed ATR as of average of last 10 days without taking into account biggest 2 and smallest 2 bars taking into account also the gap. The number after “/“ sign shows the true range in dollars.
Curr. D1 vs ATR % - Shows the size of current D1 bar as % of ATR above.
D1 Closure % - Shows % of closure of current D1 bar in relation to its own high or low. 100% means that the close price is the same of today’s high or low.
Volume 7d % - Shows the volume done as % of 7-day average.
5m bar - shows the size of current 5m bars in dollars and in the parentheses shows the 5m ATR in the same logic as the one above.
1m bar - shows the size of current 1m bars in dollars and in the parentheses shows the 1m ATR in the same logic as the one above.
Lines on the Chart:
The lines show the price lines where a specific % of ATR will already be passed. The indicator has 4 selections as %: 30, 50, 80 and 100 %.
Settings:
Table data position on the window
Text size
Text color
Colors of the ATR lines based on percentages.
Show/Hide the ATR lines individually
Use the Close of the current daily bar as the basis for calculating the ATR
Check this box when the market is closed – when doing homework.
Uncheck this box when the market opens, so that the ATR lines are drawn correctly on the chart.
Move the ATR line X bars to the right to keep it away from bars.
Signal Core Basic [NevoxCore]⯁ OVERVIEW
Signal Core Basic is a clean and functional ATR-based trailing stop with BUY/SELL signals.
It modernizes the classic "UT-style" concept with adaptive sensitivity, multi-source inputs (Close, Heikin-Ashi, ZLEMA, KAMA), and compact visuals.
The tool is designed for traders who want a clear, minimal, and reliable base indicator without repainting issues.
⯁ HOW IT WORKS
Calculates an ATR-based trailing stop (nLoss = Key × ATR).
Adaptive mode scales sensitivity depending on trend strength (trend/range detection).
Trailing stop flips when price crosses from one regime to the other.
BUY/SELL signals trigger only when confirmed and not blocked by cooldown.
Label ring-buffer ensures chart stays clean (max 50 labels).
Bar coloring optional (solid), auto-disabled when classic red/green colors are enabled.
⯁ KEY FEATURES
ATR-based trailing stop with adjustable sensitivity.
Adaptive key (trend/range aware).
Multiple compute sources: Close, Heikin-Ashi, ZLEMA, KAMA.
Global confirm-on-close switch (no repaint).
Early-flip protection (cooldown).
Compact BUY/SELL labels with auto-cleanup (max 50).
Optional solid bar coloring.
Alerts with ticker, timeframe, and price included.
⯁ SETTINGS (quick overview)
Visual: Classic Colors, Show Labels, Plot Trailing Stop, Barcolor ON/OFF.
Source & Sensitivity: Key Value, ATR Length, Compute Source.
Advanced: Adaptive Key toggle with min/max bounds.
Global: Confirm on bar close.
Extras: Cooldown protection (bars).
⯁ ALERTS (built-in)
Basic Long: BUY signal.
Basic Short: SELL signal.
Each alert includes {{ticker}} {{interval}} @ {{close}}.
⯁ HOW TO USE
Use as a trailing stop and regime filter.
Combine BUY/SELL signals with your strategy rules.
Enable cooldown for cleaner signals in choppy markets.
Try ZLEMA or Heikin-Ashi as compute source for smoother performance.
⯁ WHY IT’S DIFFERENT
Unlike generic UT-style scripts, Signal Core Basic adds adaptive sensitivity, multiple input sources, and strict non-repaint safety.
The visuals follow NevoxCore’s design standards: compact, minimal, and clean — ready for live trading with alerts.
⯁ DISCLAIMER
Backtest and paper-trade before using live. Not financial advice.
Performance depends on market, timeframe, and parameters.
Historical VolatilityHistorical Volatility Indicator with Custom Trading Sessions
Overview
This indicator calculates **annualized Historical Volatility (HV)** using logarithmic returns and standard deviation. Unlike standard HV indicators, this version allows you to **customize trading sessions and holidays** for different markets, ensuring accurate volatility calculations for options pricing and risk management.
Key Features
✅ Custom Trading Sessions - Define multiple trading sessions per day with precise start/end times
✅ Multiple Markets Support - Pre-configured for US, Russian, European, and crypto markets
✅ Clearing Periods Handling - Account for intraday clearing breaks
✅ Flexible Calendar - Set trading days per year for different countries
✅ All Timeframes - Works correctly on intraday, daily, weekly, and monthly charts
✅ Info Table - Optional display showing calculation parameters
How It Works
The indicator uses the classical volatility formula:
σ_annual = σ_period × √(periods per year)
Where:
- σ_period = Standard deviation of logarithmic returns over the specified period
- Periods per year = Calculated based on actual trading time (not calendar time)
Calculation Method
1. Computes log returns: ln(close / close )
2. Calculates standard deviation over the lookback period
3. Annualizes using the square root rule with accurate period count
4. Displays as percentage
Settings
Calculation
- Period (default: 10) - Lookback period for volatility calculation
Trading Schedule
- Trading Days Per Year (default: 252) - Number of actual trading days
- USA: 252
- Russia: 247-250
- Europe: 250-253
- Crypto (24/7): 365
- Trading Sessions - Define trading hours in format: `hh:mm:ss-hh:mm:ss, hh:mm:ss-hh:mm:ss`
Display
- Show Info Table - Shows calculation parameters in real-time
Market Presets
United States (NYSE/NASDAQ)
Trading Sessions: 09:30:00-16:00:00
Trading Days Per Year: 252
Trading Minutes Per Day: 390
Russia (MOEX)
Trading Sessions: 10:00:00-14:00:00, 14:05:00-18:40:00
Trading Days Per Year: 248
Trading Minutes Per Day: 515
Europe (LSE)
Trading Sessions: 08:00:00-16:30:00
Trading Days Per Year: 252
Trading Minutes Per Day: 510
Germany (XETRA)
Trading Sessions: 09:00:00-17:30:00
Trading Days Per Year: 252
Trading Minutes Per Day: 510
Cryptocurrency (24/7)
Trading Sessions: 00:00:00-23:59:59
Trading Days Per Year: 365
Trading Minutes Per Day: 1440
Use Cases
Options Trading
- Compare HV vs IV - Historical volatility compared to implied volatility helps identify mispriced options
- Volatility mean reversion - Identify when volatility is unusually high or low
- Straddle/strangle selection - Choose optimal strikes based on historical movement
Risk Management
- Position sizing - Adjust position size based on current volatility
- Stop-loss placement - Set stops based on expected price movement
- Portfolio volatility - Monitor individual asset volatility contribution
Market Analysis
- Regime identification - Detect transitions between low and high volatility environments
- Cross-market comparison - Compare volatility across different assets and markets
Why Accurate Trading Hours Matter
Standard HV indicators assume 24-hour trading or use simplified day counts, leading to significant errors in annualized volatility:
- 5-minute chart error : Can be off by 50%+ if using wrong period count
- Options pricing impact : Even 2-3% HV error affects option values substantially
- Intraday vs overnight : Correctly excludes non-trading periods
This indicator ensures your HV calculations match the methodology used in professional options pricing models.
Technical Notes
- Uses actual trading minutes, not calendar days
- Handles multiple clearing periods within a single trading day
- Properly scales volatility across all timeframes
- Logarithmic returns for more accurate volatility measurement
- Compatible with Pine Script v6
Author Notes: This indicator was designed specifically for options traders who need precise volatility measurements across different global markets. The customizable trading sessions ensure your HV calculations align with actual market hours and industry-standard options pricing models.
Rogue Momentum PRORogue Momentum PRO
A custom trading tool designed for traders who demand confluence and clarity.
This indicator combines multiple institutional-grade filters to highlight high-probability Buy and Sell opportunities during the most liquid part of the trading day. It provides clear visual signals, stop-loss levels, and momentum confirmation tools so traders can make confident, rules-based decisions.
Core Features:
- Session Filter (NY Open Focus): Signals only during 9:30 AM – 12:00 PM ET, when volatility and volume are highest.
- Trend Confirmation (EMA + VWAP): Aligns short- and medium-term trend with institutional price anchors.
- Momentum Strength (ADX): Filters out weak signals by requiring ADX > 20, ensuring setups form in trending conditions.
- Money Flow Divergence (MFD): A smoothed momentum divergence measure that adds an extra layer of confirmation.
- Candlestick Triggers: Bullish/Bearish Engulfing patterns act as the final entry catalyst.
- Stop-Loss Labels & Lines: Automatically plotted at ATR-based invalidation levels to support disciplined risk management.
How to Use:
- Watch for a Buy or Sell signal marker (green for long, red for short).
- Confirm alignment with trend (EMA, VWAP), momentum (ADX, MFD), and candlestick trigger.
- Use the plotted Stop-Loss line as your invalidation point.
- Manage your trades with your own risk/reward rules — the tool is designed to highlight setups, not manage positions for you.
⚠️ Disclaimer: This tool is for educational purposes only. It does not constitute financial advice. Always test on demo accounts and validate signals before trading live.
Volume Percentile Supertrend [BackQuant]Volume Percentile Supertrend
A volatility and participation aware Supertrend that automatically widens or tightens its bands based on where current volume sits inside its recent distribution. The goal is simple: fewer whipsaws when activity surges, faster reaction when the tape is quiet.
What it does
Calculates a standard Supertrend framework from an ATR on a volume weighted price source.
Measures current volume against its recent percentile and converts that context into a dynamic ATR multiplier.
Widens bands when volume is unusually high to reduce chop. Tightens bands when volume is unusually low to catch turns earlier.
Paints candles, draws the active Supertrend line and optional bands, and prints clear Long and Short signal markers.
Why volume percentile
Fixed ATR multipliers assume all bars are equal. They are not. When participation spikes, price swings expand and a static band gets sliced.
Percentiles place the current bar inside a recent distribution. If volume is in the top slice, the Supertrend allows more room. If volume is in the bottom slice, it expects smaller noise and tightens.
This keeps the same playbook usable across busy sessions and sleepy ones without constant manual retuning.
How it works
Volume distribution - A rolling window computes the Pth percentile of volume. Above that is flagged as high volume. A lower reference percentile marks quiet bars.
Dynamic multiplier - Start from a Base Multiplier. If bar is high volume, scale it up by a function of volume-to-average and a Sensitivity knob. If bar is low volume, scale it down. Smooth the result with an EMA to avoid jitter.
VWMA source - The price input for bands is a short volume weighted moving average of close. Heavy prints matter more.
ATR envelope - Compute ATR on your length. UpperBasic = VWMA + Multiplier x ATR. LowerBasic = VWMA - Multiplier x ATR.
Trailing logic - The final lines trail price so they only move in a direction that preserves Supertrend behavior. This prevents sudden flips from transient pokes.
Direction and signals - Direction flips when price crosses through the relevant trailing line. SupertrendLong and SupertrendShort mark those flips. The plotted Supertrend is the active trailing side.
Inputs and what they change
Volume Lookback - Window for percentile and average. Larger window = stabler percentile, smaller = snappier.
Volume Percentile Level - Threshold that defines high volume. Example 70 means top 30 percent of recent bars are treated as high activity.
Volume Sensitivity - Gain from volume ratio to the dynamic multiplier. Higher = bands expand more when volume spikes.
VWMA Source Length - Smoothing of the volume weighted price source for the bands.
ATR Length - Standard ATR window. Larger = slower, smaller = quicker.
Base Multiplier - Core band width before volume adjustment. Think of this as your neutral volatility setting.
Multiplier Smoothing - EMA on the dynamic multiplier. Reduces back and forth changes when volume oscillates around the threshold.
Show Supertrend on chart - Toggles the active line.
Show Upper Lower Bands - Draws both sides even when inactive. Good for context.
Paint candles according to Trend - Colors bars by trend direction.
Show Long and Short Signals - Prints 𝕃 and 𝕊 markers at flips.
Colors - Choose your long and short palette.
Reading the plot
Supertrend line - Thick line that hugs price from above in downtrends and from below in uptrends. Its distance breathes with volume.
Bands - Optional upper and lower rails. Useful to see the inactive side and judge how wide the envelope is right now.
Signals - 𝕃 prints when the trend flips long. 𝕊 prints when the trend flips short.
Candle colors - Quick bias read at a glance when painting is enabled.
Typical workflows
Trend following - Use 𝕃 flips to initiate longs and ride while bars remain colored long and price respects the lower trailing line. Mirror for shorts with 𝕊 and the upper trailing line. During high volume phases the line will give more room, which helps stay in the move.
Pullback adds - In an established trend, shallow tags toward the active line after a high volume expansion can be add points. The dynamic envelope adjusts to the session so your add distance is not fixed to a stale volatility regime.
Mean reversion filter - In quiet tape the multiplier contracts and flips come earlier. If you prefer fading, watch for quick toggles around the bands when volume percentile remains low. In high volume, avoid fading into the widened line unless you have other strong reasons.
Notes on behavior
High volume bar: the percentile gate opens, volRatio > 1 powers up the multiplier through the Sensitivity lever, bands widen, fewer false flips.
Low volume bar: multiplier contracts, bands tighten, flips can happen earlier which is useful when you want to catch regime changes in quiet conditions.
Smoothing matters: both the price source (VWMA) and the multiplier are smoothed to keep structure readable while still adapting.
Quick checklist
If you see frequent chop and today feels busy: check that volume is above your percentile. Wider bands are expected. Consider letting the trend prove itself against the expanded line before acting.
If everything feels slow and you want earlier entries: percentile likely marks low volume, so bands tighten and 𝕃 or 𝕊 can appear sooner.
If you want more or fewer flips overall: adjust Base Multiplier first. If you want more reaction specifically tied to volume surges: raise Volume Sensitivity. If the envelope breathes too fast: raise Multiplier Smoothing.
What the signals mean
SupertrendLong - Direction changed from non-long to long. 𝕃 marker prints. The active line switches to support below price.
SupertrendShort - Direction changed from non-short to short. 𝕊 marker prints. The active line switches to resistance above price.
Trend color - Bars painted long or short help validate context for entries and management.
Summary
Volume Percentile Supertrend adapts the classic Supertrend to the day you are trading. Volume percentile sets the mood, sensitivity translates it into dynamic band width, and smoothing keeps it clean. The result is a single plot that aims to stay conservative when the tape is loud and act decisively when it is quiet, without you having to constantly retune settings.
Intraday Rising & Reversal ScannerPine Script Description: Intraday Rising & Reversal ScannerThis Pine Script is a TradingView indicator designed to identify stocks with intraday (1-hour timeframe) potential for bullish (rising) or bearish (reversal) movements. It scans for stocks based on user-defined technical criteria, including price change, relative volume, RSI, EMA, ATR, and VWAP. The script plots signals on the chart, displays a summary table, and triggers alerts when conditions are met.FeaturesBullish Signal (Rising Stocks):1H Price Change: > 1% (configurable, e.g., >2% for volatile markets).
Relative Volume: > 2.0 (volume is at least twice the 20-period average).
RSI (14): Between 50 and 70 (strong but not overbought momentum).
Price vs EMA 13: Price above the 13-period EMA (confirms short-term uptrend).
ATR (14): Current ATR above its 20-period average (indicates volatility).
VWAP: Price above VWAP (optional, shown on chart for manual confirmation).
Bearish Signal (Reversal Stocks):1H Price Change: < -1% (configurable, e.g., <-2% for stronger reversals).
Relative Volume: > 2.0 (high volume confirms selling pressure).
RSI (14): > 70 (overbought, increasing reversal likelihood).
Price vs EMA 13: Price below the 13-period EMA (confirms short-term downtrend).
ATR (14): Current ATR above its 20-period average (indicates volatility).
VWAP: Price below VWAP (optional, shown on chart for manual confirmation).
Visualization:Bullish Signal: Green triangle below the bar.
Bearish Signal: Red triangle above the bar.
VWAP: Plotted as a blue line for manual verification.
Table: Displays real-time metrics (Change %, Relative Volume, RSI, Price vs EMA, ATR, VWAP) in the top-right corner, color-coded (green for bullish, red for bearish).
Alerts:Separate alerts for bullish ("Intraday Bullish Signal") and bearish ("Intraday Bearish Signal") conditions.
Customizable alert messages include parameter values for easy tracking.
How It WorksThe script runs on the 1-hour (1H) timeframe, ensuring all calculations are based on hourly data.
Indicators are computed:Change %: Percentage price change over the last hour.
Relative Volume: Current volume divided by the 20-period SMA of volume.
RSI: 14-period Relative Strength Index.
EMA 13: 13-period Exponential Moving Average.
ATR: 14-period Average True Range, compared to its 20-period SMA.
VWAP: Volume Weighted Average Price, plotted for visual confirmation.
Signals are generated when all conditions for either bullish or bearish criteria are met.
A table summarizes key metrics, and alerts can be set up for real-time notifications.
Usage InstructionsApply the Script:Open TradingView’s Pine Editor.
Copy and paste the script.
Click "Add to Chart" and set the chart to the 1-hour (1H) timeframe.
Set Up Alerts:Right-click on the chart > "Add Alert".
Select "Intraday Bullish Signal" or "Intraday Bearish Signal" as the condition.
Configure notifications (e.g., SMS, email, or TradingView alerts).
Manual VWAP Check:VWAP is plotted as a blue line. Verify that the price is above VWAP for bullish signals or below for bearish signals using the table or chart.
To make VWAP a mandatory filter, uncomment the VWAP conditions in the bull_signal and bear_signal definitions.
Third-Order Pivot Highs and LowsNeo, the white rabbit's whispers echo in English now—here's the polished description for your Third-Order Pivot Highs and Lows indicator, ready for traders to grasp and deploy in the crypto storm. Copy it straight to TradingView or your site.
### **Third-Order Pivot Highs and Lows – Your Pivot Compass for Crypto Turns**
**What is it?**
This indicator is your "pivot hunter"—it spots key high and low points (pivot highs/lows) of third order (a high/low higher/lower than 3 bars before and after), to catch potential price reversals. It's not just lines on a chart; it's an early-warning system, filtered by volume, RSI, and trend, to cut false signals. Perfect for XRP, BTC, or any crypto where volatility reigns, but turns are gold.
**How it works (step by step):**
1. **Pivot Detection**: Finds "third-order" pivots—a bar with high/low higher/lower than 3 bars before/after. Displays "H" (high) for resistance and "L" (low) for support.
2. **Volume Filter**: Signals trigger only if volume is 1.8x above average (SMA 10), capturing real moves.
3. **RSI Confirmation**: Highs show at RSI >65 (overbought), lows at RSI <35 (oversold)—to snag momentum shifts.
4. **Trend Filter**: In uptrend (EMA 50 > EMA 200), shows only lows (buy ops); in downtrend, highs (sell ops). Ignores noise in ranging markets.
5. **Potential Signals**: Early "PH/PL" labels (potential high/low) with 1-2-3 counter (resets every 20 bars), to track forming pivots. The 3rd gets special color (purple/blue).
6. **Every Third Pivot**: Filter for cleaner signals—shows only every 3rd confirmed pivot, avoiding overtrading.
7. **Volume Spike Colors**: If volume is 1.5x previous bar, PH/PL turns red (high) or dark green (low)—highlights strong moves.
**How to use it?**
- **Setup**: Add to chart (overlay=true). Tune Pivot Order (default 3), Volume Multiplier (1.8), RSI levels (65/35).
- **Signals**:
- "PH1/PH2/PH3" (orange/purple)—potential high, sell near resistance.
- "PL1/PL2/PL3" (lime/blue)—potential low, buy near support.
- "H/L" (red/green)—confirmed pivot, entry/exit points.
- **Alerts**: Enable for confirmed/potential—email/SMS notifications.
- **Best Timeframes**: 1H/4H for XRP—pair with trend filter for reliable trades.
- **Risk Management**: Use ATR-based stop-loss (add ATR input), skip low-volume zones.
**Why it's useful?**
In crypto, pivots are portals—catch them early for 20-50% swings. Filters slash false signals by 70% (per backtests). It's no crystal ball, but your tool for sharper decisions.
- **Risk Warning**: Trading involves risk. Use the indicator as a tool, not a guarantee of profits. Always conduct your own analysis and manage risk appropriately.
Test it in the storm and report back—the rabbit awaits.
Flat Breakout Detector🔹 English Description
Flat Breakout Detector is an indicator designed to highlight when the market shifts from flat, sideways trading into active movement.
Originality: Unlike standard trend or volatility tools, this script focuses on detecting abnormal volatility expansions compared to previous candles. Since around 80% of the time the market stays in flat ranges, the real opportunities often appear when price leaves consolidation. The indicator identifies these volatility anomalies, which may signal the start of a trend or a breakout.
What it does: The script measures the relative distance of price extremes from a moving average and applies a Z-score transformation. This helps traders spot volatility spikes that stand out from the prior market behavior. In simple terms: when volatility expands unusually, the indicator highlights it as a potential breakout moment.
How to use:
Ideal for traders working with consolidation/breakout patterns.
Works best as a scanner/alert system: when a signal appears, open the chart, analyze the setup, and decide whether it fits your trading strategy.
Not every signal means entry — sometimes volatility expansion happens inside the flat.
If the setup matches your strategy, place limit orders or enter at market; if not, ignore the signal and wait for the next one.
⚠️ Disclaimer: This is not a buy/sell signal generator. It only highlights moments of volatility expansion and possible breakouts. Always combine it with your own technical and volume analysis before making trading decisions.
HTF Candle Highs and Lows with Labels + High Probability Signals█ OVERVIEW
This indicator overlays Weekly, Daily, and H4 High/Low levels directly onto your chart, allowing traders to visualize key support and resistance zones from higher timeframes. It also includes high probability breakout signals that appear one candle after a confirmed breakout above or below these levels, filtered by volume and candle strength.
Use this tool to identify breakout opportunities with greater confidence and clarity.
█ FEATURES
• Plots Weekly, Daily, and H4 High and Low levels using request.security. • Customizable line colors, widths, and label sizes. • Toggle visibility for each timeframe independently. • Signals appear one candle after a confirmed breakout: • Bullish: Close above HTF High, strong candle, high volume. • Bearish: Close below HTF Low, strong candle, high volume. • Signal shapes match the color of the broken level for visual clarity.
█ HOW TO USE
1 — Enable the timeframes you want to track using the input toggles. 2 — Watch for triangle-shaped signals: • Upward triangle = Bullish breakout. • Downward triangle = Bearish breakout. 3 — Confirm the breakout: • Candle closes beyond the HTF level by at least 0.1%. • Candle body shows momentum (close > open for bullish, close < open for bearish). • Volume exceeds 20-period average. 4 — Enter trade on the candle after the signal. 5 — Use the HTF level as a reference for stop-loss placement. 6 — Combine with other indicators (e.g., RSI, EMA) for confluence.
█ LIMITATIONS
• Signals may lag by one candle due to confirmation logic. • Not optimized for low-volume assets or illiquid markets. • Best used in trending environments; avoid during consolidation. • Does not include automatic alerts (can be added manually).
█ BEST PRACTICES
• Use on H1 or higher timeframes for cleaner signals. • Avoid trading during news events or low volatility. • Backtest thoroughly before live trading. • Adjust breakout percentage and volume filter based on asset volatility. • Maintain a trading journal to track performance.
Opening Candle Zone with ATR Bands by nkChartsThis indicator highlights the opening range of each trading session and projects dynamic ATR-based zones around it.
Key Features
Plots high and low levels of the opening candle for each new daily session.
Extends these levels across the session, providing clear intraday support and resistance zones.
Adds ATR-based offset bands above and below the opening range for volatility-adjusted levels.
Customizable colors, ATR length, and multiplier for flexible use across markets and timeframes.
Adjustable session history limit to control how many past levels remain on the chart.
How to Use:
The opening range high/low often acts as strong intraday support or resistance.
The ATR bands give an adaptive volatility buffer, useful for breakout or mean-reversion strategies.
Works on any market with clear session opens.
This tool is designed for traders who want to combine session-based price action with volatility insights, helping identify potential breakouts, reversals, or consolidation areas throughout the day.
⚠️ Disclaimer: This indicator is for educational purposes only. It does not provide financial advice or guarantee profits. Always perform your own analysis before making trading decisions.
Advanced Psychological Level-J-Algo📊 Advanced Psychological Level - Universal Market Support
📝 TradingView Publication Write-up
Title:
Advanced Psychological Level
Short Description:
Professional-grade psychological levels indicator with smart detection for ALL cryptocurrencies, dynamic ATR-based spacing, real-time distance calculations, and intelligent visibility management. Works seamlessly across Forex, Indices, and Crypto markets.
🎯 OVERVIEW
Advanced Psychological Level is a sophisticated trading indicator that automatically identifies and displays critical psychological price levels where institutional orders cluster and market reversals occur.
This advanced system goes beyond basic round number indicators by incorporating intelligent adaptive technology that automatically calibrates to any market and price range - from micro-cap cryptocurrencies to major indices, delivering institutional-grade analysis for retail traders.
✨ KEY FEATURES
🧠 Advanced Intelligence Engine
The core of this indicator uses an advanced methodology combining:
Smart market type detection
Automatic level calibration
Dynamic range optimization
Real-time distance calculations
🌍 Universal Market Intelligence
Forex: Pip-based levels (100, 250) with intraday precision (0.2, 0.5, 0.8)
Indices/CFDs: Optimized whole number intervals with intelligent spacing
Crypto: Revolutionary auto-detection that scales from $0.001 to $100,000+
Proprietary scaling for any cryptocurrency
Intelligent level spacing based on logarithmic price magnitude
Zero manual configuration needed
📈 Dynamic ATR-Based Levels (Optional)
Levels that adapt to market volatility in real-time
Advanced ATR calculations with customizable parameters
Self-adjusting to market conditions
Professional-grade volatility analysis
📊 Real-Time Distance Analytics
Instant calculation of distance to key levels
Percentage-based risk/reward computations
Dual-directional target analysis
Customizable display with professional formatting
🎨 Smart Visibility Management
Intelligent Range Filtering: Shows only statistically relevant levels
Performance Optimized: Advanced rendering prevents lag
Dynamic Clutter Reduction: 70% cleaner charts with 100% effectiveness
Configurable visibility parameters
🏷️ Intelligent Price Labels
Smart label placement system
Hierarchical level classification (Major/Standard/Mid)
Professional typography and spacing
Adaptive positioning based on chart scale
🔔 Advanced Alert System
Multi-tier alerts for different level types
Smart alert filtering to prevent spam
Customizable alert conditions
Real-time level breach detection
⚙️ CONFIGURATION GUIDE
Core Settings
Dynamic ATR Mode: Toggle adaptive volatility-based calculations
ATR Parameters: Fine-tune sensitivity (Period & Multiplier)
Visibility Range: Control smart display range (default 10%)
Price Labels: Configure intelligent price display
Level Controls
Major Levels: Primary psychological barriers (250 pip/point)
Standard Levels: Secondary levels (100 pip/point)
Mid Levels: 50% calculations between majors (crypto-optimized)
Intraday Levels: Micro-structure levels (Forex/Crypto only)
Analytics Display
Distance Table: Real-time calculation display
Position Options: Four-corner placement
Visual Parameters: Full color customization
📖 TRADING METHODOLOGY
For Scalpers
Activate intraday levels for micro-structure analysis
Use distance table for precision entries
Configure alerts for quick level breaks
Optimize visibility to 5% for focused trading
For Day Traders
Focus on Major and Standard levels
Enable smart labels for quick analysis
Use distance calculations for targets
Set visibility range to 10-15%
For Swing Traders
Enable ATR-based dynamic levels
Use Major levels as primary targets
Expand visibility range to 20%
Add mid-levels for additional confluence
For Crypto Traders
Let auto-detection handle any coin automatically
Enable mid-levels for volatile markets
Use distance analytics for position sizing
Monitor cluster zones for high-probability setups
💡 ADVANCED TECHNIQUES
Confluence Trading: Combine with volume profile for high-probability zones
Multi-Timeframe Analysis: Apply daily levels to intraday charts
Risk Management: Use distance percentages for position sizing
Smart Confluence: Identify where multiple levels align
Adaptive Display: Automatically adjusts to your zoom level
🚀 THE ADVANCED ADVANTAGE
vs. Basic Round Number Indicators
✅ Universal crypto support (not just BTC/ETH)
✅ Integrated distance calculations
✅ Smart visibility management
✅ ATR-based adaptive levels
✅ Professional framework
vs. Other Psychological Level Tools
✅ Auto-calibration for any asset
✅ Real-time analytical display
✅ Optimized performance
✅ Complete customization
✅ Clean, uniform appearance
📊 MARKET APPLICATIONS
Forex Trading
Major pairs: 100/250 pip detection
Intraday: Precision 20/50/80 pip levels
Session-optimized performance
Institutional-grade analysis
Index Trading
S&P 500: Smart 100/250 point levels
NASDAQ: Thousand-level detection
DAX: Optimized intervals
Futures-ready calculations
Crypto Trading
Bitcoin: Auto-scaling to $1000/5000 levels
Ethereum: Intelligent $100/250 detection
Altcoins: Perfect scaling for any price
Micro-caps: Works on $0.00001 tokens
🔬 TECHNICAL SPECIFICATIONS
Version: v2.0 (Pine Script v6)
Calculation Method: Real-time, non-repainting
Performance: Optimized for all timeframes
Memory Management: Advanced array handling
Compatibility: All TradingView plans
Support: Open-source with detailed comments
⚠️ KEY BENEFITS
Zero Configuration: Works instantly on any chart
Universal Coverage: One indicator for all markets
Professional Display: Clean, institutional-quality visuals
Real-Time Analytics: Instant risk/reward calculations
Performance Optimized: No lag even on complex charts
🎯 IDEAL FOR
✅ Price action traders
✅ Institutional level analysis
✅ Smart money concepts
✅ Multi-timeframe strategies
✅ Risk management focused trading
✅ Any trader seeking reliable S/R levels
💬 FINAL NOTES
This advanced indicator represents extensive development and real-world testing. It solves critical trading challenges:
Automatic Calibration: No manual adjustment across markets
Intelligent Filtering: Shows only relevant levels
Real-Time Analytics: Instant distance and risk calculations
Universal Compatibility: One solution for all markets
The distance table alone transforms trading by providing instant context for risk/reward decisions. The smart crypto detection means you'll never need another psychological level indicator.
Professional-grade tool, available free and open-source because quality trading tools should be accessible to everyone.
ICT SMC — OB & FVG (Enhanced v6)This indicator is a comprehensive implementation of ICT Smart Money Concepts (SMC), focusing on Order Blocks (OB) and Fair Value Gaps (FVG) with enhanced detection logic and session-based filtering.
🔍 Key Features
Impulse-Based OB Detection: Identifies bullish and bearish order blocks using configurable impulse bar logic and ATR-based movement thresholds.
Fair Value Gap Detection: Highlights FVGs based on price displacement logic, helping traders spot potential inefficiencies in price action.
Session Filtering: Allows users to filter signals based on major trading sessions (Sydney, Tokyo, London, New York).
Trend & Volume Confirmation: Integrates EMA slope, market structure breaks, and volume analysis to score trade signals.
Visual Zones: Displays OB and FVG zones using colored boxes with customizable transparency and color settings.
Signal Alerts: Generates long/short trade signals based on a scoring system and session validation, with built-in alert conditions.
⚙️ Customization
Adjustable EMA and ATR lengths
Configurable impulse bar count and movement thresholds
Toggleable session filters
Custom colors for OB and FVG zones
📈 Use Cases
This tool is ideal for traders who follow ICT concepts and want a visual, automated way to identify high-probability zones and trade setups based on smart money principles.
Rocket Scan – Midday Movers (No Pullback)This indicator is designed to spot intraday breakout movers that often appear after the market open — the ones that rip out of nowhere and cause FOMO if you’re late.
🔑 Core Logic
• Momentum Burst: Detects sudden price pops (ROC) with confirming relative volume.
• Squeeze → Breakout: Finds low-volatility compressions (tight Bollinger bandwidth) and flags the first breakout move.
• VWAP Reclaims: Highlights strong reversals when price reclaims VWAP on volume.
• Relative Volume (RVOL): Filters for unusual activity vs. recent averages.
• Gap Filter: Skips large overnight gappers, focuses on fresh intraday movers.
• Relative Strength: Optional filter requiring the symbol to outperform SPY (and sector ETF if chosen).
• Session Window: Default 10:30–15:30 ET to ignore noisy open action and catch true midday moves.
🎯 Use Case
• Built for traders who want early alerts on midday runners without waiting for pullbacks.
• Helps identify potential entry points before FOMO kicks in.
• Works best on liquid tickers (stocks, ETFs, crypto) with reliable intraday volume.
📊 Visuals
• Plots fast EMA, slow EMA, and VWAP for trend context.
• Paints green ▲ for long signals and red ▼ for short signals on the chart.
• Info label shows RVOL, ROC, RS filter status, and gap conditions.
🚨 Alerts
Two alert conditions included:
• Rocket: Midday LONG → Fires when bullish conditions align.
• Rocket: Midday SHORT → Fires when bearish conditions align.
⸻
⚠️ Disclaimer:
This tool is for educational and research purposes only. It is not financial advice. Trading involves risk; always do your own research or consult a licensed professional.
BBKC Combined Channels OverlayBBKC Combined Channels Overlay (Volatility & Mean Reversion)This indicator provides a clean, single-view envelope combining the Bollinger Bands (BB) and Keltner Channels (KC) directly onto your price chart. It is an essential tool for traders operating with Volatility Compression (The Squeeze) and Mean Reversion strategies in fast-moving markets like Futures, High BTC Beta Equities, and Crypto. The goal of this tool is twofold: to visually frame the market's current volatility state and to identify high-probability entry points based on expansion or extreme contraction. How to Use the BBKC Overlay: Spotting the Squeeze (Accumulation Phase):The Squeeze is identified when the Bollinger Bands (BB) contract and fit inside the Keltner Channels (KC).The area is clearly marked with a subtle Orange Background Highlight on the main chart. This is the Accumulation phase, signaling low volatility before a potential large directional move. Trading Mean Reversion: When price pushes aggressively outside the outermost bands (the BB Upper/Lower), it signals an extreme volatility expansion and over-extension. This is a strong setup for mean reversion—a high-probability trade targeting a snap-back towards the central Basis Line (SMA).Customizing for Extreme Compression: For traders looking only for the tightest, highest-probability Squeezes, adjust the following setting: KC Multiplier (ATR): Lower this value from the default of 1.5 down to 1.25 or 1.0. This narrows the KC, forcing the Bollinger Bands to contract even further to trigger the Squeeze signal, thus filtering for only the most minimal volatility. Recommended Synergy: For a complete volatility system, pair this BBKC Combined Channels Overlay (your visualization tool) with the BBKC Squeeze Indicator (the sub-pane momentum histogram).Overlay (Main Chart): Shows where the Squeeze is occurring and identifies mean reversion targets. Squeeze Indicator (Lower Pane): Shows if the Squeeze is active and the directional momentum building up, helping you time the breakout entry for the Manipulation/Distribution phase.
Bollinger Keltner Squeeze Indicator (BBKC)Bollinger Keltner Squeeze Indicator (BBKC)This single-pane indicator combines the power of Bollinger Bands (BB) and Keltner Channels (KC) to accurately identify periods of low volatility compression—the famous Squeeze—which often precedes large, directional moves.Designed for traders utilizing Accumulation, Manipulation, Distribution (AMD) strategies, this tool makes spotting the 'Accumulation' phase simple and visually clear, perfect for high BTC Beta equities or futures markets like MES and MNQ.Key Features:Clear Squeeze Visualization:The background of the main chart is shaded Orange when the Squeeze is active (BB is inside KC). This immediately highlights periods of extreme compression.A simple Red/Green Dot below the chart confirms the Squeeze state (Red = Squeeze ON, Green = Squeeze OFF).Momentum Histogram:A built-in momentum oscillator smooths price action and guides the anticipated direction of the breakout.Teal/Orange Bars: Indicate momentum direction while the Squeeze is active (building pressure).Bright Green/Red Bars: Indicate momentum direction after the Squeeze has broken (expansion/breakout).How to Find Maximum Volatility Compression (The "Tightest" Squeeze)To align this indicator with a strategy focused on catching only the most extreme volatility compression—the key to those explosive moves—traders should adjust the Keltner Channel Multiplier setting.Setting Name: KC Multiplier (ATR)Default Value: 1.5Recommended Adjustment: To filter for only the absolute tightest squeezes (where price is least volatile), decrease this multiplier value, typically down to 1.25 or even 1.0.By lowering the KC Multiplier (ATR), you narrow the Keltner Channel boundaries. This requires the Bollinger Bands to compress even further to fit inside, ensuring the indicator only signals the Squeeze state during moments of truly minimal volatility, setting you up for maximum opportunity.
Swing High/Low MarkerThis indicator allows you to find the swing highs and lows of the chart and offsets it by the ATR and a custom factor to give you concrete breakout and stop loss prices.
MACD-V MomentumThe MACD-V (Moving Average Convergence Divergence – Volatility Normalized) is an award-winning momentum indicator created by Alex Spiroglou, CFTe, DipTA (ATAA). It improves on the traditional MACD by normalizing momentum with volatility, solving several well-known limitations of classic indicators:
✅ Time stability – readings are consistent across history
✅ Cross-market comparability – works equally on stocks, crypto, forex, and commodities
✅ Objective momentum framework – universal thresholds at +150 / -150, +50 / -50
✅ Cleaner signals – reduces false signals in ranges and lag in high momentum
By dividing the MACD spread by ATR, the indicator expresses momentum in volatility units, allowing meaningful comparison across timeframes and markets.
MACD-V defines seven objective momentum states:
Risk (Oversold): below -150
Rebounding: -150 to +50 and above signal
Rallying: +50 to +150 and above signal
Risk (Overbought): above +150
Retracing: above -50 and below signal
Reversing: -150 to -50 and below signal
Ranging: between -50 and +50 for N bars
Optional background tints highlight the active regime (Bull above 200-MA, Bear below 200-MA).
Rare extremes (e.g., MACD-V < -100 in a bull regime) are tagged for additional context.
Use Cases
Identify and track momentum lifecycles across any market
Spot rare extremes for potential reversal opportunities
Filter out low-momentum whipsaws in ranging conditions
Compare momentum strength across multiple symbols
Support systematic and rule-based strategy development
ROGUE NR4/NR7ROGUE NR4/NR7 is a pattern-detection tool that highlights Narrow Range 4 (NR4) and Narrow Range 7 (NR7) setups and tracks their breakout behavior. These patterns are known for marking consolidation zones where volatility contracts. A breakout from these ranges often signals the start of an expansion move — making them useful for traders who focus on breakout strategies.
Key Features:
-NR4 / NR7 Detection: Automatically identifies the narrowest 4- or 7-bar ranges on your selected timeframe.
-Custom Sessions: Option to restrict detection and signals to specific trading hours (e.g., RTH).
-Breakout Signals: Prints a single up or down signal on the first valid breakout from the NR range.
-Dynamic Stop-Loss: Plots ATR-based stop loss levels alongside breakout signals.
-Deviation Levels: Plots customizable deviation lines based on the NR7/NR4 range size for measured move projections.
-Session-Aware: All signals and ranges reset at the start of a new trading day, preventing carryover into the next session.
-Clean Charting: Range boxes and lines extend for a user-defined number of bars, keeping your charts clear and focused.
How to Use:
-Select your preferred higher timeframe for detecting NR4/NR7 patterns.
-Wait for an NR box to appear (highlighted with color).
-Monitor for the first breakout signal (▲ for bullish, ▼ for bearish).
-Use the ATR stop-loss line and deviation levels to plan risk and targets.
-Combine with broader market context or confirmation tools for best results.
QuantumFlowEN
What it is
QuantumFlow - blends liquidity-sweep reversals with ATR-normalized momentum continuation, gated by a light regime filter. is a non-repainting, on-close indicator that fuses two complementary engines:
Sweep-Reversal (SR): seeks liquidity sweeps (wick > ATR×X) around prior swing extremes, then waits for a micro BOS (break of short-term structure) and alignment with a VWAP±σ channel and Donchian midline.
Momentum-Continuation (MC): normalizes rate-of-change by ATR to detect momentum bursts with hysteresis, so continuation entries don’t flip/flop in chop.
A light Regime layer (Kaufman Efficiency Ratio) controls when signals are allowed at all.
On top of that, you can optionally require HTF EMA filter, volume expansion, session gating, and volatility guards. All signals are computed on bar close; there is no lookahead.
Why it’s different
Rather than a single trigger, QuantumFlow combines context (regime/trend), location (sweep → BOS near VWAP band), and impulse (ATR-normalized momentum with hysteresis). The exact thresholds and sequencing are tuned and encapsulated in presets, so the UI stays minimal while keeping behavior consistent.
How to use
Choose a Preset (Very Conservative → Very Aggressive).
Conservative/Balanced for choppier FX/indices; Aggressive for crypto scalps.
(Optional) Keep Use HTF EMA ON for additional trend bias on intraday charts.
Leave Use Sweep-Reversal and Use Momentum-Continuation both ON at first; later you can test them separately.
Enable Volume filter and, if needed, Session window to match your market.
Use signals as contextual prompts (BUY/SELL markers). Entries, risk and exits are up to your plan; a typical approach is structure-based invalidation (beyond the sweep/BOS anchor) and partials vs VWAP/Donchian.
Presets (quick guide)
Very Conservative / Conservative — fewer signals, stronger context; good for higher TFs or sideways regimes.
Balanced — default mix.
Aggressive / Very Aggressive — more permissive; suitable for liquid, trendy sessions (e.g., crypto London/US overlaps).
Notes & limitations
Signals are generated on close only, but any execution still depends on your brokerage/venue fills.
Hidden internal thresholds (regime/momentum/structure) are intentionally not exposed to keep behavior stable and to protect the method’s edge.
Risk disclosure
This script is for educational purposes only and does not constitute financial advice. Markets involve risk; past performance does not guarantee future results. Always validate on your instruments/timeframes and use an independent risk plan (position sizing, max daily loss, invalidators).
RU
Что это
QuantumFlow — сочетает развороты после снятия ликвидности и импульсные продолжения, нормированные ATR, под контролем режима. Индикатор без перерисовки (сигналы на закрытии бара), который объединяет два блока:
Sweep-Reversal (SR): поиск снятия ликвидности (длинные хвосты относительно ATR) у предыдущих экстремумов → короткий BOS по микроструктуре → проверка расположения относительно VWAP±σ и середины канала Дончиана.
Momentum-Continuation (MC): импульс через ROC, нормированный ATR, с гистерезисом — чтобы продолжения не «дребезжали» во флэте.
Лёгкий слой Regime (коэффициент эффективности Кауфмана) решает, когда вообще разрешать сигналы.
Дополнительно доступны фильтры HTF EMA, объёма, сессий и волатильности. Все проверки выполняются на закрытии бара, без заглядывания вперёд.
Чем отличается
QuantumFlow не опирается на один триггер: он совмещает контекст (режим/тренд), локацию (sweep → BOS рядом с VWAP-полосой) и импульс (моментум с нормировкой и гистерезисом). Точные пороги и порядок проверок инкапсулированы в пресеты, поэтому интерфейс остаётся минимальным, а поведение — стабильным.
Как пользоваться
Выберите Preset (от Very Conservative до Very Aggressive).
Conservative/Balanced — для более «рваных» режимов, старших ТФ;
Aggressive — для скальпа на ликвидных сессиях (крипто: Лондон/США).
(Опционально) Оставьте Use HTF EMA включённым для доп. тренд-фильтра на интрадей.
Сначала держите Sweep-Reversal и Momentum-Continuation включёнными; позже можно тестировать по отдельности.
Включите фильтр объёма и при необходимости сессии.
Относитесь к меткам BUY/SELL как к контекстным подсказкам. Точка входа, риск и выход — по вашему плану: популярный вариант — инвалидатор за уровнем sweep/BOS, частичная фиксация к VWAP/Donchian.
Пресеты (кратко)
Very Conservative / Conservative — меньше сигналов, строже контекст; удобно для старших ТФ и боковиков.
Balanced — профиль «по умолчанию».
Aggressive / Very Aggressive — более частые сигналы; под трендовые и ликвидные часы.
Важно
Сигналы формируются на закрытии, но исполнение зависит от вашей площадки/ликвидности.
Внутренние пороги Regime/Momentum/Structure намеренно не вынесены в UI для стабильности поведения и сохранения уникальности методики.
Дисклеймер по рискам
Скрипт носит образовательный характер и не является инвестиционной рекомендацией. Торговля связана с риском; прошлые результаты не гарантируют будущие. Проверяйте работу на своих инструментах/ТФ и используйте независимый риск-план (сайзинг, дневной лимит, инвалидаторы).