EMA Deviation with Min/Max Levelshis indicator visualizes the percentage deviation of the closing price from its Exponential Moving Average (EMA), helping traders identify overbought and oversold conditions. It dynamically tracks the minimum and maximum deviation levels over a user-defined lookback period, highlighting extreme zones with color-coded signals:
• 🔵 Normal deviation range
• 🔴 Near historical maximum — potential sell zone
• 🟢 Near historical minimum — potential buy zone
Use it to spot price extremes relative to trend and anticipate possible reversals or mean reversion setups.
Трендовый анализ
Adaptive Scalping with Take ProfitThis is a comprehensive and adaptive trading system designed specifically for scalping XAUUSD (Gold) on a 3-minute timeframe. Its main feature is that it "adapts" to current market conditions rather than using fixed parameters. It provides clear BUY, SELL, and EXIT signals directly on the chart.
Key Components
1. Adaptive Entry Signal (KAMA)
Instead of using standard moving averages (like EMA or SMA), the entry logic is based on Kaufman's Adaptive Moving Average (KAMA).
How it's adaptive: KAMA automatically adjusts its speed based on market noise. It moves slowly when the market is choppy and sideways, filtering out many false signals. It speeds up when a clear trend emerges, allowing you to enter a move early.
A BUY signal is generated when the faster KAMA crosses above the slower KAMA. A SELL signal is generated on a cross-under.
2. Volatility Filter
The system includes an optional filter that uses the Average True Range (ATR) to measure market volatility.
A trade signal will only appear if the market is volatile enough for scalping. This prevents you from entering trades when the market is flat and there's little opportunity for profit.
3. Dual Exit Strategy (Adaptive)
This is the most advanced part of the system. It gives you two ways to exit a trade to maximize and protect profits:
Dynamic Take Profit: When a trade starts, a profit target (the blue circles) is immediately plotted on the chart. This target is calculated using the ATR, so on a volatile day, the target will be further away. If the price hits this level, it's a signal to take your profits.
ATR Trailing Stop: This is your safety net. It's a stop loss that automatically "trails" behind the price as it moves in your favor (the green/red line). If the market suddenly reverses, the trade is closed when the price hits this trailing stop, locking in any accumulated profit.
An EXIT label appears on the chart as soon as one of these two conditions is met.
4. On-Chart Visuals
BUY/SELL/EXIT Labels: Clear, unmissable labels appear to show you exactly when to enter and exit.
Bar Coloring: The chart candles are colored green when the trend is bullish (fast KAMA > slow KAMA) and red when the trend is bearish, giving you an instant visual confirmation of the market sentiment.
Angle Market Structure [BigBeluga]🔵 OVERVIEW
Angle Market Structure is a smart pivot-based tool that dynamically adapts to price action by accelerating breakout and breakdown detection. It draws market structure levels based on pivot highs/lows and gradually adjusts those levels closer to price using an angle threshold. Upon breakout, the indicator projects deviation zones with labeled levels (+1, +2, +3 or −1, −2, −3) to track price extension beyond structure.
🔵 CONCEPTS
Adaptive Market Structure: Uses pivots to define structure levels, which dynamically angle closer to price over time to capture breakouts sooner.
Breakout Acceleration: Pivot high levels decrease and pivot low levels increase each bar using a user-defined angle (based on ATR), improving reactivity.
Deviation Zones: Once a breakout or breakdown occurs, 3 deviation levels are projected to show how far price extends beyond the breakout point.
Count Labels: Each successful structure break is numbered sequentially, giving traders insight into momentum and trend persistence.
Visual Clarity: The script uses colored pivot points, trend lines, and extension labels for easy structural interpretation.
🔵 FEATURES
Calculates pivot highs and lows using a customizable length.
Applies an angle modifier (ATR-based) to gradually pull levels closer to price.
Plots breakout and breakdown lines in distinct colors with automatic extension.
Shows deviation zones (+1, +2, +3 or −1, −2, −3) after breakout with customizable size.
Color-coded labels for trend break count (bullish or bearish).
Dynamic label sizing and theme-aware colors.
Smart label positioning to avoid chart clutter.
Built-in limit for deviation zones to maintain clarity and performance.
🔵 HOW TO USE
Use pivot-based market structure to identify breakout and breakdown zones.
Watch for crossover (up) or crossunder (down) events as trend continuation or reversal signals.
Observe +1/+2/+3 or -1/-2/-3 levels for overextension opportunities or trailing stop ideas.
Use breakout count as a proxy for trend strength—multiple counts suggest momentum.
Combine with volume or order flow tools for higher confidence entries at breakout points.
Adjust the angle setting to fine-tune sensitivity based on market volatility.
🔵 CONCLUSION
Angle Market Structure enhances traditional pivot-based analysis by introducing breakout acceleration and structured deviation tracking. It’s a powerful tool for traders seeking a cleaner, faster read on market structure and momentum strength—especially during impulsive price moves or structural transitions.
Supertrend - Support & ResistanceSupertrend – Multi-Timeframe Support & Resistance
This script overlays multiple Supertrend bands from higher timeframes on a single chart and treats them as dynamic support and resistance. The goal is simple: see the bigger picture without leaving your current timeframe.
What it does
• Calculates Supertrend using the same ATR Length and Factor across 5m, 15m, 30m, 1h, 4h, 8h, 12h, and 1D.
• Pulls each timeframe via request.security(..., lookahead_off) so values only update on candle close. No look-ahead, no “teleporting” lines.
• Plots each timeframe’s Supertrend as an on-chart band with increasing transparency the higher you go, so you can visually separate short-term vs higher-timeframe structure.
• Colors indicate direction:
• Green = bearish band above price (acting as resistance)
• Red = bullish band below price (acting as support)
• Drops compact labels (5m, 15m, 30m, etc.) every 20 bars right on the corresponding Supertrend level, so you can quickly identify which line belongs to which timeframe.
Why this helps
Supertrend is great for trend definition and trailing stops. But one timeframe alone can whipsaw you. By stacking multiple timeframes:
• Confluence stands out. When several higher-TF bands cluster, price often reacts.
• You see where intraday pullbacks are likely to pause (lower TF bands) and where trend reversals are more meaningful (higher TF bands).
• It’s easier to align entries with the dominant trend while still timing them on your working timeframe.
How it works (quick refresher)
Supertrend uses ATR to offset a median price with a multiplier (Factor). When price crosses the band, direction flips and the trailing line switches sides. This script exposes:
• ATR Length (default 10): sensitivity of the ATR. Smaller = tighter band, more flips. Larger = smoother, fewer flips.
• Factor (default 3.0): multiplier applied to ATR. Larger = wider band, more conservative.
The same settings are used for all timeframes for clean, apples-to-apples comparisons.
How to use it
• Trend alignment: Prefer longs when most higher-TF lines are below price (red support). Prefer shorts when most are above price (green resistance).
• Pullback entries: In an uptrend, look for pullbacks into a lower-TF red band that lines up near a higher-TF red band. That overlap is your “zone.”
• Breakout confirmation: A strong break and close beyond a higher-TF band carries more weight than a lower-TF poke.
• Stops and targets: Use the nearest opposing band as a logic point. For example, in a long, if price loses the lower-TF red band and the next higher-TF band is close overhead, trim or tighten.
Signals you can read at a glance
• Stacking: Multiple red bands beneath price = strong bullish structure. Multiple green bands above price = strong bearish structure.
• Compression: Bands from different TFs squeezing together often precede expansion.
• Flip zones: When a higher-TF band flips side, treat that level as newly minted support/resistance.
Design choices in the code
• lookahead_off on all request.security calls avoids repainting from future data.
• Increasing transparency as the timeframe rises makes lower-TF context visible without drowning the chart.
• Labels every 20 bars keep the chart readable while still giving you frequent anchors.
Good to know (limits and tips)
• This is an overlay of closed-bar Supertrend values from higher TFs. Intrabar moves can still exceed a band before close; final signal prints at candle close of that timeframe.
• Using the same ATR/factor across TFs makes confluence easier to judge. If you need independent tuning per TF, you can clone the security calls and add separate inputs.
• On very low timeframes with many symbols, multiple request.security calls can be heavy. If performance drops, hide one or two higher TFs or increase the label spacing.
Risk note
This is a context tool, not an auto-trader. Combine it with structure (HH/HL vs LH/LL), volume, and your execution rules. Always test on your market and timeframe before committing real capital.
TradeX Labs PriceActionTradeX Labs Price Action — Multi-Layered Market Structure & Liquidity Visualizer
This invite-only script is a unified price-action framework for traders who want a clear, multi-timeframe visual map of structure, liquidity events, and execution zones. It is not a simple combination of existing tools — all modules are custom-built in-house and designed to work from a shared data model, ensuring every feature interacts seamlessly with the others.
Purpose & Core Design
The script’s foundation is a fractal-based swing engine that detects high-quality structural pivots. These pivots form the anchor points for:
BOS (Break of Structure) and structural shift detection
Liquidity sweep identification for stop hunts and inducements
Session range mapping (e.g., Asian high/low)
Rule-based zone projection using displacement and retracement logic
Rather than plotting isolated indicators, every detection method feeds into a single structure model so that BOS, liquidity events, and zones are all derived from the same underlying market map.
Zone Generation & Entry Mapping
Zones are calculated from swing-to-swing displacement legs and projected using Fibonacci presets (50 %, 61.8 %, 78.6 %). Users can select:
Calculation method: Fibonacci, Point of Interest (POI), or both
Zone frequency: High (wider), Medium (balanced), or Low (deeper) retracement levels
Extension length: Forward projection in bars to match chart timeframe
This ensures zones are consistent, structurally relevant, and adaptable to different styles.
Inducement & Liquidity Filters
For refined context, setups can be filtered by inducement type:
Minor: Sweeps of current day/session highs or lows
Medium: Sweeps of previous day’s highs/lows
Major: Sweeps of weekly highs/lows
Filters may run independently or in combination, hiding zones that lack interaction with key liquidity levels.
QuickStrikes Session Filter
QuickStrikes is an optional filter that checks BOS and/or entry levels against the Asian session high/low:
V1 (BOS validation): BOS position relative to session range
V2 (Entry validation): Entry zone position relative to session range
V3 (Combined): Both BOS and entry must meet positional criteria
Multiple modes can be active simultaneously, and all selected conditions must pass for a setup to display.
Custom Visuals & Usability
Every plotted element — zones, BOS labels, inducement levels, arrows, risk/reward boxes — can be styled to match any chart theme. The optional visual panel provides an at-a-glance risk-to-reward display.
Disclaimer
This is an original, closed-source TradeX Labs tool built entirely from proprietary logic referencing known concepts (e.g., Fibonacci ratios, session ranges, swing detection) within a rule-based framework. It produces visual analysis only and does not predict price or guarantee results. Default settings are for illustration; traders should adjust to their instrument and timeframe.
Daily Signal Alert**📄 English Description (English version)**
**Indicator Name:** Daily Signal Alert + Multi-Indicator Dashboard & Volume Profile
This all-in-one indicator combines multiple technical analysis tools into a single dashboard to help you read market movements easily and make better trading decisions.
It provides technical signals, key support/resistance levels, and a basic volume profile, along with a smart alert system.
**Included Indicators:**
1. **Exponential Moving Averages (EMA 9/20/50):**
* Shows current trend by comparing EMA9 & EMA20 with EMA50.
* Generates bullish and bearish crossover signals.
2. **MACD (12/26/9):**
* Generates bullish and bearish crossovers between MACD line and Signal line.
3. **Relative Strength Index (RSI 14):**
* Detects overbought (RSI > 70) and oversold (RSI < 30) conditions.
4. **Average Directional Index (ADX 14):**
* Measures trend strength and indicates if the trend is bullish or bearish.
5. **Candle Behavior (Squeeze):**
* Compares the current candle size with the previous one to detect momentum squeeze/expansion.
6. **Relative Volume (RVOL):**
* Shows if current volume is above or below average.
7. **Traditional Pivot Levels (Daily / Weekly / Monthly / Auto):**
* Displays key support and resistance levels.
8. **Approximate Volume Profile (POC / VAH / VAL):**
* Identifies Point of Control (POC) and Value Area range.
**Features:**
* Option to display all signals or only the latest one (removing old ones).
* Dashboard table summarizing indicator states with automatic coloring.
* Automatic alerts when any signal appears.
* Auto mode for pivot timeframe selection.
* Basic volume profile to highlight accumulation/distribution zones.
**How to Use:**
* Enable or disable “Show All Signals” depending on your trading style.
* Monitor the dashboard to quickly check indicator states.
* Use Pivot Levels & Volume Profile for key market zones.
* Enable alerts to get notified immediately after a candle closes.
**📄 Arabic Description (الوصف العربي)**
**اسم المؤشر:** Daily Signal Alert + Multi-Indicator Dashboard & Volume Profile
هذا المؤشر المتكامل يجمع بين عدة أدوات تحليل فني في لوحة واحدة، ليساعدك على قراءة حركة السوق بسهولة واتخاذ قرارات تداول أفضل.
المؤشر يعرض إشارات فنية، مستويات دعم ومقاومة، وجانب من تحليل حجم التداول، بالإضافة إلى نظام تنبيه ذكي.
**المؤشرات المدمجة:**
1. **المتوسطات المتحركة الأسية (EMA 9/20/50):**
* يعرض الاتجاه الحالي عبر مقارنة EMA9 و EMA20 مع EMA50.
* إشارات تقاطع صاعدة وهابطة.
2. **مؤشر الماكد (MACD 12/26/9):**
* يعطي إشارات تقاطع صاعدة وهابطة بين خط الماكد وخط الإشارة.
3. **مؤشر القوة النسبية (RSI 14):**
* يحدد حالات التشبع الشرائي (RSI > 70) والتشبع البيعي (RSI < 30).
4. **مؤشر الاتجاه المتوسط (ADX 14):**
* يقيس قوة الاتجاه مع تحديد إذا كان صاعداً أو هابطاً.
5. **سلوك الشموع (Squeeze):**
* يقارن حجم الشمعة الحالية مع السابقة لتحديد ضغط أو انفراج الحركة.
6. **حجم التداول النسبي (RVOL):**
* يحدد إذا كان حجم التداول أعلى أو أقل من المتوسط.
7. **مستويات Pivot التقليدية (Daily / Weekly / Monthly / Auto):**
* تعرض نقاط الدعم والمقاومة الرئيسية.
8. **بروفايل الحجم التقريبي (POC / VAH / VAL):**
* يحدد نقطة التحكم (POC) ومنطقة القيمة.
**المزايا:**
* عرض جميع الإشارات أو آخر إشارة فقط (مع حذف الإشارات القديمة).
* جدول ملخص لحالة كل مؤشر مع تلوين تلقائي.
* تنبيهات تلقائية عند ظهور أي إشارة فنية.
* دعم الوضع التلقائي لاختيار إطار مستويات الـ Pivot.
* عرض بروفايل حجم تداول تقريبي لمناطق التجميع/التوزيع.
**طريقة الاستخدام:**
* فعّل أو عطّل عرض جميع الإشارات حسب أسلوبك.
* راقب الجدول لمعرفة حالة المؤشرات لحظياً.
* استخدم مستويات الـ Pivot والبروفايل لتحديد مناطق الدعم والمقاومة.
* فعّل التنبيهات لتصلك الإشارات فور إغلاق الشمعة.
XAUMO MEGABAR Detector]XAUMO MegaBar Detector – Breakout Candle Identification Tool
Purpose:
The XAUMO MegaBar Detector is built to highlight rare, high-impact candles where strong price movement and high trading volume occur together. These moments often reflect aggressive market activity and can be used to confirm potential breakouts or reversals.
How It Works (High-Level Overview)
The tool continuously monitors two primary conditions:
Price Expansion – Identifies large-bodied candles compared to recent averages.
Volume Expansion – Confirms that the move is supported by above-average trading activity.
When both conditions are present, the candle is marked:
🟢 Mega Bull – Strong bullish pressure.
🔴 Mega Bear – Strong bearish pressure.
Key Features
Automatic Timeframe Adjustment – Detection sensitivity changes based on chart timeframe, so results stay relevant from 1-minute scalps to multi-day swing setups.
Clear Visual Output – Significant candles are highlighted directly on the chart for easy recognition.
Optional Labels – Toggle on/off text labels (“Mega Bull” / “Mega Bear”) for a cleaner chart view.
Alert Integration – Set TradingView alerts to be notified immediately when a qualifying candle appears.
Universal Compatibility – Works on Forex, Commodities, Indices, Crypto, Stocks, ETFs, and Futures.
Practical Uses for Traders
As a confirmation tool when price approaches support/resistance or Fibonacci levels.
To filter low-quality setups by focusing only on moments where both price and volume confirm the move.
As part of a trend-following or breakout strategy when combined with other analysis methods.
Using the Indicator
Add the indicator to any chart and select your preferred timeframe.
Watch for highlighted candles – they indicate significant combined momentum and liquidity.
Use as a signal filter or confirmation alongside your existing trading system.
Optional: Set alerts to receive push/email/webhook notifications.
===================================
📌 MEGA BAR TRADING CHEAT SHEET
Spot Big Money. Ride the Move.
===================================
🧠 WHAT’S A MEGA BAR?
A Mega Bar is a candle so big it makes the rest look tiny — and it often means institutions are making a move.
Check the 4 Rules:
✅ Body size ≥ 2x average
✅ High relative volume (vs. last 20 bars)
✅ Closes near high (bull) or low (bear)
✅ Comes after sideways chop or price squeeze
📈 WHY IT MATTERS
Mega Bars = intent, not random spikes.
🟢 Mega Bull near support/Fib pullback → Likely accumulation
🔴 Mega Bear near resistance/Fib extension → Likely distribution or trap
🔧 HOW TO TRADE IT
1. WAIT FOR IT
No Mega Bar → No trade.
Mega Bull (big green) → BUY bias.
Mega Bear (big red) → SELL bias.
2. FIND THE SPOT
Fib levels: 61.8% / 78.6% / 138.2%
Major Support/Resistance
3. CONFIRM ON BIGGER TIMEFRAME
Example: 15M Mega Bar → Check 1H trend direction.
4. SET YOUR LEVELS
Stop-Loss:
Long → Below Mega Bull low (+0.2×ATR)
Short → Above Mega Bear high (+0.2×ATR)
Take-Profit:
Fib extensions: 127.2% / 161.8% / 261.8%
Prior highs/lows
5. RISK SMART
Risk 1–2% max per trade
Aim for 2:1+ R:R
🌍 WORKS ON:
Forex • Commodities • Stocks • Crypto • Indices
THE RETAILER’S FORMULA:
🟢 Big Green → Buy
🔴 Big Red → Sell
🎯 Fibs = Payday
One setup. One signal. Discipline = profit.
Multi-Pip Grid This indicator draws multiple sets of horizontal grid lines on your chart at user-defined pip intervals. It’s designed for traders who want to quickly visualize key price levels spaced evenly apart in pips, with full control over pip size, grid spacing, and appearance.
Features:
Adjustable pip size — works for Forex, gold, crypto, and indices (e.g., 0.0001 for EURUSD, 0.10 for XAUUSD, 1 for NAS100).
Six grid spacings — 1000 pips, 500 pips, 250 pips, 125 pips, 62.5 pips, and 31.25 pips. Each grid can be toggled on or off.
Customizable base price — center the grid at the current market price or any manually entered price.
Optional snap-to-grid — automatically aligns the base price to the nearest multiple of the smallest step for perfect alignment.
Flexible range — choose how many grid lines are drawn above and below the base price.
Distinct colors per grid level for easy identification.
Automatic cleanup — removes old lines before redrawing to avoid clutter.
Use cases:
Identify large and small pip-based support/resistance zones.
Plan entries/exits using fixed pip distances.
Visualize scaled take-profit and stop-loss zones.
Overlay multiple timeframes with consistent pip spacing.
Multi-Pip Grid (Adjustable) — FixedThis indicator draws multiple sets of horizontal grid lines on your chart at user-defined pip intervals. It’s designed for traders who want to quickly visualize key price levels spaced evenly apart in pips, with full control over pip size, grid spacing, and appearance.
Features:
Adjustable pip size — works for Forex, gold, crypto, and indices (e.g., 0.0001 for EURUSD, 0.10 for XAUUSD, 1 for NAS100).
Six grid spacings — 1000 pips, 500 pips, 250 pips, 125 pips, 62.5 pips, and 31.25 pips. Each grid can be toggled on or off.
Customizable base price — center the grid at the current market price or any manually entered price.
Optional snap-to-grid — automatically aligns the base price to the nearest multiple of the smallest step for perfect alignment.
Flexible range — choose how many grid lines are drawn above and below the base price.
Distinct colors per grid level for easy identification.
Automatic cleanup — removes old lines before redrawing to avoid clutter.
Use cases:
Identify large and small pip-based support/resistance zones.
Plan entries/exits using fixed pip distances.
Visualize scaled take-profit and stop-loss zones.
Overlay multiple timeframes with consistent pip spacing.
Moving Average Relative StrengthShow the relative strength of a stock with respect to 50 ma versus an index
連騰カウントCount arbitrary winning streaks and calculate their occurrence probability over a specified period.
For example, if a 5-day winning streak occurs only 0.3% of the time, it indicates that the price movement is not random, but rather a clear sign of capital inflows — making it a useful metric for analysis.
Dip Hunter [BackQuant]Dip Hunter
What this tool does in plain language
Dip Hunter is a pullback detector designed to find high quality buy-the-dip opportunities inside healthy trends and to avoid random knife catches. It watches for a quick drop from a recent high, checks that the drop happened with meaningful participation and volatility, verifies short-term weakness inside a larger uptrend, then scores the setup and paints the chart so you can act with confidence. It also draws clean entry lines, provides a meter that shows dip strength at a glance, and ships with alerts that match common execution workflows.
How Dip Hunter thinks
It defines a recent swing reference, measures how far price has dipped off that high, and only looks at candidates that meet your minimum percentage drop.
It confirms the dip with real activity by requiring a volume spike and a volatility spike.
It checks structure with two EMAs. Price should be weak in the short term while the larger context remains constructive.
It optionally requires a higher-timeframe trend to be up so you focus on pullbacks in trending markets.
It bundles those checks into a score and shows you the score on the candles and on a gradient meter.
When everything lines up it paints a green triangle below the bar, shades the background, and (if you wish) draws a horizontal entry line at your chosen level.
Inputs and what they mean
Dip Hunter Settings
• Vol Lookback and Vol Spike : The script computes an average volume over the lookback window and flags a spike when current volume is a multiple of that average. A multiplier of 2.0 means today’s volume must be at least double the average. This helps filter noise and focuses on dips that other traders actually traded.
• Fast EMA and Slow EMA : Short-term and medium-term structure references. A dip is more credible if price closes below the fast EMA while the fast EMA is still below the slow EMA during the pullback. That is classic corrective behavior inside a larger trend.
• Price Smooth : Optional smoothing length for price-derived series. Use this if you trade very noisy assets or low timeframes.
• Volatility Len and Vol Spike (volatility) : The script checks both standard deviation and true range against their own averages. If either expands beyond your multiplier the market confirms the move with range.
• Dip % and Lookback Bars : The engine finds the highest high over the lookback window, then computes the percentage drawdown from that high to the current close. Only dips larger than your threshold qualify.
Trend Filter
• Enable Trend Filter : When on, Dip Hunter will only trigger if the market is in an uptrend.
• Trend EMA Period : The longer EMA that defines the session’s backbone trend.
• Minimum Trend Strength : A small positive slope requirement. In practice this means the trend EMA should be rising, and price should be above it. You can raise the value to be more selective.
Entries
• Show Entry Lines : Draws a horizontal guide from the signal bar for a fixed number of bars. Great for limit orders, scaling, or re-tests.
• Line Length (bars) : How far the entry guide extends.
• Min Gap (bars) : Suppresses new entry lines if another dip fired recently. Prevents clutter during choppy sequences.
• Entry Price : Choose the line level. “Low” anchors at the signal candle’s low. “Close” anchors at the signal close. “Dip % Level” anchors at the theoretical level defined by recent_high × (1 − dip%). This lets you work resting orders at a consistent discount.
Heat / Meter
• Color Bars by Score : Colors each candle using a red→white→green gradient. Red is overheated, green is prime dip territory, white is neutral.
• Show Meter Table : Adds a compact gradient strip with a pointer that tracks the current score.
• Meter Cells and Meter Position : Resolution and placement of the meter.
UI Settings
• Show Dip Signals : Plots green triangles under qualifying bars and tints the background very lightly.
• Show EMAs : Plots fast, slow, and the trend EMA (if the trend filter is enabled).
• Bullish, Bearish, Neutral colors : Theme controls for shapes, fills, and bar painting.
Core calculations explained simply
Recent high and dip percent
The script finds the highest high over Lookback Bars , calls it “recent high,” then calculates:
dip% = (recent_high − close) ÷ recent_high × 100.
If dip% is larger than Dip % , condition one passes.
Volume confirmation
It computes a simple moving average of volume over Vol Lookback . If current volume ÷ average volume > Vol Spike , we have a participation spike. It also checks 5-bar ROC of volume. If ROC > 50 the spike is forceful. This gets an extra score point.
Volatility confirmation
Two independent checks:
• Standard deviation of closes vs its own average.
• True range vs ATR.
If either expands beyond Vol Spike (volatility) the move has range. This prevents false triggers from quiet drifts.
Short-term structure
Price should close below the Fast EMA and the fast EMA should be below the Slow EMA at the moment of the dip. That is the anatomy of a pullback rather than a full breakdown.
Macro trend context (optional)
When Enable Trend Filter is on, the Trend EMA must be rising and price must be above it. The logic prefers “micro weakness inside macro strength” which is the highest probability pattern for buying dips.
Signal formation
A valid dip requires:
• dip% > threshold
• volume spike true
• volatility spike true
• close below fast EMA
• fast EMA below slow EMA
If the trend filter is enabled, a rising trend EMA with price above it is also required. When all true, the triangle prints, the background tints, and optional entry lines are drawn.
Scoring and visuals
Binary checks into a continuous score
Each component contributes to a score between 0 and 1. The script then rescales to a centered range (−50 to +50).
• Low or negative scores imply “overheated” conditions and are shaded toward red.
• High positive scores imply “ripe for a dip buy” conditions and are shaded toward green.
• The gradient meter repeats the same logic, with a pointer so you can read the state quickly.
Bar coloring
If you enable “Color Bars by Score,” each candle inherits the gradient. This makes sequences obvious. Red clusters warn you not to buy. White means neutral. Increasing green suggests the pullback is maturing.
EMAs and the trend EMA
• Fast EMA turns down relative to the slow EMA inside the pullback.
• Trend EMA stays rising and above price once the dip exhausts, which is your cue to focus on long setups rather than bottom fishing in downtrends.
Entry lines
When a fresh signal fires and no other signal happened within Min Gap (bars) , the indicator draws a horizontal level for Line Length bars. Use these lines for limit entries at the low, at the close, or at the defined dip-percent level. This keeps your plan consistent across instruments.
Alerts and what they mean
• Market Overheated : Score is deeply negative. Do not chase. Wait for green.
• Close To A Dip : Score has reached a healthy level but the full signal did not trigger yet. Prepare orders.
• Dip Confirmed : First bar of a fresh validated dip. This is the most direct entry alert.
• Dip Active : The dip condition remains valid. You can scale in on re-tests.
• Dip Fading : Score crosses below 0.5 from above. Momentum of the setup is fading. Tighten stops or take partials.
• Trend Blocked Signal : All dip conditions passed but the trend filter is offside. Either reduce risk or skip, depending on your plan.
How to trade with Dip Hunter
Classic pullback in uptrend
Turn on the trend filter.
Watch for a Dip Confirmed alert with green triangle.
Use the entry line at “Dip % Level” to stage a limit order. This keeps your entries consistent across assets and timeframes.
Initial stop under the signal bar’s low or under the next lower EMA band.
First target at prior swing high, second target at a multiple of risk.
If you use partials, trail the remainder under the fast EMA once price reclaims it.
Aggressive intraday scalps
Lower Dip % and Lookback Bars so you catch shallow flags.
Keep Vol Spike meaningful so you only trade when participation appears.
Take quick partials when price reclaims the fast EMA, then exit on Dip Fading if momentum stalls.
Counter-trend probes
Disable the trend filter if you intentionally hunt reflex bounces in downtrends.
Require strong volume and volatility confirmation.
Use smaller size and faster targets. The meter should move quickly from red toward white and then green. If it does not, step aside.
Risk management templates
Stops
• Conservative: below the entry line minus a small buffer or below the signal bar’s low.
• Structural: below the slow EMA if you aim for swing continuation.
• Time stop: if price does not reclaim the fast EMA within N bars, exit.
Position sizing
Use the distance between the entry line and your structural stop to size consistently. The script’s entry lines make this distance obvious.
Scaling
• Scale at the entry line first touch.
• Add only if the meter stays green and price reclaims the fast EMA.
• Stop adding on a Dip Fading alert.
Tuning guide by market and timeframe
Equities daily
• Dip %: 1.5 to 3.0
• Lookback Bars: 5 to 10
• Vol Spike: 1.5 to 2.5
• Volatility Len: 14 to 20
• Trend EMA: 100 or 200
• Keep trend filter on for a cleaner list.
Futures and FX intraday
• Dip %: 0.4 to 1.2
• Lookback Bars: 3 to 7
• Vol Spike: 1.8 to 3.0
• Volatility Len: 10 to 14
• Use Min Gap to avoid clusters during news.
Crypto
• Dip %: 3.0 to 6.0 for majors on higher timeframes, lower on 15m to 1h
• Lookback Bars: 5 to 12
• Vol Spike: 1.8 to 3.0
• ATR and stdev checks help in erratic sessions.
Reading the chart at a glance
• Green triangle below the bar: a validated dip.
• Light green background: the current bar meets the full condition.
• Bar gradient: red is overheated, white is neutral, green is dip-friendly.
• EMAs: fast below slow during the pullback, then reclaim fast EMA on the bounce for quality continuation.
• Trend EMA: a rising spine when the filter is on.
• Entry line: a fixed level to anchor orders and risk.
• Meter pointer: right side toward “Dip” means conditions are maturing.
Why this combination reduces false positives
Any single criterion will trigger too often. Dip Hunter demands a dip off a recent high plus a volume surge plus a volatility expansion plus corrective EMA structure. Optional trend alignment pushes odds further in your favor. The score and meter visualize how many of these boxes you are actually ticking, which is more reliable than a binary dot.
Limitations and practical tips
• Thin or illiquid symbols can spoof volume spikes. Use larger Vol Lookback or raise Vol Spike .
• Sideways markets will show frequent small dips. Increase Dip % or keep the trend filter on.
• News candles can blow through entry lines. Widen stops or skip around known events.
• If you see many back-to-back triangles, raise Min Gap to keep only the best setups.
Quick setup recipes
• Clean swing trader: Trend filter on, Dip % 2.0 to 3.0, Vol Spike 2.0, Volatility Len 14, Fast 20 EMA, Slow 50 EMA, Trend 100 EMA.
• Fast intraday scalper: Trend filter off, Dip % 0.7 to 1.0, Vol Spike 2.5, Volatility Len 10, Fast 9 EMA, Slow 21 EMA, Min Gap 10 bars.
• Crypto swing: Trend filter on, Dip % 4.0, Vol Spike 2.0, Volatility Len 14, Fast 20 EMA, Slow 50 EMA, Trend 200 EMA.
Summary
Dip Hunter is a focused pullback engine. It quantifies a real dip off a recent high, validates it with volume and volatility expansion, enforces corrective structure with EMAs, and optionally restricts signals to an uptrend. The score, bar gradient, and meter make reading conditions instant. Entry lines and alerts turn that read into an executable plan. Tune the thresholds to your market and timeframe, then let the tool keep you patient in red, selective in white, and decisive in green.
ADR/ATR Session No Probability Table by LKHere you go—clear, English docs you can drop into your script’s description or share with teammates.
ADR/ATR Session by LK — Overview
This indicator summarizes Average Daily Range (ADR) and Average True Range (ATR) for two horizons:
• Session H4 (e.g., 06:00–13:00 on a 4‑hour chart)
• Daily (D)
It shows:
• Current ADR/ATR values (using your chosen smoothing method)
• How much of ADR/ATR today/this bar has already been consumed (% of ADR/ATR)
• ADR/ATR as a percent of price
• Optional probability blocks: likelihood that %ADR will exceed user‑defined thresholds over a lookback window
• Optional on‑chart lines for the current H4 and Daily candles: Open, ADR High, ADR Low
⸻
What the metrics mean
• ADR (H4 / D): Moving average of the bar range (high - low).
• ATR (H4 / D): Moving average of True Range (max(hi-lo, |hi-close |, |lo-close |)).
• % of ADR (curr H4): (H4 range of the current H4 bar) / ADR(H4) × 100. Updates live even if the current time is outside the session.
• % of ADR (Daily): (today’s intra‑day range) / ADR(D) × 100.
• % of ATR (curr H4 / Daily): TR / ATR × 100 for that horizon.
• ADR % of Price / ATR % of Price: ADR or ATR divided by current price × 100 (a quick “volatility vs. price” gauge).
Session logic (H4): ADR/ATR(H4) only update on bars that fall inside the configured session window; outside the window the values hold steady (no recalculation “bleed”).
Daily range tracking: The indicator tracks today’s high/low in real‑time and resets at the day change.
⸻
Inputs (quick reference)
Core
• Length (ADR/ATR): smoothing length for ADR/ATR (default 21).
• Wait for Higher TF Bar Close: if true, updates ADR/ATR only after the higher‑TF bar closes when using request.security.
Timeframes
• Session Timeframe (H4): default 240.
• Daily Timeframe: default D.
Session time
• Session Timezone: “Chart” (default) or a fixed timezone.
• Session Start Hour, End Hour (minutes are fixed to 0 in this version).
Smoothing methods
• H4 ADR Method / H4 ATR Method: SMA/EMA/RMA/WMA.
• Daily ADR Method / Daily ATR Method: SMA/EMA/RMA/WMA.
Table appearance
• Table BG, Table Text, Table Font Size.
Lines (optional)
• Show current H4 segments, Show current Daily segments
• Line colors for Open / ADR High / ADR Low
• Line width
Probability
• H4 Probability Lookback (bars): number of H4 bars to examine (e.g., 300).
• Daily Probability Lookback (days): number of D bars (e.g., 180).
• ADR thresholds (%): CSV list of thresholds (e.g., 25,50,55,60,65,70,75,80,85,90,95,100,125,150).
The table will show the % of lookback bars where %ADR ≥ threshold.
Tip: If you want probabilities only for session H4 bars (not every H4 bar), ask and I can add a toggle to filter by inSess.
⸻
How to read the table
H4 block
• ADR (method) / ATR (method): the session‑aware averages.
• % of ADR (curr H4): live progress of this H4 bar toward the session ADR.
• ADR % of Price: ADR(H4) relative to price.
• % of ATR (curr H4) and ATR % of Price: same idea for ATR.
H4 Probability (lookback N bars)
• Rows like “≥ 80% ADR” show the fraction (in %) of the last N H4 bars that reached at least 80% of ADR(H4).
Daily block
• Mirrors the H4 block, but for Daily.
Daily Probability (lookback M days)
• Rows like “≥ 100% ADR” show the fraction of the last M daily bars whose daily range reached at least 100% of ADR(D).
⸻
Practical usage
• Use % of ADR (curr H4 / Daily) to judge exhaustion or room left in the day/session.
E.g., if Daily %ADR is already 95%, be cautious with momentum continuation trades.
• The probability tables give a quick historical context:
If “≥ 125% ADR” is ~18%, the market rarely stretches that far; your trade sizing/targets can reflect that.
• ADR/ATR % of Price helps normalize volatility between instruments.
⸻
Troubleshooting
• If probability rows are blank: ensure lookback windows are large enough (and that the chart has enough history).
• If ADR/ATR show … (NA): usually you don’t have enough bars for the chosen length/TF yet.
• If line segments are missing: verify you’re on a chart with visible current H4/D bars and the toggles are enabled.
⸻
Notes & customization ideas
• Add a toggle to count only session bars in H4 probability.
• Add separate thresholds for H4 vs Daily.
• Let users pick minutes for session start/end if needed.
• Add alerts when %ADR crosses specified thresholds.
If you want me to bundle any of the “ideas” above into the code, say the word and I’ll ship a clean patch.
Burt's Multi-EMA RibbonBurt’s Multi-EMA Ribbon is a simple tool for visualising multiple Exponential Moving Averages (EMAs) on the same chart.
It plots the 9, 21, 50, 100, and 200-period EMAs, allowing users to observe their relative positioning. The space between the EMA 9 and EMA 21 is shaded to highlight their relationship.
The script also includes optional alert conditions that notify when EMA 9 moves above or below EMA 21. These features can help traders monitor changes in EMA alignment without constantly watching the chart.
This indicator is intended as an analytical aid and should be used together with other forms of chart analysis. It does not provide buy or sell recommendations.
GMO The GMO is a multi-component confluence oscillator that helps traders visualise when several momentum and trend conditions align.
It blends an EMA trend filter, RSI bias, MACD histogram direction, and Stochastic RSI crossovers, with the option to add Fibonacci retracement proximity for additional confidence.
When multiple conditions agree, combined visual markers (triangle + emoji) appear above or below price, and background shading reflects bullish or bearish momentum. Supporting plots display MACD histogram bars, RSI, Stochastic RSI lines, and the chosen Fibonacci level, allowing quick confirmation at a glance.
This tool is best used as part of a broader confluence-based strategy and should be paired with independent analysis and risk management.
Complete HTF Candles by InzaghiThis indicator overlays Higher Time Frame (HTF) candles directly onto your lower-timeframe charts, providing a seamless multi-timeframe perspective.
Key Features:
1. HTF Candles with LTF Period Separators & Text Labels
2. CISD (Change in State of Delivery) – A toggleable feature that can be turned on/off in settings to instantly enhance price action interpretation.
3. Custom Watermark – Add your own title and subtitle, while also displaying the current date and symbol information directly on the chart.