Advanced Trend & Volatility Indicator (VWAP & EMA360)Bollinger band with adjustable NO TRADE tool. green buy and red sell signals for 20 moving average added 360 moving average for micro trading. Has VWAP and additional EMA defaulted to 9 (adjust to your style). For confluence use this along with an RSI over bought and over sold WMA with similar green buy and red sell signals.
Biến động
Vol ForecastEGARCHVol ForecastEGARCH – Volatility Forecast Tool
Measuring volatility means not only predicting direction but also understanding the magnitude of risk. Vol ForecastEGARCH brings advanced GARCH-based models into TradingView, projecting volatility directly onto your chart.
Features
Model Selection: GARCH(1,1), EGARCH(1,1), GJR(1,1)
Dynamic Recalibration: Parameters recalibrated every 50 bars.
Z-Score Flexibility: Default Z=1.28 (~80% confidence) adjustable by user.
Multiple Horizons: 6, 12, 48, and 96 bars ahead forecasts.
Visualization: Upper/lower bands plotted with dynamic colors.
Mini Panel: Displays α, β, γ/ω parameters and 1-step volatility %.
Who Is It For?
Short-term traders: Define stop-loss / take-profit levels on a statistical basis.
Portfolio managers: Integrate volatility-based risk assessment into allocation decisions.
Technical analysts: Align momentum and price action with volatility dynamics.
Especially valuable for high-volatility markets like Borsa Istanbul, where understanding risk intensity is as critical as direction.
Dynamic Stop Loss Optimizer [BackQuant]Dynamic Stop Loss Optimizer
Overview
Stop placement decides expectancy. This tool gives you three professional-grade, adaptive stop engines, ATR, Volatility, and Hybrid. So your exits scale with current conditions instead of guessing fixed ticks. It trails intelligently, redraws as the market evolves, and annotates the chart with clean labels/lines and a compact stats table. Pick the engine that fits the trade, or switch on the fly.
What it does
Calculates three adaptive stops in real time (ATR-based, Volatility-based, and Hybrid) and keeps them trailed as price makes progress.
Shows exactly where your risk lives with on-chart levels, color-coded markers (long/short), and precise “Risk %” labels at the current bar.
Surfaces context you actually use - current ATR, daily volatility, selected method, and the live stop level—in a tidy, movable table.
Fires alerts on stop hits so you can automate exits or journal outcomes without staring at the screen.
Why it matters
Adaptive risk control: Stops expand in fast tape and tighten in quiet tape. You’re not punished for volatility; you’re aligned with it.
Consistency across assets: The same playbook works whether you’re trading indexes, FX, crypto, or equities, because the engine normalizes to each symbol’s behavior.
Cleaner decision-making: One chart shows your entry idea and its invalidation in the same breath. If price trespasses, you know it instantly.
The three methods (choose your engine)
1) ATR Based “Structure-aware” distance
This classic approach keys off Average True Range to set a stop just beyond typical bar-to-bar excursion. It adapts smoothly to changing ranges and respects swing structure.
Use when: you want a steady, intuitive buffer that tracks trend legs without hugging price.
See it in action:
2) Volatility Based “Behavior-aware” distance
This engine derives stop distance from current return volatility (annualized, then scaled back down to the session). It reacts to regime shifts quickly and normalizes risk across symbols with very different prices.
Use when: you want the stop to breathe with realized volatility and respond faster to heat-ups/cool-downs.
See it in action:
3) Hybrid “Best of both worlds”
The Hybrid blends the ATR and Volatility distances into one consensus level, then trails it intelligently. You get the structural common sense of ATR and the regime sensitivity of Vol.
Use when: you want robust, all-weather behavior without micromanaging inputs.
See it in action:
How it trails
Longs: The stop ratchets up with favorable movement and holds its ground on shallow pullbacks. If price closes back into the risk zone, the level refreshes to the newest valid distance.
Shorts: Mirror logic ratchets down with trend, resists noise, and refreshes if price reclaims the zone.
Hybrid trailing: Uses the blended distance and the same “no give-backs” principle to keep gains protected as structure builds.
Reading the chart
Markers: Circles = ATR stops, Crosses = Vol stops, Diamonds = Hybrid. Colors indicate long (red level under price) vs short (green level above price).
Lines: The latest active stop is extended with a dashed line so you can see it at a glance.
Labels: “Long SL / Short SL” shows the exact price and current risk % from the last close no math required.
Table: ATR value, Daily Vol %, your chosen Method, the Current SL, and Risk %—all in one compact block that you can pin top-left/right/center.
Quick workflow
Define the idea: Long or Short, and which engine fits the tape (ATR, Vol, or Hybrid).
Place and trail: Let the optimizer print the level; trail automatically as the move develops.
Manage outcomes: If the line is tagged, you’re out clean. If it holds, you’ve contained heat while giving the trade room to work.
Inputs you’ll actually touch
Calculation Settings
ATR Length / Multiplier: Controls the “structural” cushion.
Volatility Length / Multiplier: Controls the “behavioral” cushion.
Trading Days: 252 or 365 to keep the volatility math aligned with the asset’s trading calendar.
Stop Loss Method
ATR Based | Volatility Based | Hybrid : Switch engines instantly to fit the trade.
Position Type
Long | Short | Both : Show only what you need for the current strategy.
Visual Settings
Show ATR / Vol / Hybrid Stops: Toggle families on/off.
Show Labels: Print price + Risk % at the live stop.
Table Position: Park the metrics where you like.
Coloring
Long/Short/Hybrid colors: Set a palette that matches your theme and stands out on your background.
Practical patterns to watch
Trend-pullback continuation: The stop ratchets behind higher lows (long) or lower highs (short). If price tests the level and rejects, that’s your risk-defined continuation cue.
Break-and-run: After a clean break, the Hybrid will usually sit slightly wider than pure Vol, use it to avoid getting shaken on the first retest.
Range compression: When the ATR and Vol distances converge, the table will show small Risk %. That’s your green light to size up with the same dollar risk, or keep it conservative if you expect expansion.
Alerts
Long Stop Loss Hit : Notifies when price crosses below the live long stop.
Short Stop Loss Hit : Notifies when price crosses above the live short stop.
Why this feels “set-and-serious”
You get a single look that answers three questions in real time: “Where’s my line in the sand?”, “How much heat am I taking right now?”, and “Is this distance appropriate for current conditions?” With ATR, Vol, and Hybrid in one tool, you can run the exact same playbook across symbols and regimes while keeping your chart clean and your risk explicit.
SMR - Simple Market Recap📊 Simple Market Recap (SMR)
🎯 A comprehensive market overview tool displaying price changes, percentage movements, and status indicators for multiple financial instruments across customizable timeframes with intelligent data synchronization.
━━━━━━━━━━━━━━
📋 OVERVIEW
The Simple Market Recap indicator provides a professional market analysis dashboard that displays key performance metrics for major financial instruments. This educational tool features intelligent asset selection, automatic dark mode detection, comprehensive period analysis with bilingual support, and advanced data synchronization ensuring accurate price data regardless of the current chart symbol.
Perfect for:
Market overview analysis and educational study
Multi-asset performance comparison and research
Weekly, daily, and monthly market recap visualization
Educational purposes and market trend analysis
━━━━━━━━━━━━━━
🚀 KEY FEATURES & ENHANCEMENTS
🌙 Intelligent Dark Mode Detection
Automatic chart background color analysis and adaptation
Dynamic color scheme adjustment for optimal visibility
Enhanced contrast ratios for both light and dark themes
Professional appearance across all chart backgrounds
📊 Comprehensive Asset Coverage
Major Forex Pairs: EURUSD, GBPUSD, AUDUSD, NZDUSD, USDCHF, USDJPY, USDCAD
Indices & Dollar: DXY (US Dollar Index), SPX (S&P 500)
Commodities: XAUUSD (Gold), USOIL (Crude Oil)
Bonds: US10Y (10-Year Treasury)
Cryptocurrencies: BTCUSDT, ETHUSDT
Selective asset display with individual on/off controls
Fixed asset order: DXY, EURUSD, GBPUSD, AUDUSD, NZDUSD, USDCHF, USDCAD, USDJPY, XAUUSD, USOIL, SPX, US10Y, ETHUSDT, BTCUSDT
⏰ Flexible Timeframe Analysis
Multiple Periods: Daily (1D), Weekly (1W), Monthly (1M)
Time Selection: Current Period or Previous Period analysis
Dynamic Titles: Automatic report naming with dates and periods
Historical Comparison: Compare current vs previous period performance
📈 Enhanced Data Visualization
Professional table with adaptive row count based on selected assets
Color-coded price movements: Enhanced green for positive, bright red for negative
Status emojis: ↗️ Up, ↘️ Down, ↔️ Sideways, ❓ No data
Smart price formatting based on asset type and price level
Improved contrast colors for better visibility in all lighting conditions
🔄 Advanced Data Synchronization
Symbol-Independent Accuracy: Correct data display regardless of current chart symbol
Real-Time Security Requests: Direct data fetching from specific instrument sources
Cross-Asset Reliability: Accurate price data for all monitored assets simultaneously
Data Integrity: No cross-contamination between different financial instruments
━━━━━━━━━━━━━━
🎨 PROFESSIONAL TABLE LAYOUT
Adaptive Design Features:
Automatic dark mode detection and color adaptation
Enhanced contrast ratios for better readability
Professional color scheme with clear data separation
Responsive design for all screen sizes and themes
Comprehensive Data Display:
Dynamic Title Row: Period-specific report titles with dates
Asset Column: Selected financial instruments
Open/Close Prices: Period opening and closing values
Change Percentage: Color-coded performance indicators
Pips Movement: Precise pip calculations for each asset
Status Indicators: Visual emoji representations of trend direction
Visual Design Features:
Merged title cells for clean header presentation
Asset-specific price formatting for optimal readability
Color-coded positive/negative movements
Professional table borders and spacing
━━━━━━━━━━━━━━
⚙️ ADVANCED CUSTOMIZATION
Timeframe Controls:
Report Period selection: Daily, Weekly, or Monthly analysis
Time Selection toggle: Current vs Previous period comparison
Dynamic row count based on active asset selection
Automatic title generation with period-specific formatting
Asset Selection:
Individual toggle controls for each supported asset
Major forex pairs with complete coverage
Cryptocurrency and precious metals options
Index and commodity instrument support
Display Options:
9 table positioning options across the entire chart
5 text size levels from Tiny to Huge for optimal visibility
Language selection between English and Vietnamese
Automatic theme adaptation for all chart backgrounds
━━━━━━━━━━━━━━
⚠️ EDUCATIONAL & ANALYTICAL PURPOSE
This indicator is designed exclusively for educational market analysis and research purposes .
📚 Educational Applications:
Understanding multi-asset market performance correlation
Studying period-based price movements and trends
Analyzing market volatility across different timeframes
Learning to read and interpret market recap data
📊 Analysis Capabilities:
Market overview visualization for educational study
Multi-timeframe performance comparison research
Historical period analysis and trend identification
Cross-asset correlation studies and market research
🚨 Important Disclaimer: This tool provides educational market data visualization only and does NOT generate trading signals or investment advice. All data is for learning and analysis purposes. Users must conduct independent research and consult financial professionals before making any investment decisions.
━━━━━━━━━━━━━━
🛠️ SETUP & CONFIGURATION
Quick Start Guide:
Add the indicator to your chart from the indicators library
Select your preferred language (English or Vietnamese)
Choose your desired reporting timeframe (Daily, Weekly, or Monthly)
Select Current Period or Previous Period for analysis
Toggle on/off specific assets you want to monitor
Adjust table position and text size for optimal viewing
Advanced Configuration:
Customize asset selection based on your analysis needs
Configure timeframe settings for different market studies
Set up language preferences for your region
Fine-tune display options for your screen setup
Optimize table positioning for your chart layout
Theme Optimization:
Indicator automatically detects your chart theme
Colors adapt automatically for optimal contrast and readability
No manual adjustments required for theme changes
Professional appearance maintained across all backgrounds
━━━━━━━━━━━━━━
🔧 TECHNICAL SPECIFICATIONS
Performance & Reliability:
Pine Script v6 with optimized data retrieval
Real-time updates with minimal CPU and memory usage
No repainting or lookahead bias in calculations
Stable performance across all timeframes and instruments
Universal Compatibility:
Works with all TradingView chart types and instruments
Compatible with mobile and desktop platforms
Supports all timeframes with period-specific analysis
Cross-platform functionality with consistent behavior
Data Precision:
High-precision floating-point calculations
Asset-specific formatting and pip calculations
Real-time price data from multiple exchanges
Accurate percentage and movement calculations
Advanced Features:
Automatic chart background detection and color adaptation
Dynamic table sizing based on active asset selection
Intelligent price formatting for different asset classes
Professional status indicators with emoji visualization
━━━━━━━━━━━━━━
📋 VERSION HISTORY
v1.7 - Enhanced Data Synchronization & Color Improvements
Fixed critical data synchronization issue - accurate data regardless of current chart symbol
Enhanced data retrieval system with symbol-specific security requests
Improved color scheme: brighter red for negative values, enhanced contrast
Fixed asset order: DXY, EURUSD, GBPUSD, AUDUSD, NZDUSD, USDCHF, USDCAD, USDJPY, XAUUSD, USOIL, SPX, US10Y, ETHUSDT, BTCUSDT
Optimized price formatting with proper decimal display and leading zeros
Enhanced calendar-based time calculations for accurate period reporting
Improved pip calculations for different asset classes
Professional color coding with adaptive contrast for all themes
Previous Versions:
v1.6 - Data accuracy improvements and bug fixes
v1.5 - Enhanced market analysis with flexible timeframes
v1.4 - Professional table layout and bilingual support
Earlier versions - Core market data display functionality development
━━━━━━━━━━━━━━
Author: tohaitrieu
Version: 1.7
Category: Market Analysis / Educational Overview
Language Support: English, Vietnamese
License: Educational Use Only
This indicator is provided exclusively for educational and analytical purposes to help users understand market overview concepts and multi-asset analysis. It features automatic theme adaptation, flexible timeframe analysis, enhanced data synchronization, and comprehensive market data visualization for the most accurate and informative educational experience. It does not provide trading signals or investment advice. Always conduct thorough research and consider professional guidance before making financial decisions.
DashBoard 2.3.1📌 Indicator Name:
DashBoard 2.3 – Smart Visual Market Overlay
📋 Description:
DashBoard 2.3 is a clean, efficient, and highly informative market overlay, designed to give you real-time context directly on your chart — without distractions. Whether you're swing trading or investing long-term, this tool keeps critical market data at your fingertips.
🔍 Key Features:
Symbol + Timeframe + Market Cap
Shows the current ticker and timeframe, optionally with real-time market cap.
ATR 14 with Volatility Signal
Displays ATR with color-coded risk levels:
🟢 Low
🟡 Moderate
🔴 High
⚫️ Extreme
You can choose between Daily ATR or timeframe-based ATR (auto-adjusted to chart resolution).
Adaptive Labeling
The ATR label updates to reflect the resolution:
ATR 14d (daily)
ATR 14W (weekly)
ATR 14H (hourly), etc.
Moving Average Tracker
Instantly shows whether price is above or below your selected moving average (e.g., 150 MA), with green/red indication.
Earnings Countdown
Clearly shows how many days remain until the next earnings report.
Industry & Sector Info (optional)
Useful for thematic or sector-based trading strategies.
Fully Customizable UI
Choose positioning, padding, font size, and which data to show. Designed for minimalism and clarity.
✅ Smart Logic:
Color dots appear only in relevant conditions (e.g., ATR color signals shown only on daily when enabled).
ATR display automatically reflects your time frame, if selected.
Clean chart integration – the overlay sits quietly in a corner, enhancing your analysis without intruding.
🧠 Ideal for:
Swing traders, position traders, and investors who want fast, high-impact insights directly from the chart.
Anyone looking for a compact, beautiful, and informative dashboard while they trade.
EyeOn VolatilityEyeOn Volatility tracks how market volatility affects trading spreads. It adapts dynamically using recent price fluctuations and shows symmetric bid/ask bands around the chart. A live info box displays the current spread in percent, and an optional panel lets you review spread history over time.
RSI/Stochastic with overlays a moving average + Bollinger BandsCompact oscillator panel that lets you switch the base between RSI and Stochastic %K, then overlays a moving average + Bollinger Bands on the oscillator values (not on price) to read momentum strength and squeeze/expansion.
What’s added
Selectable base: RSI ↔ Stochastic %K (plots %D when Stoch is chosen).
MA + BB on oscillator to gauge momentum trend (MA) and volatility (bands).
Adjustable bands 70/50/30 with optional fill, plus optional regular divergence and alerts.
How to read
Bull bias: %K above osc-MA and pushing/closing near Upper BB; confirm with %K > %D.
Bear bias: %K below osc-MA and near Lower BB; confirm with %K < %D.
Squeeze: BB on oscillator tightens → expect momentum breakout.
Overextension: repeated touches of Upper/Lower BB in 70/30 zones → strong trend; watch for %K–%D recross.
Quick settings (start here)
Stoch: 14 / 3 / 3; Bands: 70/50/30.
Osc-MA: EMA 14.
BB on oscillator: StdDev 2.0 (tune 1.5–2.5).
Note
Analysis tool, not financial advice. Backtest across timeframes and use risk management.
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.
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.