Ensemble Consensus System
The Ensemble Consensus System (ECS) brings a **Random Forest-style ensemble vote** to Pine Script: five orthogonal "expert" strategies each cast a bull/bear vote (+1/-1/0), and only high-confidence consensus moves become signals—dramatically reducing noise while capturing strong directional moves.
## What Makes This Original
ECS is the first Pine Script indicator to implement true machine learning-style ensemble voting. Rather than relying on a single methodology, five independent experts analyze different market dimensions:
• **Trend Expert**: Multi-timeframe EMA alignment analysis
• **Momentum Expert**: RSI/MACD/Stochastic confluence with consistency filters
• **Volume Expert**: Proprietary volume pressure + OBV confirmation
• **Volatility Expert**: Bollinger Band mean reversion opportunities
• **Structure Expert**: Adaptive pivot-based support/resistance detection
## How It Works
The system requires consensus among experts, with an **adaptive threshold** based on market volatility:
| Volatility Regime | ATR/Close | Votes Required |
|-------------------|-----------|----------------|
| Low Volatility | <1% | 2+ |
| Normal Markets | 1-2% | 3+ |
| High Volatility | >2% | 4+ |
This dynamic adjustment prevents overtrading in choppy conditions while maintaining responsiveness during strong trends.
## Key Features
### Signals
• **Visual entry points** with strength percentage (60% = 3/5 experts agree)
• **Adaptive thresholds** that adjust to market conditions
• **Multi-expert consensus** reduces false signals
### Risk Control
• **Dynamic stop-loss/take-profit** based on ATR
• **Regime-adjusted targets** (±50% in volatile markets)
• **Visual SL/TP lines** with exact price labels
### Analytics
• **Real-time vote panel** showing each expert's stance
• **Performance tracking** with win rate and P/L
• **Market regime indicator** (Trending/Ranging/Volatile)
• **Light Mode** for better performance on slower systems
## How to Use
1. **Apply ECS** to a liquid instrument on 15m-4H timeframe (best: 1H)
2. **Wait for signal** - green ▲ for long, red ▼ for short with strength %
3. **Verify votes** - check panel to see which experts agree
4. **Execute trade** using the displayed SL/TP levels
5. **Monitor regime** - be cautious if market regime changes
### Quick Start Settings
• **Standard Trading**: Use defaults (3 votes, adaptive mode ON)
• **Conservative**: Increase to 4 votes minimum
• **Aggressive**: Reduce to 2 votes, tighten stops
## Important Limitations
• **Chart Types**: Not compatible with Renko/Heikin-Ashi
• **Volume Data**: Requires reliable volume (forex pairs may underperform)
• **News Events**: Signals may lag during gaps/major announcements
• **Processing**: Heavy calculations - use Light Mode if needed
## Settings Guide
**Ensemble Controls**
• `Minimum Votes` (default: 3): Base threshold before volatility adjustment
• `Adaptive Mode` (default: ON): Auto-adjusts threshold by market volatility
**Visual Options**
• `Vote Panel`: Live expert voting display
• `Performance Stats`: Win rate and trade tracking
• `Light Mode`: Disables heavy visuals for speed
**Risk Parameters**
• `Stop Multiplier` (default: 2.0): ATR multiple for stop-loss
• `TP Multiplier` (default: 3.0): ATR multiple for take-profit
• `Dynamic TP` (default: ON): Adjusts targets by market regime
## Troubleshooting
**Too few signals?**
→ Lower minimum votes or check if market is ranging
**Indicator running slow?**
→ Enable Light Mode, disable performance tracking
**Weird volume votes?**
→ Verify your symbol has accurate volume data
## Technical Concepts
The ensemble approach mimics **Random Forest algorithms** where multiple decision trees vote on outcomes. By requiring agreement among experts using orthogonal methodologies, ECS filters out signals that would fail under different market lenses. The adaptive threshold addresses fixed-parameter weakness by dynamically adjusting selectivity based on volatility.
• Adaptive pivot lookback for dynamic structure detection
• Safe volume pressure calculation preventing division errors
• Momentum consistency filter reducing choppy false signals
• Unified dashboard merging vote panel + performance stats
• Regime-based dynamic take-profit adjustment
*Educational indicator demonstrating ensemble methods in Pine Script. No guarantee of future performance. Always use proper risk management and position sizing.*
頻帶和通道
SD Median NUPL-Z🧠 Overview
SD Median NUPL-Z is a trend-following indicator that leverages a normalized version of Bitcoin’s Net Unrealized Profit/Loss (NUPL) metric, filtered through a median-based volatility band. Unlike traditional NUPL which is often used to spot extremes, this indicator is designed to identify sustained directional trends — entering only when both on-chain momentum and price structure align.
🧩 Key Features
Z-Scored NUPL Trend Engine: Normalizes NUPL using rolling mean and standard deviation to create a smoothed trend signal.
Price Structure Filter: Implements a median-based price band to avoid false entries during short-term volatility.
Custom Thresholds: User-defined thresholds determine when the trend signal is strong enough to justify a long or short directional bias.
Directional Candle Coloring: Reinforces current trend regime visually with aqua (bullish) and red (bearish) plots and candles.
Optimized for BTC: Uses Bitcoin’s Market Cap and Realized Cap to construct the NUPL input.
🔍 How It Works
On-Chain Core: NUPL is calculated as the percentage of unrealized profit in the market: (Market Cap - Realized Cap) / Market Cap * 100.
Z-Score Transformation: The raw NUPL value is normalized using a rolling average and standard deviation over a set window (default 134 days), producing the NUPL-Z series.
Median-Based Price Filter: A rolling 50th percentile (median) of price is used alongside its own standard deviation to create upper and lower bounds.
These bounds define a "volatility corridor" around price; the trend signal is only acted upon if price confirms by staying outside these bands.
Signal Logic:
A Long signal is triggered when NUPL-Z rises above the long threshold and price is not below the lower band.
A Short signal is triggered when NUPL-Z falls below the short threshold.
State Variable (CD): Tracks the current market regime, used to control plotting and color changes.
🔁 Use Cases & Applications
Momentum-Based Trend Following: Helps traders align with directional moves backed by both on-chain sentiment and supportive price structure.
Filtered Entry Timing: Reduces premature or noise-based entries by requiring price confirmation before committing to NUPL-based signals.
Best Suited for BTC: This tool is designed specifically around Bitcoin’s on-chain metrics and is not intended for altcoins or low-volume assets.
✅ Conclusion
SD Median NUPL-Z repurposes a traditionally cyclical valuation tool into a modern trend-following signal by combining statistical normalization with dynamic price structure filtering. It offers a more robust way to participate in high-conviction directional trends, reducing the likelihood of entering during short-lived counter moves.
⚠️ Disclaimer
The content provided by this indicator is for educational and informational purposes only. Nothing herein constitutes financial or investment advice. Trading and investing involve risk, including the potential loss of capital. Always backtest and apply risk management suited to your strategy.
SD Median MVRV-Z🧠 Overview
SD Median MVRV-Z is a trend-following indicator that uses on-chain valuation signals as a supportive filter. It blends the momentum of the MVRV Z-score with a dynamic median-based price structure to provide cleaner, more reliable directional signals. This tool is designed to identify when price and trend align with favorable broader context — not to pinpoint overbought or oversold extremes.
🧩 Key Features
Trend-Following Core: Signals are built around directional strength, not reversion.
MVRV Z-Score Momentum: Utilizes the statistical momentum of Market Cap vs Realized Cap as a macro trend driver.
Rolling Median Filter: Applies a price-based condition to ensure trend signals are not triggered during short-term counter-moves or noise.
Threshold Customization: Input controls allow traders to define the strength required to trigger long or short signals.
Dynamic Visualization: Candle coloring and filled zones provide instant feedback on current market regime.
🔍 How It Works
Trend Signal: The MVRV ratio is normalized via Z-scoring to produce a momentum-like signal based on how far current valuation deviates from its rolling average.
Price Filter: A rolling median and standard deviation of price define an upper and lower band. These serve to filter out MVRV-Z signals that occur when price is moving against the perceived direction.
Signal Logic:
Long signal = MVRV-Z above threshold and price is not in the lower volatility band.
Short signal = MVRV-Z below threshold, regardless of price band (more aggressive condition).
Directional Engine (CD): Encodes the market regime state (1 for long, -1 for short, 0 for neutral), and drives all visual outputs.
🔁 Use Cases & Applications
Momentum Confirmation: Identify when on-chain momentum and price structure both confirm a trend direction.
Reduced Whipsawing: Filter out weak or conflicting trend signals that would otherwise lead to false entries.
Best Suited for BTC: This indicator is specifically tailored for Bitcoin, using BTC’s Market Cap and Realized Cap data from on-chain sources.
✅ Conclusion
SD Median MVRV-Z is a trend-centric tool that ensures directional conviction by requiring agreement between price structure and underlying market momentum. It is not meant to detect tops or bottoms, but instead to help traders participate in sustainable moves with greater confidence.
⚠️ Disclaimer
The content provided by this indicator is for educational and informational purposes only. Nothing herein constitutes financial or investment advice. Trading and investing involve risk, including the potential loss of capital. Always backtest and apply risk management suited to your strategy.
Dynamic Range Filter with Trend Candlesticks (Zeiierman)█ Overview
Dynamic Range Filter with Trend Candlesticks (Zeiierman) is a volatility-responsive trend engine that adapts in real-time to market structure, offering a clean and intelligent visualization of directional bias. It blends dynamic range calculation with customizable smoothing techniques and layered trend confirmation logic, making it ideal for traders who rely on clear trend direction, structural range analysis, and momentum-based candlestick signals.
By measuring scaled volatility over configurable lengths and applying advanced moving average techniques, this indicator filters out market noise while preserving true directional intent. Complementing this, a dual-trend system (range-based and candle-based) enhances clarity and responsiveness, particularly during shifting market conditions.
█ How It Works
⚪ Scaled Volatility Band Calculation
At the core lies a volatility engine that constructs adaptive range bands around price using smoothed high/low calculations. The bands are dynamically adjusted using:
High/Low Smoothing – Applies a moving average to the raw high and low data before calculating the range.
Scaled Range Volatility – A 2.618 multiplier scales the distance between smoothed highs and lows, forming a responsive volatility envelope.
Band Multiplier – Controls how wide the upper/lower range bands extend from the mean.
This filtering process minimizes false signals and highlights only structurally meaningful moves.
⚪ Multi-Type Smoothing Engine
Users can choose from a wide array of smoothing algorithms for trend construction, including:
HMA (default), SMA, EMA, RMA
KAMA – Adapts to market volatility using efficiency ratios.
VIDYA – Momentum-sensitive smoothing using CMO logic.
FRAMA – Dynamically adjusts to fractal dimension in price.
Super Smoother – Ideal for eliminating aliasing in range signals.
This provides the trader with fine-tuned control over reactivity vs. smoothness.
⚪ Trend Detection (Dual Engine)
The indicator includes two independent trend tracking systems:
Main Trend Filter – Based on adaptive volatility band shifts.
Candle Trend Filter – A second-tier confirmation using smoothed candle data, ideal for directional candles and confirmation entries.
█ How to Use
⚪ Trend Confirmation
Use the Trend Line and colored candlesticks for high-probability entries in the trend direction. The more trend layers that align, the higher the confidence.
⚪ Reversal Zones
When the price reaches the outer bands or fails to break them, look for candle color shifts or a crossover in the range to anticipate possible reversals or consolidations.
█ Settings
Scaled Volatility Length – Controls the lookback used to stabilize the base volatility band.
MA Type & Length – Choose and fine-tune the smoothing method (HMA, EMA, KAMA, etc.)
High/Low Smoother – Pre-smoothing for structural high/low banding.
Band Multiplier – Adjusts the width of the dynamic bands.
Trend Length (Candles) – Length used for candle-based trend confirmation.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
SMA Zone with Breakouts/Tests 1.0.This indicator plots a dynamic “SMA Zone” between two simple moving averages (one applied to lows, one to highs) and highlights key interaction points with the zone:
Breakouts
Bull Break: price closes above the upper SMA
Bear Break: price closes below the lower SMA
Requires confirmation via either above-average volume or an unusually wide bar (spread > ATR) closing near its extreme
Tests & Retests
After a breakout, the first re-entry into the zone edge is labeled “Test,” subsequent re-entries are numbered “Retest,” “2nd Retest,” etc.
Zone Weakening: each additional Test/Retest signifies diminished zone strength—fewer reliable boundaries remain (Traditional S/R theory)
Alerts
Fires a unified “Zone Signal” alert on every Break, Test, and Retest (set condition to “Any alert() function call”).
Disclaimer:
This is not financial advice and should not be used as a standalone trading signal.
It’s designed to draw your attention to important price-zone interactions so you can manually tune in.
The logic can be further enhanced or combined with other indicators/algorithms as part of a more complex trading system.
Elliott Wave + Fib Levels w/Alerts [Enhanced]Elliott Wave + Fibonacci Levels with Alerts
This powerful TradingView indicator combines Elliott Wave detection with customizable Fibonacci retracement levels to help identify key price zones and potential trade opportunities. It automatically detects bullish and bearish waves based on recent highs and lows, with an optional EMA filter to improve trend accuracy.
Key features include:
Dynamic detection of Elliott Waves based on configurable wave length.
Visualization of Fibonacci retracement levels on detected waves, with customizable percentage levels and optional labels for clarity.
ATR-based automatic calculation of stop loss and take profit levels with adjustable multipliers.
Real-time alerts triggered on new wave formations, indicating bullish or bearish setups with precise entry price details.
Clean plotting of entry signals, stop loss, and take profit zones directly on the chart.
User-friendly input controls to tailor the indicator to your trading style, including options to toggle EMA filtering, Fibonacci level display, and alert activation.
Ideal for traders looking to combine classic wave analysis with Fibonacci support/resistance levels and actionable trade alerts, this indicator streamlines technical analysis and trade management in one easy-to-use tool.
Super Arma Institucional PRO v6.3Super Arma Institucional PRO v6.3
Description
Super Arma Institucional PRO v6.3 is a multifunctional indicator designed for traders looking for a clear and objective analysis of the market, focusing on trends, key price levels and high liquidity zones. It combines three essential elements: moving averages (EMA 20, SMA 50, EMA 200), dynamic support and resistance, and volume-based liquidity zones. This integration offers an institutional view of the market, ideal for identifying strategic entry and exit points.
How it Works
Moving Averages:
EMA 20 (orange): Sensitive to short-term movements, ideal for capturing fast trends.
SMA 50 (blue): Represents the medium-term trend, smoothing out fluctuations.
EMA 200 (red): Indicates the long-term trend, used as a reference for the general market bias.
Support and Resistance: Calculated based on the highest and lowest prices over a defined period (default: 20 bars). These dynamic levels help identify zones where the price may encounter barriers or supports.
Liquidity Zones: Purple rectangles are drawn in areas of significantly above-average volume, indicating regions where large market participants (institutional) may be active. These zones are useful for anticipating price movements or order absorption.
Purpose
The indicator was developed to provide a clean and institutional view of the market, combining classic tools (moving averages and support/resistance) with modern liquidity analysis. It is ideal for traders operating swing trading or position trading strategies, allowing to identify:
Short, medium and long-term trends.
Key support and resistance levels to plan entries and exits.
High liquidity zones where institutional orders can influence the price.
Settings
Show EMA 20 (true): Enables/disables the 20-period EMA.
Show SMA 50 (true): Enables/disables the 50-period SMA.
Show EMA 200 (true): Enables/disables the 200-period EMA.
Support/Resistance Period (20): Sets the period for calculating support and resistance levels.
Liquidity Sensitivity (20): Period for calculating the average volume.
Minimum Liquidity Factor (1.5): Multiplier of the average volume to identify high liquidity zones.
How to Use
Moving Averages:
Crossovers between the EMA 20 and SMA 50 may indicate short/medium-term trend changes.
The EMA 200 serves as a reference for the long-term bias (above = bullish, below = bearish).
Support and Resistance: Use the red (resistance) and green (support) lines to identify reversal or consolidation zones.
Liquidity Zones: The purple rectangles highlight areas of high volume, where the price may react (reversal or breakout). Consider these zones to place orders or manage risks.
Adjust the parameters according to the asset and timeframe to optimize the analysis.
Notes
The chart should be configured only with this indicator to ensure clarity.
Use on timeframes such as 1 hour, 4 hours or daily for better visualization of liquidity zones and support/resistance levels.
Avoid adding other indicators to the chart to keep the script output easily identifiable.
The indicator is designed to be clean, without explicit buy/sell signals, following an institutional approach.
This indicator is perfect for traders who want a visually clear and powerful tool to trade based on trends, key levels and institutional behavior.
SMA50 ATR%SMA50 ATR% Zones Indicator
Overview:
The "SMA50 ATR%" indicator is designed to provide dynamic zones above and below a Simple Moving Average (SMA) based on multiples of the Average True Range (ATR). These zones can help traders identify potential areas of interest for entries, profit-taking, and stop-loss placement by visualizing how far the price has deviated from its medium-term mean (SMA) relative to its recent volatility (ATR).
Key Features:
Central SMA: Plots a customizable Simple Moving Average (default 50-period) as the baseline.
ATR-Based Zones: Calculates and displays distinct zones by adding or subtracting multiples of the ATR (default 10-period) from the SMA.
Color-Coded Visuals: Each zone type is clearly differentiated by color and shading intensity, providing an intuitive visual guide.
Current Zone Label: Displays the specific ATR multiple zone the current price is trading in, offering quick insight into the market's current position relative to the zones.
Zone Breakdown:
The indicator plots the following zones:
Entry Zones (Green Shades):
+1x ATR to +2x ATR above SMA
+2x ATR to +3x ATR above SMA
+3x ATR to +4x ATR above SMA
The green shades become progressively lighter as they move further from the SMA, with the zone closest to the SMA being the darkest green.
Hold Zones (Yellow Shades):
+4x ATR to +5x ATR above SMA (Darker Yellow)
+5x ATR to +6x ATR above SMA (Lighter Yellow)
Sell Zones (Red Shades):
+6x ATR to +7x ATR above SMA
+7x ATR to +8x ATR above SMA
+8x ATR to +9x ATR above SMA
+9x ATR to +10x ATR above SMA
+10x ATR to +11x ATR above SMA
The red shades become progressively darker as they move further from the +6x ATR level, with the +10x to +11x ATR zone being the darkest red.
Stop Loss Zones (Red Shades):
-1x ATR below SMA (Lighter Red)
-1x ATR to -2x ATR below SMA (Darker Red)
How to Use:
Potential Entry Areas: The green "Entry Zones" might indicate areas where the price has pulled back towards the SMA but is still showing strength, or areas where a breakout above the SMA is gaining momentum relative to volatility.
Potential Overbought/Hold Areas: The yellow "Hold Zones" could suggest that the price is becoming extended from its mean, warranting caution or a "hold" approach for existing positions.
Potential Profit-Taking/Sell Areas: The red "Sell Zones" might highlight significantly overbought conditions where the price has moved multiple ATRs above the SMA, potentially signaling areas for profit-taking or considering short entries.
Potential Stop-Loss Areas: The red "Stop Loss Zones" below the SMA can help define areas where a breakdown below the moving average, considering volatility, might invalidate a bullish bias.
Customization:
SMA Length: Adjust the period for the Simple Moving Average (Default: 50).
ATR Length: Adjust the period for the Average True Range calculation (Default: 10).
Show Current Zone Label: Toggle the visibility of the on-screen label that displays the current price's ATR zone.
SMA Line Width: Customize the thickness of the SMA line.
Label Position & Size: Control the placement and text size of the current zone label for optimal chart readability.
Disclaimer:
This indicator is a tool for technical analysis and should not be considered as financial advice. Always use risk management and combine with other analysis methods before making trading decisions.
Hull MA Channel with Filtered CrossoversI've created an indicator that let's you create a HMA channel with 2 displaced HMA (A/B). As well as a HMA crossover set (C/D).
Here's how it works:
The HMA crossovers from C and D will not signal unless they are outside of the channel of A and B. As a matter of fact, NO buy signal whatsoever will occur above the channel and NO sell signal will occur below the channel.
The crossover HMA pair (C/D) can have their lengths adjusted to the 0.00 decimal point for VERY fine tuning of the crossovers.
(edit-it doesn't fine tune to the .00. This must not be a feature that is able to be utilized. I tried) The length adjustment still works to the nearest whole number. The .00 are mute :(
In keeping with that same logic, you can adjust the displacement of the channel independently to the 0.00 decimal, again for VERY fine tuning.
This is great for reversals while eliminating noise from false signals, keeping the chart nice and clean. Should be used in combination with other indicators for the best confirmations.
RRC Sniper SetupRRC Sniper Setup, this looks at candles this way:
Go to Market Scanner
Create New Scan → "RRC Sniper Setup"
Add filters listed below with timeframe logic (e.g. 1m/5m)
Run scan on:
Your Watchlist
SPY 500
QQQ 100
AI/Momentum names
1. Reclaim Filter
Find price breaking back above a key level (VWAP or EMA113)
Last 1m Close > EMA 113 (1m)
OR
Last 5m Close > VWAP
2. Retrace Filter
Price pulls back into the zone and holds within a tight range
Current Price < VWAP * 1.0025
AND
Current Price > VWAP * 0.9975
AND
Volume (Current Candle) < Volume (Previous Candle)
✅ 3. Confirm Filter
Price begins moving back up with confirmation candle and volume
Last Candle Close > Last Candle Open
AND
Volume (Current Candle) > Volume (Previous Candle)
3 EMA + SupertrendThree EMAs: Helps you identify the general trend direction and potential crossovers.
When the Fast EMA crosses above the Medium or Slow EMAs, it may indicate a bullish trend, and vice versa for bearish trends.
Supertrend: Works as a trend filter. You can use it to identify overall market conditions:
When the Supertrend is green, it indicates an uptrend.
When the Supertrend is red, it indicates a downtrend.
Combination: The EMAs help you confirm the trend, and the Supertrend can act as a filter or confirmation tool for your entries and exits.
Potential Strategy Idea:
Long Entry: When the Fast EMA crosses above the Medium EMA, and the Supertrend is green.
Short Entry: When the Fast EMA crosses below the Medium EMA, and the Supertrend is red.
Exit: You can use either the Supertrend turning from green to red (for long exits) or vice versa.
True Range eXpansion🕯️ TRX — True Range eXpansion
Clean Candle Bodies · Volatility Bands · Adaptive Range Envelope System
Not your grandfather’s candles. Not your brokerage’s bands.
----------------------------------------------------
TRX begins with a simple concept: visualize the true range of every candle, without the noise of flickering wicks.
From there, it grows into a fully adaptive price visualization framework.
What started as a candle-only visualizer evolved into a modular, user-controlled price engine.
From wickless candle clarity to dynamic volatility envelopes, TRX adapts to you.
There are plenty of band and channel indicators out there — Bollinger, Keltner, Donchian, Envelope, the whole crew.
But none of them are built on the true candle range, adaptive ATR shaping, and full user control like TRX.
This isn’t just another indicator — it’s a new framework.
Most bands and channels are based on close price and statistical deviation — useful, but limited.
TRX uses the full true range of each candle as its foundation, then applies customizable smoothing and directional ATR scaling to form a dynamic, volatility-reactive envelope.
The result? Bands that breathe with the market — not lag behind it.
----------------------------------------------------
🔧 Core Features:
🕯️ True Range Candles — Each candle is plotted from low to high, body-only, colored by open/close.
📈 Adjustable High/Low Moving Averages — Select your smoothing style: SMA, EMA, WMA, RMA, or HMA.
🌬️ ATR-Based Expansion — Bands dynamically breathe based on market volatility.
🔀 Per-Band Multipliers — Fine-tune expansion individually for the upper and lower bands.
⚖️ Basis Line — Optional centerline between bands for structure tracking and equilibrium zones.
🎛️ Full Visual Control — Width, transparency, color, on/off toggles for each element.
----------------------------------------------------
🧠 Default Use Case:
With the included default settings, TRX behaves like an evolved Bollinger Band system — based on True Range candle structure, not just close price and standard deviation.
----------------------------------------------------
🔄 How to Zero Out the Bands (for Minimalist Use):
Want just candles? A clean MA? Single band? You got it.
➤ Use TRX like a clean moving average:
• Set ATR Multiplier to 0
• Set both Band ATR Adjustments to 0
• Leave the Basis Line ON or OFF — your call
➤ Show only candles (no bands at all):
• Turn off "Show High/Low MAs"
• Turn off Basis Line
➤ Single-line ceiling or floor tracking:
• Set one band’s Transparency to 100
• Use the remaining band as a price envelope or support/resistance guide
----------------------------------------------------
🧬 Notes:
TRX can be made:
• Spiky or silky (via smoothing & ATR)
• Wide or tight (via multipliers)
• Subtle or aggressive (via color/transparency)
• Clean as a compass or dirty as a chaos meter
Built by accident. Tuned with intention.
Released to the world as one of the most adaptable and expressive visual overlays ever made.
Created by Sherlock_MacGyver
Mad Trading Scientist - Guppy MMA with Bollinger Bands📘 Indicator Name:
Guppy MMA with Bollinger Bands
🔍 What This Indicator Does:
This TradingView indicator combines Guppy Multiple Moving Averages (GMMA) with Bollinger Bands to help you identify trend direction and volatility zones, ideal for spotting pullback entries within trending markets.
🔵 1. Guppy Multiple Moving Averages (GMMA):
✅ Short-Term EMAs (Blue) — represent trader sentiment:
EMA 3, 5, 8, 10, 12, 15
✅ Long-Term EMAs (Red) — represent investor sentiment:
EMA 30, 35, 40, 45, 50, 60
Usage:
When blue (short) EMAs are above red (long) EMAs and spreading → Strong uptrend
When blue EMAs cross below red EMAs → Potential downtrend
⚫ 2. Bollinger Bands (Volatility Envelopes):
Length: 300 (captures the longer-term price range)
Basis: 300-period SMA
Upper & Lower Bands:
±1 Standard Deviation (light gray zone)
±2 Standard Deviations (dark gray zone)
Fill Zones:
Highlights standard deviation ranges
Emphasizes extreme vs. normal price moves
Usage:
Price touching ±2 SD bands signals potential exhaustion
Price reverting to the mean suggests pullback or re-entry opportunity
💡 Important Note: Use With Momentum Filter
✅ For superior accuracy, this indicator should be combined with your invite-only momentum filter on TradingView.
This filter helps confirm whether the trend has underlying strength or is losing momentum, increasing the probability of successful entries and exits.
🕒 Recommended Timeframe:
📆 1-Hour Chart (60m)
This setup is optimized for short- to medium-term swing trading, where Guppy structures and Bollinger reversion work best.
🔧 Practical Strategy Example:
Long Trade Setup:
Short EMAs are above long EMAs (strong uptrend)
Price pulls back to the lower 1 or 2 SD band
Momentum filter confirms bullish strength
Short Trade Setup:
Short EMAs are below long EMAs (strong downtrend)
Price rises to the upper 1 or 2 SD band
Momentum filter confirms bearish strength
Multi Bollinger Bands with Background FillMulti Bollinger Bands with Background Fill
多組帶狀背景布林通道
This indicator plots six independent Bollinger Bands channels on the price chart, each fully configurable with customizable period length, standard deviation, and colors for upper, lower, and middle bands. Users can choose to display or hide each channel and its middle band independently.
A distinctive feature of this tool is the option to enable colored background fills between paired Bollinger Bands (channels 1&2, 3&4, and 5&6) to visually highlight volatility zones, improving the clarity of price action and aiding in multi-timeframe volatility analysis.
Key Features:
Six independent Bollinger Bands channels with separate visibility toggles.
Adjustable length and standard deviation for each channel.
Option to display or hide the middle band (basis) for each channel.
Unique colored background fills between paired upper and lower bands for enhanced visual interpretation.
Custom color settings for each band and background for better differentiation.
This indicator is designed for traders looking for advanced multi-layered volatility insights and clearer visual guidance when analyzing price behavior across different timeframes. It is suitable for various trading strategies including trend analysis and volatility-based setups.
Bollinger Bands [LePasha]Bollinger Bands : Advanced Volatility Analysis Made Simple
Discover a refined take on Bollinger Bands that offers clearer market insights and deeper volatility understanding — perfect for traders seeking precision and confidence.
What Is the Bollinger Bands Indicator?
The Bollinger Bands indicator is a powerful, overlay chart tool designed to help traders visualize price volatility and identify potential market extremes more effectively.
Unlike classic Bollinger Bands which use just two standard deviation bands, this enhanced version employs multiple deviation levels around a simple moving average (SMA) to give a richer picture of market dynamics.
Key Features
Multiple Deviation Bands: Instead of only ±2 standard deviations, it uses three extended levels: 2.5, 3.0, and 3.5 standard deviations to highlight subtle and extreme price movements.
Color-coded Volatility Zones: Each band range is filled with translucent red or teal shades to help traders visually grasp the intensity of price moves.
Customizable Length and Toggle: Adjust the length of the bands and enable or disable the indicator easily through inputs.
Why Three Deviation Levels?
Traditional Bollinger Bands (±2 standard deviations) cover approximately 95% of price action, but markets often present significant moves beyond this range that are important to identify for better risk management and trading decisions.
The three deviation levels serve distinct purposes:
Deviation Level Approximate Purpose Market Insight Provided
±2.5 SD Captures strong but fairly common moves Entry/exit trigger zones for trending moves
±3.0 SD Highlights more extreme, less frequent moves Indicates breakout strength or overextension
±3.5 SD Marks rare and extreme price deviations Signals potential reversal or exhaustion
This graduated scale allows traders to differentiate between normal volatility, strong momentum, and possible exhaustion—making it easier to tailor trading decisions according to market context.
How to Use Bollinger Bands
Identify Volatility Zones:
Observe how price interacts with the colored bands:
Price touching or crossing the ±2.5 SD band may indicate a strong move is underway.
Price breaching the ±3.0 or ±3.5 SD bands signals rare, extreme market conditions, which could be either a breakout or a setup for reversal.
Combine With Trend Analysis:
Use in conjunction with trend indicators like moving averages or volume to confirm the direction or strength of moves indicated by the bands.
Adjust Your Stops and Targets:
The layered bands help you set more intelligent stop losses and take profit zones by understanding how far price can reasonably stray.
Visual Clarity for Market Phases:
The shaded fills between bands give intuitive visual cues of volatility expansion and contraction phases.
Why Traders Choose Bollinger Bands
Greater Precision: More nuanced volatility detection than traditional Bollinger Bands.
Visual Elegance: Soft translucent fills and clear band lines reduce clutter while delivering maximum insight.
User-Friendly: Easy to toggle and adjust with minimal setup.
Versatile: Effective across assets, timeframes, and trading styles.
Final Thoughts
The Bollinger Bands indicator is more than just a volatility tool — it's your visual guide to understanding how extreme price moves develop in real-time. Whether you’re entering new trades, managing risk, or hunting reversals, this indicator equips you with superior clarity and confidence.
Add Bollinger Bands to your TradingView toolkit and see volatility like never before.
ka66: Triple Keltner Around SourceThis is an indicator-on-indicator which draws Keltner Bands (ATR Bands) around any selected Basis Source, instead of hardcoding a moving average, etc. This allows you to put bands around any sort of esoteric moving average of your choice, or even just around price data like OHLC, HLC3, and so on.
It's an enhancement on my prior Multi ATR Channels script at
Written in Pine v6 and allowing custom timeframe selection.
For example, the published chart shows the bands place around a Kaufman Adaptive Moving Average (KAMA), plotted in blue dots.
You would use it for anything that you would use plain Keltners for:
Mean Reversion
Breakouts
Take Profit and Stop Loss Estimation
But with any basis that you deem more suitable for your purposes.
Spectral Order Flow Resonance (SOFR) Spectral Order Flow Resonance (SOFR)
See the Market’s Hidden Rhythms—Trade the Resonance, Not the Noise!
The Spectral Order Flow Resonance (SOFR) is a next-generation tool for traders who want to go beyond price and volume, tapping into the underlying “frequency signature” of order flow itself. Instead of chasing lagging signals or reacting to surface-level volatility, SOFR lets you visualize and quantify the real-time resonance of market activity—helping you spot when the crowd is in sync, and when the regime is about to shift.
What Makes SOFR Unique?
Not Just Another Oscillator:
SOFR doesn’t just measure momentum or volume. It applies spectral analysis (using Fast Fourier Transform) to normalized order flow, extracting the dominant cycles and their resonance strength. This reveals when the market is harmonizing around key frequencies—often the precursor to major moves.
Regime Detection, Not Guesswork:
By tracking harmonic alignment and phase coherence across multiple Fibonacci-based frequencies, SOFR identifies when the market is entering a bullish, bearish, or neutral resonance regime. This is visualized with a dynamic dashboard and info line, so you always know the current state at a glance.
Dynamic Dashboard:
The on-chart dashboard color-codes each key metric—regime, dominant frequency, harmonic alignment, phase coherence, and energy concentration—so you can instantly gauge the strength and direction of the current resonance. No more guesswork or clutter.
Universal Application:
Works on any asset, any timeframe, and in any market—futures, stocks, crypto, forex. If there’s order flow, SOFR can reveal its hidden structure.
How Does It Work?
Order Flow Normalization:
SOFR calculates the net buying/selling pressure and normalizes it using a rolling mean and standard deviation, making the signal robust across assets and timeframes.
Spectral Analysis:
The script applies FFT to the normalized order flow, extracting the magnitude and phase of several key frequencies (typically Fibonacci numbers). This allows you to see which cycles are currently dominating the market.
Resonance & Regime Logic:
When multiple frequencies align and exceed a dynamic resonance threshold, and phase coherence is high, SOFR detects a “resonance regime”—bullish, bearish, or neutral. This is when the market is most likely to experience a strong, sustained move.
Visual Clarity:
The indicator plots each frequency’s magnitude, highlights the dominant one, and provides a real-time dashboard with color-coded metrics for instant decision-making.
SOFR Dashboard Metrics Explained
Regime:
What it means: The current “state” of the market as detected by SOFR—Bullish, Bearish, or Neutral.
Why it matters: The regime tells you whether the market’s order flow is resonating in a way that favors upward moves (Bullish), downward moves (Bearish), or is out of sync (Neutral). This helps you align your trades with the prevailing market force, or stand aside when there’s no clear edge.
Dominant Freq:
What it means: The most powerful frequency (cycle length, in bars) currently detected in the order flow.
Why it matters: Markets often move in cycles. The dominant frequency shows which cycle is currently driving price action, helping you time entries and exits with the market’s “heartbeat.”
Harmonic Align:
What it means: The number of key frequencies (out of 3) that are currently in resonance (above threshold).
Why it matters: When multiple frequencies align, it signals that different groups of traders (with different time horizons) are acting in concert. This increases the probability of a strong, sustained move.
Phase Coh.:
What it means: A measure (0–100%) of how “in sync” the phases of the key frequencies are.
Why it matters: High phase coherence means the market’s cycles are reinforcing each other, not cancelling out. This is a classic signature of trending or explosive moves.
Energy Conc.:
What it means: The concentration of spectral energy in the dominant frequency, relative to the average.
Why it matters: High energy concentration means the market’s activity is focused in one cycle, increasing the odds of a decisive move. Low concentration means the market is scattered and less predictable.
How to Use
Bullish Regime:
When the dashboard shows a green regime and high harmonic alignment, the market is in a bullish resonance—look for long opportunities or trend continuations.
Bearish Regime:
When the regime is red and alignment is high, the market is in a bearish resonance—look for short opportunities or trend continuations.
Neutral Regime:
When the regime is gray or alignment is low, the market is out of sync—consider waiting for clearer signals or using other tools.
Combine with Your Strategy:
Use SOFR as a confirmation tool, a filter for trend/range conditions, or as a standalone regime detector. The dashboard’s color-coded metrics help you instantly spot when the market is entering or exiting resonance.
Inputs Explained
FFT Window Length :
Controls the number of bars used for spectral analysis. Higher values smooth the signal, lower values make it more sensitive.
Order Flow Period:
Sets the lookback for normalizing order flow. Shorter periods react faster, longer periods are smoother.
Fibonacci Frequencies:
Choose which cycles to analyze. Default values (5, 8, 13) capture common market rhythms.
Resonance Threshold:
Sets how strong a frequency’s signal must be to count as “in resonance.” Lower for more signals, higher for stricter filtering.
Signal Smoothing & Amplify:
Fine-tune the display for your chart and asset.
Dashboard & Info Line Toggles:
Show or hide the on-chart dashboard and info line as needed.
Why This Matters
Most indicators show you what just happened. SOFR shows you when the market is entering a state of resonance—when crowd behavior is most likely to produce powerful, sustained moves. By visualizing the hidden structure of order flow, you gain a tactical edge over traders who only see the surface.
For educational purposes only. Not financial advice. Always use proper risk management.
Use with discipline. Trade your edge.
— Dskyz, for DAFE Trading Systems
Dual Bollinger BandsIndicator Name:
Double Bollinger Bands (2-9 & 2-20)
Description:
This indicator plots two sets of Bollinger Bands on a single chart for enhanced volatility and trend analysis:
Fast Bands (2-9 Length) – Voilet
More responsive to short-term price movements.
Useful for spotting quick reversals or scalping opportunities.
Slow Bands (2-20 Length) – Black
Smoother, trend-following bands for longer-term context.
Helps confirm broader market direction.
Both bands use the standard settings (2 deviations, SMA basis) for consistency. The transparent fills improve visual clarity while keeping the chart uncluttered.
Use Cases:
Trend Confirmation: When both bands expand together, it signals strong momentum.
Squeeze Alerts: A tight overlap suggests low volatility before potential breakouts.
Multi-Timeframe Analysis: Compare short-term vs. long-term volatility in one view.
How to Adjust:
Modify lengths (2-9 and 2-20) in the settings.
Change colors or transparency as needed.
Why Use This Script?
No Repainting – Uses standard Pine Script functions for reliability.
Customizable – Easy to tweak for different trading styles.
Clear Visuals – Color-coded bands with background fills for better readability.
Ideal For:
Swing traders, day traders, and volatility scalpers.
Combining short-term and long-term Bollinger Band strategies.
Multi-Session ORBThe Multi-Session ORB Indicator is a customizable Pine Script (version 6) tool designed for TradingView to plot Opening Range Breakout (ORB) levels across four major trading sessions: Sydney, Tokyo, London, and New York. It allows traders to define specific ORB durations and session times in Central Daylight Time (CDT), making it adaptable to various trading strategies.
Key Features:
1. Customizable ORB Duration: Users can set the ORB duration (default: 15 minutes) via the inputMax parameter, determining the time window for calculating the high and low of each session’s opening range.
2. Flexible Session Times: The indicator supports user-defined session and ORB times for:
◦ Sydney: Default ORB (17:00–17:15 CDT), Session (17:00–01:00 CDT)
◦ Tokyo: Default ORB (19:00–19:15 CDT), Session (19:00–04:00 CDT)
◦ London: Default ORB (02:00–02:15 CDT), Session (02:00–11:00 CDT)
◦ New York: Default ORB (08:30–08:45 CDT), Session (08:30–16:00 CDT)
3. Session-Specific ORB Levels: For each session, the indicator calculates and tracks the high and low prices during the specified ORB period. These levels are updated dynamically if new highs or lows occur within the ORB timeframe.
4. Visual Representation:
◦ ORB high and low lines are plotted only during their respective session times, ensuring clarity.
◦ Each session’s lines are color-coded for easy identification:
▪ Sydney: Light Yellow (high), Dark Yellow (low)
▪ Tokyo: Light Pink (high), Dark Pink (low)
▪ London: Light Blue (high), Dark Blue (low)
▪ New York: Light Purple (high), Dark Purple (low)
◦ Lines are drawn with a linewidth of 2 and disappear when the session ends or if the timeframe is not intraday (or exceeds the ORB duration).
5. Intraday Compatibility: The indicator is optimized for intraday timeframes (e.g., 1-minute to 15-minute charts) and only displays when the chart’s timeframe multiplier is less than or equal to the ORB duration.
How It Works:
• Session Detection: The script uses the time() function to check if the current bar falls within the user-defined ORB or session time windows, accounting for all days of the week.
• ORB Logic: At the start of each session’s ORB period, the script initializes the high and low based on the first bar’s prices. It then updates these levels if subsequent bars within the ORB period exceed the current high or fall below the current low.
• Plotting: ORB levels are plotted as horizontal lines during the respective session, with visibility controlled to avoid clutter outside session times or on incompatible timeframes.
Use Case:
Traders can use this indicator to identify key breakout levels for each trading session, facilitating strategies based on price action around the opening range. The flexibility to adjust ORB and session times makes it suitable for various markets (e.g., forex, stocks, or futures) and time zones.
Limitations:
• The indicator is designed for intraday timeframes and may not display on higher timeframes (e.g., daily or weekly) or if the timeframe multiplier exceeds the ORB duration.
• Time inputs are in CDT, requiring users to adjust for their local timezone or market requirements.
• If you need to use this for GC/CL/SPY/QQQ you have to adjust the times by one hour.
This indicator is ideal for traders focusing on session-based breakout strategies, offering clear visualization and customization for global market sessions.
Multi-EnvelopeRMA Multi-Envelope Indicator
The RMA Multi-Envelope Indicator is a technical analysis tool designed for TradingView, utilizing Pine Script v6. It creates eight customizable envelope bands around a 200-period Running Moving Average (RMA) on a 5-minute timeframe, based on current market measurements. Each band has independent upper and lower percentage deviations, preset to: Band 1 (0.42%, 0.46%), Band 2 (0.78%, 0.69%), Band 3 (1.01%, 1.03%), Band 4 (1.36%, 1.39%), Band 5 (1.80%, 1.62%), Band 6 (2.15%, 2.13%), Band 7 (2.93%, 2.81%), and Band 8 (4.65%, 4.18%). Users can adjust the timeframe, moving average type (RMA, SMA, or EMA), length, and colors for the basis line and bands via hex codes (e.g., #FF6D00 for the basis and Band 8) with semi-transparent color.rgb fills. Ideal for identifying support/resistance, overbought/oversold conditions, or trend boundaries on a 5-minute chart.
Quarter ICT Theo TradeQuarter ICT | Theo Trade
The "Multi-Level Yearly Divisions" indicator is a visual tool designed for TradingView charts. Its primary purpose is to help traders and analysts visualize and analyze price action within a structured, hierarchical breakdown of the year. It divides each year into progressively smaller, equal time segments, allowing for detailed observation of how markets behave during specific portions of the year, quarters, and even finer sub-divisions.
Yearly Detection: It first identifies the start of each new year on the chart.
Four Levels of Division:
Level 0: Marks the beginning of the year with a distinct line.
Level 1 (Quarters): Divides the entire year into four equal parts (quarters).
Level 2: Each quarter is then further divided into four equal smaller segments.
Level 3: Each of these Level 2 segments is again divided into four equal parts.
Level 4: Finally, each Level 3 segment is divided into four more equal parts.
Smash + Proba + BFThis script is designed to automatically display various levels that can be useful for trading.
These levels must be entered in the script as parameters in the form of lists separated by semicolons (";").
There are three groups of levels:
Smash: Levels provided in the Smashelito newsletter
Proba: Probability levels (50% and 70%) of reaching certain price points, calculated using options data
BF: Option-related levels provided by Krechendo Connect / BlackFlag
Example :
Consolidation Range [BigBeluga]A hybrid volatility-volume indicator that isolates periods of price equilibrium and reveals the directional force behind each range buildup.
Consolidation Range is a powerful tool designed to detect compression phases in the market using volatility thresholds while visualizing volume imbalance within those phases. By combining low-volatility detection with directional volume delta, it highlights where accumulation or distribution is occurring—giving traders the confidence to act when breakouts follow. This indicator is particularly valuable in choppy or sideways markets where range identification and sentiment context are key.
🔵 CONCEPTS
Volatility Compression: Uses ADX (Average Directional Index) to detect periods of low trend strength—specifically when ADX drops below a configurable threshold.
Range Structure: Upon a low-volatility trigger, the script dynamically anchors horizontal upper and lower bounds based on local highs and lows.
Directional Volume Delta: Inside each active range, it calculates the net difference between buy and sell volume, showing who controlled the range.
Sentiment Bias: A label appears in the center of the zone on breakout, showing the accumulated delta and bias direction (▲ for positive, ▼ for negative).
Range Validity Filter: Only ranges with more than 15 bars are considered valid—short-lived consolidations are auto-filtered.
🔵 KEY FEATURES
Detects low volatility market phases using ADX logic (crosses under "Volatility Threshold Input").
Automatically plots adaptive consolidation zones with upper and lower boundary lines.
Includes dynamic midline to visualize the price average inside the range.
Visual range is filled with a progressive gradient to reflect distance between highs and lows.
When the range is active, the indicator accumulates volume delta (Buy - Sell volume) .
Upon breakout, the total volume delta is displayed at the midpoint , providing insight into market sentiment during the consolidation phase.
Filters out weak or short-lived consolidations under 15 bars.
🔵 HOW TO USE
Spot ranging or compression zones with minimal effort.
Use breakouts with volume delta bias to assess the strength or weakness of moves.
Combine with trend-following tools or volume-based confirmation for stronger setups.
Apply to higher timeframes for macro consolidation tracking .
🔵 CONCLUSION
Consolidation Range now brings together volatility filtering and directional volume delta into one smart module. This hybrid logic allows traders to not only identify balance zones but also understand who was in control during the buildup—offering a sharper edge for breakout and trend continuation strategies.