FeraTrading Compression Indicator v1.2The FeraTrading Compression Indicator v1.2 is designed to detect directional breakout opportunities that emerge from periods of market compression. It identifies when price contracts into a low-volatility state, then confirms and signals when that compression is released with strong directional momentum. This makes it a powerful tool for breakout traders seeking early entries during price expansion phases.
🔍 How It Works
The indicator operates using a combination of volatility compression, range expansion, and trend alignment filters:
Volatility Compression Detection
The script calculates short-term and long-term average candle ranges. A compression state is confirmed when the short-term average range is significantly smaller than the longer-term average, indicating a temporary pause or coiling in price action.
Range Expansion (Burst Condition)
Once compression is detected, the script waits for a breakout candle whose total range exceeds the long-term range average. This expansion—or "burst"—is the signal that the market is transitioning from compression into activity.
Directional Confirmation
For a signal to trigger, the candle must:
Have a strong body-to-wick ratio, confirming that most of the candle’s movement was in one direction.
Close above or below the fast EMA, aligned with a fast-vs-slow EMA trend filter to determine bullish or bearish bias.
Appear within the optional session filter window (08:30–11:30 EST) if enabled, focusing the signal to the most liquid time of day.
Signal Flip Functionality
The built-in "Signal Flip" toggle allows users to reverse the logic—converting buy conditions into sells and vice versa. This is useful when adapting to instruments or markets where the indicator's core logic behaves inversely due to structure or volatility style.
🧠 What Makes It Original
This indicator combines volatility analysis and trend confirmation in a compact signal logic that:
Reacts dynamically to the changing volatility of each instrument
Filters out weak or indecisive candles using body ratio logic
Avoids fixed thresholds or laggy oscillators
Offers modular control through session filtering and signal flipping to adapt across assets
The simplicity of the interface masks the depth of its logic, enabling it to remain effective across a range of instruments without the need for complex settings.
✅ How to Use It
Users typically apply the indicator by:
Enabling it on any timeframe
Watching for green arrows below candles (bullish breakout) and red arrows above candles (bearish breakout)
Entering trades at the open of the signal candle when a breakout arrow appears, managing their risk using personalized stop loss and take profit levels.
This tool is most effective when used in trending markets, after consolidation, or alongside structural or volume-based confirmation tools.
Ketidakstabilan
Interpolated Median Volatility LSMA | OttoThis indicator combines trend-following and volatility analysis by enhancing traditional LSMA with percentile-based linear interpolation applied to both the Least Squares Moving Average (LSMA) and standard deviation. Rather than relying on raw values, it uses the interpolated median (50th percentile) to smooth out noise while preserving sensitivity to significant price shifts. This approach produces a cleaner trend signal that remains responsive to real market changes, adapts to evolving volatility conditions, and improves the accuracy of breakout detection.
Core Concept
The indicator builds on these core components:
LSMA (Least Squares Moving Average): A linear regression-based moving average that fits line using user selected source over user defined period. It offers a smoother and more reactive trend signal compared to standard moving averages.
Standard Deviation shows how much price varies from the mean. In this indicator, it’s used to measure market volatility.
Volatility Bands: Instead of traditional Bollinger-style bands, this script calculates custom upper and lower bands using percentile-based linear interpolation on both the LSMA and standard deviation. This method produces smoother bands that filter out noise while remaining adaptive to meaningful price movements, making them more aligned with real market behavior and helping reduce false signals.
Percentile interpolation estimates a specific percentile (like the median — the 50th percentile) from a set of values — even when that percentile doesn't fall exactly on one data point. Instead of selecting a single nearest value, it calculates a smoothed value between nearby points. In this script, it’s used to find the median of past LSMA and standard deviation values, reducing the impact of outliers and smoothing the trend and volatility signals for more robust results.
Signal Logic: A long signal is identified when close price goes above the upper band, and a short signal when close price goes below the lower band.
⚙️ Inputs
Source: The price source used in calculations
LSMA Length: Period for calculating LSMA
Standard Deviation Length: Period for calculating volatility
Percentile Length: Period used for interpolating percentile values of LSMA and standard deviation
Multiplier: Controls the width of the bands by scaling the interpolated standard deviation
📈 Visual Output
Colored LSMA Line: Changes color based on signal (green for bullish, purple for bearish)
Upper & Lower Bands: Volatility bands calculated using interpolated values (green for bullish, purple for bearish)
Bar Coloring: Price bars are colored to reflect signal state (green for bullish, purple for bearish)
Optional Candlestick Overlay: Enhances visual context by coloring candles to match the signal state (green for bullish, purple for bearish)
How to Use
Add the indicator to your chart and look for signals when close price goes above or below the bands.
Long Signal: close Price goes above the upper band
Short Signal: close Price goes below the lower band
🔔 Alerts:
This script supports alert conditions for long and short signals. You can set alerts based on band crossovers to be notified of potential entries/exits.
⚠️ Disclaimer:
This indicator is intended for educational and informational purposes only. Trading/investing involves risk, and past performance does not guarantee future results. Always test and evaluate strategies before applying them in live markets. Use at your own risk.
ATR-InfoWHAT IT SHOWS
- ATR (): Average True Range of the chosen timeframe, printed with the instrument’s native tick precision (format.mintick).
- ATR % PRICE: ATR divided by the latest close, multiplied by 100 – the range as a percentage of current price.
- LEN / TF: The ATR length and timeframe you selected (shown in small print).
INPUTS
- ATR Length (default 14)
- ATR Timeframe (for example 60, D, W)
- Design settings: table position, font size, colours, border
EXAMPLES
BTC-USD: price 67 800, ATR 2 450, ATR % 3.6
NQ E-Mini: price 18 230, ATR 355, ATR % 1.9
CL WTI: price 76.40, ATR 2.10, ATR % 2.8
EUR-USD: price 1.0860, ATR 0.0075, ATR % 0.69
USE CASES
Volatility-adjusted stops: place your stop roughly one ATR beyond the entry price.
Position sizing: money at risk divided by ATR gives the number of contracts or coins.
Market selection: trade assets only when their ATR % sits in your preferred range.
Strategy filter: trigger entries or exits only when ATR % crosses a chosen threshold.
LIMITS
ATR is descriptive; it does not predict future moves.
Illiquid symbols may show exaggerated ATR spikes.
ATR % ignores differing session lengths (24/7 crypto versus exchange-traded hours).
RSI Overbought/Oversold Signals with 200 EMA FilterLong signals (RSI < 25) should only trigger if the price is above the 200 EMA (indicating a bullish long-term trend).
Short signals (RSI > 75) should only trigger if the price is below the 200 EMA (indicating a bearish long-term trend).
VIX-SPX Ratio Lines (Final Formulas)This script will calculate the measured move based on the vix and spx close the previous day. It can be used to set an estimated range for the next day. I plan to use it to determine a strangle strategy buying 2 dte out with the given strikes.
IFF Visual FX v2.4IFF Visual FX v2.4 is an advanced visual module for detecting market phase shifts.
This script displays:
✅ Phase change labels (buy/sell).
✅ Reaccumulation and Redistribution zones.
✅ Tolerated pullbacks.
✅ Strong acceleration signals.
✅ Real-time phase transitions.
Based on smoothed acceleration, dynamic slope, and proprietary Phase Strength Index (IFF).
Designed to help traders anticipate market phase transitions and optimize decision-making in indices, commodities, forex, and cryptocurrencies.
Invite-only script.
To get access: contact via DM or through Gumroad.
IFF Analyzer - AccelPhase v1.99IFF Analyzer - AccelPhase v1.99 is an advanced technical module for quantitative market phase analysis.
This script provides:
✅ Smoothed acceleration curves (logarithmic return-based).
✅ Dynamic slope.
✅ Phase Strength Index (IFF).
✅ Z-Score for statistical anomaly detection.
✅ Quantitative interpretation of market context.
Designed to confirm phase shifts, filter out false signals, and optimize strategies across indices, commodities, forex, and cryptocurrencies.
Invite-only script.
To get access: contact via DM or through Gumroad.
Stratégie Gold Power - Setup Rejection (Triangles propres)GOLD STRATEGY - Rejection Setup Indicator
This indicator automatically detects and marks precise rejection setups on major institutional price levels.
How it works:
Major levels are calculated every X points (default: 10).
Minor levels are placed above and below each major level (default offset: 2).
A bullish rejection (green triangle) is detected when a candle opens and closes above the minor high, and its wick touches a major level within a customizable tolerance (default: 0.5).
A bearish rejection (red triangle) is detected when a candle opens and closes below the minor low, and its wick touches a major level within the same tolerance.
Only one triangle per bar is plotted, even if multiple levels are touched.
Features:
No clutter: Only valid rejection setups are marked.
Fully customizable parameters for major step, minor offset, and tolerance.
Works on all timeframes and instruments.
Usage:
Add the indicator to your chart. Green triangles below bars signal bullish rejection setups; red triangles above bars signal bearish rejection setups. Use these signals to identify potential institutional reactions and high-probability reversal zones.
BK AK-Scope🔭 Introducing BK AK-Scope — Target Locked. Signal Acquired. 🔭
After building five precision weapons for traders, I’m proud to unveil the sixth.
BK AK-Scope — the eye of the arsenal.
This is not just an indicator. It’s an intelligence system for volatility, signal clarity, and rate-of-change dynamics — forged for elite vision in any market terrain.
🧠 Why “Scope”? And Why “AK”?
Every shooter knows: you can’t hit what you can’t see.
The Scope brings range, clarity, and target distinction. It filters motion from noise. Purpose from panic.
“AK” continues to honor the man who trained my sight — my mentor, A.K.
His discipline taught me to wait for alignment. To move with reason, not emotion.
His vision lives in every code line here.
🔬 What Is BK AK-Scope?
A Triple-Tier TSI Correlation Engine, fused with adaptive opacity logic, a volatility scoring system, and real-time signal clarity. It’s momentum dissected — by speed, depth, and rate of change.
Built to serve traders who:
Need visual hierarchy between fast, mid, and slow TSI responses.
Want adaptive fills that pulse with volatility — not static zones.
Require a volatility scoring overlay that reads the battlefield in real time.
⚙️ Core Systems: How BK AK-Scope Works
✅ Fast/Mid/Slow TSI →
Three layers of correlation: like scopes with zoom levels.
You track micro moves, mid swings, and macro flow simultaneously.
✅ Rate-of-Change Adaptive Opacity →
Momentum fills fade or flash based on speed — giving you movement density at a glance.
Bull vs. Bear zones adapt to strength. You feel the market’s pulse.
✅ Volatility Score Intelligence →
Custom algorithm measuring:
Range expansion
Rate-of-change differentials
ATR dynamics
Standard deviation pressure
All combined into a score from 0–100 with live icons:
🔥 = Extreme Heat (70+)
🧊 = Cold Zone (<30)
⚠️ = ROC Warning
• = Neutral drift
✅ Auto-Detect Volatility Modes →
Scalp = <15min
Swing = intraday/hourly
Macro = daily/weekly
Or override manually with total control.
🎯 How To Use BK AK-Scope
🔹 Trend Continuation → When all three TSI layers align in direction + volatility score climbs, ride with the trend.
🔹 Early Reversals → Opposing TSI + rapid opacity change + volatility shift = sniper reversal zone.
🔹 Consolidation Filter → Neutral fills + score < 30 = stay out, wait for signal surge.
🔹 Signal Confluence → Pair with:
• Gann fans or angles
• Fib time/price clusters
• Elliott Wave structure
• Harmonics or divergence
To isolate entry perfection.
🛡️ Why This Indicator Changes the Game
It's not just momentum. It’s TSI with depth hierarchy.
It’s not just color. It’s real-time strength visualization.
It’s not just volatility. It’s rate-weighted market intelligence.
This is market optics for the advanced trader — built for vision, clarity, and discipline.
🙏 Final Thoughts
🔹 In honor of A.K., my mentor. The man who taught me to see what others miss.
🔹 Inspired by the power of vision — because execution without clarity is chaos.
🔹 Powered by faith — because Gd alone gives sight beyond the visible.
“He gives sight to the blind and wisdom to the humble.” — Psalms 146
Every tool I build is a prayer in code — that it helps someone trade with clarity, integrity, and precision.
⚡ Zoom In. Focus Deep. Trade Clean.
BK AK-Scope — Lock on the target. See what others don’t.
🔫 Clarity is power. 🔫
Gd bless. 🙏
AXR-VolSD-Loc📈 AXR-VolSD-Loc — Volatility & Range Mapping Tool for Smart Traders
The AXR-VolSD-Loc indicator is a professional-grade tool designed for traders who rely on precise volatility analysis and structured range-based levels. It combines dynamic volatility bands with configurable price ranges such as ADR, AWR, AMR, and AQR — offering strategic clarity across all timeframes.
🔍 Key Features
Multi-Timeframe Range Calculation
Supports Daily (ADR), Weekly (AWR), Monthly (AMR), and Quarterly (AQR) ranges — each with independent period controls.
Standard Deviation Volatility Bands
Automatically or manually calculate standard deviation (%) to plot multiple upper/lower levels from a base price reference.
Fully Customizable Lines & Labels
Choose the number of bands, enable half-volatility levels, apply color gradients, customize line styles, widths, label positions, font sizes and offsets.
Flexible Anchor Logic
Set the base line for volatility from Hi/Lo/50%/0% of AXR, or input your own manual price — ideal for ICT model alignment.
Smart Visuals & Optimized Drawing
Clean line and label management using line.new() and label.new() with efficient updates only when required.
Data Table & Summary Panel
Floating table displays key metrics like high/low range, midpoint, volatility settings, and source references.
Built-In Alerts
Receive alerts when price approaches key volatility levels or AXR range extremes — ideal for anticipating institutional behavior.
🛠️ How to Use & Configure
1. Choose the Range Mode
In "AXR Mode & Period Settings", select your preferred range type:
Daily (ADR) – Short-term or intraday.
Weekly (AWR) – Medium swing positions.
Monthly (AMR) – Optimal for higher-timeframe structure.
Quarterly (AQR) – Best for macro-level zones.
Then define the number of days/weeks/months/quarters used to calculate each.
2. Define the Volatility Base Line
Under "Volatility Base Line Settings", configure the anchor:
Use 0% AXR for midpoint, or Hi/Lo/50% for edges.
Manual mode allows custom price input.
Adjust the line color, style, and thickness.
3. Configure Standard Deviation
In "Standard Deviation - Calculation & Levels", select the source:
Automatic AXR — calculates % based on AXR range.
Manual — allows custom % input.
Define how many levels above/below the base line.
Use the scale factor to adjust relative strength (e.g., 0.5 = 50% of AXR).
4. Adjust Visual Display
In "Display & Labels":
Enable or disable volatility lines.
Use color progression for intensity from blue to red.
Show or hide intermediate lines (half deviation).
Choose label alignment: right, center, or left.
Fine-tune label position with candle offset and text size.
5. Extend Lines and Define Visibility
You can choose to extend the lines left, right or both directions — or use a fixed number of bars when not extended.
This applies to both volatility lines and AXR levels.
6. Show AXR Hi/Lo/50%/0% Lines
In "AXR Levels":
Enable display of Hi, Lo, midpoint, and 50% levels.
Toggle display of AXR open levels (MO-based).
Customize style, color and width of each line.
7. Enable the Table (Optional)
Turn on the floating data table to see a quick summary:
Range high/low/midpoint.
Volatility multiplier.
Source (manual vs automatic).
Period length.
Useful for fast review during market sessions.
8. Alerts
Receive automated alerts when price approaches:
AXR Hi/Lo
0% midpoint level
Custom-defined deviation bands
✅ Use Cases
Define and monitor volatility zones around structured ranges.
Combine AMR or AQR with deviation bands for swing setups.
React to price imbalances at 50% or 0% AXR zones.
Integrate with order blocks, liquidity zones or ICT-based confluences.
Questions or suggestions? Contact us via TradingView message or in the comments.
Happy trading!
RTI Shifting Band Oscillator | QuantMAC📊 RTI Shifting Band Oscillator | QuantMAC - Revolutionary Adaptive Trading Indicator
🎯 Overview
The RTI Shifting Band Oscillator represents a breakthrough in adaptive technical analysis, combining the innovative Range Transition Index (RTI) with dynamic volatility bands to create an oscillator that automatically adjusts to changing market conditions. This cutting-edge indicator goes beyond traditional static approaches by using RTI to dynamically shift band width based on market volatility transitions, providing superior signal accuracy across different market regimes.
🔧 Key Features
Revolutionary RTI Technology : Proprietary Range Transition Index that measures volatility transitions in real-time
Dynamic Adaptive Bands : Self-adjusting volatility bands that expand and contract based on RTI readings
Dual Trading Modes : Flexible Long/Short or Long/Cash strategies for different trading preferences
Advanced Performance Analytics : Comprehensive metrics including Sharpe, Sortino, and Omega ratios
Smart Visual System : Dynamic color coding with 9 professional color schemes
Precision Backtesting : Date range filtering with detailed historical performance analysis
Real-time Signal Generation : Clear entry/exit signals with customizable threshold sensitivity
Position Sizing Intelligence : Half Kelly criterion for optimal risk management
📈 How The RTI Technology Works
The Range Transition Index (RTI) is the heart of this indicator's innovation. Unlike traditional volatility measures, RTI analyzes the transitions between different volatility states, providing early warning signals for market regime changes.
RTI Calculation Process:
Calculate True Range for each period using high, low, and previous close
Compute Average True Range over the RTI Length period
Sum absolute differences between consecutive True Range values
Normalize by dividing by ATR to create the raw RTI
Apply smoothing to reduce noise and create the final RTI value
Use RTI to dynamically adjust standard deviation multipliers
The genius of RTI lies in its ability to detect when markets are transitioning between calm and volatile periods before traditional indicators catch up. This provides traders with a significant edge in timing entries and exits.
⚙️ Comprehensive Parameter Control
RTI Settings:
RTI Length : Controls the lookback period for volatility analysis (default: 25)
RTI Smoothing : Reduces noise in RTI calculations (default: 12)
Base MA Length : Foundation moving average for band calculations (default: 40)
Source : Price input selection (close, open, high, low, etc.)
Oscillator Settings:
Standard Deviation Length : Period for volatility measurement (default: 27)
SD Multiplier : Base band width adjustment (default: 1.5)
Oscillator Multiplier : Scaling factor for oscillator values (default: 100)
Signal Thresholds:
Long Threshold : Bullish signal trigger level (default: 82)
Short Threshold : Bearish signal trigger level (default: 55)
🎨 Advanced Visual System
Main Chart Elements:
Dynamic Shifting Bands : Upper and lower bands that automatically adjust width based on RTI
Adaptive Fill Zone : Color-coded area between bands showing current market state
Basis Line : Moving average foundation displayed as subtle reference points
Smart Bar Coloring : Candles change color based on oscillator state for instant visual feedback
Oscillator Pane:
Normalized RTI Oscillator : Main signal line centered around zero with dynamic coloring
Threshold Lines : Horizontal reference lines for entry/exit levels
Zero Line : Central reference for oscillator neutrality
Color State Indication : Line colors change based on bullish/bearish conditions
📊 Professional Performance Metrics
The built-in analytics suite provides institutional-grade performance measurement:
Net Profit % : Total strategy return percentage
Maximum Drawdown % : Worst peak-to-trough decline
Win Rate % : Percentage of profitable trades
Profit Factor : Ratio of gross profits to gross losses
Sharpe Ratio : Risk-adjusted return measurement
Sortino Ratio : Downside-focused risk adjustment
Omega Ratio : Probability-weighted performance ratio
Half Kelly % : Optimal position sizing recommendation
Total Trades : Complete transaction count
🎯 Strategic Trading Applications
Long/Short Mode: ⚡
Maximizes profit potential by capturing both upward and downward price movements. The RTI technology helps identify when trends are strengthening or weakening, allowing for optimal position switches between long and short.
Long/Cash Mode: 🛡️
Conservative approach ideal for retirement accounts or risk-averse traders. The indicator's adaptive nature helps identify the best times to be invested versus sitting in cash, protecting capital during adverse market conditions.
🚀 Unique Advantages
Traditional Indicators vs RTI Shifting Bands:
Static vs Dynamic : While most indicators use fixed parameters, RTI bands adapt in real-time
Lagging vs Leading : RTI detects volatility transitions before they fully manifest
One-Size vs Adaptive : The same settings work across different market conditions
Simple vs Intelligent : Advanced volatility analysis provides superior market insight
💡 Professional Setup Guide
For Day Trading (Short-term):
RTI Length: 15-20
RTI Smoothing: 8-10
Base MA Length: 20-30
Thresholds: Long 80, Short 60
For Swing Trading (Medium-term):
RTI Length: 25-35 (default range)
RTI Smoothing: 12-15
Base MA Length: 40-50
Thresholds: Long 83, Short 55 (defaults)
For Position Trading (Long-term):
RTI Length: 40-50
RTI Smoothing: 15-20
Base MA Length: 60-80
Thresholds: Long 85, Short 50
🧠 Advanced Trading Techniques
RTI Divergence Analysis:
Watch for divergences between price action and RTI readings. When price makes new highs/lows but RTI doesn't confirm, it often signals upcoming reversals.
Band Width Interpretation:
Expanding Bands : Increasing volatility, expect larger price moves
Contracting Bands : Decreasing volatility, prepare for potential breakouts
Band Touches : Price touching outer bands often signals reversal opportunities
Multi-Timeframe Analysis:
Use RTI on higher timeframes for trend direction and lower timeframes for precise entry timing.
⚠️ Important Risk Disclaimers
Past performance is not indicative of future results. This indicator represents advanced technical analysis but should never be used as the sole basis for trading decisions.
Critical Risk Factors:
Market Conditions : No indicator performs equally well in all market environments
Backtesting Limitations : Historical performance may not reflect future market behavior
Volatility Risk : Adaptive indicators can be sensitive to extreme market conditions
Parameter Sensitivity : Different settings may produce significantly different results
Capital Risk : Always use appropriate position sizing and stop-loss protection
📚 Educational Benefits
This indicator provides exceptional learning opportunities for understanding:
Advanced volatility analysis and measurement techniques
Adaptive indicator design and implementation
The relationship between volatility transitions and price movements
Professional risk management using Kelly Criterion principles
Modern oscillator interpretation and signal generation
🔍 Market Applications
The RTI Shifting Band Oscillator works across various markets:
Forex : Excellent for currency pair volatility analysis
Stocks : Individual equity and index trading
Commodities : Adaptive to commodity market volatility cycles
Cryptocurrencies : Handles extreme volatility variations effectively
Futures : Professional derivatives trading applications
🔧 Technical Innovation
The RTI Shifting Band Oscillator represents years of research into adaptive technical analysis. The proprietary RTI calculation method has been optimized for:
Computational Efficiency : Fast calculation even on high-frequency data
Noise Reduction : Advanced smoothing without excessive lag
Market Adaptability : Automatic adjustment to changing conditions
Signal Clarity : Clear, actionable trading signals
🔔 Updates and Evolution
The RTI Shifting Band Oscillator | QuantMAC continues to evolve with regular updates incorporating the latest research in adaptive technical analysis. The code is thoroughly documented for transparency and educational purposes.
Trading Notice: Financial markets involve substantial risk of loss. The RTI Shifting Band Oscillator is a sophisticated technical analysis tool designed to assist in trading decisions but cannot guarantee profitable outcomes. Always conduct thorough testing, implement proper risk management, and consider seeking advice from qualified financial professionals. Only trade with capital you can afford to lose.
---
Master The Markets With Adaptive Intelligence! 🎯📈
Bollinger Bands Oscillator | QuantMAC📊 Bollinger Bands Oscillator | QuantMAC
🎯 Overview
The Bollinger Bands Oscillator is a sophisticated technical analysis tool that combines the power of traditional Bollinger Bands with an oscillator-based approach for enhanced signal generation. This indicator transforms the classic Bollinger Bands into a percentage-based oscillator, providing clearer entry and exit signals for both trending and ranging markets.
🔧 Key Features
Dual Trading Modes : Choose between Long/Short or Long/Cash strategies
Advanced BB% Calculation : Enhanced Bollinger Band percentage with customizable multipliers
Comprehensive Metrics : Built-in performance analytics including Sharpe Ratio, Sortino Ratio, and Profit Factor
Visual Color Coding : Dynamic bar coloring and 9 different color schemes for optimal chart visibility
Date Range Filtering : Backtest specific time periods with customizable start dates
Real-time Signal Generation : Clear long and short entry signals with threshold customization
Advanced Risk Management : Half Kelly criterion calculation for optimal position sizing
📈 How It Works
The indicator operates by calculating a modified Bollinger Band percentage that oscillates between values, typically ranging from 0 to 100+. When the BB% crosses above the Long Threshold (default: 83), it generates a bullish signal. Conversely, when it crosses below the Short Threshold (default: 55), it produces a bearish signal.
Core Calculation Process:
Calculate the moving average basis using the specified Base Length (default: 40 periods)
Determine standard deviation using a separate SD Length (default: 27 periods)
Create upper and lower bands using the SD Multiplier (default: 2.6)
Convert to percentage oscillator with BB% Multiplier (default: 100)
Generate signals based on threshold crossovers
⚙️ Customizable Parameters
BMD Settings:
Base Length : Controls the moving average period (default: 40)
Standard Deviation Length : Determines volatility calculation period (default: 27)
SD Multiplier : Adjusts band width sensitivity (default: 2.6)
BB% Multiplier : Scales the oscillator values (default: 100)
Source : Choose price source (close, open, high, low, etc.)
Signal Thresholds:
Long Threshold : Entry level for bullish positions (default: 83)
Short Threshold : Entry level for bearish positions (default: 55)
🎨 Visual Elements
Main Chart Overlay:
Bollinger Bands : Upper and lower bands with customizable colors and transparency
Middle Line : Basis line displayed as subtle dots
Band Fill : Colored area between bands for easy visualization
Bar Coloring : Candles change color based on current signal state
Separate Oscillator Pane:
BB% Line : Main oscillator line with dynamic coloring
Threshold Lines : Horizontal lines marking entry/exit levels
Color Coding : Line colors change based on bullish/bearish state
📊 Performance Metrics
The indicator includes a comprehensive metrics table displaying:
Net Profit % : Total return percentage
Max Drawdown % : Maximum peak-to-trough decline
Win Rate % : Percentage of profitable trades
Profit Factor : Ratio of gross profit to gross loss
Sharpe Ratio : Risk-adjusted return measure
Sortino Ratio : Downside risk-adjusted return
Omega Ratio : Probability-weighted ratio of gains vs losses
Half Kelly % : Optimal position sizing recommendation
Total Trades : Number of completed transactions
🎯 Trading Strategies
Long/Short Mode: 🔄
The indicator alternates between long and short positions based on threshold crossovers. This mode is ideal for traders who can profit from both rising and falling markets.
Long/Cash Mode: 💰
This conservative approach only takes long positions, moving to cash during bearish signals. Perfect for traders in accounts that don't allow short selling or those preferring a buy-and-hold approach with strategic exits.
🚀 Getting Started
Add the indicator to your chart
Choose your preferred Trading Mode (Long/Short or Long/Cash)
Adjust the Base Length and SD Length to match your trading timeframe
Fine-tune the Long Threshold and Short Threshold based on your risk tolerance
Select your preferred color scheme from 9 available options
Enable the metrics table to monitor performance in real-time
💡 Pro Tips
Lower thresholds (e.g., Long: 75, Short: 60) generate more frequent but potentially less reliable signals
Higher thresholds (e.g., Long: 90, Short: 45) produce fewer but potentially higher-quality signals
Shorter base lengths make the indicator more responsive to recent price action
Longer base lengths smooth out noise but may lag market turns
Use the Half Kelly % metric to guide position sizing decisions
⚠️ Important Disclaimers
Past performance is not indicative of future results . This indicator is a technical analysis tool designed to assist in trading decisions but should not be used as the sole basis for investment choices.
Key Risk Considerations:
Market Conditions : No indicator works perfectly in all market environments
Backtesting Bias : Historical performance may not reflect future market behavior
Risk Management : Always use proper position sizing and stop-loss orders
Multiple Confirmations : Consider using additional indicators and analysis methods
📚 Educational Value
This indicator serves as an excellent learning tool for understanding:
Bollinger Band mechanics and interpretation
Oscillator-based trading strategies
Performance metrics and risk assessment
Position sizing using Kelly Criterion principles
The relationship between volatility and price movement
🔔 Updates and Support
The Bollinger Bands Oscillator | QuantMAC is regularly updated to ensure compatibility with TradingView's latest features. The code is thoroughly commented for educational purposes and transparency.
Remember: Trading involves substantial risk of loss and is not suitable for all investors. The value of investments may go down as well as up, and you may not get back the amount you invested. Always conduct your own research and consider seeking advice from a qualified financial advisor.
Uptrick: Z-Trend BandsOverview
Uptrick: Z-Trend Bands is a Pine Script overlay crafted to capture high-probability mean-reversion opportunities. It dynamically plots upper and lower statistical bands around an EMA baseline by converting price deviations into z-scores. Once price moves outside these bands and then reenters, the indicator verifies that momentum is genuinely reversing via an EMA-smoothed RSI slope. Signal memory ensures only one entry per momentum swing, and traders receive clear, real-time feedback through customizable bar-coloring modes, a semi-transparent fill highlighting the statistical zone, concise “Up”/“Down” labels, and a live five-metric scoring table.
Introduction
Markets often oscillate between trending and reverting, and simple thresholds or static envelopes frequently misfire when volatility shifts. Standard deviation quantifies how “wide” recent price moves have been, and a z-score transforms each deviation into a measure of how rare it is relative to its own history. By anchoring these bands to an exponential moving average, the script maintains a fluid statistical envelope that adapts instantly to both calm and turbulent regimes. Meanwhile, the Relative Strength Index (RSI) tracks momentum; smoothing RSI with an EMA and observing its slope filters out erratic spikes, ensuring that only genuine momentum flips—upward for longs and downward for shorts—qualify.
Purpose
This indicator is purpose-built for short-term mean-reversion traders operating on lower–timeframe charts. It reveals when price has strayed into the outer 5 percent of its recent range, signaling an increased likelihood of a bounce back toward fair value. Rather than firing on price alone, it demands that momentum follow suit: the smoothed RSI slope must flip in the opposite direction before any trade marker appears. This dual-filter approach dramatically reduces noise-driven, false setups. Traders then see immediate visual confirmation—bar colors that reflect the latest signal and age over time, clear entry labels, and an always-visible table of metric scores—so they can gauge both the validity and freshness of each signal at a glance.
Originality and Uniqueness
Uptrick: Z-Trend Bands stands apart from typical envelope or oscillator tools in four key ways. First, it employs fully normalized z-score bands, meaning ±2 always captures roughly the top and bottom 5 percent of moves, regardless of volatility regime. Second, it insists on two simultaneous conditions—price reentry into the bands and a confirming RSI slope flip—dramatically reducing whipsaw signals. Third, it uses slope-phase memory to lock out duplicate signals until momentum truly reverses again, enforcing disciplined entries. Finally, it offers four distinct bar-coloring schemes (solid reversal, fading reversal, exceeding bands, and classic heatmap) plus a dynamic scoring table, rather than a single, opaque alert, giving traders deep insight into every layer of analysis.
Why Each Component Was Picked
The EMA baseline was chosen for its blend of responsiveness—weighting recent price heavily—and smoothness, which filters market noise. Z-score deviation bands standardize price extremes relative to their own history, adapting automatically to shifting volatility so that “extreme” always means statistically rare. The RSI, smoothed with an EMA before slope calculation, captures true momentum shifts without the false spikes that raw RSI often produces. Slope-phase memory flags prevent repeated alerts within a single swing, curbing over-trading in choppy conditions. Bar-coloring modes provide flexible visual contexts—whether you prefer to track the latest reversal, see signal age, highlight every breakout, or view a continuous gradient—and the scoring table breaks down all five core checks for complete transparency.
Features
This indicator offers a suite of configurable visual and logical tools designed to make reversal signals both robust and transparent:
Dynamic z-score bands that expand or contract in real time to reflect current volatility regimes, ensuring the outer ±zThreshold levels always represent statistically rare extremes.
A smooth EMA baseline that weights recent price more heavily, serving as a fair-value anchor around which deviations are measured.
EMA-smoothed RSI slope confirmation, which filters out erratic momentum spikes by first smoothing raw RSI and then requiring its bar-to-bar slope to flip before any signal is allowed.
Slope-phase memory logic that locks out duplicate buy or sell markers until the RSI slope crosses back through zero, preventing over-trading during choppy swings.
Four distinct bar-coloring modes—Reversal Solid, Reversal Fade, Exceeding Bands, Classic Heat—plus a “None” option, so traders can choose whether to highlight the latest signal, show signal age, emphasize breakout bars, or view a continuous heat gradient within the bands.
A semi-transparent fill between the EMA and the upper/lower bands that visually frames the statistical zone and makes extremes immediately obvious.
Concise “Up” and “Down” labels that plot exactly when price re-enters a band with confirming momentum, keeping chart clutter to a minimum.
A real-time, five-metric scoring table (z-score, RSI slope, price vs. EMA, trend state, re-entry) that updates every two bars, displaying individual +1/–1/0 scores and an averaged Buy/Sell/Neutral verdict for complete transparency.
Calculations
Compute the fair-value EMA over fairLen bars.
Subtract that EMA from current price each bar to derive the raw deviation.
Over zLen bars, calculate the rolling mean and standard deviation of those deviations.
Convert each deviation into a z-score by subtracting the mean and dividing by the standard deviation.
Plot the upper and lower bands at ±zThreshold × standard deviation around the EMA.
Calculate raw RSI over rsiLen bars, then smooth it with an EMA of length rsiEmaLen.
Derive the RSI slope by taking the difference between the current and previous smoothed RSI.
Detect a potential reentry when price exits one of the bands on the prior bar and re-enters on the current bar.
Require that reentry coincide with an RSI slope flip (positive for a lower-band reentry, negative for an upper-band reentry).
On first valid reentry per momentum swing, fire a buy or sell signal and set a memory flag; reset that flag only when the RSI slope crosses back through zero.
For each bar, assign scores of +1, –1, or 0 for the z-score direction, RSI slope, price vs. EMA, trend-state, and reentry status.
Average those five scores; if the result exceeds +0.1, label “Buy,” if below –0.1, label “Sell,” otherwise “Neutral.”
Update bar colors, the semi-transparent fill, reversal labels, and the scoring table every two bars to reflect the latest calculations.
How It Actually Works
On each new candle, the EMA baseline and band widths update to reflect current volatility. The RSI is smoothed and its slope recalculated. The script then looks back one bar to see if price exited either band and forward to see if it reentered. If that reentry coincides with an appropriate RSI slope flip—and no signal has yet been generated in that swing—a concise label appears. Bar colors refresh according to your selected mode, and the scoring table updates to show which of the five conditions passed or failed, along with the overall verdict. This process repeats seamlessly at each bar, giving traders a continuous feed of disciplined, statistically filtered reversal cues.
Inputs
All parameters are fully user-configurable, allowing you to tailor sensitivity, lookbacks, and visuals to your trading style:
EMA length (fairLen): number of bars for the fair-value EMA; higher values smooth more but lag further behind price.
Z-Score lookback (zLen): window for calculating the mean and standard deviation of price deviations; longer lookbacks reduce noise but respond more slowly to new volatility.
Z-Score threshold (zThreshold): number of standard deviations defining the upper and lower bands; common default is 2.0 for roughly the outer 5 percent of moves.
Source (src): choice of price series (close, hl2, etc.) used for EMA, deviation, and RSI calculations.
RSI length (rsiLen): period for raw RSI calculation; shorter values react faster to momentum changes but can be choppier.
RSI EMA length (rsiEmaLen): period for smoothing raw RSI before taking its slope; higher values filter more noise.
Bar coloring mode (colorMode): select from None, Reversal Solid, Reversal Fade, Exceeding Bands, or Classic Heat to control how bars are shaded in relation to signals and band positions.
Show signals (showSignals): toggle on-chart “Up” and “Down” labels for reversal entries.
Show scoring table (enableTable): toggle the display of the five-metric breakdown table.
Table position (tablePos): choose which corner (Top Left, Top Right, Bottom Left, Bottom Right) hosts the scoring table.
Conclusion
By merging a normalized z-score framework, momentum slope confirmation, disciplined signal memory, flexible visuals, and transparent scoring into one Pine Script overlay, Uptrick: Z-Trend Bands offers a powerful yet intuitive tool for intraday mean-reversion trading. Its adaptability to real-time volatility and multi-layered filter logic deliver clear, high-confidence reversal cues without the clutter or confusion of simpler indicators.
Disclaimer
This indicator is provided solely for educational and informational purposes. It does not constitute financial advice. Trading involves substantial risk and may not be suitable for all investors. Past performance is not indicative of future results. Always conduct your own testing and apply careful risk management before trading live.
Neural Adaptive VWAPNeural Adaptive VWAP with ML Features is an advanced trading indicator that enhances traditional Volume Weighted Average Price (VWAP) calculations through machine learning-inspired adaptive algorithms and predictive volume modeling.
🌟 Key Features:
🧠 Machine Learning-Inspired Adaptation
Dynamic weight adjustment system that learns from prediction errors
Multi-feature volume prediction using time-of-day patterns, price momentum, and volatility
Adaptive learning mechanism that improves accuracy over time
📊 Enhanced VWAP Calculation
Combines actual and predicted volume for forward-looking VWAP computation
Session-based reset with proper daily anchoring
Confidence bands based on rolling standard deviation for dynamic support/resistance
🎯 Advanced Signal Generation
Volume-confirmed crossover signals to reduce false entries
Color-coded candle visualization based on VWAP position
Multi-level strength indicators (strong/weak bullish/bearish zones)
⚙️ Intelligent Feature Engineering
Normalized volume analysis with statistical z-score
Time-series pattern recognition for intraday volume cycles
Price momentum and volatility integration
Sigmoid activation functions for realistic predictions
📈 How It Works:
The indicator employs a sophisticated feature engineering approach that extracts meaningful patterns from:
Volume Patterns: Normalized volume analysis and historical comparisons
Temporal Features: Time-of-day and minute-based cyclical patterns
Market Dynamics: Price momentum, volatility, and rate of change
Adaptive Learning: Error-based weight adjustment similar to neural network training
Unlike static VWAP indicators, this system continuously adapts its calculation methodology based on real-time market feedback, making it more responsive to changing market conditions while maintaining the reliability of traditional VWAP analysis.
🔧 Customizable Parameters:
VWAP Length (1-200 bars)
Volume Pattern Lookback (5-50 periods)
Learning Rate (0.001-0.1) for adaptation speed
Prediction Horizon (1-10 bars ahead)
Adaptation Period for weight updates
📊 Visual Elements:
Blue Line: Adaptive VWAP with predictive elements
Red/Green Bands: Dynamic confidence zones
Colored Candles: Position-based strength visualization
Signal Arrows: Volume-confirmed entry points
Info Table: Real-time performance metrics and weight distribution
🎯 Best Use Cases:
Intraday Trading: Enhanced execution timing with volume prediction
Institutional-Style Execution: Improved VWAP-based order placement
Trend Following: Adaptive trend identification with confidence zones
Support/Resistance Trading: Dynamic levels that adjust to market conditions
OA - Sigma BandsDescription:
The OA - Sigma Bands indicator is a fully adaptive, volatility-sensitive dynamic band system designed to detect price expansion and potential breakouts. Unlike traditional fixed-width Bollinger Bands, OA - Sigma Bands adjust their boundaries based on a combination of standard deviation (σ) and Average Daily Range (ADR), making them more responsive to real market behavior and shifts in volatility.
Key Concepts & Logic
This tool constructs three distinct band regions:
Sigma Bands (±σ):
Calculated using the standard deviation of the closing price over a user-defined lookback period. This acts as the core volatility filter to identify statistically significant price deviations.
ADR Zones (±ADR):
These zones provide an additional layer based on the percentage average of daily price ranges over the last 20 bars. They help visualize intraday or short-term expected volatility.
Dynamic Adjustment Logic:
When price breaks outside the upper/lower sigma or ADR boundaries for a defined number of bars (user input), the system recalibrates. This ensures that the bands evolve with volatility and don’t remain outdated in trending markets.
Inputs & Customization
Sigma Multiplier: Set how wide the sigma bands should be (default: 1.5).
Lookback Period: Controls how many bars are used to calculate the standard deviation (default: 200).
Break Confirmation Bars: Determines how many candles must close beyond a boundary to trigger band recalibration.
ADR Period: Internally fixed at 20 bars for stable short-term volatility measurement.
Full Color Customization: Customize the band colors and fill transparency to suit your chart style.
Benefits & Use Cases
Breakout Trading: Detect when price exits statistically significant ranges, confirming trend expansion.
Mean Reversion: Use the outer bands as potential reversion zones in sideways or low-volatility markets.
Volatility Awareness: Visually identify when price is compressed or expanding.
Dynamic Structure: The auto-updating nature makes it more reliable than static historical zones.
Overlay-Ready: Designed to sit directly on price charts with minimal clutter.
Disclaimer
This script is intended for educational and informational purposes only. It does not constitute investment advice, financial guidance, or a recommendation to buy or sell any security. Always perform your own research and apply proper risk management before making trading decisions.
If you enjoy this script or find it useful, feel free to give it or leave a comment!
PCA Regime & Conviction IndexThis indicator diagnoses the underlying character and conviction of the market's current behavior, going far beyond simple price direction.
Instead of just asking "Is the market going up or down?", this tool answers the more critical question: "How is the market moving right now?"
To do this, it provides two key pieces of information:
1. It Identifies the Current Market Phase.
The indicator classifies the market's behavior into one of four distinct phases, which are displayed as a clear background color and an explicit text label:
Quiet Bull: A steady, healthy, low-volatility uptrend.
Volatile Bull: An explosive, energetic, or potentially exhaustive uptrend.
Quiet Bear: A slow, grinding, low-volatility downtrend or "bleed."
Volatile Bear: A sharp, high-energy, or panic-driven downtrend.
This tells you the fundamental personality of the market at a glance.
2. It Measures the Conviction of That Phase.
Alongside identifying the phase, the indicator plots a "Conviction Index"—a clear gold line oscillating between 0 and 100. This index measures the strength and clarity of the current market phase.
A high conviction level (e.g., above 75) means the current phase is strong, stable, and decisive.
A low conviction level (e.g., below 25) means the phase is weak, uncertain, and lacks energy.
The Ultimate Benefit:
By understanding both what the market is doing (the phase) and how strongly it's doing it (the conviction), a trader can make more intelligent decisions. It helps you adapt your strategy in real-time by providing a clear framework to:
Confidently pursue trends when the market is in a high-conviction "Quiet Bull" or "Quiet Bear" phase.
Exercise caution and manage risk during high-conviction "Volatile" phases.
Avoid whipsaws and frustration by recognizing when the market has low conviction and is likely to be choppy and unpredictable, regardless of the phase.
Pin Bar Reversal StrategyStrategy: Pin Bar Reversal with Trend Filter
One effective high-probability setup is a Pin Bar reversal in the direction of the larger trend. A pin bar is a candlestick with a tiny body and a long wick, signaling a sharp rejection of price
By itself, a pin bar often marks a potential reversal, but not all pin bars lead to profitable moves. To boost reliability, this strategy trades pin bars only when they align with the prevailing trend – for example, taking a bullish pin bar while the market is in an uptrend, or a bearish pin bar in a downtrend. The trend bias can be determined by a long-term moving average or higher timeframe analysis.
Why it works: In an uptrend, a bullish pin bar after a pullback often indicates that sellers tried to push price down but failed, and buyers are resuming control. Filtering for pin bars near key support or moving averages further improves odds of success. This aligns the entry with both a strong price pattern and the dominant market direction, yielding a higher win rate. The pin bar’s own structure provides natural levels for stop and target placement, keeping risk management straightforward.
Example Setup:
USDCHF - 4 Hour Chart
Trend SMA 12
Max Body - 34
Min Wick - 66
ATR -15
ATR Stop Loss Multiplier - 2.3
ATR Take Profit Multiplier - 2.9
Minimum ATR to Enter - 0.0025
5EMA_BB_ScalpingWhat?
In this forum we have earlier published a public scanner called 5EMA BollingerBand Nifty Stock Scanner , which is getting appreciated by the community. That works on top-40 stocks of NSE as a scanner.
Whereas this time, we have come up with the similar concept as a stand-alone indicator which can be applied for any chart, for any timeframe to reap the benifit of reversal trading.
How it works?
This is essentially a reversal/divergence trading strategy, based on a widely used strategy of Power-of-Stocks 5EMA.
To know the divergence from 5-EMA we just check if the high of the candle (on closing) is below the 5-EMA. Then we check if the closing is inside the Bollinger Band (BB). That's a Buy signal. SL: low of the candle, T: middle and higher BB.
Just opposite for selling. 5-EMA low should be above 5-EMA and closing should be inside BB (lesser than BB higher level). That's a Sell signal. SL: high of the candle, T: middle and lower BB.
Along with we compare the current bar's volume with the last-20 bar VWMA (volume weighted moving average) to determine if the volume is high or low.
Present bar's volume is compared with the previous bar's volume to know if it's rising or falling.
VWAP is also determined using `ta.vwap` built-in support of TradingView.
The Bolling Band width is also notified, along with whether it is rising or falling (comparing with previous candle).
What's special?
We love this reversal trading, as it offers many benifits over trend following strategies:
Risk to Reward (RR) is superior.
It _Does Hit_ stop losses, but the stop losses are tiny.
Means, althrough the Profit Factor looks Nahh , however due to superior RR, end of day it ended up in green.
When the day is sideways, it's difficult to trade in trending strategies. This sort of volatility, reversal strategies works better.
It's always tempting to go agaist the wind. Whole world is in Put/PE and you went opposite and enter a Call/CE. And turns out profitable! That's an amazing feeling, as a trader :)
How to trade using this?
* Put any chart
* Apply this screener from Indicators (shortcut to launch indicators is just type / in your keyboard).
* It will show you the Green up arrow when buy alert comes or red down arrow when sell comes. * Also on the top right it will show the latest signal with entry, SL and target.
Disclaimer
* This piece of software does not come up with any warrantee or any rights of not changing it over the future course of time.
* We are not responsible for any trading/investment decision you are taking out of the outcome of this indicator.
Timeframe % TrakcerPulls historical closes from nine higher-timeframe look-backs (1 H, 12 H, 1 D, 7 D, 14 D, 1 M, 3 M, 6 M, 1 Y, 3 Y) with request.security().
2. Calculates the percent change between each look-back close and the current price:
(close − close₍look-back₎) / close₍look-back₎ × 100
3. Renders a two-column table in the chart’s top-right corner.
• Left column = timeframe label
• Right column = % move, rounded to two decimals
4. Heat-codes the cells — green if the asset is up, red if it’s down — so you can spot momentum (or pain) instantly.
5. Stays lightweight by updating only on the last bar; no excess runtimes.
Not-So-Average True Range (nsATR)Not-So-Average True Range (nsATR)
*By Sherlock_MacGyver*
---
Long Story Short
The nsATR is a complete overhaul of traditional ATR analysis. It was designed to solve the fundamental issues with standard ATR, such as lag, lack of contextual awareness, and equal treatment of all volatility events.
Key innovations include:
* A smarter ATR that reacts dynamically when price movement exceeds normal expectations.
* Envelope zones that distinguish between moderate and extreme volatility conditions.
* A long-term ATR baseline that adds historical context to current readings.
* A compression detection system that flags when the market is coiled and ready to break out.
This indicator is designed for traders who want to see volatility the way it actually behaves — contextually, asymmetrically, and with predictive power.
---
What Is This Thing?
Standard ATR (Average True Range) has limitations:
* It smooths too slowly (using Wilder's RMA), which delays detection of meaningful moves.
* It lacks context — no way to know if current volatility is high or low relative to history.
* It treats all volatility equally, regardless of scale or significance.
nsATR** was built from scratch to overcome these weaknesses by applying:
* Amplification of large True Range spikes.
* Visual envelope zones for detecting volatility regimes.
* A long-term context line to anchor current readings.
* Multi-factor compression analysis to anticipate breakouts.
---
Core Features
1. Breach Detection with Amplification
When True Range exceeds a user-defined threshold (e.g., ATR × 1.2), it is amplified using a power function to reflect nonlinear volatility. This amplified value is then smoothed and cascades into future ATR values, affecting the indicator beyond a single bar.
2. Direction Tagging
Volatility spikes are tagged as upward or downward based on basic price momentum (close vs previous close). This provides visual context for how volatility is behaving in real-time.
3. Envelope Zones
Two adaptive envelopes highlight the current volatility regime:
* Stage 1: Moderate volatility (default: ATR × 1.5)
* Stage 2: Extreme volatility (default: ATR × 2.0)
Breaching these zones signals meaningful expansion in volatility.
4. Long-Term Context Baseline
A 200-period simple moving average of the classic ATR establishes whether current readings are above or below long-term volatility expectations.
5. Multi-Signal Compression Detection
Flags potential breakout conditions when:
* ATR is below its long-term baseline
* Price Bollinger Bands are compressed
* RSI Bollinger Bands are also compressed
All three signals must align to plot a "Volatility Confluence Dot" — an early warning of potential expansion.
---
Chart Outputs
In the Indicator Pane:
* Breach Amplified ATR (Orange line)
* Classic ATR baseline (White line)
* Long-Term context baseline (Cyan line)
* Stage 1 and Stage 2 Envelopes (Purple and Yellow lines)
On the Price Chart:
* Triangles for breach direction (green/red)
* Diamonds for compression zones
* Optional background coloring for visual clarity
---
Alerts
Built-in alert conditions:
1. ATR breach detected
2. Stage 1 envelope breached
3. Stage 2 envelope breached
4. Compression zone detected
---
Customization
All components are modular. Traders can adjust:
* Display toggles for each visual layer
* Colors and line widths
* Breach threshold and amplification power
* Envelope sensitivity
* Compression sensitivity and lookback windows
Some options are disabled by default to reduce clutter but can be turned on for more aggressive signal detection.
---
Real-Time Behavior (Non-Repainting Clarification)
The indicator updates in real time on the current bar as new data comes in. This is expected behavior for live trading tools. Once a bar closes, values do not change. In other words, the indicator *does not repaint history* — but the current bar can update dynamically until it closes.
---
Use Cases
* Day traders: Use compression zones to anticipate volatility surges.
* Swing traders: Use envelope breaches for regime awareness.
* System developers: Replace standard ATR in your logic for better responsiveness.
* Risk managers: Use directional volatility signals to better model exposure.
---
About the Developer
Sherlock_MacGyver develops original trading systems that question default assumptions and solve real trader problems.
Not All FVGs Are The Same
Overview:
"Not All FVGs Are The Same" is a powerful TradingView indicator designed to pinpoint high-quality Fair Value Gaps (FVGs) on your chart. Unlike generic FVG tools, this indicator uses advanced filtering to highlight only the most significant gaps, helping traders identify high-probability setups with precision and clarity. With customizable visuals and real-time alerts, it’s built for traders who want to focus on meaningful market opportunities.
Why It’s Different:
This indicator stands out by detecting FVGs that meet strict criteria for quality, ensuring you’re not distracted by minor or unreliable gaps. It analyzes price action patterns and market volatility to confirm that each FVG represents a significant imbalance, perfect for spotting potential reversal or continuation zones.
Key Features:
High-Quality Detection: Identifies FVGs formed by strong, consistent price movements, filtering out weak or noisy gaps for reliable trading signals.
Volatility-Based Filtering: Uses market volatility to ensure only substantial FVGs are displayed, adapting to different market conditions.
Customizable Visuals: Marks FVGs with clear, semi-transparent boxes that show the gap’s range and duration, with an option to toggle labels for a clean chart.
Real-Time Alerts: Get instant notifications when new bullish or bearish FVGs are detected, keeping you ahead of the market.
Focused Display: Limits the number of FVGs shown to keep your chart uncluttered, emphasizing the most recent and relevant gaps.
User-Friendly Settings: Easily adjust sensitivity, gap size, and visual styles to match your trading strategy and preferences.
How It Helps Traders:
By focusing on high-quality FVGs, this indicator helps you identify key price levels where the market is likely to react. Whether you trade breakouts, reversals, or trend continuations, the clear visuals and precise detection make it easier to spot opportunities with confidence.
Settings:
ATR Length: Adjusts the volatility filter for FVG detection (default: 10).
Minimum FVG Size: Sets the smallest gap size to consider (default: 2 bars).
Show Last X FVGs: Controls how many recent FVGs are displayed (default: 20).
Enable Sensitivity Check: Turn on/off volatility-based filtering (default: on).
Allow Gaps Between Bars: Choose whether to include gaps with price discontinuities (default: off).
Show Labels: Toggle FVG detection labels on or off (default: on).
Style Options: Customize bullish/bearish FVG colors, text color, and label size for clear visuals.
How to Use:
Apply the indicator to your chart and tweak the settings to suit your market and timeframe. Enable alerts to stay updated on new FVGs in real-time. Use the boxes to identify key support/resistance zones and combine with your strategy for optimal trading decisions.
Note: Designed for efficiency, this indicator works smoothly across timeframes and instruments. Experiment with settings to find the best fit for your trading style, and use the toggleable labels to keep your chart clean when needed.
Algoway V4.2📌 Algoway V4.2 — Multi-layered Strategy Powered by ADX, MACD & PSO
Overview
Algoway V4.2 is a layered algorithmic strategy designed for volatility-rich assets like cryptocurrencies. While some core components (such as PSO, MACD, and ADX oscillators) are adapted from known indicator models, the original logic, state tracking, and Candle Strength Oscillator (CSO) are fully custom-developed.
This strategy is not a simple combination of tools — it implements a conditional entry-exit logic system based on ADX zone transitions, momentum structure, and MACD/PSO signal synchronization, enhanced by custom-built CSO filtering.
🧠 Key Modules and How They Work Together
PSO (Premium Stochastic Oscillator)
Used to confirm local oversold/overbought pressure. Acts as a directional filter.
MACD (Normalized)
Volatility-normalized MACD values allow consistent signal detection even on volatile pairs. It triggers entries when momentum begins shifting.
ADX Zonal Logic
Divides the market into Range / MidRange / Trend Peak zones. Entries are allowed only under specific transitions — e.g., long entries only in yellow (low volatility) zones or in trend climax zones under certain pullbacks.
CSO (Candle Strength Oscillator) — Custom Module
Designed to measure real candle momentum and price structure consistency. It avoids false breakouts and filters trend fatigue.
🔁 How Logic Works
Strategy maintains state variables to track entry type and zone.
Exit conditions depend on the entry origin: entries from "Range" exit in "Peak", while "Peak" entries exit during pullbacks or mid-strength trend reversals.
Additional logic prevents entries when signals are not aligned across modules, minimizing noise.
Optional CSO module acts as a final microstructure confirmation before executing MACD-based midpoint entries.
📊 Example Parameters (for 5M crypto scalping)
Each module is tuned to respond to 5-minute crypto volatility:
Stochastic: fast response, tight thresholds
MACD: shortened EMAs, normalized
ADX: traditional smoothing, custom thresholds for zone switching
CSO: candle-based dynamic filter with visual zone mapping
🧪 Conclusion
Algoway V4.2 is not a script merger — it is a custom logic engine using familiar technical components but governed by a proprietary decision model, with additional filters and dynamic variable tracking.
It’s suitable for scalping or swing setups, and the internal logic is optimized for real trading conditions, not just visual backtests.
Session-Based Sentiment Oscillator [TradeDots]Track, analyze, and monitor market sentiment across global trading sessions with this advanced multi-session sentiment analysis tool. This script provides session-specific sentiment readings for Asian (Tokyo), European (London), and US (New York) markets, combining price action, volume analysis, and volatility factors into a comprehensive sentiment oscillator. It is an original indicator designed to help traders understand regional market psychology and capitalize on cross-session sentiment shifts directly on TradingView.
📝 HOW IT WORKS
1. Multi-Component Sentiment Engine
Price Action Momentum : Calculates normalized price movement relative to recent trading ranges, providing directional sentiment readings.
Volume-Weighted Analysis : When volume data is available, incorporates volume flow direction to validate price-based sentiment signals.
Volatility-Adjusted Factors : Accounts for changing market volatility conditions by comparing current ATR against historical averages.
Weighted Combination : Merges all components using optimized weightings (Price: 1.0, Volume: 0.3, Volatility: 0.2) for balanced sentiment readings.
2. Session-Segregated Tracking
Automatic Session Detection : Precisely identifies active trading sessions based on user-configured time parameters.
Independent Calculations : Maintains separate sentiment accumulation for each major session, updated only during respective active hours.
Historical Preservation : Stores session-specific sentiment values even when sessions are closed, enabling cross-session comparison.
Real-Time Updates : Continuously processes sentiment during active sessions while preserving inactive session data.
3. Cross-Session Transition Analysis
Sentiment Differential Detection : Monitors sentiment changes when transitioning between trading sessions.
Configurable Thresholds : Generates signals only when sentiment shifts exceed user-defined minimum thresholds.
Directional Signals : Provides distinct bullish and bearish transition alerts with visual markers.
Smart Filtering : Applies smoothing algorithms to reduce false signals from minor sentiment variations.
⚙️ KEY FEATURES
1. Session-Specific Dashboard
Real-Time Status Display : Shows current session activity (ACTIVE/CLOSED) for all three major sessions.
Sentiment Percentages : Displays precise sentiment readings as percentages for easy interpretation.
Strength Classification : Automatically categorizes sentiment as HIGH (>50%), MEDIUM (20-50%), or LOW (<20%).
Customizable Positioning : Place dashboard in any corner with adjustable size options.
2. Advanced Signal Generation
Transition Alerts : Triangle markers indicate significant sentiment shifts between sessions.
Extreme Conditions : Diamond markers highlight overbought/oversold threshold breaches.
Configurable Sensitivity : Adjust signal thresholds from 0.05 to 0.50 based on trading style.
Alert Integration : Built-in TradingView alert conditions for automated notifications.
3. Forex Currency Strength Analysis
Base/Quote Decomposition : For forex pairs, separates sentiment into individual currency strength components.
Major Currency Support : Analyzes USD, EUR, GBP, JPY, CHF, CAD, AUD, NZD strength relationships.
Relative Strength Display : Shows which currency is driving pair movement during active sessions.
4. Visual Enhancement System
Session Background Colors : Distinct background shading for each active trading session.
Overbought/Oversold Zones : Configurable extreme sentiment level visualization with colored zones.
Multi-Timeframe Compatibility : Works across all timeframes while maintaining session accuracy.
Customizable Color Schemes : Full color customization for dashboard, signals, and plot elements.
🚀 HOW TO USE IT
1. Add the Script
Search for "Session-Based Sentiment Oscillator " in the Indicators tab or manually add it to your chart. The indicator will appear in a separate pane below your main chart.
2. Configure Session Times
Asian Session : Set Tokyo market hours (default: 00:00-09:00) based on your chart timezone.
European Session : Configure London market hours (default: 07:00-16:00) for European analysis.
US Session : Define New York market hours (default: 13:00-22:00) for American markets.
Timezone Adjustment : Ensure session times match your broker's specifications and account for daylight saving changes.
3. Optimize Analysis Parameters
Sentiment Period : Choose 5-50 bars (default: 14) for sentiment calculation lookback period.
Smoothing Settings : Select 1-10 bars smoothing (default: 3) with SMA, EMA, or RMA options.
Component Selection : Enable/disable volume analysis, price action, and volatility factors based on available data.
Signal Sensitivity : Adjust threshold from 0.05-0.50 (default: 0.15) for transition signal generation.
4. Interpret Readings and Signals
Positive Values : Indicate bullish sentiment for the active session.
Negative Values : Suggest bearish sentiment conditions.
Dashboard Status : Monitor which session is currently active and their respective sentiment strengths.
Transition Signals : Watch for triangle markers indicating significant cross-session sentiment changes.
Extreme Alerts : Note diamond markers when sentiment reaches overbought (>70%) or oversold (<-70%) levels.
5. Set Up Alerts
Configure TradingView alerts for:
- Bullish session transitions
- Bearish session transitions
- Overbought condition alerts
- Oversold condition alerts
❗️LIMITATIONS
1. Data Dependency
Volume Requirements : Volume-based analysis only functions when volume data is provided by your broker. Many forex brokers do not supply reliable volume data.
Price Action Focus : In absence of volume data, sentiment calculations rely primarily on price movement and volatility factors.
2. Session Time Sensitivity
Manual Adjustment Required : Session times must be manually updated for daylight saving time changes.
Broker Variations : Different brokers may have slightly different session definitions requiring time parameter adjustments.
3. Ranging Market Limitations
Trend Bias : Sentiment calculations may be less reliable during extended sideways or low-volatility market conditions.
Lag Consideration : As with all sentiment indicators, readings may lag during rapid market transitions.
4. Regional Market Focus
Major Session Coverage : Designed primarily for major global sessions; may not capture sentiment from smaller regional markets.
Weekend Gaps : Does not account for weekend gap effects on sentiment calculations.
⚠️ RISK DISCLAIMER
Trading and investing carry significant risk and can result in financial loss. The "Session-Based Sentiment Oscillator " is provided for informational and educational purposes only. It does not constitute financial advice.
- Always conduct your own research and analysis
- Use proper risk management and position sizing in all trades
- Past sentiment patterns do not guarantee future market behavior
- Combine this indicator with other technical and fundamental analysis tools
- Consider overall market context and your personal risk tolerance
This script is an original creation by TradeDots, published under the Mozilla Public License 2.0.
Session-based sentiment analysis should be used as part of a comprehensive trading strategy. No single indicator can predict market movements with certainty. Exercise proper risk management and maintain realistic expectations about indicator performance across varying market conditions.