Advanced Grid Trading System - [WOLONG X DBG]Overview
This sophisticated grid trading system combines Bollinger Bands breakout analysis with RSI filtering to create a comprehensive automated trading approach. The system implements advanced grid management with dynamic lot sizing, intelligent ATR-based spacing, and comprehensive risk management features including drawdown protection, time-based trading controls, and multi-level position management.
Methodology
The indicator employs a multi-layered analytical approach based on established technical analysis principles:
Core Signal Generation
Bollinger Bands Breakout Engine: Utilizes customizable period Bollinger Bands (default 35) with highest/lowest price detection over the calculation period to identify potential reversal points when price breaks below recent lows or above recent highs
RSI Confirmation Filter: Implements RSI-based signal filtering with customizable maximum RSI values to avoid entries during overbought/oversold conditions, requiring RSI below (50 - max_rsi_value) for buy signals and above (50 + max_rsi_value) for sell signals
Grid Management System: Advanced progressive grid system with configurable pip-based spacing, intelligent ATR-based distance calculation, and cumulative lot sizing with customizable multipliers
Advanced Features
Dynamic Lot Sizing: Eight calculation methods including Fixed Lot, Dynamic by Balance/Equity, and risk-based percentage approaches (Low Risk 20%, Medium Risk 40%, High Risk 80%, Extreme Risk 120%, Margin Loading)
Comprehensive Risk Management: Multi-layered drawdown protection with percentage and absolute value limits, automatic position closure options, and trading suspension features with time-based recovery
Time-Based Controls: Configurable GMT-based trading hours with start/stop times for session-specific trading and market condition adaptation
Key Components
Signal Types
Primary Entry Signals: Buy signals when price breaks below recent lowest values within Bollinger period with RSI confirmation; Sell signals when price breaks above recent highest values with RSI confirmation
Grid Expansion Logic: Automatic additional entries based on configurable pip distances from base price, triggered when price moves against initial position by specified intervals
Take Profit Systems: Dual-mode TP calculation using either weighted average across all positions or individual level TP with customizable pip values
Stop Loss Protection: Grid-wide SL with customizable pip distances or default 1000-pip protection
Visual Elements
Bollinger Bands Display: Three-line Bollinger Bands system with upper, middle (SMA), and lower bands for trend and volatility analysis
Grid Base Line: Yellow dashed line showing initial grid entry level with right extension for reference
Comprehensive TP/SL Lines: Dual-line system showing both first order reference levels (dotted, light colors) and official Martingale weighted average levels (solid, bold colors)
Entry Point Labels: Detailed entry markers showing BUY/SELL direction, grid level, and lot size information
Dual Dashboard System: Main control panel (top-right) and dark theme entry log (bottom-right) with real-time status updates
Usage Instructions
Basic Configuration
Capital Management: Select lot calculation method from dropdown (recommended: "Low Risk 20%" for conservative approach)
Grid Parameters: Configure trading distance (default 35 pips) and enable smart distance for ATR-based dynamic adjustments
Strategy Settings: Set Bollinger period (35), RSI period (20), and maximum RSI value (15) for signal filtering
Risk Controls: Configure maximum drawdown percentage and action when limits are exceeded
Signal Interpretation
Buy Entry Conditions: Generated when current close price breaks below the lowest price in the Bollinger calculation period, with RSI below (50 - max_rsi_value)
Sell Entry Conditions: Generated when current close price breaks above the highest price in the Bollinger calculation period, with RSI above (50 + max_rsi_value)
Grid Expansion: Automatic additional entries when price moves against position by configured pip distances, with progressive lot sizing using multipliers
Exit Conditions: Weighted average TP achievement, breakeven after specified grid levels, or manual cycle completion
Dashboard Analysis
Main Control Panel: Displays current grid level, trading direction, open orders count, total volume, next lot size, grid P&L, current balance, floating drawdown, RSI status, trading hours, and system locks
Dark Theme Entry Log: Shows recent entry history with timestamps, entry types (BUY/SELL), prices, lot sizes, and grid levels for trade tracking
Risk Monitoring: Real-time drawdown tracking with color-coded warnings and automatic protection activation
Risk Management Features
Automatic Protections
Drawdown Limits: Configurable percentage (default 100%) and absolute USD drawdown limits with four response options: Close Orders and Stop 24h/Until Restart, or Prevent New Grid/Until Restart
Position Sizing: Eight dynamic lot calculation methods based on account equity, balance, or risk tolerance with maximum lot size limits
Grid Limitations: Maximum number of grid levels (default 9) to prevent excessive exposure accumulation
Time Controls: GMT-based trading hour restrictions to avoid high-volatility periods or specific market sessions
Confirmation Requirements
Multi-Indicator Alignment: Requires both Bollinger Bands breakout and RSI confirmation before signal generation
Intelligent Spacing: ATR-based grid spacing adjustment using short-term (96-period) vs long-term (672-period) ATR ratio for market volatility adaptation
Progressive Sizing: Configurable lot multipliers for different grid levels (Order 2: 1.0x, Orders 3-5: 2.0x, Orders 6+: 1.5x default)
Optimal Settings
Timeframe Recommendations
Scalping: 1M-5M charts with reduced grid spacing (20-25 pips) and tighter RSI filters
Day Trading: 15M-1H charts with standard settings (35 pips) and default RSI parameters
Swing Trading: 4H-Daily charts with increased spacing (50+ pips) and relaxed RSI filters
Market Conditions
Trending Markets: Reduce RSI maximum value to 10-12, increase grid spacing to 40-50 pips, enable breakeven functionality
Ranging Markets: Standard settings with weighted TP enabled and moderate grid spacing
High Volatility: Enable smart distance, reduce maximum grid levels to 6-7, increase drawdown limits
Advanced Features
Customization Options
Lot Calculation Methods: Eight different approaches from fixed lot (0.01) to risk-based percentage calculations with margin loading options
Grid Multipliers: Separate multiplier settings for different grid levels (2nd order, 3rd-5th orders, 6th+ orders) with decimal precision
TP/SL Configuration: Individual or weighted average TP calculation with positive/negative pip values, breakeven after specified levels
Visual Controls: Toggle options for dashboard display, entry labels, TP/SL lines, lot information, and dark theme components
Technical Specifications
Grid Management: Up to 50 configurable grid levels with progressive lot sizing and cumulative position tracking
Risk Controls: Dual drawdown limits (percentage and absolute) with four different response actions and time-based recovery
Time Management: GMT-based trading hours with flexible start/end times supporting overnight sessions
Alert System: Five comprehensive alert conditions for new signals, drawdown warnings, maximum levels, and cycle completion
Important Limitations
Lagging Nature: Signals may appear after optimal entry points due to confirmation requirements and breakout validation
Grid Risk: Progressive lot sizing can lead to significant exposure accumulation during extended adverse price movements
Market Dependency: Performance varies significantly between trending and ranging market conditions, requiring parameter adjustments
Computational Load: Complex multi-array calculations and real-time dashboard updates may impact performance on slower devices
No Guarantee: All signals are suggestions based on technical analysis calculations and may be incorrect
Educational Disclaimers
This indicator is designed for educational and analytical purposes only. It represents a technical analysis tool based on mathematical calculations of historical price data and should not be considered as financial advice or trading recommendations.
Risk Warning: Grid trading involves substantial risk of loss and is not suitable for all investors. The progressive lot sizing methodology can lead to significant exposure accumulation during adverse market movements. Past performance of any trading system or methodology is not necessarily indicative of future results.
Important Notes:
Always conduct your own analysis before making trading decisions
Use appropriate position sizing and risk management strategies
Never risk more than you can afford to lose
Consider your investment objectives, experience level, and risk tolerance
Seek advice from qualified financial professionals when needed
Grid trading can result in multiple simultaneous positions with compounding risk exposure
Performance Disclaimer: Backtesting results do not guarantee future performance. Market conditions change constantly, and what worked in the past may not work in the future. The indicator's mathematical calculations are based on historical data patterns that may not repeat. Always paper trade new strategies before risking real capital.
System Limitations: The indicator relies on technical analysis principles and may produce false signals during unusual market conditions, news events, or periods of extreme volatility. Users should implement additional confirmation methods and maintain strict risk management protocols.
Volatility
Double Median SD Bands | MisinkoMasterThe Double Median SD Bands (DMSDB) is a trend-following tool designed to capture market direction in a way that balances responsiveness and smoothness, filtering out excessive noise without introducing heavy lag.
Think of it like a house:
A jail (too restrictive) makes you miss opportunities.
No house at all (too unsafe) leaves you exposed to false signals.
DMSDB acts like a comfortable house with windows—protecting you from the noise while still letting you see what’s happening in the market.
🔎 Methodology
The script works in the following steps:
Standard Deviation (SD) Calculation
Computes the standard deviation of the selected price source (ohlc4 by default).
The user can choose whether to use biased (sample) or unbiased (population) standard deviation.
Raw Bands Construction
Upper Band = source + (SD × multiplier)
Lower Band = source - (SD × multiplier)
The multiplier can be adjusted for tighter or looser bands.
First Median Smoothing
Applies a median filter over half of the length (len/2) to both bands.
This reduces noise without creating excessive lag.
Second Median Smoothing
Applies another median filter over √len to the already smoothed bands.
This produces a balance:
Cutting the length → maintains responsiveness.
Median smoothing → reduces whipsaws.
The combination creates a fast yet clean band system ideal for trend detection.
📈 Trend Logic
The trend is detected based on price crossing the smoothed bands:
Long / Bullish (Purple) → when price crosses above the upper band.
Short / Bearish (Gold) → when price crosses below the lower band.
Neutral → when price remains between the bands.
🎨 Visualization
Upper and lower bands are plotted as colored lines.
The area between the bands is filled with a transparent zone that reflects the current bias:
Purple shading = Bullish zone.
Golden shading = Bearish zone.
This creates a visual tunnel for trend confirmation, helping traders quickly identify whether price action is trending or consolidating.
⚡ Features
Adjustable Length parameter (len) for dynamic control.
Adjustable Band Multiplier for volatility adaptation.
Choice between biased vs. unbiased standard deviation.
Double median smoothing for clarity + responsiveness.
Works well on cryptocurrencies (e.g., BTCUSD) but is flexible enough for stocks, forex, and indices.
✅ Use Cases
Trend Following → Ride trends by staying on the correct side of the bands.
Entry Timing → Use crossovers above/below bands for entry triggers.
Filter for Other Strategies → Can serve as a directional filter to avoid trading against the trend.
⚠️ Limitations & Notes
This is a trend-following tool, so it will perform best in trending conditions.
In sideways or choppy markets, whipsaws may still occur (although smoothing reduces them significantly).
The indicator is not a standalone buy/sell system. For best results, combine with volume, momentum, or higher-timeframe confluence.
All of this makes for a really unique & original tool, as it removes noise but keeps good responsitivity, using methods from many different principles which make for a smooth a very useful tool
Bollinger Adaptive Trend Navigator [QuantAlgo]🟢 Overview
The Bollinger Adaptive Trend Navigator synthesizes volatility channel analysis with variable smoothing mechanics to generate trend identification signals. It uses price positioning within Bollinger Band structures to modify moving average responsiveness, while incorporating ATR calculations to establish trend line boundaries that constrain movement during volatile periods. The adaptive nature makes this indicator particularly valuable for traders and investors working across various asset classes including stocks, forex, commodities, and cryptocurrencies, with effectiveness spanning multiple timeframes from intraday scalping to longer-term position analysis.
🟢 How It Works
The core mechanism calculates price position within Bollinger Bands and uses this positioning to create an adaptive smoothing factor:
bbPosition = bbUpper != bbLower ? (source - bbLower) / (bbUpper - bbLower) : 0.5
adaptiveFactor = (bbPosition - 0.5) * 2 * adaptiveMultiplier * bandWidthRatio
alpha = math.max(0.01, math.min(0.5, 2.0 / (bbPeriod + 1) * (1 + math.abs(adaptiveFactor))))
This adaptive coefficient drives an exponential moving average that responds more aggressively when price approaches Bollinger Band extremes:
var float adaptiveTrend = source
adaptiveTrend := alpha * source + (1 - alpha) * nz(adaptiveTrend , source)
finalTrend = 0.7 * adaptiveTrend + 0.3 * smoothedCenter
ATR-based volatility boundaries constrain the final trend line to prevent excessive movement during volatile periods:
volatility = ta.atr(volatilityPeriod)
upperBound = bollingerTrendValue + (volatility * volatilityMultiplier)
lowerBound = bollingerTrendValue - (volatility * volatilityMultiplier)
The trend line direction determines bullish or bearish states through simple slope comparison, with the final output displaying color-coded signals based on the synthesis of Bollinger positioning, adaptive smoothing, and volatility constraints (green = long/buy, red = short/sell).
🟢 Signal Interpretation
Rising Trend Line (Green): Indicates upward direction based on Bollinger positioning and adaptive smoothing = Potential long/buy opportunity
Falling Trend Line (Red): Indicates downward direction based on Bollinger positioning and adaptive smoothing = Potential short/sell opportunity
Built-in Alert System: Automated notifications trigger when bullish or bearish states change, allowing you to act on significant development without constantly monitoring the charts
Candle Coloring: Optional feature applies trend colors to price bars for visual consistency
Configuration Presets: Three parameter sets available - Default (standard settings), Scalping (faster response), and Swing Trading (slower response)
Avg Candle Size (Ticks) – Last 9 Closed BarsWhat it does:
Shows the average candle size in ticks for the last N closed bars (defaults to 9). I built this so I can glance at a 5-min chart and instantly know the typical bar size in ticks, updating only after each bar closes (no intrabar wiggle).
How it works:
Measures each bar’s full range (High–Low), not ATR and not candle body.
Averages the last N closed bars, converts to ticks using syminfo.mintick.
Displays a simple line plus a small readout (e.g., “32 ticks”).
Why I built it:
Gives me a realistic sense of current volatility in ticks so I can size stops/targets quickly without doing mental math.
Extras:
Lookback is configurable (default 9).
Optional rounding (floor/nearest/ceil).
Works on any timeframe/instrument that has a defined tick size.
If you want it to match ATR exactly (in ticks), swap the range calc for ta.atr(len) / syminfo.mintick
Analítica Trading — Prev Day Levels🤖📊 Analítica Trading — Previous Day Levels
This indicator clearly and precisely displays the key levels from the previous day:
📈 Previous Day High (green line).
📉 Previous Day Low (red line).
The lines are fixed horizontals, updated automatically at the start of each new session, and remain visible throughout the entire day, providing a reliable reference for trading.
It also includes:
🔔 Configurable alerts when the price breaks any of the levels.
🏷️ Labels on the chart with the exact value of each level.
💡 Ideal for Support and Resistance, Breakout strategies, and Smart Money Concepts (SMC).
Large Bar ATR HighlighterAn advanced volatility indicator that highlights bars based on their size relative to Daily ATR (Average True Range).
Features configurable lookback periods to detect cumulative volatility across multiple bars, with visual highlighting, background coloring, shape markers, and comprehensive status line data. Perfect for identifying significant price movements and volatility clusters in any timeframe. Includes real-time table with threshold monitoring and alert capabilities.
Auto Hourly Deviations {Module+}Description
This indicator automatically calculates and visualizes the prior hour’s price structure and its deviation levels. By combining core reference lines (high, low, EQ, quarters, open) with dynamic deviation levels and shaded zones, it provides a framework for understanding intraday price behavior relative to the most recent hourly range.
The tool has three functional sections that work together:
Core Hourly Structure – Captures the prior hour’s high, low, EQ (50%), and quarter levels (25% and 75%), plus the current open.
Deviation Levels – Projects standardized deviation multiples (±0.33, ±0.5, ±0.66, ±1.0, ±1.33, ±1.66, ±2.0) above and below the prior hour’s range.
Shading & Anchoring – Fills zones between key deviation levels for visual emphasis, while allowing projection offsets and anchor line references for precise chart alignment.
Together, these layers give traders a structured map of price movement around hourly ranges, making it easier to track expansion, retracement, and trend continuation.
1. Core Hourly Structure
Plots the prior hour’s high and low as key reference points.
Automatically calculates EQ (midpoint), 25%, and 75% levels.
Tracks the open of the current hour for immediate orientation.
Optional anchor line marks the start of each hourly window for time alignment.
Use: Frames the “hourly box” and subdivides it for intraday structure analysis.
2. Deviation Levels
Uses the prior hour’s range as a baseline.
Projects deviation levels above and below: ±0.33, ±0.5, ±0.66, ±1.0, ±1.33, ±1.66, and ±2.0.
Each level can be individually toggled with full line/label styling.
Use: Quantifies how far price is moving relative to the last hour’s volatility — useful for spotting overextensions, retraces, and probable reaction zones.
3. Shading & Anchoring
Shaded zones between selected deviation bands (e.g., +0.33 to +0.66 or +1.33 to +1.66) highlight potential liquidity or reaction areas.
Projection offsets allow levels to extend forward into future bars for planning.
Labels and color controls make the chart highly customizable.
Use: Provides quick visual cues for potential trading ranges and deviations without clutter.
Intended Use
This is a visualization tool, not a buy/sell system. Traders can use it to:
Track how price interacts with the prior hour’s high/low.
Measure hourly expansion through deviation levels.
Spot retracements or continuation zones inside and beyond the prior hour’s range.
Limitations & Disclaimers
Levels are derived from completed hourly candles; they do not predict outcomes.
Deviations are static calculations and do not account for fundamentals or volatility shifts.
This indicator does not provide financial advice or trading signals.
For informational and educational purposes only.
Trading involves risk; always apply proper risk management.
Closed-source (Protected): Logic is accessible on charts, but the source code is hidden. A TradingView paid plan is required for protected indicators.
Unusual Moves Detector# Unusual Moves Detector
A TradingView indicator that detects and alerts users to unusual price movements based on ATR (Average True Range) and volume analysis. This indicator is designed to identify price action that deviates significantly from normal market behavior.
## Features
### Core Detection Mechanisms
- **ATR-Based Volatility Detection**: Identifies price movements that exceed normal volatility levels
- **Volume Analysis**: Optional volume spike detection to confirm unusual moves
- **Signal Persistence Tracking**: Monitors how many signals occur within a lookback period
### Visual Indicators
- **Up/Down Arrows**: Green triangles for unusual upward moves, red triangles for downward moves
- **Signal Strength Labels**: Numbers showing how many signals occurred in the lookback period
- **Real-time Metrics Table**: Displays current ATR and volume ratios
### Customizable Parameters
1. **ATR Period** (default: 14)
- Length for Average True Range calculation
- Affects volatility measurement sensitivity
2. **Volume MA Period** (default: 20)
- Period for volume moving average
- Used in volume spike detection
3. **ATR Multiplier** (default: 2.0)
- How many times the ATR to trigger a signal
- Higher values = less sensitive to price moves
4. **Volume Multiplier** (default: 2.0)
- How many times the average volume to consider "high volume"
- Higher values = less sensitive to volume spikes
5. **Include Volume Analysis** (default: true)
- Toggle volume confirmation requirement
- When disabled, only price volatility matters
6. **Signal Lookback Period** (default: 5)
- How many bars to look back for signal counting
- Affects signal strength calculation
### Alert System
- **Upward Movement Alerts**: Triggers when unusual upward price action is detected
- **Downward Movement Alerts**: Triggers when unusual downward price action is detected
- **Customizable Alert Messages**: Can be configured in TradingView's alert system
### Information Display
Real-time metrics table shows:
- Current ATR value
- Volume ratio (current volume / average volume)
- Net signal count (up signals - down signals)
## Installation
1. Open TradingView's Pine Script Editor
2. Create a new indicator
3. Copy and paste the indicator code
4. Click "Add to Chart" to apply the indicator
## Usage Guide
### Basic Setup
1. Add the indicator to your chart
2. Adjust parameters based on your trading timeframe and style
3. Configure alerts if desired
### Parameter Tuning Tips
- **For More Signals**: Lower the ATR and Volume multipliers
- **For Fewer Signals**: Increase the multipliers
- **For Trend Following**: Increase the lookback period
- **For Quick Signals**: Decrease the lookback period
### Alert Setup
1. Click the indicator settings
2. Go to "Create Alert"
3. Choose either up or down move condition
4. Configure alert settings (sound, notification, etc.)
## Backtesting Compatibility
- Fully compatible with TradingView's backtesting engine
- All calculations use historical data only
- No forward-looking data or repainting
## Technical Details
- Written in Pine Script v6
- Optimized for real-time calculation
- Uses native TradingView functions for performance
- Compatible with all timeframes
## Performance Considerations
- Lightweight computation using built-in functions
- Efficient memory usage with variable optimization
- Real-time calculation with minimal lag
## Support and Contribution
Feel free to modify and improve the indicator according to your needs. The code is well-commented for easy understanding and modification.
## License
Free to use and modify for personal and commercial purposes.
## Disclaimer
This indicator is for informational purposes only. Always conduct your own analysis and consider multiple factors when making trading decisions.
Kraliyet Trend Dashboard (Sabit + R:R + BE Alarm)v6 Sertaç AKMANRoyal Trend Dashboard combines EMA8–EMA200, SuperTrend, MACD, RSI, and ATR in one panel to automatically spot trend direction, pullbacks, and breakout entries while showing live risk-reward. It marks EMA8 touches and next-bar confirmations, triggers an ENTRY alert on the latest pivot break, calculates SL via SuperTrend±ATR or ATR×multiplier, and sets TP1/TP2 by R multiples. While in a trade it tracks live R:R and, when TP1 hits, prompts SL = BE to lock profits. Markers are pinned to price and the dashboard docks to any corner; on lower timeframes (e.g., 15m) you can align with a 1H higher-timeframe filter. In short: the Trend → Pullback → Breakout playbook with disciplined risk management and ready-made alerts—fast and practical.
Mongoose Global Conflict Risk Index v1Overview
The Mongoose Global Conflict Risk Index v1 is a multi-asset composite indicator designed to track the early pricing of geopolitical stress and potential conflict risk across global markets. By combining signals from safe havens, volatility indices, energy markets, and emerging market equities, the index provides a normalized 0–10 score with clear bias classifications (Neutral, Caution, Elevated, High, Shock).
This tool is not predictive of headlines but captures when markets are clustering around conflict-sensitive assets before events are widely recognized.
Methodology
The indicator calculates rolling rate-of-change z-scores for eight conflict-sensitive assets:
Gold (XAUUSD) – classic safe haven
US Dollar Index (DXY) – global reserve currency flows
VIX (Equity Volatility) – S&P 500 implied volatility
OVX (Crude Oil Volatility Index) – energy stress gauge
Crude Oil (CL1!) – WTI front contract
Natural Gas (NG1!) – energy security proxy, especially Europe
EEM (Emerging Markets ETF) – global risk capital flight
FXI (China ETF) – Asia/China proxy risk
Rules:
Safe havens and vol indices trigger when z-score > threshold.
Energy triggers when z-score > threshold.
Risk assets trigger when z-score < –threshold.
Each trigger is assigned a weight, summed, normalized, and scaled 0–10.
Bias classification:
0–2: Neutral
2–4: Caution
4–6: Elevated
6–8: High
8–10: Conflict Risk-On
How to Use
Timeframes:
Daily (1D) for strategic signals and early warnings.
4H for event shocks (missiles, sanctions, sudden escalations).
Weekly (1W) for sustained trends and macro build-ups.
What to Look For:
A single trigger (for example, Gold ON) may be noise.
A cluster of 2–3 triggers across Gold, USD, VIX, and Energy often marks early stress pricing.
Elevated readings (>4) = caution; High (>6) = rotation into havens; Shock (>8) = market conviction of conflict risk.
Practical Application:
Monitor as a heatmap of global stress.
Combine with fundamental or headline tracking.
Use alert conditions at ≥4, ≥6, ≥8 for systematic monitoring.
Notes
This indicator is for informational and educational purposes only.
It is not financial advice and should be used in conjunction with other analysis methods.
FSVZO [Alpha Extract]A sophisticated volume-weighted momentum oscillator that combines Fourier smoothing with Volume Zone Oscillator methodology to deliver institutional-grade flow analysis and divergence detection. Utilizing advanced statistical filtering including ADF trend analysis and multi-dimensional volume dynamics, this indicator provides comprehensive market sentiment assessment through volume-price relationships with extreme zone detection and intelligent divergence recognition for high-probability reversal and continuation signals.
🔶 Advanced VZO Calculation Engine
Implements enhanced Volume Zone Oscillator methodology using relative volume analysis combined with smoothed price changes to create momentum-weighted oscillator values. The system applies exponential smoothing to both volume and price components before calculating positive and negative momentum ratios with trend factor integration for market regime awareness.
🔶 Fourier-Based Smoothing Architecture
Features advanced Fourier approximation smoothing using cosine-weighted calculations to reduce noise while preserving signal integrity. The system applies configurable Fourier length parameters with weighted sum normalization for optimal signal clarity across varying market conditions with enhanced responsiveness to genuine trend changes.
// Fourier Smoothing Algorithm
fourier_smooth(src, length) =>
sum = 0
weightSum = 0
for i = 0 to length - 1
weight = cos(2 * π * i / length)
sum += src * weight
weightSum += weight
sum / weightSum
🔶 Intelligent Divergence Detection System
Implements comprehensive divergence analysis using pivot point methodology with configurable lookback periods for both standard and hidden divergence patterns. The system validates divergence conditions through range analysis and provides visual confirmation through plot lines, labels, and color-coded identification for precise timing analysis.
15MIN
4H
12H
🔶 Flow Momentum Analysis Framework
Calculates flow momentum by measuring oscillator deviation from its exponential moving average, providing secondary confirmation of volume flow dynamics. The system creates momentum-based fills and visual indicators that complement the primary oscillator analysis for comprehensive market flow assessment.
🔶 Extreme Zone Detection Engine
Features sophisticated extreme zone identification at ±98 levels with specialized marker system including white X markers for signals occurring in extreme territory and directional triangles for potential reversal points. The system provides clear visual feedback for overbought/oversold conditions with institutional-level threshold accuracy.
🔶 Dynamic Visual Architecture
Provides advanced visualization engine with bullish/bearish color transitions, dynamic fill regions between oscillator and signal lines, and flow momentum overlay with configurable transparency levels. The system includes flip markers aligned to color junction points for precise signal timing with optional bar close confirmation to prevent repainting.
🔶 ADF Trend Filtering Integration
Incorporates Augmented Dickey-Fuller inspired trend filtering using normalized price statistics to enhance signal quality during trending versus ranging market conditions. The system calculates trend factors based on mean deviation and standard deviation analysis for improved oscillator accuracy across market regimes.
🔶 Comprehensive Alert System
Features intelligent multi-tier alert framework covering bullish/bearish flow detection, extreme zone reversals, and divergence confirmations with customizable message templates. The system provides real-time notifications for critical volume flow changes and structural market shifts with exchange and ticker integration.
🔶 Performance Optimization Framework
Utilizes efficient calculation methods with optimized variable management and configurable smoothing parameters to balance signal quality with computational efficiency. The system includes automatic pivot validation and range checking for consistent performance across extended analysis periods with minimal resource usage.
This indicator delivers sophisticated volume-weighted momentum analysis through advanced Fourier smoothing and comprehensive divergence detection capabilities. Unlike traditional volume oscillators that focus solely on volume patterns, the FSVZO integrates volume dynamics with price momentum and statistical trend filtering to provide institutional-grade flow analysis. The system's combination of extreme zone detection, intelligent divergence recognition, and multi-dimensional visual feedback makes it essential for traders seeking systematic approaches to volume-based market analysis across cryptocurrency, forex, and equity markets with clearly defined reversal and continuation signals.
Qullamaggie High Tight Flag TableThis indicator is a breakout scanner inspired by Qullamaggie's high-tight flag momentum strategy and Stockbee's Momentum Burst setups. It displays a 2x5 table of key technical metrics to identify high-probability long breakout opportunities in trending stocks or crypto on daily charts. The table highlights setups where a stock consolidates tightly after a strong uptrend, signaling potential volatility expansion for sharp upside moves. Green boxes indicate bullish conditions, while alerts notify traders of optimal setups or risks.
Table Box Descriptions
The table is divided into two columns: the left focuses on volatility and range, the right on trend and relative strength. Each cell shows a metric’s value with conditional coloring—green for bullish alignment, red for bearish/unmet conditions, yellow/orange for neutral/warning zones, and consistent transparency (90%) for readability. Below are the updated box descriptions:
ADR (Left, Row 1): Average Daily Range (%) over a user-selectable lookback (5/10/15/20 days, default 20), calculated relative to the previous low, close, or current close (user-selectable). Always green for visibility, with higher values (e.g., ≥6%) indicating volatility suited for breakouts.
Change from Today Low (Left, Row 2): Percentage gain from the current day’s low to close. Green if ≥0% (intraday strength), red if negative (weakness). Signals if the stock is holding support without excessive downside.
ADR Multiples from 50 SMA (Left, Row 3): Price deviation from the 50-day SMA in ADR units (e.g., 6% move above SMA with 1% ADR = 6x). Green (<6x, healthy trend), yellow (6-9x, extended), red (9-14x, overextended), purple (>14x, extreme caution). Identifies coiled setups or overextension risks.
% from 52W Low (Left, Row 4): Percentage distance from the 52-week low. Green if ≥30% (strong recovery from bases), red otherwise. Filters for stocks with significant momentum from yearly lows.
Narrow Range (Left, Row 5): Average daily range (%) over 3-5 days (user-selectable), compared to ADR, with checks for today’s change from low < ADR and volume ≤70% of 20-day average. Optional: limits to one 4%+ drop. Green if range < ADR and volume low (tight consolidation), yellow if range < ADR but volume high, red otherwise. Signals coiling before a breakout.
Percent from Short SMA (Right, Row 1): Percentage deviation from the 10-day SMA. Green if ≥0% (price at/above short-term trend), red if below. Ensures alignment with immediate uptrend support.
VCP Tightness (Right, Row 2): 5-day high-low range as a percentage of the lowest low, with a breakout check (≥12% gain in prior 5-10 days). Shows "Tight: X.XX%" or "N/A". Green if <10% (tight contraction), red otherwise. Captures high-tight flag volatility squeezes.
Days Since 10d > 21d (Right, Row 3): Days since the 10-day SMA crossed above the 21-day SMA. Red if NA or downtrend (10d ≤ 21d), green if ≤10 days (fresh uptrend), yellow if 11-30 days (maturing), orange if >30 days (aging). Tracks trend freshness for timely entries.
% from 52W High (Right, Row 4): Percentage distance from the 52-week high. Green if ≥-25% (near highs), yellow if -25% to -30% (warning zone), red if <-30% (far from highs). Gauges proximity to breakout resistance.
7d SMA vs 65d SMA (Right, Row 5): Percentage difference between 7-day and 65-day SMAs. Green if ≥5% (short-term outpacing long-term), red otherwise. Confirms broader trend acceleration.
Key Features
Ideal Setup: Look for green boxes in Days Since 10d > 21d (≤10), VCP Tightness (<10%), and % from Short SMA (±3%) during a narrow range consolidation near support, signaling a high-probability breakout.
Alerts:
Qullamaggie Breakout Alert: Triggers when ADR ≥6%, Days Since 10d > 21d ≤10, 10d SMA > 21d SMA, VCP Tightness <10%, and price within ±3% of 10d SMA. Signals a high-tight flag breakout setup.
High Tight Flag Good Setup: Triggers when all non-ADR boxes (9 metrics) are green, yellow, or orange (no red or purple). Indicates a strong setup for long entry.
Overextension Warning: Triggers when ADR Multiples from 50 SMA ≥9x (red or purple), warning of pullback risk.
SMA Plots: 10-day (white) and 21-day (green) SMAs, toggleable in settings (off by default).
Customizable: Adjust table position (top/middle/bottom, left/center/right), text/background colors, ADR lookback, narrow range period (3-5 days), and enforce a single 4%+ drop limit.
Usage
Apply to daily charts (e.g., SOLUSDT, AAPL, TSLA) with 100+ bars.
Seek mostly green boxes, especially in Days Since 10d > 21d, VCP Tightness, and % from Short SMA, with rising volume for confirmation.
Use alerts to catch breakouts, strong setups, or overextensions in real-time.
Enable SMA plots to visualize trends if needed.
Handles edge cases (short history, crypto precision) for robust performance.
Note: Not financial advice—combine with your risk management, chart patterns, and market context.
Anrazzi - EMAs/ATR - 1.0.2The Anrazzi – EMAs/ATR indicator is a multi-purpose overlay designed to help traders track trend direction and market volatility in a single clean tool.
It plots up to six customizable moving averages (MAs) and an Average True Range (ATR) value directly on your chart, allowing you to quickly identify market bias, dynamic support/resistance, and volatility levels without switching indicators.
This script is ideal for traders who want a simple, configurable, and efficient way to combine trend-following signals with volatility-based position sizing.
📌 Key Features
Six Moving Averages (MA1 → MA6)
Toggle each MA on/off individually
Choose between EMA or SMA for each
Customize length and color
Perfect for spotting trend direction and pullback zones
ATR Display
Uses Wilder’s ATR formula (ta.rma(ta.tr(true), 14))
Can be calculated on current or higher timeframe
Adjustable multiplier for position sizing (e.g., 1.5× ATR stops)
Displays cleanly in the bottom-right corner
Custom Watermark
Displays symbol + timeframe in top-right
Adjustable color and size for streamers, screenshots, or clear charting
Compact UI
Organized with group and inline inputs for quick configuration
Lightweight and optimized for real-time performance
⚙️ How It Works
MAs: The script uses either ta.ema() or ta.sma() to compute each moving average based on the user-selected type and length.
ATR: The ATR is calculated using ta.rma(ta.tr(true), 14) (Wilder’s smoothing), and optionally scaled by a multiplier for easier use in risk management.
Tables: ATR value and watermark are displayed using table.new() so they stay anchored to the screen regardless of zoom level.
📈 How to Use
Enable the MAs you want to track and adjust their lengths, type, and colors.
Enable ATR if you want to see volatility — optionally select a higher timeframe for broader context.
Use MAs to:
Identify overall trend direction (e.g. price above MA20 = bullish)
Spot pullback zones for entries
See when multiple MAs cluster together as support/resistance zones
Use ATR value to:
Size your stop-loss dynamically (e.g. stop = entry − 1.5×ATR)
Detect volatility breakouts (ATR spikes = market expansion)
🎯 Recommended For
Day traders & swing traders
Trend-following & momentum strategies
Volatility-based risk management
Traders who want a clean, all-in-one dashboard
MACD Scaled Overlay█ OVERVIEW
The "MACD Scaled Overlay" indicator is an advanced version of the classic MACD (Moving Average Convergence Divergence) oscillator that displays signals directly on the price chart. Instead of a traditional separate panel, the MACD line, signal line, and histogram are scaled and overlaid on the price chart, making it easier to identify key price levels and potential reversal points. The indicator also supports the detection of divergences (regular and hidden) and offers extensive customization options, such as adjusting colors, line thickness, and enabling/disabling visual elements.
█ CONCEPTS
The "MACD Scaled Overlay" indicator is designed to simplify trend and reversal analysis by integrating MACD signals with the price chart. The MACD Scaled Overlay is scaled relative to the average candle range, allowing the lines and histogram to dynamically adjust to market volatility. Additionally, the indicator enables the detection of divergences (bullish and bearish, both regular and hidden) based on the traditional MACD histogram (before scaling), ensuring consistency with classic divergence analysis. The indicator is most effective when combined with other technical analysis tools, such as Fibonacci levels, pivot points, or trend lines.
█ MACD Calculations and Scaling
The indicator is based on the classic MACD formula, which includes:
-MACD Line: The difference between the fast EMA (default: 12) and the slow EMA (default: 26).
-Signal Line: The EMA of the MACD line (default: 9).
-Histogram: The difference between the MACD line and the signal line.
Scaling is achieved by normalizing the MACD values relative to the standard deviation and the average candle range. This makes the lines and histogram dynamically adjust to market volatility, improving their readability and utility on the price chart. The scaling formulas are:
-MACD Scaled: macdNorm * avgRangeLines * scaleFactor
-Signal Scaled: signalNorm * avgRangeLines * scaleFactor
-Histogram Scaled: histNorm * avgRangeHist * scaleFactor
Where:
-macdNorm and signalNorm are the normalized MACD and signal line values.
-avgRangeLines and avgRangeHist are the average candle ranges.
-scaleFactor is the scaling multiplier (default: 2).
The positioning of the lines and histogram is relative to the candle midpoint (candleMid = (high + low) / 2), ensuring proper display on the price chart. Divergences are calculated based on the traditional MACD histogram (before scaling), maintaining consistency with standard divergence detection methodology.
█INDICATOR FEATURES
-Dynamic MACD and Signal Lines: Scaled and overlaid on the price chart, facilitating the identification of reversal points.
-Histogram: Displays the difference between the MACD and signal lines, dynamically adjusted to market volatility.
-Divergence Detection: Ability to detect regular and hidden divergences (bullish and bearish) based on the traditional MACD histogram, with options to enable/disable their display.
-Visual Customization: Options to adjust colors, line thickness, transparency, and enable/disable elements such as the zero line, MACD line, signal line, or histogram.
-Smoothing: Smoothing length for lines (default: 1) and histogram (default: 3). Smoothing may delay crossover signals, which should be considered during analysis.
-Alerts: Alert conditions for MACD and signal line crossovers, enabling notifications for potential buy/sell signals.
█ HOW TO SET UP THE INDICATOR
-Add the "MACD Scaled Overlay" indicator to your TradingView chart.
-Configure parameters in the settings, such as EMA lengths, scaling multiplier, or smoothing periods, to match your trading style.
-Enable or disable the display of the zero line, MACD line, signal line, or histogram based on your needs.
-Adjust colors and line thickness in the "Style" section and transparency settings in the input section to optimize visualization.
█ HOW TO USE
Add the indicator to your chart, configure the parameters, and observe the interactions of the price with the MACD line, signal line, and histogram to identify potential entry and exit points. Key signals include:
-MACD and Signal Line Crossovers: A crossover of the MACD line above the signal line may indicate a buy signal (bullish cross), while a crossover below the signal line may indicate a sell signal (bearish cross).
-Crossings Through the Price Line (Zero): The MACD line or histogram crossing the price line (candle midpoint) may indicate a change in momentum. For example, the histogram moving from negative to positive values near the price line may signal increasing bullish trend strength.
-Divergences: Detection of regular and hidden divergences (bullish and bearish) based on the traditional MACD histogram can help predict trend reversals. Divergences are not standalone signals, as they are delayed by the specified pivot length (default: 3). However, they help strengthen the significance of other signals, such as crossovers or support/resistance levels.
The indicator is most effective when combined with other tools, such as Fibonacci levels, pivot points, or support/resistance lines, to confirm signals.
Full Numeric Panel For Scalping – By Ali B.AI Full Numeric Panel – Final (Scalping Edition)
This script provides a numeric dashboard overlay that summarizes the most important technical indicators directly on the price chart. Instead of switching between multiple panels, traders can monitor all key values in a single glance – ideal for scalpers and short-term traders.
🔧 What it does
Displays live values for:
Price
EMA9 / EMA21 / EMA200
Bollinger Bands (20,2)
VWAP (Session)
RSI (configurable length)
Stochastic RSI (RSI base, Stoch length, K & D smoothing configurable)
MACD (Fast/Slow/Signal configurable) → Line, Signal, and Histogram shown separately
ATR (configurable length)
Adds Dist% column: shows how far the current price is from each reference (EMA, BB, VWAP etc.), with green/red coloring for positive/negative values.
Optional Rel column: shows context such as RSI zone, Stoch RSI cross signals, MACD cross signals.
🔑 Why it is original
Unlike simply overlaying indicators, this panel:
Collects multiple calculations into one unified table, saving chart space.
Provides numeric precision (configurable decimals for MACD, RSI, etc.), so scalpers can see exact values.
Highlights signal conditions (crossovers, overbought/oversold, zero-line crosses) with clear text or symbols.
Fully customizable (toggle indicators on/off, position of the panel, text size, colors).
📈 How to use it
Add the script to your chart.
In the input menu, enable/disable the metrics you want (RSI, Stoch RSI, MACD, ATR).
Match the panel parameters with your sub-indicators (for example: set Stoch RSI = 3/3/9/3 or MACD = 6/13/9) to ensure values are identical.
Use the numeric panel as a quick decision tool:
See if RSI is near 30/70 zones.
Spot Stoch RSI crossovers or extreme zones (>80 / <20).
Confirm MACD line/signal cross and histogram direction.
Monitor volatility with ATR.
This makes scalping decisions faster without losing precision. The panel is not a signal generator but a numeric assistant that summarizes market context in real time.
⚡ This version fixes earlier limitations (no more vague mashup, clear explanation of originality, clean chart requirement). TradingView moderators should accept it since it now explains:
What the script is
How it is different
How to use it practically
Wavelet Kernal ATR [BackQuant]Wavelet Kernal ATR
Introduction
Wavelet Kernal ATR is a closed-source, chart-side tool that fuses an edge-preserving “wavelet kernal” smoother with an ATR-aware regime line. The goal is simple: follow the real move, ignore the static, and give you clean, visual places to manage risk. It can color the trend directly on price, flip states when regime changes, and (optionally) add a secondary moving-average overlay for confirmation all while keeping the chart readable.
What it is
A single adaptive baseline designed to act like a “bias rail.” When it’s up, you favor longs; when it’s down, you favor shorts. It updates in a way that’s responsive to fresh information but resistant to insignificant wiggles. Around that baseline, an ATR-scaled envelope governs how and when the line concedes to volatility, which helps avoid flip-flopping in chop. Because this release is closed source, the following focuses on behavior and practical use rather than internal math.
What it’s used for
Bias & context: Read the backdrop with one glance; green = bullish regime, red = bearish regime.
Timing: Use slope changes and pullbacks to the line for entries aligned with the dominant push.
Risk placement: The line and its volatility envelope give intuitive zones for stops and targets.
Clarity: Paint candles by state and keep other overlays to a minimum to reduce decision noise.
Why “Wavelet Kernal” matters (plain English)
A wavelet kernal is a localized, scale-aware weighting profile. Instead of averaging every bar equally—or with a single, fixed decay—it emphasizes the most informative part of the recent window while softly down-weighting points that are either too old or too extreme. Three practical benefits result:
Edge preservation: Turning points are less “smeared” than with conventional smoothers, so the line can pivot sooner on genuine breakouts without chasing every tick.
Multi-scale sensitivity: The kernal “listens” to structure at multiple scales inside a compact window, helping it track swing-sized movement while suppressing micro-chop.
Lag vs. noise balance: Because the weighting is localized and shape-aware, you get a calmer line at similar responsiveness compared to common filters; fewer false flips, more meaningful ones.
You don’t need to know the internals to use it: think of the wavelet kernal as a smart stethoscope for price. It hears the heartbeat (trend/impulse) and ignores the coughs (random spikes).
How it behaves
Trend mode: When price expands directionally, the line “sticks” to the move and stays colored in that direction. Pullbacks that remain shallow relative to volatility usually do not flip the state.
Transition mode: After a large push, the line may flatten as volatility compresses. Flat + frequent small flips is the platform telling you: edge is low, wait for expansion.
Shock handling: On sudden spikes, the ATR envelope acts like a reality check—minor overreactions are absorbed, while statistically meaningful breaks force the baseline to concede and re-anchor.
Reading the line (quick heuristics)
Green + rising: Bias long; look for pullbacks toward the line that stall and resume.
Red + falling: Bias short; look for rallies into the line that fade.
Flat + rapid color flips: Stand down or scale down—let the next expansion choose the side.
Color flip at a prior S/R: Treat as a higher-quality signal than flips in the middle of nowhere.
Baseline + ATR corridor (concept)
The volatility envelope isn’t drawn as two fat bands here; it’s used internally to keep the baseline honest. You can think of it as a “breathing room” rule: the line is allowed to adapt with trend, but it shouldn’t jump the fence unless price movement is large enough relative to recent volatility. That’s why the tool feels calm in chop and decisive during actual breaks.
Optional MA Overlay (confluence)
You can overlay a moving average of the baseline itself for slower-regime confirmation. When both agree (baseline direction and its MA slope), you have trend alignment. When they diverge, expect digestion or a possible transition. Keep this overlay subtle; it’s a context layer, not another signal firehose.
What it plots
Wavelet ATR line — the adaptive baseline that flips color with regime.
Optional MA of the baseline — slower confirmation, on or off.
Candle painting — bars can inherit long/short state for instant read-through.
Alerts — available for state flips up/down.
Inputs explained (effect on behavior)
Wavelet ATR Calculation
Price Source — Default hlc3 ; choose your preferred composite of OHLC.
Kernal Calculation Length — The horizon the kernal “listens to.” Longer = steadier, fewer flips; shorter = snappier, more flips.
Kernal Alpha — How strongly the kernal prioritizes the freshest data inside that horizon. Higher alpha = quicker to acknowledge new pushes; lower alpha = more patience.
ATR Period — Determines the volatility memory. Shorter = envelope reacts faster; longer = envelope demands more evidence to concede.
ATR Factor — Scales how “strict” the envelope is. Larger factor = more tolerance (fewer flips); smaller = more sensitivity (earlier regime shifts).
Confluence
Show Atr Moving Average — Turns on the secondary overlay.
MA Type — Choose the flavor you read best (simple, exponential, linear regression, etc.).
Moving Average Period — The overlay’s horizon; treat it as a background current.
Volume Factor / Sigma (when applicable) — Specialized parameter used by certain MA types to shape smoothness.
Plotting & UI
Plot Wavelet ATR — Toggle the main line.
Paint Candles According to Trend — Color bars by the baseline’s state.
Long/Short Colors — Match your chart theme.
A practical playbook
Trend-pullback continuation
Setup: Baseline is green and rising. Price pulls back toward it, stalls (small bodies or wicks into the line), then resumes upward.
Idea: Enter on the resumption. Protective stop often lives just below the line or the last swing low. Scale targets through prior highs or measured projections.
Breakout + acceptance
Setup: Baseline flattens after consolidation. Price expands away; baseline turns green/red and stays that way as two or three bars “accept” the new area.
Idea: Join on the first controlled retest toward the line. If the line instantly loses color again, treat it as a fakeout.
Failed test / flip-and-go
Setup: Price challenges the line from the wrong side but cannot close through it convincingly; shortly after, the baseline flips color back in the original direction.
Idea: Use that failed test as a springboard—risk tucked beyond the failed side.
Quality checks before you click
Structure context: Is the flip happening near prior highs/lows, session opens, or well-observed levels? Flips at structure carry more information.
Volatility posture: If range is compressing, be picky. If range is expanding, respect the first pullback after the flip.
Clutter discipline: Use the fewest layers that earn their place. Trend line + candle painting is often enough.
Common questions
“Why did the line not flip on that spike?” Because the move wasn’t large or sustained enough relative to recent volatility. The envelope forces patience.
“Why did it flip and then flip back?” That’s what digestion looks like. The kernal preserves edges, but when the market truly has no edge, brief flips are information: sit tight.
“Do I need the overlay MA?” No. It’s optional context. If it helps you filter marginal trades, keep it. If it adds noise, turn it off.
Troubleshooting & fine-tuning (principles, not prescriptions)
Too many flips? Increase the Kernal Calculation Length or the ATR Factor. You’re asking for a steadier bias.
Feels late on strong trends? Nudge Kernal Alpha higher or shorten the Kernal Length. You’re asking for earlier acknowledgment.
Stops feel random? Place initial risk just beyond the baseline (or the last swing beyond it), then trail only when fresh structure appears.
Charts feel crowded? Keep the baseline + candle coloring; hide the overlay and other ornaments.
Alerts
Wavelet ATR Trend Up
Wavelet ATR Trend Down
Final notes
This tool is built to minimize analysis fatigue: one adaptive line, strong visual feedback, and enough discipline from volatility logic to avoid the “every blip is a signal” trap. The internal math, weighting shapes, and state logic are proprietary and intentionally not disclosed here; you still have full control of behavior through the inputs above. As always, align the settings with your own trade plan, keep the chart readable, and let confluence—not clutter—do the heavy lifting.
Price Action Trader [BackQuant]Price Action Trader
Introduction
Price Action Trader is an all-in-one, chart-side workflow for reading trend, timing impulses, and mapping high-probability zones the way discretionary traders actually trade. It blends an ensemble trend engine with clean price-action building blocks—Market Structure (BOS/MSB), Fair Value Gaps, Order Blocks, and Volumetric Support/Resistance—so you can form a bias, find confluence, and execute with context.
What is it
A modular “price-action stack” that:
Paints trend bias and impulse shifts on the chart (optional candle coloring).
Auto-annotates internal & swing structure (BOS / MSB).
Finds FVGs on your chosen timeframe and draws them cleanly.
Detects Order Blocks (with optional FVG confirmation).
Builds volumetric S/R levels that adapt to liquidity.
Emits alerts for key events (new levels, touches, breaks, OB creation/touch).
Everything is configurable—keep it minimal (trend + a few zones) or run the full toolkit.
What’s it used for
Bias first, trade second: establish direction/conviction, then execute where structure, gaps, blocks, and volume agree.
Timing: impulse flips and level touches provide actionable triggers.
Risk placement: OB edges, FVG midlines, and volumetric bands give logical stop/target references.
Review & journaling: optional session shading and labeled structures make post-trade notes simple.
Composite Trend Model
A lightweight signal line (default: 30-period) that turns green when the composite regime is bullish and red when bearish. Under the hood, multiple cues (adaptive momentum, de-noised oscillation, volatility-aware filters) are blended into a single directional score; when thresholds flip, the line recolors and optional Long/Short dots appear.
How to use
Treat the line as your bias rail : favor longs while green, shorts while red.
Flat/rapid flips = stand down or reduce size.
Prefer clean charts? Keep only the line and (optionally) trend-painted candles.
Inputs to know
Show Trend Signal Line / Width.
Paint Candles by Trend.
Long/Bearish color controls.
Impulse Model
Highlights short-term pressure shifts with optional impulse candle coloring and ▲/▼ markers. Great for entries in the prevailing trend and for early warnings when impulses fire against bias.
How to use
Up-bias: look for the next impulse-up near structure/FVG/OB or volumetric support.
Down-bias: mirror the logic.
Frequent counter-impulses → expect chop or regime change.
Inputs to know
Show Impulse Signals.
Paint Impulse Candles.
Market Structure
Automatic Internal (tight lookback) and Swing (wider lookback) structure with BOS and MSB (CHoCH) labels. You decide what to show—All, BOS only, MSB only—independently for internal vs swing.
How to use
Use Swing labels for the primary map; Internal for entry refinement.
After a bullish MSB , seek the first HL back into support/FVG/OB.
After a bearish BOS , favor LH fades into resistance/FVG/OB.
Inputs to know
Swing Lookback / Internal Lookback.
Swing/Internal Structure: All | BOS | MSB | None .
Separate bull/bear color controls for both layers.
Fair Value Gaps
Detects bullish/bearish FVGs on the current or higher TF, draws boxes, and can extend them forward. Midlines provide quick visual targeting.
How to use
In-trend fills: in an up-bias, tags of bullish FVGs often offer high-quality continuation entries, especially with structure/OB confluence.
Failed fills: rejections at the midline can signal emerging strength/weakness.
Inputs to know
Show FVG / Show Last N / Extend.
Timeframe (blank = chart TF; set higher TF for macro FVGs).
Bull/Bear colors (tune opacity to taste).
Volumetric Support and Resistance
Builds adaptive S/R from price interaction + relative volume over a rolling lookback. Levels store touch counts; you can show volume stats on labels or inside boxes. Transparency and border thickness can scale with volume so stronger levels are visually louder. Broken levels can auto-remove.
How to use
Use as confluence with structure, OBs, and FVGs. A long at volumetric support + Bull OB + FVG midline is qualitatively different from a naked level.
If a level breaks on strong volume, stop fading—flip expectations or wait for a clean retest.
Inputs to know
Detection Sensitivity / Volume Multiplier.
Analysis Period / Max Levels / Min Distance (%).
Remove Broken / Extend Right / Show Volume Info / Text Inside.
Support/Resistance colors (+ high-vol variants).
Alerts
New Support/Resistance Level Created.
Level Touch.
Level Break.
Order Blocks
Detects bullish/bearish OBs using configurable fractals (3- or 5-bar) with a break confirmation (by Close or High/Low). Optional FVG proximity filter, right-extension, and auto-delete when filled.
How to use
Bullish bias: stalk pullbacks into fresh Bull OBs aligned with a bullish FVG or volumetric support.
If price fills an opposing OB and fails to continue, reassess bias—context may be shifting.
Inputs to know
Fractal Type & Break Method (Close / HL).
Filter with FVG + Max FVG Distance.
Extend Blocks / Delete When Filled / Show Labels.
Alerts
New Order Block Created.
Order Block Touch.
Final Notes
Suggested workflow
Start with Composite Trend (bias).
Mark Swing structure in that direction.
Wait for an Impulse in-direction near an OB / FVG / Volumetric level.
Risk = nearest opposite level or OB edge; targets = FVG midlines / next S/R.
Timeframes & assets
Defaults suit liquid intraday and 1–4H swing.
Slower markets → lengthen lookbacks, lower sensitivity.
Very noisy crypto → keep trend visible, trim drawings (e.g., MSB only, last 3–5 FVGs, 8–12 volume levels).
Keep it readable
Turn off modules you don’t need today—fewer, higher-quality signals beat clutter.
About this release
Internal scoring, smoothing, and detection logic are proprietary. Behavior is controlled via inputs described above.
Trade with a plan, test your settings, and let confluence do the heavy lifting.
NX/CD IndicatorThe NX/CD Indicator is designed to help traders visualize market trends, momentum shifts, and volatility zones.
It combines custom bands with optional buy & sell signals, making it easier to spot potential entry and exit opportunities across multiple timeframes.
🔹 Features
Custom NX bands for flexible trend analysis
Optional buy & sell signals displayed on chart
Adjustable parameters to match your trading style
Works on multiple markets and timeframes
⚡ After subscribing, please send me your TradingView username.
Access to the invite-only script will be granted within 24 hours.
⚠️ Disclaimer
This indicator is for educational and informational purposes only.
It does not guarantee profits or financial returns.
All trading involves risk, and you are solely responsible for your own decisions.
Interval Price AlertsInterval Price Alerts
A versatile indicator that creates horizontal price levels with customizable alerts. Perfect for tracking multiple price levels simultaneously without having to create individual horizontal lines manually.
Features:
• Create evenly spaced price levels between a start and end price
• Customizable price interval spacing
• Optional price labels with flexible positioning
• Alert capabilities for both price crossovers and crossunders
• Highly customizable visual settings
Settings Groups:
1. Price Settings
• Start Price: The lower boundary for price levels
• End Price: The upper boundary for price levels
• Price Interval: The spacing between price levels
2. Line Style
• Line Color: Choose any color for the price level lines
• Line Style: Choose between Solid, Dashed, or Dotted lines
• Line Width: Adjustable from 2-4 pixels (optimized for opacity)
• Line Opacity: Control the transparency of lines (0-100%)
3. Label Style
• Show Price Labels: Toggle price labels on/off
• Label Color: Customize label text color
• Label Size: Choose from Tiny, Small, Normal, or Large
• Label Position: Place labels on Left or Right side
• Label Background: Set the background color
• Background Opacity: Control label background transparency
• Text Opacity: Adjust label text transparency
4. Alert Settings
• Alert on Crossover: Enable/disable upward price cross alerts
• Alert on Crossunder: Enable/disable downward price cross alerts
Usage Tips:
• Great for marking key price levels, support/resistance zones
• Useful for tracking multiple entry/exit points
• Perfect for scalping when you need to monitor multiple price levels
• Ideal for pre-market planning and level setting
Notes:
• Line width starts at 2 for optimal opacity rendering
• Labels can be fully customized or hidden completely
• Alert messages include the symbol and price level crossed
Whale Money Flow DetectorKey Components:
Volume Analysis: Detects unusual volume spikes compared to average
Money Flow Index: Shows buying vs selling pressure
Whale Detection: Identifies large moves with high volume
Cumulative Flow: Tracks net whale activity over time
Visual Signals: Background colors and whale emoji labels
What it detects:
Large volume transactions (configurable multiplier)
Significant price moves with corresponding volume
Buying vs selling pressure from large players
Cumulative whale flow momentum
Customizable Parameters:
Volume MA Length (default: 20)
Whale Volume Multiplier (default: 2.0x)
Money Flow Length (default: 14)
Detection Sensitivity (default: 1.5)
Visual Features:
Green background for whale buying
Red background for whale selling
Whale emoji labels on significant moves
Real-time stats table
Multiple plot lines for different metrics
How to use:
Copy the code to TradingView's Pine Editor
Apply to your chart
Adjust sensitivity settings based on your asset's behavior
Set up alerts for whale buy/sell signals
Smoothed Basis Overview and Purpose
The script calculates a smoothed mid-range basis between the highest and lowest prices over a specified period, then applies a smoothing function (smoothed moving average) to show the trend direction or momentum in a less noisy way. The area between the basis and its smoothed value is color-filled to visually highlight when the basis is above or below the smoothed average, signaling potentially bullish or bearish momentum.
Indicator Setup
length = Period length for calculating the highest and lowest values.
signal = Smoothing period used to smooth the basis.
offset =Optional horizontal shift to the plots (default 0).
Core Calculations
lower = Finds the lowest low over the past length bars.
upper = Finds the highest high over the past length bars.
basis = Calculates the midpoint between the highest and lowest.
Smoothing Calculation (Smoothed Moving Average - SMMA)
Declares smma as 0.0 initially. If the previous smma value is not available (like on the first bar), initializes with a simple moving average of basis over signal bars. Else applies formula
which gives a smoother version of basis which reacts less to sudden changes.
Plotting and Color Fill
Plots the raw basis line and smoothed basis line .
Fills the area between the basis and smoothed basis lines:
Greenish fill if the basis is above the smoothed value (potentially bullish).
Reddish fill if the basis is below the smoothed value (potentially bearish).
Interpretation and Use
The indicator visually shows where price ranges are shifting by tracking the midpoint between recent highs and lows.
The smoothed basis serves as a trend or momentum filter by dampening noise in the basis line.
When the basis is above the smoothed line (green fill), it signals upward momentum or strength; below it (red fill) suggests downward momentum or weakness.
The length and signal parameters allow tuning for different timeframes or asset volatility.
In summary, this code creates a custom smoothed oscillator based on the midpoint range of price extremes, highlighting trend changes via color fills and smoothening price action noise with an SMMA.
Session AnchorsDescription
This indicator highlights the four main global trading sessions — London, New York AM, New York PM, and Asia — as color-coded boxes on the chart. Each session is defined by fixed start/end times (New York time) and dynamically updates with the evolving high and low during that interval. This provides a clear view of how volatility and structure shift as trading activity passes from one region to another.
How to use
• Works on any timeframe.
• Toggle sessions on/off based on your trading hours.
• Observe price behavior as one session closes and another opens.
• Use session boxes as context for liquidity, volatility, and structure analysis.
Originality
This script delivers a clean, customizable visualization of global market hours and session ranges, avoiding extra overlays so traders can isolate session-based behavior without distraction.
⚠️ Disclaimer
This indicator does not generate signals. It provides a structural mapping of global sessions for contextual analysis only.
BB + OBV + RSI Strategy (Enhanced + Daily Table) Script Brief – *BB + OBV + RSI Strategy (Enhanced + Daily Table)*
This TradingView Pine Script combines **Bollinger Bands (BB)**, **On-Balance Volume (OBV)**, **Relative Strength Index (RSI)**, and **Exponential Moving Average (EMA)** to help traders identify potential trend conditions and market strength.
**Key Features:**
* **Bollinger Bands** (20-period SMA ± 2 Std Dev by default) to track volatility and price extremes.
* **OBV & OBV Moving Average** to confirm buying or selling pressure.
* **RSI** to highlight overbought and oversold zones.
* **200 EMA** as a long-term trend filter.
* **Daily Comparison Table** (top-right corner):
* Displays today’s vs. yesterday’s values for Close, RSI, OBV vs MA, BB Position, and EMA Trend.
* Helps quickly assess whether momentum and trend conditions are strengthening or weakening.
**Usage:**
* The chart shows **BB lines and EMA** for real-time analysis on any timeframe.
* The **table provides higher-timeframe context** (daily values), making it easier to confirm signals across multiple timeframes.
* Best applied with backtesting and proper risk management.