TonyUX EMA Scalper - Buy / SellThis is a simple scalping strategy that works for all time frames... I have only tested it on FOREX
It works by checking if the price is currently in an uptrend and if it crosses the 20 EMA.
If it crosses the 20 EMA and its in and uptrend it will post a BUY SIGNAL.
If it crosses the 20 EMA and its in and down it will post a SELL SIGNAL.
The red line is the highest close of the previous 8 bars --- This is resistance
The green line is the lowest close of the previous 8 bars -- This is support
"黄金近20年走势"に関するスクリプトを検索
EMA_ConvergenceFirst I have to give kudos to my son who I asked to take a shot at creating this little indicator. Nice work son!
While trading, one of the things I look for is when price or certain EMA's approach another EMA. The example that I use on this 1 minute SPY chart is an 8 EMA and 20 EMA. I am looking for when the 8 and 20 are within' 3 cents of each other. Many times when they are getting close, price is approaching a top or bottom. I am looking for a candlestick reversal around that area. You may want to know when PRICE is near the 50 EMA: Use EMA 1 and 50 for that. Having it light up on top of the page, or elsewhere, makes it easier to look for the convergence when it occurs. If it lights up for a long period, price may be going sideways. I don't enter into a trade until the EMA starts separating, usually with another candlestick formation.
You are able to change the distance for convergence and two EMA's. Unfortunately you will have to adjust the convergence number up as you increase in time frames. This is designed to see when they are close, not when they cross.
The bars on top of this example are lit up purple due to the 8 and 20 EMA are within' 3 cents of each other.
If you want to overlay the price bars, instead of having it separate, just change overlay to "true"
Enjoy.
Market Regime (w/ Adaptive Thresholds)Logic Behind This Indicator
This indicator identifies market regimes (trending vs. mean-reverting) using adaptive thresholds that adjust to recent market conditions.
Core Components
1. Regime Score Calculation (0-100 scale)
Starts at 50 (neutral) and adjusts based on two factors:
A. Trend Strength
Compares fast EMA (5) vs. slow EMA (10)
If fast > slow by >1% → +60 points (strong uptrend)
If fast < slow by >1% → -60 points (strong downtrend)
B. RSI Momentum
Uses 7-period RSI smoothed with 3-period EMA
RSI > 70 → +20 points (overbought/trending)
RSI < 30 → -20 points (oversold/mean-reverting)
The score is then smoothed and clamped between 0-100.
2. Adaptive Thresholds
Instead of fixed levels, thresholds adjust to recent market behavior:
Looks back 100 bars to find the min/max regime score
High threshold = 80% of the range (trending regime)
Low threshold = 20% of the range (mean-reverting regime)
This prevents false signals in different volatility environments.
3. Regime Classification
Regime Score Classification Meaning
Above high threshold STRONG TREND Market is trending strongly (follow momentum)
Below low threshold STRONG MEAN REVERSION Market is choppy/oversold (fade moves)
Between thresholds NEUTRAL No clear regime (stay out or wait)
4. Regime Persistence Filter
Requires the regime to hold for a minimum number of bars (default: 1) before confirming
Prevents whipsaws from brief score fluctuations
What It Aims to Detect
When to use trend-following strategies (green = buy breakouts, ride momentum)
When to use mean-reversion strategies (red = buy dips, sell rallies)
When to stay out (gray = unclear conditions, high risk of false signals)
Visual Cues
Green background = Strong trend (momentum strategies work)
Red background = Strong mean reversion (contrarian strategies work)
Table = Shows current regime, color, and score
Alerts = Notifies when regime changes
Advanced RSI with Divergence RCT This indicator provides a comprehensive RSI analysis tool by combining the classic Relative Strength Index (RSI) with a smoothing Simple Moving Average (SMA), clearly defined overbought/oversold zones, and an advanced divergence detection engine.
--- Key Features ---
1. RSI with SMA: Plots the standard RSI along with a user-defined SMA of the RSI. This helps to smooth out price action and confirm the underlying trend, identifying potential buy/sell signals on crossovers.
2. Overbought/Oversold Levels: Highlights the extreme zones with dotted horizontal lines at 80 (overbought) and 20 (oversold), providing clear visual cues for potential market reversals.
3. Advanced Divergence Detection: Automatically identifies and plots both regular and hidden divergences (bullish and bearish) directly on the chart. This helps traders spot potential reversals that are not obvious from price action alone.
--- How to Use ---
- Trend Confirmation: When the RSI crosses above its SMA, it can signal a strengthening bullish trend. A cross below can signal a strengthening bearish trend.
- Reversal Zones: When the RSI enters the overbought zone (>80) or oversold zone (<20), traders may watch for a reversal in price.
- Divergence Signals:
- A Bullish Divergence (green label 'R') occurs when the price makes a lower low, but the RSI makes a higher low, suggesting downward momentum is fading.
- A Bearish Divergence (red label 'R') occurs when the price makes a higher high, but the RSI makes a lower high, suggesting upward momentum is fading.
- Hidden Divergences ('H' labels) can indicate the continuation of an existing trend.
--- Disclaimer ---
This script is for informational and educational purposes only. It is not financial advice. Past performance is not indicative of future results. Always do your own research before making any trading decisions.
High Volume Candle Detector by Ravi Shinde📊 High Volume Candle Detector
🎯 Overview
Identify exceptional volume spikes that signal institutional activity, breakouts, and reversals. Detects candles with volume exceeding a customizable threshold (default: 3x average volume over 20 periods).
✨ Key Features
🔧 Customizable Settings
Volume Multiplier (default: 3.0x) - Define your threshold
Average Period (default: 20) - Adapt to any timeframe
Bullish/Bearish Detection - Automatic color coding (green/red)
🎨 Visual Styles
Background - Subtle colored highlighting
Border - Yellow box outline
Shape - Triangle markers with "HV" text
All - Combined display
🔔 Smart Alerts
Bullish High Volume 🟢
Bearish High Volume 🔴
Any High Volume ⚠️
📈 Derivatives Trading Method
High-volume candle highs and lows mark key breakout levels. Break above = Go Long. Break below = Go Short. Trail your stop-loss with a moving average of your choice for optimal risk management. Optimal performance on 15-minute or higher timeframes. Lower timeframes may generate excessive noise.
Digital RPM HUD — 4 Feeds + Confidence + Timeline (v3)🏎️ Digital RPM HUD — 4 Feeds + Confidence + Timeline (v3)
A performance-style trading dashboard for momentum-driven traders.
The Digital RPM HUD gives you an instant visual readout of market “engine speed” — combining four customizable data feeds (Trend, Momentum, Volume, Volatility) into a single confidence score (0–100) and a color-coded timeline of regime changes.
Think of it as a racing-inspired control panel: you only “hit the throttle” when confidence is high and all systems agree.
🔧 Key Features
4 Data Feeds – assign your own logic (EMA, RSI, RVOL, ATR, etc.).
Confidence Meter – blends the four feeds into one smooth 0–100 reading.
Timeline Strip – shows recent bullish / bearish / neutral states at a glance.
Visual Trade Cues – optional on-chart LONG / SHORT / EXIT markers.
Fully Customizable – thresholds, weights, smoothing, colors, layout.
HUD Overlay – clean, minimal, and adjustable to any corner of your chart.
💡 How to Use
Configure each feed to reflect your preferred signals (e.g., trend EMA 200, momentum RSI 14, volume RVOL 20, volatility ATR 14).
Watch the Confidence gauge:
✅ Above Bull Threshold → Market acceleration / long bias.
❌ Below Bear Threshold → Momentum loss / short bias.
⚪ Between thresholds → Neutral zone; stay patient.
Use the Timeline to confirm trend consistency — more green = bullish regime, more red = bearish.
⚙️ Recommended Setups
Scalping: Trend EMA 50 + RSI 7 + RVOL 10 + ATR 7 → Fast response.
Intraday: EMA 200 + RSI 14 + RVOL 20 + ATR 14 → Balanced signal.
Swing: Multi-TF Trend + MACD + RVOL + ATR → Smooth and steady.
⚠️ Disclaimer
This script is not a trading strategy and does not execute trades.
All signals are visual aids — always confirm with your own analysis and risk management.
GR33NGR33N — by TanTechTrades
GR33N is a clean, lightweight confirmation/alert tool that fires only when trend, breakout, and momentum all agree. It combines a Hull Moving Average, a Donchian Trend Ribbon, and ADX/DI into one “all green / all red” signal you can trade or use to filter other systems.
What it does
Trend (Hull MA 55): Detects short-to-medium trend direction. Line turns green when rising, red when falling.
Breakout (Donchian 20): Labels regime as bullish after a close above the prior Donchian high, bearish after a close below the prior Donchian low.
Momentum (ADX/DI 14): Confirms direction with DI+ > DI− for bullish pressure or DI− > DI+ for bearish pressure.
A signal prints only when all three align:
All Green → Hull rising and Donchian bullish and DI+ > DI−
All Red → Hull falling and Donchian bearish and DI− > DI+
The chart shades faintly and plots triangles at bars where the alignment occurs. Built-in alerts let you automate entries or notifications.
Plots & Visuals
Hull MA (color-coded by slope)
Background highlight on qualifying bars
Triangle Up/Down markers at “All Green / All Red” events
Inputs
Source: Price source for Hull (default: close)
Hull Length: Default 55
Donchian Period: Default 20
ADX Length: Default 14
Alerts
All Green Alert: “All indicators are green!”
All Red Alert: “All indicators are red!”
Set alerts on “Once per bar close” for confirmed signals.
How to use
Add GR33N to your chart and keep defaults to start.
Trade with the signal:
Long bias on “All Green”; consider entries on pullbacks or break of signal bar high.
Short bias on “All Red”; consider entries on pullbacks or break of signal bar low.
Risk manage with your own SL/TP (e.g., beyond recent swing or ATR).
Optional: Use GR33N as a filter—only take strategy entries in the direction of the latest signal.
Tips
Shorter Donchian or Hull = more signals, more noise. Longer = fewer, more selective.
Works well on intraday FX, indices, and crypto; always validate per symbol/timeframe.
Pair with structure levels, session filters, or volume for higher quality setups.
Notes
This is an indicator/alert tool, not a strategy. Past performance ≠ future results.
Signals are generated on bar close; enabling “realtime bar” alerts may lead to earlier—but less confirmed—notifications.
Built by TanTechTrades — keep it simple, keep it green. ✅
Aladin Pair Trading System v1Aladin Pair Trading System v1
What is This Indicator?
The Aladin Pair Trading System is a sophisticated tool designed to help traders identify profitable opportunities by comparing two related stocks that historically move together. Think of it as finding when one twin is running ahead or lagging behind the other - these moments often present trading opportunities as they tend to return to moving together.
Who Should Use This?
Beginners: Learn about statistical arbitrage and pair trading
Intermediate Traders: Execute mean-reversion strategies with confidence
Advanced Traders: Fine-tune parameters for optimal pair relationships
Portfolio Managers: Implement market-neutral strategies
💡 What is Pair Trading?
Imagine two ice cream shops next to each other. They usually have similar customer traffic because they're in the same area. If one day Shop A is packed while Shop B is empty, you might expect this imbalance to correct itself soon.
Pair trading works the same way:
You find two stocks that normally move together (like TCS and Infosys)
When one stock moves too far from the other, you trade expecting them to realign
You buy the lagging stock and sell the leading stock
When they come back together, you profit from both sides
Key Features
1. Z-Score Analysis
What it is: A statistical measure showing how far the price relationship has deviated from normal
What it means:
Z-Score near 0 = Normal relationship
Z-Score at +2 = Stock A is expensive relative to Stock B (Sell A, Buy B)
Z-Score at -2 = Stock A is cheap relative to Stock B (Buy A, Sell B)
2. Multiple Timeframe Analysis
Long-term Z-Score (300 bars): Shows the big picture trend
Short-term Z-Score (100 bars): Shows recent movements
Signal Z-Score (20 bars): Generates quick trading signals
3. Statistical Validation
The indicator checks if the pair is suitable for trading:
Correlation (must be > 0.7): Confirms the stocks move together
1.0 = Perfect positive correlation
0.7 = Strong correlation
Below 0.7 = Warning: pair may not be reliable
ADF P-Value (should be < 0.05): Tests if the relationship is stable
Low value = Good for pair trading
High value = Relationship may be random
Cointegration: Confirms long-term equilibrium relationship
YES = Pair tends to revert to mean
NO = Pair may drift apart permanently
Visual Elements Explained
Chart Zones (Color-Coded Areas)
Yellow Zone (-1.5 to +1.5)
Normal Zone: Relationship is stable
Action: Wait for better opportunities
Blue Zone (±1.5 to ±2.0)
Entry Zone: Deviation is significant
Action: Prepare for potential trades
Green/Red Zone (±2.0 to ±3.0)
Opportunity Zone: Strong deviation
Action: High-probability trade setups
Beyond ±3.0
Risk Limit: Extreme deviation
Action: Either maximum opportunity or structural break
Signal Arrows
Green Arrow Up (Buy A + Sell B):
Stock A is undervalued relative to B
Buy Stock A, Short Stock B
Red Arrow Down (Sell A + Buy B):
Stock A is overvalued relative to B
Sell Stock A, Buy Stock B
Settings Guide
Symbol Inputs
Pair Symbol (Symbol B): Choose the second stock to compare
Default: NSE:INFY (Infosys)
Example pairs: TCS/INFY, HDFCBANK/ICICIBANK, RELIANCE/ONGC
Z-Score Parameters
Long Z-Score Period (300): Historical context
Short Z-Score Period (100): Recent trend
Signal Period (20): Trading signals
Z-Score Threshold (2.0): Entry trigger level
Higher = Fewer but stronger signals
Lower = More frequent signals
Statistical Parameters
Correlation Period (240): How many bars to check correlation
Hurst Exponent Period (50): Measures mean-reversion tendency
Probability Lookback (100): Historical probability calculations
Trading Parameters
Entry Threshold (0.0): Minimum Z-score for entry
Risk Threshold (1.5): Warning level
Risk Limit (3.0): Maximum deviation to trade
How to Use (Step-by-Step)
Step 1: Choose Your Pair
Add the indicator to your chart (this becomes Stock A)
In settings, select Stock B (the comparison stock)
Choose stocks from the same sector for best results
Step 2: Verify Pair Quality
Check the Statistics Table (top-right corner):
✅ Correlation > 0.70 (Green = Good)
✅ ADF P-value < 0.05 (Green = Good)
✅ Cointegrated = YES (Green = Good)
If all three are green, the pair is suitable for trading!
Step 3: Wait for Signals
BUY SIGNAL (Green Arrow Up)
Z-Score crosses above -2.0
Action: Buy Stock A, Sell Stock B
Exit: When Z-Score returns to 0
SELL SIGNAL (Red Arrow Down)
Z-Score crosses below +2.0
Action: Sell Stock A, Buy Stock B
Exit: When Z-Score returns to 0
Step 4: Risk Management
Yellow Zone: Monitor only
Blue Zone: Prepare for entry
Green/Red Zone: Active trading zone
Beyond ±3.0: Maximum risk - use caution
⚠️ Important Warnings
Not All Pairs Work: Always check the statistics table first
Market Conditions Matter: Correlation can break during market stress
Use Stop Losses: Set stops at Z-Score ±3.5 or beyond
Position Sizing: Trade both legs with appropriate hedge ratios
Transaction Costs: Factor in brokerage and slippage for both stocks
Example Trade
Scenario: TCS vs INFOSYS
Correlation: 0.85 ✅
Z-Score: -2.3 (TCS is cheap vs INFY)
Action to be taken:
Buy 1lot of TCS Future
Sell 1lot of INFOSYS Future
Expected Outcome:
As Z-Score moves toward 0, TCS outperforms INFOSYS
Close both positions when Z-Score crosses 0
Profit from the convergence
Best Practices
Test Before Trading: Use paper trading first
Sector Focus: Choose pairs from the same industry
Monitor Statistics: Check correlation daily
Avoid News Events: Don't trade pairs during earnings/major news
Size Appropriately: Start small, scale with experience
Be Patient: Wait for high-quality setups (±2.0 or beyond)
What Makes This Indicator Unique?
Multi-timeframe Z-Score analysis: Three different perspectives
Statistical validation: Built-in correlation and cointegration tests
Visual risk zones: Easy-to-understand color-coded areas
Real-time statistics: Live pair quality monitoring
Beginner-friendly: Clear signals with educational zones
Technical Background
The indicator uses:
Engle-Granger Cointegration Test: Validates pair relationship
ADF (Augmented Dickey-Fuller) Test: Tests stationarity
Pearson Correlation: Measures linear relationship
Z-Score Normalization: Standardizes deviations
Log Returns: Handles price differences properly
Support & Community
For questions, suggestions, or to share your pair trading experiences:
Comment below the indicator
Share your successful pair combinations
Report any issues for quick fixes
Disclaimer
This indicator is for educational and informational purposes only. It does not constitute financial advice. Pair trading involves risk, including the risk of loss.
Always:
Do your own research
Understand the risks
Trade with money you can afford to lose
Consider consulting a financial advisor
📌 Quick Reference Card
Z-ScoreInterpretationAction-3.0 to -2.0A very cheap vs BStrong Buy A, Sell B-2.0 to -1.5A cheap vs BBuy A, Sell B-1.5 to +1.5Normal rangeHold/Wait+1.5 to +2.0A expensive vs BSell A, Buy B+2.0 to +3.0A very expensive vs BStrong Sell A, Buy B
Good Pair Statistics:
Correlation: > 0.70
ADF P-value: < 0.05
Cointegration: YES
Version: 1.0
Last Updated: 10th October 2025
Compatible: TradingView Pine Script v6
Happy Trading!
EMA Candle ColorEMA Candle Color - Visual EMA-Based Candle Coloring System
Overview:
This indicator provides a visual approach to trend identification by coloring candles based on their relationship with an Exponential Moving Average (EMA). The script dynamically colors both the candle bars and plots custom candles to give traders an immediate visual representation of price momentum relative to the EMA.
How It Works:
The indicator calculates an EMA based on your chosen source (default: open price) and length (default: 10 periods). It then applies a simple yet effective rule:
When the source price is ABOVE the EMA → Candles turn GREEN (bullish)
When the source price is BELOW the EMA → Candles turn RED (bearish)
This instant visual feedback helps traders quickly identify:
Current trend direction
Potential support/resistance levels (the EMA line itself)
Momentum shifts when candles change color
Key Features:
Customizable EMA Parameters: Adjust the EMA length (1-500) and source (open, close, high, low, hl2, hlc3, ohlc4)
Custom Color Selection: Choose your preferred bullish and bearish colors to match your chart theme
Dual Visualization: Both bar coloring and custom plotcandle for enhanced visibility
Offset Capability: Shift the EMA line forward or backward for advanced analysis
Clean Design: Minimal overlay that doesn't clutter your chart
How to Use:
1. Add the indicator to your chart
2. Adjust the EMA Length based on your trading timeframe:
- Shorter periods (5-20) for day trading and scalping
- Medium periods (20-50) for swing trading
- Longer periods (50-200) for position trading
3. Watch for candle color changes as potential entry/exit signals
4. Combine with other indicators for confirmation
Trading Applications:
Trend Following: Stay in trades while candles remain the same color
Reversal Signals: Watch for color changes as early reversal warnings
Filter System: Only take long positions during green candles, shorts during red
Visual Clarity: Quickly assess market sentiment at a glance
Settings:
Length: EMA calculation period (default: 10)
Source: Price data used for EMA calculation (default: open)
Offset: Shift EMA line on chart (default: 0)
Bullish Color: Color for candles above EMA (default: green)
Bearish Color: Color for candles below EMA (default: red)
Technical Details:
The script uses Pine Script v6 and employs the standard ta.ema() function for smooth, responsive EMA calculations. The candle coloring is achieved through both barcolor() and plotcandle() functions, ensuring visibility across different chart settings.
Note:
This indicator works on all timeframes and instruments. For best results, combine with proper risk management and additional confirmation indicators. The EMA Candle Color system is designed to simplify trend identification, not as a standalone trading system.
Tips:
Use on higher timeframes for more reliable signals
Combine with volume analysis for confirmation
Consider using multiple EMA periods for confluence
Disable default candles if using the plotcandle feature to avoid overlap
This script is open-source. Feel free to use it as a foundation for your own trading system or modify it to suit your specific trading style.
Bull Market Support Band Alert (20W SMA & 21W EMA) - Multi-Alert═══════════════════════════════════════════════════════════════════
🎯 WHAT THIS INDICATOR DOES:
═══════════════════════════════════════════════════════════════════
This indicator monitors the Bull Market Support Band (BMSB) - a popular trend-following system that uses the 20-week Simple Moving Average (SMA) and 21-week Exponential Moving Average (EMA) to identify major market trends. It alerts you when price crosses either moving average on any stock in your watchlist.
═══════════════════════════════════════════════════════════════════
📈 THE BULL MARKET SUPPORT BAND STRATEGY:
═══════════════════════════════════════════════════════════════════
- ABOVE both MAs = Bullish trend (consider holding/buying)
- BELOW both MAs = Bearish trend (consider caution/selling)
- CROSSING ABOVE = Potential trend change to bullish
- CROSSING BELOW = Potential trend change to bearish
Originally popularized by cryptocurrency analysts, the BMSB has proven effective across all markets for identifying major trend changes.
═══════════════════════════════════════════════════════════════════
⚡ KEY FEATURES:
═══════════════════════════════════════════════════════════════════
✅ Single alert monitors your ENTIRE watchlist
✅ Works on ANY timeframe (daily, 4H, 1H) while maintaining weekly MA accuracy
✅ Visual signals when crosses occur (green/red arrows)
✅ Real-time status table showing current values
✅ Background coloring for quick trend identification
✅ Customizable alert settings for crosses above/below
═══════════════════════════════════════════════════════════════════
🔔 HOW TO SET UP ALERTS:
═══════════════════════════════════════════════════════════════════
1. Add this indicator to your chart
2. Click Alert (alarm icon)
3. Select "BMSB Watchlist Alert" → "BMSB Cross Alert"
4. Choose your alert frequency:
• "Once Per Bar" = Immediate alerts (for active traders)
• "Once Per Bar Close" = Confirmed signals (fewer false alarms)
5. CHECK "Apply to all symbols in watchlist" ← IMPORTANT!
6. Select your watchlist and create
═══════════════════════════════════════════════════════════════════
⚙️ RECOMMENDED SETTINGS:
═══════════════════════════════════════════════════════════════════
📍 FOR SWING TRADERS:
- Chart: Daily timeframe
- Alert Trigger: Once Per Bar Close
- Both crosses enabled
📍 FOR ACTIVE TRADERS:
- Chart: 4H or Daily timeframe
- Alert Trigger: Once Per Bar
- Both crosses enabled
📍 FOR LONG-TERM INVESTORS:
- Chart: Weekly timeframe
- Alert Trigger: Once Per Bar Close
- Focus on crosses above
═══════════════════════════════════════════════════════════════════
📊 VISUAL ELEMENTS:
═══════════════════════════════════════════════════════════════════
- BLUE LINE = 20-week Simple Moving Average
- RED LINE = 21-week Exponential Moving Average
- GREEN ARROWS = Price crossed above BMSB
- RED ARROWS = Price crossed below BMSB
- GREEN BACKGROUND = Price above both MAs (bullish)
- RED BACKGROUND = Price below both MAs (bearish)
- STATUS TABLE = Current price position and MA values
═══════════════════════════════════════════════════════════════════
💡 PRO TIPS:
═══════════════════════════════════════════════════════════════════
1. The indicator calculates WEEKLY MAs regardless of your chart timeframe
2. Best used with liquid stocks/cryptos with good volume
3. Consider waiting for daily/weekly close for confirmation
4. Crosses are more significant after extended periods above/below
5. Works great with additional confirmation (volume, RSI, etc.)
═══════════════════════════════════════════════════════════════════
⚠️ IMPORTANT NOTES:
═══════════════════════════════════════════════════════════════════
- FREE accounts limited to 1 active alert
- Alerts check based on YOUR selected timeframe, not the weekly MA calculation
- False signals possible during ranging/choppy markets
- Not financial advice - use as one tool among many
═══════════════════════════════════════════════════════════════════
👨💻 AUTHOR'S NOTE:
═══════════════════════════════════════════════════════════════════
Built for traders who want to monitor multiple stocks efficiently without creating dozens of individual alerts. Perfect for identifying major trend changes across your entire portfolio with a single alert.
Tags: #BMSB #BullMarketSupportBand #20WeekSMA #21WeekEMA #TrendFollowing #MovingAverage #WatchlistAlert #MultiTimeframe #SwingTrading #TrendTrading
TradeScope: MA Reversion • RVOL • Trendlines • GAPs • TableTradeScope is an all-in-one technical analysis suite that brings together price action, momentum, volume dynamics, and trend structure into one cohesive and fully customizable indicator.
An advanced, modular trading suite that combines moving averages, reversion signals, RSI/CCI momentum, relative volume, gap detection, trendline analysis, and dynamic tables — all within one powerful dashboard.
Perfect for swing traders, intraday traders, and analysts who want to read price strength, volume context, and market structure in real time.
⚙️ Core Components & Inputs
🧮 Moving Average Settings
Moving Average Type & Length:
Choose between SMA or EMA and set your preferred period for smoother or more reactive trend tracking.
Multi-MA Plotting:
Up to 8 customizable moving averages (each with independent type, color, and length).
Includes a “window filter” to show only the last X bars, reducing chart clutter.
MA Reversion Engine:
Detects when price has extended too far from its moving average.
Reversion Lookback: Number of bars analyzed to determine historical extremes.
Reversion Threshold: Sensitivity multiplier—lower = more frequent signals, higher = stricter triggers.
🔄 Trend Settings
Short-Term & Long-Term Trend Lookbacks:
Uses linear regression to detect the slope and direction of the short- and long-term trend.
Results are displayed in the live table with color-coded bias:
🟩 Bullish | 🟥 Bearish
📈 Momentum Indicators
RSI (Relative Strength Index):
Adjustable period; displays the current RSI value, overbought (>70) / oversold (<30) zones, and trending direction.
CCI (Commodity Channel Index):
Customizable length with color-coded bias:
🟩 Oversold (< -100), 🟥 Overbought (> 100).
Tooltip shows whether the CCI is trending up or down.
📊 Volume Analysis
Relative Volume (RVOL):
Estimates end-of-day projected volume using intraday progress and compares it against the 20-day average.
Displays whether today’s volume is expected to exceed yesterday’s, and highlights color by strength.
Volume Trend (Short & Long Lookbacks):
Visual cues for whether current volume is above or below short-term and long-term averages.
Estimated Full-Day Volume & Multiplier:
Converts raw volume into “X” multiples (e.g., 2.3X average) for quick interpretation.
🕳️ Gap Detection
Automatically identifies and plots bullish and bearish price gaps within a defined lookback period.
Gap Lookback: Defines how far back to search for gaps.
Gap Line Width / Visibility: Controls the thickness and display of gap lines on chart.
Displays the closest open gap in the live table, including its distance from current price (%).
🔍 ATR & Volatility
14-day ATR (% of price):
Automatically converts the Average True Range into a percent, providing quick volatility context:
🟩 Low (<3%) | 🟨 Moderate (3–5%) | 🟥 High (>5%)
💬 Candlestick Pattern Recognition
Auto-detects popular reversal and continuation patterns such as:
Bullish/Bearish Engulfing
Hammer / Hanging Man
Shooting Star / Inverted Hammer
Doji / Harami / Kicking / Marubozu / Morning Star
Each pattern is shown with contextual color coding in the table.
🧱 Pivot Points & Support/Resistance
Optional Pivot High / Pivot Low Labels
Adjustable left/right bar lengths for pivot detection
Theme-aware text and label color options
Automatically drawn diagonal trendlines for both support and resistance
Adjustable line style, color, and thickness
Detects and tracks touches for reliability
Includes breakout alerts (with optional volume confirmation)
🚨 Alerts
MA Cross Alerts:
Triggers when price crosses the fast or slow moving average within a tolerance band (default ±0.3%).
Diagonal Breakout Alerts:
Detects and alerts when price breaks diagonal trendlines.
Volume-Confirmed Alerts:
Filters breakouts where volume exceeds 1.5× the 20-bar average.
🧾 Live Market Table
A fully dynamic table displayed on-chart, customizable via input toggles:
Choose which rows to show (e.g., RSI, ATR, RVOL, Gaps, CCI, Trend, MA info, Diff, Low→Close%).
Choose table position (top-right, bottom-left, etc.) and text size.
Theme selection: Light or Dark
Conditional background colors for instant visual interpretation:
🟩 Bullish or Oversold
🟥 Bearish or Overbought
🟨 Neutral / Moderate
🎯 Practical Uses
✅ Identify confluence setups combining MA reversion, volume expansion, and RSI/CCI extremes.
✅ Track trend bias and gap proximity directly in your dashboard.
✅ Monitor relative volume behavior for intraday strength confirmation.
✅ Automate MA cross or breakout alerts to stay ahead of key price action.
🧠 Ideal For
Swing traders seeking confluence-based setups
Intraday traders monitoring multi-factor bias
Analysts looking for compact market health dashboards
💡 Summary
TradeScope is designed as a single-pane-of-glass market view — combining momentum, trend, volume, structure, and reversion into one clear visual system.
Fully customizable. Fully dynamic.
Use it to see what others miss — clarity, confluence, and confidence in every trade.
RMBS Smart Detector - Multi-Factor Momentum System
# RMBS Smart Detector - Multi-Factor Momentum System
## Overview
RMBS (Smart Detector - Multi-Factor Momentum System) is a proprietary scoring method developed by Ario, combining normalized RSI and Bollinger band positioning into a single composite metric.
---
## Core Methodology
### Buy/Sell Logic
Marker (green or red )appear when **all four filters** pass:
**1. RMBS Score (Momentum Strength)**
From the formula Bellow
Combined Range: -10 (extreme bearish) to +10 (extreme bullish)
Signal Thresholds:
• BUY: Score > +3.0
• SELL: Score < -3.0
2. EMA Trend Filter
BUY: EMA(21) > EMA(55) → Uptrend confirmed
SELL: EMA(21) < EMA(55) → Downtrend confirmed
3. ADX Strength Filter
Minimum ADX: 25 (adjustable 20-30)
ADX > 25: Trending market → Signal allowed
ADX < 25: Range-bound → Signal blocked
4. Alternating Logic
Prevents signal spam by requiring alternation:
✓ BUY → SELL → BUY (allowed)
✗ BUY → BUY → BUY (blocked)
________________________________________
Mathematical Foundation
RMBS Formula: scoring method developed by Ario
RMBS = (RSI – 50) / 10 + ((BB_pos – 50) / 10)
where:
• RSI = Relative Strength Index (close, L)
• BB_pos = (Close – (SMA – 2 σ)) / ((SMA + 2 σ) – (SMA – 2 σ)) × 100
• σ = standard deviation of close over lookback L
• SMA = simple moving average of close over lookback L
• L = rmbs_length (period setting)
This produces a normalized composite score around zero:
• Positive → bullish momentum and upper band dominance
• Negative → bearish momentum and lower band pressure
• Near 0 → neutral or transitional zone
Input Parameters
ADX Threshold (default: 25)
• Lower (20-23): More signals, less filtering
• Higher (28-30): Fewer signals, stronger trends
• Recommended: 25 for balanced filtering
Signal Thresholds
• BUY: +3.0 (adjustable)
• SELL: -3.0 (adjustable)
Visual Options
• Marker colors
• Background highlights
• Alert settings
________________________________________
Usage Guidelines
How to Interpret
• 🟢 Green Marker: All conditions met for Bull condition
• 🔴 Red Marker: All conditions met for Bear condition
• No Marker: Waiting for confirmation
________________________________________
Important Disclaimers
⚠️ Educational Purpose Only
• This tool demonstrates multi-factor technical analysis concepts
• Not financial advice or trade recommendations
• No guarantee of profitability
⚠️ Known Limitations
• Less effective in ranging/choppy markets
• Requires proper risk management (stop-loss, position sizing)
• Should be combined with fundamental analysis
⚠️ Risk Warning
Trading involves substantial risk of loss. Past performance does not indicate future results. Always conduct your own research and consult professionals before trading.
________________________________________
Open Source
Full Pine Script code available for educational study and modification. Feedback and improvement suggestions welcome.
“All logic is presented for research and educational visualization.”
---
**Attribution & Fair Use Notice**
The RMBS scoring framework (Multi-Factor Momentum System) was originally designed and formulated by *Ahmadrezarahmati( Ario or Ario_ Pine Lab)*.
If you build upon, modify, or republish this logic—please include proper attribution to the original author. This request is made under a spirit of open collaboration and educational fairness.
Magic Volume - Projected [MW]Magic Volume – Projected
This lower-pane volume tool estimates the full-bar volume before the bar closes by measuring the current bar’s elapsed time and the rate of incoming volume. It then contrasts that “expected volume” against typical activity and recent momentum to spotlight potential burst conditions (breakout/acceleration), color-codes the live volume stream, and annotates when the projected surge is likely bullish or bearish based on bar structure and recent highs/lows.
Settings
Projected / Expected Volume
Moving Average: EMA length used for volume baseline comparisons. (Default: 14)
Minimum Volume: Hard floor the bar’s raw volume must exceed to qualify as notable. (Default: 10,000)
Consecutive Volume Above 14 EMA: Count required for “sustained” high-volume context. (Default: 3)
Stochastic Volume Burst
Stochastic Length: Window for the Stochastic calculation on volume. (Default: 8)
Smoothing: Smoothing applied to Stochastic volume and its signal. (Default: 3)
Stochastic Volume Breakout Threshold: Level above which Stochastic volume is considered a breakout. (Default: 20)
Volume Bar Increase Amount: Multiplier the current bar’s volume must exceed vs. prior bar to be considered a “burst.” (Default: 1.618)
Plotted Items
Expected Volume (columns): Magenta columns projecting the full-bar volume from intrabar rate. Turns lime when a high expected-volume condition aligns with bullish bar structure; turns red under analogous bearish conditions.
Actual Volume (columns): Live volume columns, color-coded by state:
• Blue = baseline;
• Orange = “burst” (volume rising fast above prior × factor and above baseline);
• Yellow = “burst at breakout” (burst + Stochastic volume breakout);
• Light Blue = Stochastic breakout only.
Volume EMA (line): Yellow EMA for baseline comparison (default 14).
Calculations
Compute elapsed time in the current bar (ms → seconds) and convert the current bar’s accumulated volume into a rate (volume per second).
Project full-bar Expected Volume = (volume so far / seconds elapsed) × bar-seconds.
Compute Volume EMA (default 14) for baseline; derive Stochastic(volume, length) and smoothed signal for momentum.
Define “Burst” conditions:
• Volume > prior volume × Volume Bar Increase Amount;
• Volume > Minimum Volume;
• Volume > Volume EMA;
• Stochastic(volume) rising and/or above threshold.
Classify “Burst at Breakout” when Burst aligns with Stochastic crossover above the Breakout Threshold.
Classify Bullish/Bearish Expected Volume: if Expected Volume is ≥ 1.618 × prior bar volume and prior volume > Volume EMA, then:
• Bullish if bar is green with a rising low;
• Bearish if bar is red with a falling high.
Color-map actual volume columns by state; overlay Expected Volume columns (magenta) and paint conditional overlays (lime/red) when directional context is detected.
How to Use
Spot the Surge Early
When Expected Volume spikes well above typical (and especially above ~1.618× the prior bar) before the bar closes, it often precedes a volatile move. Use this to prepare entries with tight, structure-based risk (e.g., just beyond the current bar’s wick) and asymmetric targets.
Confirm with Momentum
Yellow/orange volume columns indicate burst/breakout behavior in the live tape. When this aligns with a lime (bullish) or red (bearish) Expected Volume column, the probability of follow-through improves—particularly if aligned with prevailing trend or key levels.
Context Matters
Combine with your preferred S/R or structure tools (e.g., order blocks, channels, VWAP) to avoid chasing into obvious supply/demand. The projected surge can mark both continuations and sharp reversals depending on location and broader context.
Alerts
High Expected Volume – Bullish: When projected volume surges and the price action meets bullish conditions (green body with rising low).
High Expected Volume – Bearish: When projected volume surges and the price action meets bearish conditions (red body with falling high).
Other Usage Notes and Limitations
Projected volume depends on intrabar pace; abrupt pauses/flushes can change the projection quickly, especially on very small timeframes.
Minimum Volume and EMA baselines help filter thin markets; adjust upward on illiquid symbols to reduce noise.
A rising projection does not pick direction on its own—directional coloring (lime/red) requires price-action confirmation; otherwise treat magenta projections as “heads-up” only.
As with any single indicator, use within a broader plan (risk management, structure, confluence) to mitigate false positives and improve selectivity.
Inputs (Quick Reference)
Moving Average (int, default 14)
Stochastic Length (int, default 8)
Smoothing (int, default 3)
Stochastic Volume Breakout Threshold (int, default 20)
Volume Bar Increase Amount (float, default 1.618)
Minimum Volume (int, default 10,000)
Consecutive Volume Above 14 EMA (int, default 3)
Market Structure ICT Screener [TradingFinder] BoS ChoCh🔵 Introduction
Market Structure is the foundation of every Smart Money and ICT based trading model. It describes how price moves through a sequence of highs and lows, forming clear phases of expansion, retracement and reversal. Understanding this structure allows traders to read institutional order flow and align their positions with the true direction of liquidity.
Two of the most critical components in Market Structure are the Break of Structure (BOS) and Change of Character (CHOCH). A BOS represents trend continuation, confirming strength within the current direction. In contrast, CHOCH also known as a Market Structure Shift (MSS) signals the first sign of a trend reversal or liquidity shift where order flow begins to change from bullish to bearish or vice versa.
Because the market is fractal, structure can exist at multiple levels known as Major (External) and Minor (Internal). Major structure defines the overall trend on higher timeframes while minor or internal structure reveals short term swings and early reversals within that larger move.
🔵 How to Use
Understanding Market Structure starts with identifying how price interacts with previous swing highs and swing lows. Every trend in the market, whether bullish or bearish, is built from a sequence of impulsive and corrective moves. Impulsive legs show strong displacement in the direction of liquidity flow, while corrective legs represent temporary pullbacks as the market rebalances before the next expansion. Recognizing these sequences is essential for reading the story of price and anticipating what may happen next.
A Break of Structure (BOS) occurs when price decisively moves beyond a previous structural point by breaking above the last high in an uptrend or falling below the last low in a downtrend. This event confirms that the current trend remains intact and that liquidity has been successfully taken from one side of the market. A BOS acts as confirmation of continuation and reflects strength within the existing directional bias.
A Change of Character (CHOCH) appears when price violates structure in the opposite direction of the prevailing trend. This is the first signal that market sentiment and order flow may be shifting. For example, during a downtrend if price breaks above a previous high, it indicates that sellers are losing control and a potential bullish reversal may be developing. In an uptrend, when price drops below a recent low, it suggests a possible bearish transition.
Because the market is fractal, structure exists across multiple layers. Major structure reflects the dominant movement visible on higher timeframes and defines the broader directional bias. Minor or internal structure represents smaller swings within that move and helps identify early transitions before they appear on the higher timeframe. When internal and external structures align, they offer a high probability signal for trend continuation or reversal.
By observing BOS and CHOCH across both internal and external structures, traders can clearly visualize when the market is expanding, contracting or preparing to shift direction. This structured understanding of price movement forms the foundation for precise trend analysis and high quality decision making in any Smart Money or ICT based trading approach.
🔵 Settings
🟣 Display Settings
Table on Chart : Allows users to choose the position of the signal dashboard either directly on the chart or below it, depending on their layout preference.
Number of Symbols : Enables users to control how many symbols are displayed in the screener table, from 10 to 20, adjustable in increments of 2 symbols for flexible screening depth.
Table Mode : This setting offers two layout styles for the signal table :
Basic : Mode displays symbols in a single column, using more vertical space.
Extended : Mode arranges symbols in pairs side-by-side, optimizing screen space with a more compact view.
Table Size : Lets you adjust the table’s visual size with options such as: auto, tiny, small, normal, large, huge.
Table Position : Sets the screen location of the table. Choose from 9 possible positions, combining vertical (top, middle, bottom) and horizontal (left, center, right) alignments.
🟣 Symbol Settings
Each of the 20 symbol slots comes with a full set of customizable parameters :
Symbol : Define or select the asset (e.g., XAUUSD, BTCUSD, EURUSD, etc.).
Timeframe : Set your desired timeframe for each symbol (e.g., 15, 60, 240, 1D).
Pivot Period : Set the length used to detect swing highs and lows. Shorter values increase sensitivity, longer ones focus on major structures.
🔵 Conclusion
Mastering Market Structure and understanding the relationship between BOS and CHOCH allows traders to see the market with greater clarity and confidence. These two elements reveal how liquidity moves through different phases of expansion and retracement and how institutional order flow shifts between accumulation and distribution.
By analyzing both internal and external structures, traders can align short term and long term perspectives and anticipate where price is most likely to react. The ability to read these structural shifts helps identify continuation points, reversals and areas where liquidity is engineered or collected.
Incorporating Market Structure into a consistent trading process transforms the way a trader views the chart. Instead of reacting to random movements, each swing, break and shift becomes part of a logical framework that reflects the true behavior of the market. Understanding BOS and CHOCH is not just a concept but a complete language of price that guides every professional decision in Smart Money and ICT based trading.
FVG Scanner ProFVG Scanner Pro — Smart Fair Value Gap Detector (with HTF context & proximity alerts)
What it does
FVG Scanner Pro automatically finds Fair Value Gaps (FVGs) on your current chart and (optionally) on a higher timeframe (HTF), draws them as color-coded zones, and notifies you when price comes close to a gap boundary using an ADR-based proximity trigger and (optional) volume confirmation. It’s designed for ICT-style gap trading, confluence building, and clean visual execution.
How it works:
FVG definition
* Bullish FVG (gap up): low > high (the current candle’s low is above the high 2 bars ago).
* Bearish FVG (gap down): high < low (the current candle’s high is below the low 2 bars ago).
* Gaps smaller than your Min FVG Size (%) are ignored. (Gap size = (top-bottom)/bottom * 100.)
Higher-timeframe logic (auto-selected)
The script auto picks a sensible HTF:
1–5m → 15m, 15m → 1H, 1H → 4H, 4H → 1D, 1D → 1W, 1W → 1M, small 1M → 3M, big ≥3M → 12M.
You can display HTF FVGs and even filter so current-TF FVGs only show when they overlap an HTF gap.
Proximity alerts (ADR-based)
The script computes ADR on the current chart timeframe over a user-set lookback (default 20 bars).
An alert fires when price moves toward the closest actionable boundary and comes within ADR × Multiplier:
Bullish: price moving down, within distance of the bottom of a bullish FVG.
Bearish: price moving up, within distance of the top of a bearish FVG.
Yellow ▲/▼ markers show where a proximity alert triggered.
Volume filter (optional)
Require volume to be greater than SMA(20) × multiplier to accept a newly formed FVG.
Lifecycle
Each gap remains active for Extend FVG Box (Bars) bars.
You can delete the box after fill, or keep filled gaps visible as gray zones, or hide them.
Color legend
Current-TF Bullish: Pink/Magenta box
Current-TF Bearish: Cyan/Turquoise box
HTF Bullish: Gold box
HTF Bearish: Orange box
Filled (if shown): Gray box
Alert markers: Yellow ▲ (bullish), Yellow ▼ (bearish)
Inputs (what to tweak)
Show FVGs: Bullish / Bearish / Both
Max Bars Back to Find FVG: collection window & cleanup guard
Extend FVG Box (Bars): how long a zone stays tradable/active
Min FVG Size (%): ignore micro gaps
Delete Box After Fill & Show Filled FVGs: choose how you want completed gaps handled
Show Alert Markers: show/hide the yellow proximity arrows
Show Higher Timeframe FVG: overlay HTF gaps (auto TF)
HTF Filter: only display current-TF gaps that overlap an HTF gap
ADR Lookback & Proximity Multiplier: tune alert sensitivity to your market & timeframe
Volume Filter & Volume > MA Multiple: require above-average volume for new gaps
Built-in alerts (ready to use)
Create alerts in TradingView (⚠️ “Once per bar” or “Once per bar close”, your choice) and select from:
🟢 Bullish FVG Proximity — price approaching a bullish gap bottom
🔴 Bearish FVG Proximity — price approaching a bearish gap top
✅ New Bullish FVG Formed
⚠️ New Bearish FVG Formed
The alert messages include the symbol and price; proximity markers are also plotted on chart.
Tips & best practices
Use FVGs with market structure (break of structure, swing points), order blocks, or liquidity pools for confluence.
On very low timeframes, raise Min FVG Size and/or lower Max Bars Back to reduce noise and keep things fast.
Extend FVG Box controls how long a zone is considered valid; align it with your holding horizon (scalp vs swing).
Information panel (top-right)
Shows your mode, current HTF, number of gaps in memory, active bull/bear counts, and current-TF ADR.
US Opening 5-Minute Candle HighlighterUS Opening 5-Minute Candle Highlighter — True RVOL (Two-Tier + Label)
What it does (in plain English)
This indicator finds the first 5-minute bar of the US cash session (09:30–09:35 ET) and highlights it when the candle has the specific “strong open” look you want:
Opens near the low of its own range, and
Closes near the high of its own range, and
Has a decisive real body (not a wick-y doji), and
(Optionally) is a green candle, and
Meets a TRUE opening-bar RVOL filter (compares today’s 09:30–09:35 volume only to prior sessions’ 09:30–09:35 volumes).
You get two visual intensities based on opening RVOL:
Tier-1 (≥ threshold 1, default 1.0×) → light green highlight + lime arrow
Tier-2 (≥ threshold 2, default 1.5×) → darker green highlight + green arrow
An RVOL label (e.g., RVOL 1.84x) can be shown above or below the opening bar.
Designed for 5-minute charts. On other timeframes the “opening bar” will be the bar that starts at 09:30 on that timeframe (e.g., 15-minute 09:30–09:45). For best results keep the chart on 5m.
How the pattern is defined
For the opening 5-minute bar, we compute:
Range = high − low
Body = |close − open|
Then we measure where the open and close sit within the bar’s own range on a 0→1 scale:
0 means exactly at the low
1 means exactly at the high
Using two quantiles:
Open ≤ position in range (0–1) (default 0.20)
Example: 0.20 means “open must be in the lowest 20% of the bar’s range.”
Close ≥ position in range (0–1) (default 0.80)
Example: 0.80 means “close must be in the top 20% of the bar’s range.”
This keeps the logic range-normalized so it adapts across different tickers and vol regimes (you’re not using fixed cents or % of price).
Body ≥ fraction of range (0–1) (default 0.55)
Requires the real body to be at least that fraction of the total range.
0.55 = body fills ≥ 55% of the candle.
Purpose: filter out indecisive, wick-heavy bars.
Raise to 0.7–0.8 for only the fattest thrusts; lower to 0.3–0.4 to admit more bars.
Require green candle? (default ON)
If ON, close > open must be true. Turn OFF if you also want to catch strong red opens for shorts.
Minimum range (ticks)
Ignore tiny, illiquid opens: e.g., set to 2–5 ticks to suppress micro bars.
TRUE Opening-Bar RVOL (why it’s “true”)
Most “RVOL” compares against any recent bars, which isn’t fair at the open.
This indicator calculates only against prior opening bars:
At 09:30–09:35 ET, take today’s opening 5-minute volume.
Compare it to the average of the last N sessions’ opening 5-minute volumes.
RVOL = today_open_volume / average_prior_open_volumes.
So:
1.0× = equal to average prior opens.
1.5× = 150% of average prior opens.
2.0× = double the typical opening participation.
A minimum prior samples guard (default 10) ensures you don’t judge with too little history. Until enough samples exist, the RVOL gate won’t pass (you can disable RVOL temporarily if needed).
Visuals & tiers
Light green highlight + lime arrow → price filters pass and RVOL ≥ Tier-1 (default 1.0×)
Dark green highlight + green arrow → price filters pass and RVOL ≥ Tier-2 (default 1.5×)
Optional bar paint in matching green tones for extra visibility.
Optional RVOL label (e.g., RVOL 1.84x) above or below the opening bar.
You can show the label only when the candle qualifies, or on every open.
Inputs (step-by-step)
Price-action filters
Open ≤ position in range (0–1): default 0.20. Smaller = stricter (must open nearer the low).
Close ≥ position in range (0–1): default 0.80. Larger = stricter (must close nearer the high).
Body ≥ fraction of range (0–1): default 0.55. Raise to demand a “fatter” body.
Require green candle?: default ON. Turn OFF to also mark bearish thrusts.
Minimum range (ticks): default 0. Set to 2–5 for liquid mid/large caps.
Time settings
Timezone: default America/New_York. Leave as is for US equities.
Start hour / minute: defaults 09:30. The bar that starts at this time is evaluated.
TRUE Opening-Bar RVOL (two-tier)
Require TRUE opening-bar RVOL?: ON = must pass Tier-1 to highlight; OFF = price filters alone can highlight (still shows Tier-2 when hit).
RVOL lookback (prior opens count): default 20. How many prior openings to average.
Min prior opens required: default 10. Warm-up guard.
Tier-1 RVOL threshold (× avg): default 1.00× (light green).
Tier-2 RVOL threshold (× avg): default 1.50× (dark green).
Display
Also paint candle body?: OFF by default. Turn ON for instant visibility on a chart wall.
Arrow size: tiny/small/normal/large.
Light/Dark opacity: tune highlight strength.
Show RVOL label?: ON/OFF.
Show label only when candle qualifies?: ON by default; OFF to see RVOL every open.
Label position: Above candle or Below candle.
Label size: tiny/small/normal/large.
How to use (quick start)
Apply to a 5-minute chart.
Keep defaults: Open ≤ 0.20, Close ≥ 0.80, Body ≥ 0.55, Require green ON.
Turn RVOL required ON, with Tier-1 = 1.0×, Tier-2 = 1.5×, Lookback = 20, Min prior = 10.
Optional: enable Paint bar and set Arrow size = large for monitor-wall visibility.
Optional: show RVOL label below the bar to keep wicks clean.
Interpretation:
Dark green = A+ opening thrust with strong participation (≥ Tier-2).
Light green = Valid opening thrust with at least average participation (≥ Tier-1).
No highlight = one or more filters failed (quantiles, body, green, range, or RVOL if required).
Alerts
Two alert conditions are included:
Opening 5m Match — Tier-2 RVOL → fires when the opening candle passes price filters and RVOL ≥ Tier-2.
Opening 5m Match — Tier-1 RVOL → fires when the opening candle passes price filters and RVOL ≥ Tier-1 (but < Tier-2).
Recommended alert settings
Condition: choose the script + desired tier.
Options: Once Per Bar Close (you want the confirmed 09:30–09:35 bar).
Set your watchlist to symbols of interest (themes/sectors) and let the alerts pull you to the right charts.
Recommended starting values
Quantiles: Open ≤ 0.20, Close ≥ 0.80
Body fraction: 0.55
Require green: ON
RVOL: Required ON, Tier-1 = 1.0×, Tier-2 = 1.5×, Lookback 20, Min prior 10
Display: Paint bar ON, Arrow large, Label ON, Below candle
Tune tighter for A-plus selectivity:
Open ≤ 0.15, Close ≥ 0.85, Body ≥ 0.65, Tier-2 2.0×.
Notes, tips & limitations
5-minute timeframe is the intended use. On higher TFs, the 09:30 bar spans more than 5 minutes; geometry may not reflect the first 5 minutes alone.
RTH only: The opening detection looks at the clock (09:30 ET). Pre-market bars are ignored for the signal and for RVOL history.
Warm-up period: Until you have Min prior opens required samples, the RVOL gate won’t pass. You can temporarily toggle RVOL off.
DST & timezone: Leave timezone on America/New_York for US equities. If you trade non-US exchanges, set the appropriate TZ and opening time.
Illiquid tickers: Use Minimum range (ticks) and require RVOL to reduce noise.
No strategy orders: This is a visual/alert tool. Combine with your execution and risk plan.
Why this is useful on multi-monitor setups
Instant pattern recognition: the two-shade green makes A vs A+ opens pop at a glance.
Adaptive thresholds: quantiles & body are within-bar, so it works across $5 and $500 names.
Fair volume test: TRUE opening RVOL avoids comparing to pre-market or midday bars.
Optional labels: glanceable RVOL x-value helps triage the strongest themes quickly.
PnL PortfolioThis script allows you to input the details for up to 20 active positions across various trading pairs or markets. Stop manually calculating your trades—get instant, real-time feedback on your performance.
Key Features:
Multi-Pair Tracking: Monitor up to 20 unique symbols simultaneously.
Required Inputs: Easily define the Symbol, Entry Price, and Position Quantity (size) for each trade in the indicator settings.
Real-Time PnL: Instantly calculates and displays two critical metrics based on the current market price:
% PnL (Percentage Profit/Loss)
Absolute Profit/Loss (in currency)
Color-Coded Feedback: The PnL columns are color-coded (green/teal for profit, red/maroon for loss) for immediate visual confirmation of your trade health.
Customizable Layout: Choose where the dashboard table appears on your chart (top-left, top-right, bottom-left, or bottom-right) to keep your trading view clean.
This is an essential overlay for any trader managing multiple active positions and needing a consolidated, easy-to-read overview.
Overnight Z/VolRatio SignalThis indicator highlights overnight setups where both volatility expansion and prior-day range deviation suggest directional opportunity at the RTH open.
It calculates:
• Overnight Z-Score (Z_long): how far the overnight session’s range tilts from the 20-day overnight mean, standardized by its standard deviation.
• VolRatio: ratio of the current RTH session volume to the 20-day average, a proxy for participation and conviction.
Signal Logic (LONG bias)
A long-bias condition triggers when:
• Z_long ≥ 0.40 (overnight tilt strongly positive)
• VolRatio ≥ 1.30 (above-average RTH volume)
• Optional filters: R1/R4 region alignment, YDH/YDL proximity, and other context flags.
Visuals mark qualifying days with colored labels and session highlights.
It is intended as a context signal — not an auto-trading system — for SPY/SPX/ES or correlated large-cap indices.
Usage Notes
• Works best when applied to daily or intraday 5m chart with extended hours enabled.
• Typical exit: ~150 minutes after 09:30 ET.
• Fridays are optionally excluded to avoid expiration-related distortions.
MA Disparity (乖離率%)このインジケータは、現在の終値と移動平均線(SMAまたはEMA)との**乖離率(かいりりつ)**を%で表示します。
「価格が移動平均線からどれだけ離れているか」を視覚的に把握することで、**過熱感(買われすぎ/売られすぎ)**を判断できます。
設定で期間(例:20日、25日など)を自由に変更可能
SMA/EMAの選択が可能
0%ラインを基準として、プラス側は上方乖離、マイナス側は下方乖離を示します
トレンドの勢い確認、押し目・戻り目の判断にも活用できます
📊 例:
+10%以上 → 短期的な過熱感
-10%以下 → 売られすぎの可能性
---
This indicator displays the disparity ratio (price deviation) between the current close and a moving average (SMA or EMA), expressed in percentage.
It helps visualize how far the price has moved away from its average — a useful signal for identifying overbought or oversold conditions.
Adjustable period (e.g., 20, 25, 50, etc.)
Selectable MA type (SMA or EMA)
0% baseline: positive values = above MA, negative = below MA
Great for spotting trend strength, pullbacks, and reversals
📈 Example:
+10% → potential overbought zone
-10% → potential oversold zone
---
#Kairi #Disparity #MovingAverage #Volume #SMA #EMA #Overbought #Oversold #Japan
TGFA Flexible Alerts Multi-MA CrossoversTGFA Flexible Alerts, Multi-MA Crossovers
Description
Flexible MA crossovers with BUY/SELL alerts, customizable candle colors, and an info box for ATR/volatility insights. Supports EMA/SMA/HMA/VWAP on any chart.
Overview
TGFA Flexible Alerts is a versatile Pine Script indicator for traders seeking customizable moving average (MA) crossovers, visual signals, and quick-reference metrics. It overlays crossover lines (e.g., fast EMA over slow SMA), generates BUY/SELL labels and alerts, colors candles based on themes, and includes an optional info box with ATR bands, support/resistance, and trend projections. Built for any symbol and timeframe (optimized for 1H intraday), it auto-detects Heikin Ashi charts and handles mixed MA types like responsive HMA with lagging EMAs. All logic uses built-in TA functions for reliability—no repainting on confirmed bars.
Key Features
MA Crossover Engine: Configurable lines (EMA, SMA, HMA, VWAP) with dynamic colors (HMA tints green/red based on slope). Enable/disable via inputs.
Invert Signals Toggle: Flips BUY/SELL logic for mixed MA setups (e.g., HMA as fast line over EMA).
Reasoning: Traditional crossovers assume a fast line (low lag) crossing above a slow line (high lag) for buys. HMA's hull design makes it ultra-responsive, so it may "lead" too aggressively—causing premature signals. Inverting aligns it with user intuition (e.g., HMA dipping below then recovering signals strength), reducing false positives in trending markets. Test on your pairs!
Visual Alerts: BUY/SELL labels at crossover price (with optional price display and offset adjustment).
Single MA Overlays: Independent plots for EMA/SMA/HMA/VWAP (length 0 to hide).
Info Box: Real-time table with current price, ±1/2 ATR bands, median price (over lookback), trend (SMA50 slope), volatility % (ATR normalized), support/resistance (recent highs/lows), and reversal projections (tied to SMA50 pivot for up/down bias).
Candle Coloring: 20+ themes (dark/light canvases) for bull/bear/reversal/low-volume bars—e.g., Emerald Blaze greens uptrends, dims on low vol. Toggle off for no changes.
Chart Source Flexibility: Auto-switches to Heikin Ashi if detected; manual override for Regular/HA.
Alerts fire on crossovers/crossunders (custom messages with ticker/interval). Open-source for forking.
How to Use
Add to Chart: Search in TradingView's public library, apply to any symbol (e.g., stocks, forex). Best on 1H for intraday, but works on daily/weekly too.
Setup Crossovers: Choose Line 1/2 types/lengths (e.g., HMA 9 over SMA 20). Enable "Invert Signals" if using HMA—prevents lag mismatches in volatile assets.
Alerts & Labels: Toggle labels for visuals; set TradingView alerts on "Buy"/"Sell" conditions. Use offset for crowded charts.
Info Box Insights: Enable for quick scans—e.g., enter long near support if trend is bullish and price > median. Adjust ATR length (default 14) for sensitivity.
Candle Themes: Pick a scheme (e.g., Neon Pulse for dark mode); it overrides bar colors without altering data.
Customization Tip: For HMA-heavy setups, invert + short lengths (5-9) catch turns early; pair with volume filter in alerts.
Limitations & Disclaimers - Designed for overlay on price charts; may overlap in tight ranges—adjust transparency via styles.
HMA can repaint intra-bar; signals confirm on close. Not back tested for all assets—validate with strategy tester.
Info box projections use SMA(50) as a trend pivot (same for up/down as reference); customize via code for advanced calcs. Candle colors are cosmetic only.
This is an analysis tool, not advice. Trading involves risk; combine with fundamentals/news. Past performance isn't indicative of future results. No liability for losses.
I'm still a newbie, so feedback encouraged!
Thank you!!
ThisGirl
DTM 444 BANDS 🚀DTM 444 BANDS 🚀:
The DTM 444 BANDS 🚀 is a powerful, multi-purpose trading indicator combining Supertrend, Dynamic Band Levels, Breakout Signals, and Volume Confirmation to help traders identify high-probability trade setups across different timeframes.
🔧 Key Features
✅ Multi-Timeframe Support
Analyze price action across any timeframe using the Timeframe input.
All band calculations (High, Low, Midline, and Supertrend) are pulled from a higher timeframe for clearer context.
✅ Dynamic Bands Based on Supertrend
High Band: Rolling highest of Supertrend over hiLen period.
Low Band: Rolling lowest of Supertrend over loLen period.
Midline: Midpoint of the above.
Acts like dynamic support/resistance, ideal for trend-following and breakout strategies.
✅ Dual Signal System
Breakout Signals (Buy and Sell): Triggered when price breaks the bands with volume confirmation.
Supertrend Crossover Signals (Buy1 and Sell1): Classic momentum entries with a confirmation twist.
Exit Signals: Optional take-profit/neutral indicators when price reverses.
✅ Volume Confirmation Filter (Optional)
Only triggers signals if the volume exceeds its 20-period SMA.
Helps filter out false breakouts and weak trends in low-liquidity periods.
✅ Visual Enhancements
Color-coded candles based on band positioning (e.g., red = weak, green = strong, etc.)
On-chart labels for each signal for quick reference.
Real-time Signal Dashboard using Pine Script tables showing:
Current signal
Volume filter status
Live volume vs volume SMA
🧪 Practical Use Cases
Trend Traders: Use the Supertrend cross and band breakouts to ride trends early.
Breakout Traders: Catch high-probability moves outside established ranges.
Swing Traders: Time entries and exits using color-coded bars and exit labels.
Volume-Sensitive Traders: Focus on trades with strong volume backing.
📊 Backtest Snapshot
Based on the example chart for Reliance Industries (RELIANCE.NS) on the weekly timeframe:
Several profitable buy and breakout signals during uptrends.
Timely exits and breakdown alerts before reversals.
Volume filter keeps trades clean and avoids noise.
⚙️ Customizable Parameters
High Length and Low Length (default: 19)
Supertrend Multiplier and ATR Length
Volume Filter: Toggle ON/OFF
Volume SMA Length: Default 20
Custom Timeframe: Choose any higher timeframe for multi-timeframe analysis
📢 Alerts Ready
Fully integrated with TradingView alerts:
Breakout & Breakdown
Supertrend crossovers
All alerts respect the volume filter setting
🏁 Final Thoughts
DTM 444 BANDS 🚀 is a versatile and adaptive trading system that blends trend analysis, volatility bands, and volume validation. Whether you're a trend trader, breakout hunter, or swing trader — this tool gives you a structured edge with clear visual cues and real-time alerts.
3SMA (1H only) by tophengzkyThis script plots three Simple Moving Averages (SMA 10, 20, 50), but they are only visible when the chart timeframe is set to 1 hour (1H).
It helps traders focus on higher timeframe trend direction without cluttering charts on other timeframes.
SMA1 = 10 (white)
SMA2 = 20 (yellow)
SMA3 = 200 (red)
Works only on 1H timeframe
Useful for swing traders and intraday traders who rely on hourly trend confirmation.
why 1 hr only? the only purpose of this is just to know the bias of the market weather it will reverse or it will continue the trend. As long as the price action did not cross this 3 SMA's the trend will continue.
as a trend trader it is very useful this strategy.. make it simple!
Liquidity Spectrum Visualizer [BigBeluga] [Optimized]This version of Liquidity Spectrum Visualizer (© BigBeluga) has been optimized to improve execution speed and reduce script load times without altering the visual output or analytical logic of the original indicator. The key improvements focus on reducing computational complexity, eliminating redundant calculations, and minimizing expensive function calls within loops.
Core Optimization Changes
Single-Pass Volume Binning (O(N) instead of O(N×M))
Original: For each bin (100) the script iterated through every bar (lookback), resulting in ~20,000 operations.
Optimized: Each bar is processed once to directly calculate its bin index. This reduces the loop complexity from O(N×M) to O(N), where N = lookback.
Precomputed Min/Max Values
Original: array.min() and array.max() were repeatedly called inside loops, re-scanning arrays hundreds of times.
Optimized: Min and max are computed once before all calculations and reused, reducing computational overhead.
Reduced Label Creation
Original: Labels were created in every iteration, potentially hundreds of times per update — a very expensive operation in Pine.
Optimized: Only two labels are created for significant high and low levels, cutting down label calls by ~99%.
Efficient Resource Management
All boxes and lines are cleared once before re-rendering instead of being deleted individually inside nested loops.
Optional gradient rendering and POC drawing remain, but only after binning is complete.
Performance Evaluation
The most important change is the reduction of loop complexity — instead of performing around 20,000 iterations per update, the optimized version now processes only about 200. This reduces execution time and makes the indicator much lighter.
Function calls such as min() and max() are now calculated only once instead of hundreds of times, which removes unnecessary overhead. Likewise, label creation has been reduced from hundreds of labels per refresh to just two, further improving performance.
As a result, the average loading time of the indicator dropped from roughly 1.5–3 seconds to about 0.05–0.2 seconds on typical datasets.