Momentum_EMABand📢 Reposting Notice
I am reposting this script because my earlier submission was hidden due to description requirements under TradingView’s House Rules. This updated version fully explains the originality, the reason for combining these indicators, and how they work together. Follow me for future updates and refinements.
🆕 Momentum EMA Band, Rule-Based System
Momentum EMA Band is not just a mashup — it is a purpose-built trading tool for intraday traders and scalpers that integrates three complementary technical concepts into a single rules-based breakout & retest framework.
Originality comes from the specific sequence and interaction of these three filters:
Supertrend → Sets directional bias.
EMA Band breakout with retest logic → Times precise entries.
ADX filter → Confirms momentum strength and avoids noise.
This system is designed to filter out weak setups and false breakouts that standalone indicators often fail to avoid.
🔧 How the Indicator Works — Combined Logic
1️⃣ EMA Price Band — Dynamic Zone Visualization
Plots upper & lower EMA bands (default: 9-period EMA).
Green Band → Price above upper EMA = bullish momentum
Red Band → Price below lower EMA = bearish pressure
Yellow Band → Price within band = neutral zone
Acts as a consolidation zone and breakout trigger level.
2️⃣ Supertrend Overlay — Reliable Trend Confirmation
ATR-based Supertrend adapts to volatility:
Green Line = Uptrend bias
Red Line = Downtrend bias
Ensures trades align with the prevailing trend.
3️⃣ ADX-Based No-Trade Zone — Choppy Market Filter
Manual ADX calculation (default: length 14).
If ADX < threshold (default: 20) and price is inside EMA Band → gray background marks low-momentum zones.
🧩 Why This Mashup Works
Supertrend confirms trend direction.
EMA Band breakout & retest validates the breakout’s strength.
ADX ensures the market has enough trend momentum.
When all align, entries are higher probability and whipsaws are reduced.
📈 Example Trade Walkthrough
Scenario: 5-minute chart, ADX threshold = 20.
Supertrend turns green → trend bias is bullish.
Price consolidates inside the yellow EMA Band.
ADX rises above 20 → trend momentum confirmed.
Price closes above the green EMA Band after retesting the band as support.
Entry triggered on candle close, stop below band, target based on risk-reward.
Exit when Supertrend flips red or ADX momentum drops.
This sequence prevents premature entries, keeps trades aligned with trend, and avoids ranging markets.
🎯 Key Features
✅ Multi-layered confirmation for precision trading
✅ Built-in no-trade zone filter
✅ Fully customizable parameters
✅ Clean visuals for quick decision-making
⚠ Disclaimer: This is Version 1. Educational purposes only. Always use with risk management.
趨勢分析
Market Structure (DeadCat)🌟 Market Structure (DeadCat) - Indicator Overview 🌟
The Market Structure (DeadCat) indicator plots swing highs and lows (HH, HL, LH, LL) using pivot points, helping you spot uptrends, downtrends, and potential reversals. Perfect for traders who use market structure.
🌟 Key Features 🌟
🔹 Swing Point Labels
HH (Higher High): Signals uptrend strength.
HL (Higher Low): Marks bullish support.
LH (Lower High): Hints at weakening uptrend or reversal.
LL (Lower Low): Confirms downtrend momentum.
🔹 Trend Detection
Uptrend: Tracks HH/HL for bullish momentum.
Downtrend: Tracks LH/LL for bearish momentum.
Waits for breaks of prior HH/HL or LH/LL to confirm new swing points, ensuring reliable signals. 🔄
🔹 Customizable Labels
Adjust label text color (default: black) to suit your chart. Supports up to 500 labels for a clean, focused view. 🖌️
🌟 Indicator Settings 🌟
Swing Length: Fixed at 20 bars (left) and 2 bars (right) for pivot detection.
Label Color: Customize text color for better visibility.
Dual Vwap on IntradayIndicator Name: Dual VWAP on Intraday
Version: Pine Script v5
Description
This indicator plots two separate VWAP (Volume Weighted Average Price) lines on intraday charts, helping traders identify intraday trend bias and potential support/resistance zones.
The script is designed exclusively for intraday timeframes and will stop execution if used on daily or higher intervals.
🔍 How It Works
VWAP Calculation
Uses a custom function that calculates VWAP fresh for each trading session.
VWAP #1: Based on hl2 (average of high and low).
VWAP #2: Based on high price.
Dynamic Color Coding
The VWAP lines change color if the percentage change from the previous bar exceeds ±0.5%, signaling notable short-term volatility.
Otherwise, they retain their default colors:
Blue: VWAP (hl2 source)
Orange: VWAP (High source)
Intraday-Only Restriction
Prevents accidental use on higher timeframes to maintain accuracy.
📈 How to Use
Trend Confirmation: Both VWAPs above price → Bearish bias; both below → Bullish bias.
Support/Resistance: VWAP lines often act as strong intraday support or resistance.
Momentum Shift: Watch for price crossing either VWAP with strong candle bodies for potential reversals or breakouts.
Volatility Alerts: Darkened VWAP line indicates an intraday percentage change greater than 0.5%, signaling increased momentum.
⚠️ Notes
Works only on intraday timeframes (1m, 5m, 15m, etc.).
Best paired with volume and price action analysis.
DXY Opening Zones - FixedFull Description:
Overview:
This indicator automates the identification of DXY (Dollar Index) opening zones, a cornerstone of the Funded Trader Academy's "Dixie Open" strategy. It marks the critical gap between market close and open, which acts as a magnetic attraction level for price action throughout the trading day.
Key Features:
✅ Automatic Gap Detection: Identifies opening gaps between market close (6:00 PM EST) and open (7:45 PM EST Sunday, 7:45 PM Mon-Thu)
✅ Smart Zone Expansion: Automatically expands zones when gaps are smaller than 20 pips to include prior candle highs/lows for better trading ranges
✅ Session Highlighting: Visual overlays for London (3 AM - 12 PM EST) and New York (8 AM - 5 PM EST) sessions
✅ Phantom Candle Filter: Ignores glitch/phantom candles smaller than 2 pips to prevent false zones
✅ Time-Based Zone Extension: Zones automatically extend to 5 PM EST (US market close) for full-day relevance
✅ 15-Minute Chart Optimization: Specifically designed for the 15-minute timeframe where the strategy performs best
✅ DXY-Only Protection: Built-in safeguards ensure the indicator only works on Dollar Index symbols
Trading Strategy Context:
The DXY Opening Level strategy capitalizes on the market's tendency to return to opening gaps, offering approximately 70-75% win rate when traded correctly. Best entries occur during London session (after 2:30 AM EST) when volume increases.
Ideal For:
Forex traders using DXY correlation strategies
Mean reversion and gap trading enthusiasts
Traders seeking high-probability setups with defined risk
Those following the Funded Trader Academy methodology
Settings Explained:
Zone Color: Customize the visual appearance of zones
Expand Zone Threshold: Adjust when zones should expand (default 20 pips)
Phantom Filter: Set minimum candle size to consider valid (default 2 pips)
Session Display: Toggle London/NY session backgrounds
Debug Mode: View detailed gap measurements and timing information
Important Notes:
Must be used on 15-minute DXY/Dollar Index charts
Zones mark attraction levels, not direct entry points
Always wait for valid entry signals (engulfing, pin bar, 3-bar reversal)
Trade correlated forex pairs, not DXY directly
Best results during London session (2:30 AM - 12 PM EST)
Risk Disclaimer:
This indicator identifies potential trading zones based on historical patterns. Always use proper risk management and never risk more than you can afford to lose. Past performance does not guarantee future results.
RSI Z-score | Lemniscuss🧠 Introducing RSI Z-Score (RSI-Z) by Lemniscuss
🛠️ Overview
RSI Z-Score (RSI-Z) is a momentum-based market condition detector that transforms the classic Relative Strength Index (RSI) into a standardized volatility framework.
By applying Z-Score normalization to the RSI, this tool allows traders to identify statistically significant deviations in momentum — cutting through noise and highlighting high-probability turning points.
RSI-Z is optimized for trend inflection detection and overextension spotting, providing both visual clarity and actionable trade signals with dynamic labeling and optional bar coloring.
🔍 How It Works
1️⃣ RSI Foundation
The system starts with a standard RSI calculation on a user-defined source and length (default: 45).
2️⃣ Z-Score Normalization
The RSI values are standardized by subtracting their mean and dividing by the standard deviation over the same lookback.
This converts RSI into a statistical measure — revealing how many standard deviations current momentum is from its mean.
3️⃣ Threshold Logic
Two customizable thresholds define actionable zones:
• Long Threshold → Signals bullish momentum shifts when crossed upward
• Short Threshold → Signals bearish momentum shifts when crossed downward
4️⃣ Signal State Tracking
A state variable locks in a bias (Long / Short / Neutral) until an opposing trigger appears, ensuring clear and consistent market bias mapping.
✨ Key Features
🔹 Statistically Driven Momentum Detection — Moves beyond fixed RSI overbought/oversold levels by using standard deviations for adaptive accuracy.
🔹 Customizable Thresholds — Fine-tune long/short triggers for different volatility environments.
🔹 Clear Visual Feedback — Candle coloring and signal labels make trade setups instantly recognizable.
🔹 Overlay-Friendly — Works directly on your main chart or in a separate pane.
⚙️ Custom Settings
• Source: Price stream for RSI calculation (default: close)
• RSI Length: Lookback period for RSI & Z-Score (default: 45)
• Long Threshold: Z-score value for bullish signal (default: 1)
• Short Threshold: Z-score value for bearish signal (default: -1.9)
• Long/Cash Signal Labels: Toggle for "Long"/"Short" markers
• Bar Coloring: Toggle for trend-based candle coloring
📌 Trading Applications
✅ Trend Reversals → Spot statistically significant shifts in momentum before traditional RSI signals trigger
✅ Overextension Monitoring → Identify when momentum has deviated too far from the mean
✅ Mean Reversion Setups → Use extreme Z-score values as potential reversion points
✅ Bias Confirmation → Combine with trend tools for higher conviction entries/exits
📌 Conclusion
RSI-Z by Lemniscuss offers a clean, statistics-backed upgrade to the classic RSI.
By framing momentum in standard deviation terms, it empowers traders to separate normal fluctuations from truly significant market moves — making it a valuable tool for both trend traders and mean reversion specialists.
🔹 Summary Highlights
1️⃣ Statistical upgrade to RSI for higher-quality signals
2️⃣ Threshold-based, customizable long/short triggers
3️⃣ Visual candle coloring & signal labels for clarity
4️⃣ Adaptable to trend, swing, or intraday strategies
📌 Disclaimer: Past performance is not indicative of future results. No indicator guarantees profitability — always test and manage risk appropriately.
Real-Time FTFC Dashboard (Styled)Full Time Frame Continuity dashboard that monitors real-time market direction across multiple timeframes for any stock, ETF, or index. Uses green, red, and pause emojis to visually indicate bullish, bearish, or inactive periods, helping traders quickly assess overall market alignment.
DTLLC Time & PriceDTLLC Time and Price with Signals
This indicator is built for traders who understand ICT concepts and want a structured, visual way to align time-based price action with key market levels. By combining customizable trading windows, breakout logic, and daily reference points, it helps you identify high-probability trade opportunities while filtering out market noise.
Key Features
1. Dual Custom Time Ranges (Kill Zones)
Set two independent time ranges per day (start/end hour and minute).
Each range identifies the highest high and lowest low within its window.
Built-in breakout detection generates buy/sell signals when price moves beyond these levels.
2. Volatility Filtering
Adjustable volatility threshold based on True Range relative to ATR.
Filters out low-quality signals during choppy, low-volatility conditions.
3. ATR-Based Stop Loss
Custom ATR length and stop-loss multiplier settings.
Automatically plots ATR-based stop levels for triggered trades.
4. Daily Key Levels
Plots Previous Day High, Previous Day Low, and Midnight Open continuously on the chart.
Useful for spotting breakout and reversal opportunities in line with ICT market structure concepts.
5. Liquidity & Engulfing Candle Highlights
Highlights potential liquidity grab zones (yellow candles) when significant highs/lows are set within your lookback period.
Detects bullish (green) and bearish (red) engulfing patterns for added confluence.
6. Visual & Signal Tools
Buy/Sell signals plotted directly on chart (separate colors for Range 1 and Range 2). Continuous plotting of reference levels to maintain market context throughout the session.
Example Use Case:
A common ICT-inspired reversal setup:
Wait for price to sweep the Previous Day’s High or Low during your chosen time range.
Look for a buy or sell signal with volatility confirmation.
Manage risk using the ATR-based stop-loss plot.
Disclaimer: This script is for educational purposes only and is not financial advice. Trade responsibly and always test strategies before applying them in live markets.
Previous Day High/Low Levels [OWI]📘 How to Use the “Previous Day High/Low Levels ” Indicator
This TradingView indicator automatically tracks and displays the previous day's high and low during the Regular Trading Hours (RTH) session. It’s perfect for traders who want to visualize key support/resistance levels from the prior day in futures like CME_MINI:NQ1! and COMEX:GC1! .
🛠 Setup Instructions
1. Customize RTH Session Times
- In the Settings panel, adjust the following under the Levels group:
- RTH Start Hour and RTH Start Minute: Default is 9:30 AM (New York time).
- RTH End Hour and RTH End Minute: Default is 4:15 PM.
- These define the active trading session used to calculate the day’s high and low.
2. Toggle Labels
- Use the Show PDH/PDL Labels checkbox to display or hide the “PDH” and “PDL” labels on the chart.
- Labels appear after the session ends and follow price dynamically.
📊 What the Indicator Does
- During the RTH session:
- Tracks the highest and lowest price of the day.
- After the session ends:
- Draws horizontal lines at the previous day’s high (green) and low (red).
- Optionally displays labels ("PDH" and "PDL") at those levels.
- Lines extend into the current day to help identify potential support/resistance zones.
✅ Best Practices
- Use this indicator on intraday timeframes (e.g., 5m, 15m, 1h) for best results.
- Combine with volume or price action analysis to confirm reactions at PDH/PDL levels.
- Adjust session times if trading non-US markets or custom hours.
Scalping Indicator (EMA + RSI)Buy and Sell Signals. Use with Supply and Demand to find good entries. Do not rely solely on this signal. Monitors with short and long EMA cross along with oversold or overbought RSI.
True OHLC - [CrossTrade] True OHLC Data Indicator
This indicator displays the actual open, high, low, and close prices when viewing Heikin Ashi charts.
Heikin Ashi candles use modified price calculations that smooth out price action, but this means you can't see the real price levels where trades actually occurred. This indicator pulls the genuine OHLC data and plots it on top of your Heikin Ashi chart.
The indicator includes alert conditions that reference these real price values, making it useful for strategies and alert systems that need accurate price data instead of the modified Heikin Ashi values.
Customize the colors, line thickness, and plot style (circles, lines, or crosses) to fit your chart preferences.
JJ Thursday Expiry Highlighter - NiftyThursday Expiry Highlighter
This indicator shades the background of all Thursday trading sessions on your chart — ideal for Nifty, Bank Nifty, and other Indian markets where the weekly options expiry typically occurs on Thursdays.
Features:
Highlights entire Thursday columns on any timeframe (intraday or daily).
Adjustable highlight color and transparency for maximum visibility without obscuring candles.
Makes expiry days stand out for quick recognition in both live trading and historical analysis.
Use Cases:
Quickly identify weekly option expiry days for planning.
Visually backtest expiry-day patterns or volatility setups.
Combine with other indicators for expiry-specific strategies.
Disclaimer:
This tool is for educational and informational purposes only. It does not provide financial advice and should not be relied upon as a sole basis for making investment decisions. Market conditions can change, and there is no guarantee of accuracy. Always do your own research and consult a licensed financial professional before trading or investing.
JJ Tuesday Expiry Highlighter – SensexHighlights every Tuesday across your chart for quick identification of Indian market weekly expiry days (Sensex expiry = Tuesday).
Features:
• Works on all timeframes
• Customizable highlight color
• Optional "Expiry" label on daily charts
• Useful for options traders tracking weekly expiry trends
Disclaimer:
This script is for informational and educational purposes only.
It does not constitute financial advice or a recommendation to trade.
Please do your own research and consult a licensed financial advisor.
Pro Tip:
Duplicate this script and change `dayofweek.tuesday` to `dayofweek.thursday` to mark Nifty expiry days as well.
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.
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.
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.
QUANTUM MARKET ANALYZER X7QUANTUM MARKET ANALYZER X7 — Study Material (Learning & Teaching Guide)
What this tool is (and isn’t)
QUANTUM MARKET ANALYZER X7 is a multi-factor TradingView indicator that summarizes many classic signals into one dashboard. It does not predict the future or guarantee profits. It simply scores what is happening now using oscillators, moving averages, order-block behavior, trendline/channel context, Supertrend bias, and volume/flow clues—so you can make structured, risk-aware decisions.
________________________________________
Quick start (for brand-new traders)
1. Add the indicator to a chart.
2. Pick an Analysis Timeframe (e.g., 60-min for day trading, 4-hour for swing).
3. Read the Summary tile first; then check Oscillators → MAs → OB/Trendline/Supertrend → Volume.
4. Take trades only when multiple sections agree, and always plan stop loss and size before entry.
________________________________________
How the dashboard is built (section by section)
Below you’ll learn what each section measures, how the numbers are produced, and how to interpret them. The script converts each sub-signal into a small integer (e.g., +2, +1, 0, −1, −2). These are summed into section totals and then into a Summary score.
1) Summary (the combined score)
• What it is: The grand total of all sections (Oscillators + Moving Averages + Advanced: OB, Trendline/Channel, Supertrend, Volume).
• How it’s labeled:
o Large positive total → BUY / STRONG BUY
o Around zero → NEUTRAL
o Large negative total → SELL / STRONG SELL
• How to use: Treat it as a headline, not a trigger. Confirm with the sections below and price action.
________________________________________
2) Oscillators (momentum / overbought–oversold)
Inputs used on your chosen timeframe:
• RSI(14):
o 70 → bearish pressure (−)
o <30 → bullish pressure (+)
• Stochastic (14):
o 80 overbought (−), <20 oversold (+)
• CCI(20):
o +100 (−), <−100 (+)
• Williams %R(14):
o −20 overbought (−), <−80 oversold (+)
• MACD(12,26,9):
o MACD line > Signal → (+), below → (−)
• Momentum(10): >0 → (+), <0 → (−)
• ROC(9): >+2% → (+), <−2% → (−)
• Bollinger Bands(20,2):
o Price > Upper band → (−), < Lower band → (+)
How it scores: Each item contributes between −2 and +2 (or −1/+1 for some). The Oscillator total is their sum.
How to use: Oscillators excel for timing. Favor longs when the total is clearly positive and exiting or avoiding when clearly negative.
________________________________________
3) Moving Averages (trend/structure)
MAs used: SMA(10/20/50/100/200) and EMA(10/20/50).
Scoring logic: Compares price vs each MA:
• Price > MA by >2% → +2 (strongly bullish)
• Price > MA by 0–2% → +1
• Price < MA by 0–2% → −1
• Price < MA by >2% → −2
How to use: A clearly positive MA total suggests trend alignment for longs; clearly negative favors shorts or flat. Mixed readings → treat as range/transition.
________________________________________
4) Order-Block (OB) breakout analysis (support/resistance from clustered reactions)
What it approximates: The script searches a lookback window for pivot-like candles and counts repeated “touches” near that level (within ±0.2%) to infer support (bullish OB) or resistance (bearish OB).
Settings you can tune
• OB Lookback Period: how far back to search.
• Min OB Touches: more touches = stronger level.
Signals produced
• BULLISH BRK: Price crosses above the most recent bearish OB (resistance → breakout).
• BEARISH BRK: Price crosses below the most recent bullish OB (support → breakdown).
• ABOVE SUP / BELOW RES: Price position relative to the latest OB levels.
How to use: Use OB with MAs and Volume. Best when a breakout comes with trend alignment and volume expansion.
________________________________________
5) Trendline / Channel analysis (context envelope)
Rather than a single diagonal line, this module forms a dynamic channel:
• Finds highest high and lowest low over your Trendline Lookback.
• Builds a midline = (highest + lowest)/2.
• Creates an upper/lower channel by multiplying the range with Channel Width Multiplier.
Signals produced
• UPPER BRK: Price > upper channel (bullish expansion)
• LOWER BRK: Price < lower channel (bearish expansion)
• ABOVE MID / BELOW MID: Bias zone inside channel
How to use: Treat UPPER/LOWER breaks as momentum context. Confirm with MAs and Volume before acting.
________________________________________
6) Supertrend (ATR-based bias)
• Uses ta.supertrend(ATR Multiplier, ATR Period) on your analysis timeframe.
• Signal:
o BULLISH when Supertrend flips to trend-up state
o BEARISH when it flips to trend-down
Tuning tips:
• Higher ATR Multiplier (e.g., 6) → fewer, higher-quality flips.
• Lower multiplier → more responsive, more noise.
How to use: Use Supertrend as a trend filter. Avoid fighting it unless higher-timeframe context disagrees and you have strong confluence.
________________________________________
7) Volume/Flow analysis (participation & pressure)
This section combines several volume-based tools:
1. Volume Spike vs MA
o Volume MA Period (default 20)
o Volume Spike Threshold (e.g., 1.5×)
o If current volume / MA > threshold → spike.
2. OBV vs OBV-MA → Accumulation (+) / Distribution (−)
3. VPT vs VPT-MA → Price-volume trend alignment (+/−)
4. MFI(14): >70 (−), <30 (+)
5. Accumulation/Distribution vs its MA → (+/−)
Scoring:
• Big spike with up bar → +2; with down bar → −2
• Each of OBV, VPT, MFI, A/D adds +1 or −1
Interpretation labels:
• HIGH ACC / ACCUM → constructive flow
• HIGH DIST / DISTRIB → selling pressure
• NEUTRAL → no edge
How to use: Favor setups where directional signals + trend + volume point the same way.
________________________________________
Putting it together — a repeatable reading order
1. Summary: What’s the combined bias?
2. Oscillators: Is momentum supportive or stretched?
3. MAs: Is price aligned with the trend structure?
4. OB & Trendline/Channel: Are we breaking key levels/zones?
5. Supertrend: Is the higher-level bias with you or against you?
6. Volume: Is there participation to confirm the move?
Only act when at least 3–4 sections agree and you can define a logical stop and position size.
________________________________________
Parameter tuning (step-by-step)
1. Choose timeframe:
o 15–60m for active trading; 4h–1D for swing.
2. Oscillators:
o Keep defaults first; later tighten or loosen thresholds only if you’ve tested.
3. Moving Averages:
o The script’s built-in 0–2% bands around each MA are sensible.
o If your market is very volatile, you can consider widening the 2% threshold to reduce whipsaws (requires code edit).
4. Order Blocks:
o Start with OB Lookback ~50 and Min Touches = 2.
o Increase touches for fewer, stronger zones.
5. Trendline/Channel:
o Longer Trendline Lookback and smaller Channel Width → tighter channel (more breaks).
o Shorter lookback and larger width → fewer breaks.
6. Supertrend:
o If you get too many flips, raise ATR Multiplier.
o If it’s lagging, lower it slightly.
7. Volume:
o For quieter instruments, reduce the Threshold (e.g., 1.2×).
o For very liquid/active markets, 1.5–2.0× works well.
________________________________________
Example playbooks (for practice)
A) Pro-trend long continuation
• Summary: BUY or STRONG BUY
• MAs: clearly positive
• Supertrend: BULLISH
• OB/Trendline: ABOVE MID or UPPER BRK
• Volume: ACCUM or HIGH ACC
Plan: Enter on a minor pullback; stop below recent structure; scale out at logical resistance.
B) Mean-reversion short (cautious)
• Oscillators: multiple overbought readings (RSI>70, price > BB upper)
• MAs: still positive (trend up), so this is countertrend
• Volume: no spike
Plan: If you must, take smaller size, tighter stop, faster targets. Prefer waiting for alignment instead.
C) Breakout with confirmation
• OB: BULLISH BRK of a known resistance
• Trendline/Channel: UPPER BRK
• Volume: spike with up bar
• Supertrend: recently flipped up
Plan: Enter on retest or structured continuation; define stop under breakout level.
________________________________________
Common pitfalls to avoid
• Acting on one section alone. Confluence matters.
• Chasing after long candles without volume follow-through.
• Ignoring timeframe alignment. Check the next higher timeframe.
• Oversizing trades just because “Summary = Strong Buy/Sell.”
• Moving stops farther instead of accepting a planned loss.
________________________________________
Practice & evaluation routine
1. Replay mode (TradingView Bar Replay) to practice reading the tiles in order.
2. Journal each trade: which sections agreed, where stop/target were, outcome.
3. Weekly review: Were losing trades missing confirmation? Did you respect size rules?
4. Iterate cautiously: Change one setting at a time and observe for a week.
________________________________________
Frequently asked questions
Q: Is the Summary score weighted?
A: Each sub-signal contributes small integers; totals from Oscillators, MAs, and Advanced sections are added without fancy weighting, keeping it transparent.
Q: Can I use this as a standalone system?
A: It’s best used as a decision support layer with your own risk rules, not as a mechanical “buy/sell” machine.
Q: Which timeframe is best?
A: The one that matches your holding period. Always confirm with at least one higher timeframe.
________________________________________
Suggested classroom flow (for teaching)
1. Session 1: Oscillators only → identify good vs stretched momentum.
2. Session 2: Moving Averages → trend structure and bias.
3. Session 3: OB + Trendline/Channel → location and breakouts.
4. Session 4: Supertrend + Volume → confirmation and participation.
5. Session 5: Confluence building → case studies and journaling.
6. Session 6: Risk management, sizing, and review habits.
________________________________________
Disclaimer aiTrendview (please read)
This indicator and study material are provided for educational and research purposes only. They do not constitute financial advice, investment recommendations, or a promise of performance. Trading involves substantial risk and may result in losses. Past performance of any method or indicator does not guarantee future results. You are solely responsible for your trading decisions, including risk management, position sizing, and due diligence. Always test ideas in a demo environment before using real capital, and consider consulting a licensed financial advisor.
連騰カウント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.
Gold Scalping Grid Zones [CongTrader]📜 Overview
Gold Scalping Grid Zones is a professional trading tool designed for XAUUSD scalpers & day traders.
It automatically detects key Buy/Sell zones based on pivot points and projects future breakout targets using ATR.
This all-in-one indicator combines:
Dynamic Grid Trading Zones from recent highs/lows
Future Price Forecast Zones for breakout targeting
EMA + RSI filtering for higher signal accuracy
Unified Buy/Sell alert system optimized for fast execution
✨ Key Features
Automatic Buy/Sell grid zones based on recent pivots
Breakout target forecasting using ATR multipliers
Smart signal filtering
BUY: Price above EMA 200 + RSI oversold
SELL: Price below EMA 200 + RSI overbought
Unified single alert for both BUY and SELL triggers
Auto-clean chart – keeps only the latest signal label
Fully customizable: grid step, zone thickness, ATR multiplier, EMA, RSI...
📈 How to Use
Add to Chart
Apply to XAUUSD chart (best performance on M5 – H1).
Adjust Parameters
Grid Step: Distance between zones (default: $2.0)
Zone Thickness: Visual width of zones
ATR Multiplier: Distance for forecast zones
EMA Length & RSI Levels: Fine-tune signal filtering
Read the Zones & Signals
Green Zones → Demand areas (Buy)
Red Zones → Supply areas (Sell)
Forecast BUY/SELL labels → Next breakout target
BUY/SELL signal labels → Confirmed trade setups based on EMA + RSI filters
Set Alerts
Click the Alert (🔔) icon in TradingView
Condition: "Gold Trade Signal"
Choose “Once per bar close” (fewer alerts) or “Once per bar” (scalping mode)
Phone alert example:
Gold Trade Signal: BUY or SELL triggered
⚠️ Disclaimer
This is NOT financial advice.
Always combine with your own analysis, risk management, and stop loss.
Past performance does not guarantee future results.
Trading gold with leverage carries high risk.
💡 Pro Tip:
Combine this indicator with candlestick patterns, volume analysis, and higher timeframe trend confirmation to maximize accuracy.
Fewer resistance/support zones ahead = stronger breakout potential.
🙏 Thank You
Thank you for using Gold Scalping Grid Zones .
If you find this indicator helpful, please Follow the author and Share it with your trading community so more traders can benefit.
Every follow and share is motivation to keep building more high-quality trading tools. 🚀 . #gold #XAUUSD #scalping #gridtrading #zones #supplydemand #ATR #EMA #RSI #pivot
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.