Event Contract Signal Predictor [10-min Chart]Description:
This script is designed for high-probability event contract trading on 10-minute charts. It combines proprietary LSMA wave trend analysis with custom high-pass filtering and dynamic volume-based order book detection to generate precise long and short entry signals.
Key Features:
• LSMA Wave Trend: Captures short-term momentum with a custom linear regression over smoothed RSI values.
• High-Pass Filter & Peak Detection: Reduces noise and identifies extreme price movements for precise timing.
• Dynamic Order Book Ratio: Monitors buy/sell volume imbalance in real-time to confirm trade validity.
• Signal Confluence: Long or short signals appear only when multiple conditions align (trend, momentum, volume), reducing false triggers.
• Immediate Signal Display: Signals appear on the first candle after condition confirmation; no need to wait for candle close.
• Adjustable Parameters: Users can customize resonance thresholds, smoothing periods, and trigger sensitivity for different markets.
How to Use:
1. Apply the script to a 10-minute chart.
2. Observe green circles (long) and red circles (short) marking potential entries.
3. Combine with your risk management strategy for optimal results.
Note:
This script is closed-source to protect proprietary logic. While the exact calculations are not revealed, this description provides enough context for traders to understand how signals are generated and applied.
樞軸點和水平
Rocket/Bomb PPO + SMI (confirmed, no repaint) — 1-liner labelsName: Rocket/Bomb PPO + SMI (confirmed, non-repaint)
What it does
Combines PPO (Percentage Price Oscillator) momentum with SMI (Stochastic Momentum Index) timing.
Prints a 🚀 “Rocket” buy label when PPO crosses up its signal and SMI crosses up its signal (momentum + timing agree).
Prints a 💣 “Bomb” sell label when PPO crosses down its signal and SMI crosses down its signal.
Labels are offset by ATR so they sit neatly above/below bars.
Why it’s clean (non-repaint)
Signals are gated by bar close confirmation (barstate.isconfirmed), so labels only appear after the bar closes—no flicker or back-filling.
Optional filter
“Strict SMI zone” filter: only allow buys when SMI < –Z and sells when SMI > +Z (default Z=20). This reduces noise in choppy markets.
Customization
PPO/SMI lengths, strict zone level, emoji vs arrows, label colors, icon size, and ATR offset are all configurable.
Alerts
Built-in alert conditions for Rocket (Long) and Bomb (Short) so you can automate notifications.
How to use (at a glance)
Trade in the direction of the Rocket/Bomb labels; the strict zone option helps avoid weak signals.
Best paired with basic trend or S/R context (e.g., higher-time-frame trend filter, recent swing levels) for entries/exits.
Intraday Auto Support/Resistance LevelsIntraday Auto Support / Resistance Levels
Welcome to a powerful, automated tool designed for intraday traders. This indicator dynamically identifies and plots key Support and Resistance (S/R) levels directly onto your chart at the start of each new trading session. By leveraging historical pivot points, it eliminates the guesswork and manual drawing, providing you with clear, actionable price levels to enhance your trading strategy. Focus on your execution while the indicator handles the analysis.
________________________________________
How It Works
The indicator operates through a sophisticated, multi-step process:
Pivot Identification: Using Tradingview’s built- in ta.pivothigh() and ta.pivotlow() functions, the script scans a user-defined number of bars back (the "Swing Level") to identify significant price swing highs and lows.
Data Collection: All identified pivot points are collected into a central array, creating a pool of potential S/R levels.
Session Start: At the opening of each new trading day (determined by the daily timestamp), the indicator processes this pool of prices.
Filtering & Sorting: The pivot points are split into two groups: those above the day's open price (potential Resistance) and those below (potential Support). A smart filtering algorithm then selects the most relevant levels based on your "Min Distance" setting, ensuring levels are not too close to each other and are statistically significant.
Dynamic Plotting: The strongest Support (S1, S2, S3...) and Resistance (R1, R2, R3...) levels are drawn as dotted lines extending throughout the trading session.
Adaptive Management: The script intelligently manages the lines. If price convincingly breaks through a key level (e.g., breaking above R1), the indicator may plot the next higher level (R2, R3) while removing a less relevant level on the opposite side of the market, keeping the chart clean and focused on the most pertinent zones.
________________________________________
Key Features & Benefits
• Saves Time: Get professional-level analysis instantly, eliminating the need for manual
line drawing.
• Removes Emotion: All levels are determined objectively by the algorithm, not by
subjective trader bias.
• Enhances Strategy: Provides clear visual cues for potential entry, exit, stop-loss, and
take-profit points.
• Fully Customizable: Tailor the indicator's behavior to match your specific trading style and
instrument volatility.
• Clean Visuals: Plots clear, labeled lines with customizable colors and width for an
uncluttered chart.
• Data Window Output: Displays the exact price value for each level in the Data Window,
enabling precise planning and alert setting.
________________________________________
Input Settings: Fine-Tune Your Levels
The indicator offers a comprehensive set of options for fine-tuning its behavior.
• Adjust Distance Between Lines (%): Controls the minimum percentage distance required
between consecutive S/R levels. A lower value plots more lines, while a higher value plots
fewer, more significant levels.
• Adjust Swing Level: This is the core sensitivity setting. A lower value finds more frequent,
minor pivots, while a higher value identifies major, more significant swings.
• Set Line Width: Adjust the visual thickness of the Support/Resistance lines.
• Show Label Side: Choose to place the level labels (e.g., "R1", "S2") on the "Left" or "Right"
side of the chart.
• Set Up Line Color: Customize the color for all Resistance (R) lines.
• Set Down Line Color: Customize the color for all Support (S) lines.
________________________________________
Limitations
• Repainting: While historical levels are fixed, the most recent pivots can change until a
new swing point is confirmed. This can cause the most recent plotted level to "repaint"
slightly.
• Timeframe Dependency: This indicator is optimized for intraday timeframes. Using it on
timeframes longer than 1D may not yield the intended results as the daily session break
logic is a core part of its function.
• No Predictive Power: The algorithm is based on past price action. It does not account for
future fundamentals, news events, or market-moving announcements.
Rolling Midpoints of Price vs 50% FibThis script overlays two complementary midpoint lines on your chart to reveal evolving bias, structural imbalances, and zones of mean reversion:
🔸 The Price Midpoint tracks a dynamic center based on the raw price range over a user-defined lookback.
🔸 The Fib Midpoint is calculated from the most recent confirmed swing high and low, forming a live 50% Fibonacci retracement — then smoothed for trend stability.
📘 What Is Mean Reversion, and Why Midpoints Matter?
Markets often oscillate between periods of trend and consolidation. Mean reversion refers to the tendency of price to return to a “fair value” after stretching too far in one direction. The Price Midpoint captures this range-based balance, while the Fib Midpoint anchors to structural swing levels. When price strays far from both, it may be overextended — setting the stage for pullbacks or reversion. When price hovers between or tests both midlines, it reflects balance or indecision. EquiZone helps visualize this dynamic, offering traders real-time insight into whether price is moving with strength, fading, or snapping back to equilibrium.
🔍 Concept Breakdown
➖Price Midpoint – A rolling midpoint between the highest high and lowest low over a user-defined lookback. Think of it as a range-weighted equilibrium.
➖Fib Midpoint – A dynamic 50% Fibonacci retracement between the most recent confirmed swing high and swing low (based on pivot logic), smoothed over time for stability.
➖Color-coded Fills & Bar Colors – Highlight confluence and divergence between the two midpoints, offering intuitive visual cues on trend alignment or structural disagreement.
🎯 Why It’s Useful
➖Spot consolidation zones and structural inflection points
➖Detect hidden divergence between price action and swing structure
➖Use midpoint alignment as a trend confirmation filter
➖Identify mean reversion setups when price strays too far from both midlines
➖Visualize market equilibrium across two complementary perspectives
⚙️ Customizable Features
➖Independent lookbacks for both midpoints
➖Toggle fill shading and adjust color schemes
➖Choose from multiple bar color modes (Close, HL2, OHLC3, OHLC4)
➖Control pivot sensitivity via left/right bar windows
➖Select pivot source: high, low, or close
🧠 How to Use
➖When Price Mid > Fib Mid, momentum may be outrunning structure → bullish extension
➖When Fib Mid > Price Mid, structure leads but price lags → bearish potential or fading momentum
➖When the two lines converge, it signals a zone of balance or potential breakout setup
➖Use bar colors to confirm whether price is leading or following structure
🔧 This isn’t just a visual overlay — it’s a structure-aware bias engine.
Best For:
📈 Trend-followers seeking confirmation between price action and structure
🔄 Reversal traders watching for midpoint divergence
📊 Range traders identifying dynamic fair-value zones
🔍 Price-action analysts who want a clean, non-lagging context layer
➡️ Built for clarity and speed, EquiZone adds zero clutter and works seamlessly across all timeframes and asset types. It pairs especially well with support/resistance zones, trendlines, Fibonacci ladders, and price action patterns.
📌 Final Note:
While Rolling Midpoints provides insight into market balance and directional bias, no single indicator should be traded in isolation. For best results, combine it with contextual tools such as trend structure, volume analysis, higher-timeframe mapping, and clear entry/exit frameworks. Use this as a bias confirmation tool, not a trigger by itself.
NWOG/NDOG by OutOfOptionsNew Week Opening Gap (NWOG) and New Day Opening Gap (NDOG)
NWOG and NDOG represent price imbalances formed when markets skip over certain levels at the start of a new week or trading day. These gaps often serve as magnets for price action throughout the week or day, drawing prices back to fill them while also functioning as key support or resistance zones. They are particularly relevant in futures markets, though less so in equities.
Consequent Encroachment (CE)
The CE, which is the midpoint of an NWOG or NDOG, frequently emerges as a critical level—especially if the gap remains unbalanced. In such cases, it can exert a strong pull on price, encouraging retracement or consolidation.
Indicator Features
This indicator allows you to display any number of NWOGs and NDOGs directly on your chart, with complete customization of their visual appearance. You can assign distinct colors to the most recent gaps for easy identification. Unlike other tools, it includes a filtering option to exclude minor gaps that may lack significance. Additionally, the "Smart" mode intelligently positions price labels to ensure they remain visible and uncluttered at all times.
How Does it Work
The indicator tracks all daily closes and new day opens, capturing the two values representing the top/bottom of NDOG/NWOG. I If the day begins on a Sunday, the gap is identified as NWOG; otherwise, it is classified as NDOG. A key feature of the indicator is that it avoids duplicating NDOGs that are also NWOGs.
Next, the indicator applies the size filter setting (if set above 0) to skip minor gaps. Valid gaps are then displayed on the screen using a style configured in the indicator settings for the most recent NDOG/NWOG.
To prevent the chart from becoming cluttered, the indicator limits the number of NWOG/NDOGs shown. When a new NWOG/NDOG is added, it checks the total displayed, and if this exceeds the configured limit, the oldest NWOG/NDOG is removed. Additionally, the indicator updates the display style of the previous NWOG/NDOG to the generic (non-last) style as specified in the settings.
For labels showing NWOG/NDOG price ranges and CE, the indicator offers a "Smart" option that dynamically positions labels 10 bars from the last candle and adjusts them every 5 candles. Otherwise, labels are placed at the end of the week for NWOGs and at the end of the following day for NDOGs.
BE-Fib Channel 2 Sided Trading█ Overview:
"BE-Fib Channel 2 Sided Trading" indicator is built with the thought of 2 profound setups named "Cup & Handle (C&H)" and "Fibonacci Channel Trading (FCT)" with the context of "day trading" or with a minimum holding period.
█ Similarities, Day Trading Context & Error Patterns:
While the known fact is that both C&H and FCT provide setups with lesser risk with bigger returns, they both share the similar "Base Pattern".
Note: Inverse of the above Image shall switch the setups between long vs short.
Since the indicator is designed for smaller time-frame candles, there may be instances where the "base pattern" does not visually resemble a Cup & Handle (C&H) pattern. However, patterns are validated using pivot points. The points labeled "A" and "C" can be equal or slightly slanted. Settings of the Indicator allows traders a flexibility to control the angle of these points to spot the strategies according to set conditions. Therefore, understanding the nuances of these patterns is crucial for effective decision-making.
█ 2 Sided Edge: FCT suggests to take trade closer to the yellow line to get better RR ratio. this leaves a small chance of doubt as to; what if price is intended to break the Yellow line thereby activating the C&H.
Wait for the confirmation is a Big FOMO with a compromised RR.
Hence, This indicator is designed to handle both the patterns based on the strength, FIFO and pattern occurring delay.
█ How to Use this Indicator:
Step 1: Enable the Show Sample Sensitivity option to understand the angle of yellow line shown in the sample image. By enabling this option, On the last bar you shall see 4 lines being plotted depicting the max angle which is acceptable for both long and short trades.
Note: Angle can be controlled via setting "Sensitivity".
Higher Sensitivity --> Higher Setup identification --> can lead to failed setups due to 2 sided trading.
Lower Sensitivity --> Lower Setup identification --> can increase the changes of being right.
Step 2: Adjust the look back & look forward periods which shall be used for identifying patterns.
Note: Smaller values can lead to more setups being identified but can hamper the performance of the indicator while increasing the chances of failures. larger values identifies more significant setup but leads to more waiting period thereby compromising on the RR.
Step 3: Adjust the Base Range.
Note: Smaller values can lead to more setups being identified but can hamper the performance of the indicator while increasing the chances of failures. larger values identifies more significant setup but leads to more Risk on play.
Step 4: set the Entry level for FCT & Set the SL for Both FCT & C&H and Target Reward ratio for C&H.
█ Features of Indicator & How it works:
1. Patterns are being identified using Pivot Points method.
2. Tracks & validates both the setups simultaneously on every candle and traded one at a time based on FIFO, New setups found in-between, Defined Entry Levels while on wait for the other pattern to get activated.
3. Alerts added for trade events.
4. FCT setups are generally traded with trailed SL level and increasing Target level on every completed bar. while C&H has the standard SL & TP level with no Trail SL option.
DISCLAIMER: No sharing, copying, reselling, modifying, or any other forms of use are authorized for our documents, script / strategy, and the information published with them. This informational planning script / strategy is strictly for individual use and educational purposes only. This is not financial or investment advice. Investments are always made at your own risk and are based on your personal judgement. I am not responsible for any losses you may incur. Please invest wisely.
Happy to receive suggestions and feedback in order to improve the performance of the indicator better.
Sri - Pivot + Vital Moving Averages Sri – Pivot + Vital Moving Averages
Sri – Pivot + Vital Moving Averages is an advanced all-in-one indicator that blends trend-following moving averages with multi-timeframe pivot levels (Daily, Weekly, Monthly). It is designed to give traders a complete view of both trend direction and key support/resistance zones, all in a single package.
By combining pivots and moving averages, this tool helps traders quickly identify whether the market is trending or ranging, while also highlighting critical price reaction points that can be used for intraday, swing, or positional trading.
🔹 Moving Averages
50 EMA → medium-term trend filter
200 EMA → long-term trend bias
800 HMA → ultra-smooth trend direction, great for capturing cycles
Daily EMA 200 → higher timeframe trend guide for precision entries
Each moving average is dynamically color-coded to reflect the market bias, making trend changes visually clear and easy to follow.
🔹 Pivot Levels (Daily, Weekly, Monthly)
Auto-calculated pivot, support (S1–S4), and resistance (R1–R4) levels
Balance Zone (BC & TC) highlighted with background shading
Custom colors, visibility toggles, and line thickness options
Dynamic horizontal levels that update with each new session
Ideal for spotting intraday reversals, swing levels, and institutional confluence zones
🔹 Customization & Flexibility
Toggle EMAs, HMA, and each pivot timeframe (Daily/Weekly/Monthly) individually
Full control over colors, transparency, and line styles
Background shading between pivot balance zones for clearer structure
✅ Key Benefits (Pros)
All-in-One Tool → Combines pivots and MAs into one clean package, saving chart space
Multi-Timeframe Edge → View daily, weekly, and monthly pivot levels together for better confluence
Clear Trend Guidance → EMA & HMA color shifts reflect trend changes instantly
Professional Visualization → Background balance zones and structured layouts make levels easy to read
Highly Customizable → Designed to adapt to intraday scalpers, swing traders, and long-term investors alike
⚠️ Things to Keep in Mind (Cons)
Charts may feel visually crowded if all pivots and moving averages are enabled at once
Best used as a confirmation & confluence tool, not as a stand-alone trading strategy
🔥 Recommended Enhancements (For Even Higher Success Rate)
This script already provides a strong edge, but adding the following tools can make it even more powerful:
Volume Confirmation (OBV or VWAP) → Validate pivot/EMA breakouts with volume strength
Momentum Filter (RSI or MACD Histogram) → Confirm directional momentum before acting on pivot touches
Trend Strength (ADX or Supertrend) → Distinguish strong trending phases from weak ranges
Reversal Candlestick Highlight → Automatically mark engulfing candles or pin bars occurring at pivots
These lightweight add-ons integrate well with the existing framework and can improve decision-making without cluttering the chart.
📊 Best Use Cases
Intraday Traders → Use daily pivots with 50/200 EMA for quick scalps and reversals
Swing Traders → Rely on weekly and monthly pivots for confluence with 200 EMA trend bias
Institutional/Positional Traders → Track 800 HMA and higher timeframe EMA 200 for structural guidance
Confluence Hunters → Combine pivot levels with trend bias for high-probability setups
Elliott Wave / NeoWave Rule Engine – v6.9This script functions as a "rule engine" that automatically identifies significant price swings and then tests them against a comprehensive set of Elliott Wave rules and guidelines.
The goal is to filter out low-probability setups and identify valid motive (impulse and diagonal) waves by applying user-defined tolerances. The script plots swings on the chart and can display a real-time dashboard that shows which rules are passing or failing. When a valid motive wave is detected, it can generate buy or sell signals.
User Settings
The script's behavior is controlled by a set of user inputs, organized into four main groups.
Swing / ZigZag Detection
These settings control how the script identifies the price swings that form the basis of the wave patterns.
Pivot Left Bars & Pivot Right Bars: These two values determine the sensitivity of the swing detection. A pivot point (a high or low) is only identified if it is the highest or lowest price within the specified number of bars to its left and right. Increasing these numbers will result in fewer, larger swings.
Minimum swing % (filter micro noise): This is a crucial filter. It ignores swings that are too small to be considered significant, helping to clean up the chart and prevent the engine from analyzing "noise." For example, a value of 0.3 means any swing that is less than 0.3% of the price range will be ignored.
Rule Engine Tolerances
This group allows you to define how strict the validation rules are.
Fibonacci tolerance (±%): This sets the acceptable margin of error for Fibonacci relationships (e.g., a 0.618 retracement). A value of 0.001 means a retracement between 0.617 and 0.619 will be considered a valid match.
Same-degree TIME proportion max (x): This sets the maximum time difference allowed between waves of the same degree (e.g., Wave 1 and Wave 3) to still be considered "proportional." A value of 1 means Wave 3's duration can be up to 1 time longer than Wave 1's duration, and vice-versa.
Same-degree PRICE proportion max (x): Similar to the time tolerance, this sets the maximum price difference allowed between waves of the same degree to still be considered proportional.
Alternation slope ratio threshold: This is a key NeoWave guideline. It checks if Wave 2 and Wave 4 have different "sharpness" (price change per bar). A higher value makes the alternation rule stricter.
Min guideline passes for motive validation (0–7): This is the gating feature. Even if a pattern passes all the hard Elliott Wave rules (e.g., no overlap, Wave 3 isn't the shortest), you can still require it to pass a minimum number of guidelines (like Fibonacci relationships, alternation, etc.) before a signal is generated. A value of 7 means every guideline must be met.
Momentum / Volume Guidelines
These are additional checks for pattern validation.
Momentum length: This setting controls a proxy for momentum, which is calculated based on the speed of price movement.
Use volume checks: This is a placeholder for future functionality. It does not currently affect the script's behavior.
UI / Debug
These settings control the visual aspects of the script on your chart.
Max swings to keep/evaluate: This determines how far back the script looks to find and analyze swings. A larger number will analyze more historical patterns but may impact performance.
Show detected labels: Toggles the display of numerical (1-2-3-4-5) and letter (A-B-C) labels on the detected waves.
Show rule PASS/FAIL dashboard: Toggles the on-chart table that provides a detailed breakdown of which rules and guidelines are met.
Table Position: Controls where the rule dashboard is located on your chart.
Print debug info to Data Window: If you are a developer or want to see the underlying data, this will print information to TradingView's Data Window.
Show Buy/Sell Signals: Toggles the display of Buy/Sell signals. These signals are only generated when a pattern passes all the hard rules and your minimum guideline pass requirement.
CCI OSYA Pyramid Strategy v1CCI OSYA Pyramid Strategy v1
📈 Strategy Description
**CCI OSYA Pyramid Strategy v1** is an advanced trading strategy that uses the CCI (Commodity Channel Index) indicator combined with an innovative pyramiding system. The strategy is designed for trending markets and maximizes profit by gradually increasing position size as the market moves in the trader's favor.
🎯 Key Features
- CCI-based signals: Uses overbought/oversold levels for entry
- Pyramiding system: Gradual position adding at target prices
- Reverse mechanics: Ability to flip positions when trend changes
- Flexible settings: Fully customizable for different trading styles
- Risk management: Controls position size and adding levels
⚙️ Recommended Settings
CCI Indicator
-CCI Length: 20
- Source: HLC3 (average of High, Low, Close)
- Upper Zone: 150
- Lower Zone: -150
Pyramiding Parameters
- Pyramiding Step: 2.0%
- Orders per Level: 10
- Max Levels: 20
- Position Size: 10% of capital in contracts
Signals
- Default Mode: Classic
- Commission: 0.1%
💡 Strategy Advantages
- Risk management: Gradual position building reduces risk
- Trend efficiency: Excellent in strong trends
- Flexibility: Adaptable to various instruments and timeframes
- Transparency: Clear entry and exit rules
- Automation: Fully automated trading process
📋 Suitable Instruments
- Forex pairs (EUR/USD, GBP/USD, USD/JPY)
- Cryptocurrencies (BTC/USD, ETH/USD)
- Indices (S&P 500, NASDAQ)
- Commodities (Gold, Oil)
⏰ Recommended Timeframes
- 1m (1 minute) - optimal balance
⚠️ Risks and Limitations
- Effective in trending conditions
- May draw down in sideways movements
- Requires sufficient deposit for pyramiding
- Historical data testing recommended
🚀 Getting Started
1. Add strategy to chart
2. Set recommended settings
3. Test on historical data
4. Start with demo account
5. Gradually move to real account
Author: OSYA
Version: 1.0
Updated: 2025
*Always test the strategy before using real funds. Trading financial markets involves the risk of capital loss.*
Key Levels Inc ORB by JJThis indicator is designed specifically for Stock CFDs and Indices (e.g. US30, US500, NAS100, Tesla, AMD, Meta) to help traders quickly visualise and trade around key market levels with a focus on the Opening Range Breakout (ORB).
✨ Features:
• Previous Week High/Low (PWH/PWL) – plots institutional key levels for higher-timeframe confluence.
• Opening Range (ORB) – fully customisable start & end time (default: 14:30–14:45 UK time for US markets).
• Trading Range Filter – avoid false signals in choppy markets by requiring a minimum range size (Points or %).
• Signal System
• Buy/Sell signals triggered only on candle close beyond ORH/ORL (no wick traps).
• Optional Flip Trades mode (invert signals).
• Longs, Shorts, or both can be toggled.
• Multiple signal styles (Label, Circle, Triangle, Arrow) with custom size and colours.
• Retest Confirmation (optional) – signal only fires after a price retest of the breakout level, with flexible tolerance controls (Points, %, ATR).
• ATR% Filter – suppresses signals when volatility is too low (default: ATR(14) ≥ 0.3% of price).
• Session Filter – signals only during your defined trading session (default: 14:30–21:00 UK).
• Customisable Levels – change line widths, label text, and visibility to fit your charting style.
🎯 Why use it?
This tool combines classic key levels with a robust ORB strategy to remove noise and highlight only high-probability breakout conditions. It’s flexible enough for scalpers and day traders, but also powerful for swing traders seeking confluence with weekly highs/lows.
⚙️ Default Settings (v1.0 Benchmark):
• ORB: 14:30–14:45 UK
• Trading Range: 14:30–15:00 UK (≥ 1 point)
• ATR Filter: 14-length, 0.3%
• Session: 14:30–21:00 UK
• Retest Confirmation: ON, Wick touch, 0.1 pts tolerance, 20 bars max
• Signal Style: Arrow, Size: Normal
• Buy: Green, Sell: Red
public FVGThis script show all the valid FVG on the chart.
Perfect to put alert on imbalance when they it.
Also he redefined perfectly imbalance when they are feed partielly
Volume Profile + Pivot Levels [ChartPrime]⯁ OVERVIEW
Volume Profile + Pivot Levels combines a rolling volume profile with price pivots to surface the most meaningful levels in your selected lookback window. It builds a left-side profile from traded volume, highlights the session’s Point of Control (PoC) , and then filters pivot highs/lows so only those aligned with significant profile volume are promoted to chart levels. Each promoted level extends forward until price retests it—so your chart stays focused on levels that actually matter.
⯁ KEY FEATURES
Rolling Volume Profile (Period & Resolution)
Calculates a profile over the last Period bars (default 200). The profile is discretized into Volume Profile Resolution bins (default 50) between the highest high and lowest low inside the window. Each bin accumulates traded volume and is drawn as a smooth left-side polyline for compact, lightweight rendering.
HL = array.new()
// collect highs/lows over 'start' bars to define profile range
for i = 0 to start - 1
HL.push(high ), HL.push(low )
H = HL.max(), L = HL.min()
bin_size = (H - L) / bins
// accumulate per-bin volume
for i = 0 to bins - 1
for j = 0 to start - 1
if close >= (L + bin_sizei) - bin_size and close < (L + bin_size*(i+1)) + bin_size
Bins += volume
Delta-Aware Coloring
The script tracks up-minus-down volume across all period to compute a net Delta . The profile, PoC line, and PoC label adopt a teal tone when net positive, and maroon when net negative—an immediate read on buyer/seller dominance inside the window.
Point of Control (PoC) + Volume Label
Automatically marks the highest-volume bin as the PoC . A horizontal PoC line extends to the last bar, and a label shows the absolute volume at the PoC. Toggle visibility via PoC input.
Pivot Detection with Volume Filter
Identifies raw pivots using Length (default 10) on both sides of the bar. Each candidate pivot is then validated against the profile: only pivots that land within their bin and meet or exceed the Filter % threshold (percentage of PoC volume) are promoted to chart levels. This removes weak, low-participation pivots.
// pivot promotion when volume% >= pivotFilter
if abs(mid - p.value) <= bin_size and volPercent >= pivotFilter
// draw labeled pivot level
line.new(p.index - pivotLength, p.value, p.index + pivotLength, p.value, width = 2)
Forward-Extending, Self-Stopping Levels
Promoted pivot levels extend forward as dotted rays. As soon as price intersects a level (high/low straddles it), that level stops extending—so your chart doesn’t clutter with stale zones.
Concise Level Labels (Volume + %)
Each promoted pivot prints a compact label at the pivot bar with its bin’s absolute volume and percentage of PoC volume (ordering flips for highs vs. lows for quick read).
Lightweight Visuals
The volume profile is rendered as a smooth polyline rather than dozens of boxes, keeping charts responsive even at higher resolutions.
⯁ SETTINGS
Volume Profile → Period : Lookback window used to compute the profile (max 500).
Volume Profile → Resolution : Number of bins; higher = finer structure.
Volume Profile → PoC : Toggle PoC line and volume label.
Pivots → Display : Show/hide volume-validated pivot levels.
Pivots → Length : Pivot detection left/right bars.
Pivots → Filter % 0–100 : Minimum bin strength (as % of PoC) required to promote a pivot level.
⯁ USAGE
Read PoC direction/color for a quick net-flow bias within your window.
Prioritize promoted pivot levels —they’re backed by meaningful participation.
Watch for first retests of promoted levels; the line will stop extending once tested.
Adjust Period / Resolution to match your timeframe (scalps → higher resolution, shorter period; swings → lower resolution, longer period).
Tighten or loosen Filter % to control how selective the level promotion is.
⯁ WHY IT’S UNIQUE
Instead of plotting every pivot or every profile bar, this tool cross-checks pivots against the profile’s internal volume weighting . You only see levels where price structure and liquidity overlap—clean, data-driven levels that self-retire after interaction, so you can focus on what the market actually defends.
Pivot Points mura visionWhat it is
A clean, single-set pivot overlay that lets you choose the pivot type (Traditional/Fibonacci), the anchor timeframe (Daily/Weekly/Monthly/Quarterly, or Auto), and fully customize colors, line width/style , and labels . The script never draws duplicate sets—exactly one pivot pack is displayed for the chosen (or auto-detected) anchor.
How it works
Pivots are computed with ta.pivot_point_levels() for the selected anchor timeframe .
The script supports the standard 7 levels: P, R1/S1, R2/S2, R3/S3 .
Lines span exactly one anchor period forward from the current bar time.
Label suffix shows the anchor source: D (Daily), W (Weekly), M (Monthly), Q (Quarterly).
Auto-anchor logic
Intraday ≤ 15 min → Daily pivots (D)
Intraday 20–120 min → Weekly pivots (W)
Intraday > 120 min (3–4 h) → Monthly pivots (M)
Daily and above → Quarterly pivots (Q)
This keeps the chart readable while matching the most common trader expectations across timeframes.
Inputs
Pivot Type — Traditional or Fibonacci.
Pivots Timeframe — Auto, Daily (1D), Weekly (1W), Monthly (1M), Quarterly (3M).
Line Width / Line Style — width 1–10; style Solid, Dashed, or Dotted.
Show Labels / Show Prices — toggle level tags and price values.
Colors — user-selectable colors for P, R*, S* .
How to use
Pick a symbol/timeframe.
Leave Pivots Timeframe = Auto to let the script choose; or set a fixed anchor if you prefer.
Toggle labels and prices to taste; adjust line style/width and colors for your theme.
Read the market like a map:
P often acts as a mean/rotation point.
R1/S1 are common first reaction zones; R2/S2 and R3/S3 mark stronger extensions.
Confluence with S/R, trendlines, session highs/lows, or volume nodes improves context.
Good practices
Use Daily pivots for intraday scalps (≤15m).
Use Weekly/Monthly for swing bias on 1–4 h.
Use Quarterly when analyzing on Daily and higher to frame larger cycles.
Combine with trend filters (e.g., EMA/KAMA 233) or volatility tools for entries and risk.
Notes & limitations
The script shows one pivot pack at a time by design (prevents clutter and duplicates).
Historical values follow TradingView’s standard pivot definitions; results can vary across assets/exchanges.
No alerts are included (levels are static within the anchor period).
Day Range Breakout Strategy + Trend Structure Filter🚀 Enhanced Strategy for Breaking Previous Day’s Extremes with Market Structure-Based Trend
The strategy focuses on breakouts of previous day’s highs and lows, filtered by trend direction based on market structure.
🔑 Key Improvements
1️⃣ Solved the repainting issue.
There are similar strategies in the community, but the historical results of those algorithms do not correspond to the results of real backtesting.
2️⃣ Added a trend filter.
In most cases, this makes it possible to achieve higher profitability. It works as follows:
The script determines market structure based on a defined number of previous candles.
If there are higher highs and higher lows, this is considered an uptrend structure.
If there are lower highs and lower lows, this is considered a downtrend structure.
The trend filter is adjusted using the Lookback Period setting.
3️⃣ Choice of entry principle.
Implemented the ability to choose whether trades are opened based on closing prices or by high/low breakout, which allows finding the optimal settings for a specific instrument.
4️⃣ Improved entry/exit logic.
When an opposite signal appears, before entering a trade, the script first closes the previous position.
✅ This makes the strategy fully ready for algorithmic trading via webhook on any exchange that supports this function.
5️⃣ Better visualization.
🟥 Red and 🟩 green backgrounds indicate the trend direction.
⚙️ How It Works
The principle of the strategy as follows:
Wait for the breakout of the previous day’s high or low.
Enter long on a breakout of the high, or short on a breakout of the low in the market structure trend direction.
Exit occurs on the breakout of the opposite extreme.
📈 This allows capturing long trends.
⚠️ But, like all similar strategies, in a sideways market it produces losing trades.
⚙️ Default Settings
Breakout Confirmation:
The breakout is determined by the candle close.
You can also choose high/low, but this often gives more false signals. However, on some assets, it may show higher profitability in backtesting.
Trend Structure Period:
The default value is 15.
This means the script analyzes the last 15 candles on the selected timeframe to determine market structure as described above.
Position Size:
Fixed at $1,000, which is 1% of the initial capital of $100,000 to keep risks under control.
Commission:
Set to 0.1%, which is sufficient for most cryptocurrency exchanges.
Slippage:
Configured at 1 tick.
Funding Note:
Keep in mind that funding is not included in this strategy.
It’s impossible to predict whether it will be positive or negative, and it can vary significantly across exchanges, so it is not part of the default settings.
🕒 Recommended Settings
Timeframe: 1H and higher
On lower timeframes → significant discrepancies may occur between historical and real backtesting data.
On higher timeframes → minor differences are possible, related to slippage, sharp moves, and other unpredictable situations.
⚠️ Important Notes
Always remember: Strategy results may not repeat in the future.
The market constantly changes, so:
✅ Monitor the situation
✅ Backtest regularly
✅ Adjust settings for each asset
Also remember about possible bugs in any algorithmic trading strategy.
Even if a script is well-tested, no one knows what unpredictable events the market may bring tomorrow.
⚠️ Risk Management:
Do not risk more than 1% of your deposit per trade, otherwise you may lose your account balance, since this strategy works without stop losses.
⚠️ Disclaimer
The author of the strategy does not encourage anyone to use this algorithm and bears no responsibility for any possible financial losses resulting from its application!
Any decision to use this strategy is made personally by the owners of TradingView accounts and cryptocurrency exchange accounts.
📝 Final Notes
This is not the final version. I already have ideas on how to improve it further, so follow me to not miss updates.
🐞 Bug Reports
If you notice any bugs or inconsistencies in my algorithm,
please let me know — I will try to fix them as quickly as possible.
💬 Feedback & Suggestions
If you have any ideas on how this or any of my other strategies can be improved, feel free to write to me. I will try to implement your suggestions in the script.
Wishing everyone good luck and stable profits! 🚀💰
Wick Pressure Zones [BigBeluga]
The Wick Pressure Zones indicator highlights areas where extreme wick activity occurred, signaling strong buy or sell pressure. By measuring unusually long upper or lower wicks and mapping them into gradient volume zones , the tool helps traders identify levels where liquidity was absorbed, leaving behind footprints of supply and demand imbalances. These zones often act as support, resistance, or liquidity sweep magnets .
🔵 CONCEPTS
Extreme Wicks : Large upper or lower shadows indicate aggressive rejection — upper wicks suggest selling pressure, lower wicks suggest buying pressure.
Volumatic Gradient Zones : From each detected wick, the indicator projects a layered gradient zone, proportional to the wick’s size, showing where most pressure occurred.
Liquidity Footprints : These zones mark levels where significant buy/sell volume was executed, often becoming reaction points on future retests.
Automatic Expiration : Zones persist until price decisively trades through them, after which they are cleared to keep the chart clean.
🔵 FEATURES
Automatic Wick Detection : Identifies extreme upper and lower wick events using percentile filtering and Realative Strength Index.
Gradient Zone Visualization : Builds a 10-layer zone from the wick top/bottom, shading intensity according to pressure strength.
Volume Labels : Each zone is annotated with the bar’s volume at the origin point for added context.
Dynamic Zone Extension : Zones extend to the right as long as they remain relevant; once price closes through them, they are removed.
Support & Resistance Mapping : Upper wick zones (red) behave like supply/resistance, lower wick zones (green) like demand/support.
Clutter Control : Limits the number of active zones (default 10) to keep charts responsive.
Background Highlighting : Optional background shading when new wick zones appear (red for sell, green for buy).
🔵 HOW TO USE
Look for Upper Wick Zones (red) : Indicate strong selling pressure; watch for resistance, reversals, or liquidity sweeps above.
Look for Lower Wick Zones (green) : Indicate strong buying pressure; watch for support or liquidity sweeps below.
Trade Retests : When price returns to a zone, expect a reaction (bounce or rejection) due to leftover liquidity.
Combine with Context : Align wick pressure zones with HTF support/resistance, order blocks, or volume profile for stronger signals.
Use Volume Labels : High-volume wicks indicate more significant liquidity events, making the zone more likely to act as a strong reaction point.
🔵 CONCLUSION
The Wick Pressure Zones is a powerful way to visualize hidden liquidity and aggressive rejections. By mapping extreme wick events into dynamic, volume-annotated zones, it shows traders where the market absorbed heavy buy/sell pressure. These levels frequently act as magnets or turning points, making them valuable for timing entries, stop placement, or fade strategies.
Dynamic 4 in 1Combined and made some modifications to the 4 existing indicators into 1 to save space. Credit to the original authors.
Indicator used
1. Pivot Point Standard by Tradingview (www.tradingview.com)
2. Colored EMA ()
3. ATH/TTL & 52WH/L with Candle Coloring by RV ()
4. HalfTrend ()
Relative and Absolute Support Resistance Levels (MTF)Relative and Absolute SR Levels
1. Relative SR Levels
This indicator is unique and powerful because it doesn't rely on the traditional method of just finding swing highs and lows. Instead, it uses a more sophisticated approach focused on identifying 'Candle Strength' on a higher timeframe. This method helps pinpoint more reliable and impactful price zones.
Key Features that Make this Indicator Unique:
1. Non - Repainting
2. Zero Lag
3. Higher and Current Time Frame Support
4. Intelligent Algo for Dynamic Line Visibility
5. Very Sophisticated approach than traditional SR Levels
Higher Timeframe (HTF) Analysis:
The indicator calculates S&R levels based on a timeframe larger than your current chart. For example, if you are on a 5-minute chart, you can set the indicator to analyze the 30-minute or 1-hour timeframe.
This is crucial because levels from larger timeframes often hold more significance and are respected more frequently on smaller timeframes.
Focus on Candle Strength :
This feature is highly effective because Candle Strength typically indicate strong market momentum and often leave behind important S&R levels.
Dynamic Line Visibility:
This is one of the most clever features. The indicator draws all identified levels but keeps them invisible by default. On the last bar, it intelligently analyses the current price and makes only a select number of levels visible. This prevents your chart from becoming cluttered.
The number of visible lines is completely customizable using the 'Number of Lines to Display' input. You can set it to show just the 2 or 3 most relevant levels, for example.
Automatic S&R Selection:
The indicator automatically sorts the identified S&R levels based on their distance from the current price. It then picks the closest lines, both above and below the current price, to display. This ensures that the levels shown on the chart are the ones most relevant to the current market situation, helping you focus on the most immediate areas of interest.
2. Absolute Levels:
This indicator is a powerful tool designed to identify and visualize "Absolute Levels", which are essentially significant price zones created by strong market movements.
This works on current timeframe and doesn't use Higher/Multi Time Frame Concept.
RVM LLS Indicator and Low cheat Set upLow cheat set up. The indicator helps for a low stop loss entry. Risk reward should be well managed. Use it at your own risk. Enjoy.
Trap Zone Lite – Shinobi LabThis indicator is designed for day traders, especially on lower timeframes such as the 2-minute chart. It highlights the Trap Zone: an area of congestion created by the 20-period moving average, the 200-period moving average, and the previous day’s closing price. This zone often acts as a heavy area of support or resistance where price can stall or trap participants.
What it shows:
A shaded Trap Zone box (congestion zone).
Two boundary lines that extend outward from the zone:
Zone + (above the trap) → context for bullish confirmation. A long signal forming here has stronger reliability.
Zone – (below the trap) → context for bearish confirmation. A short signal forming here has stronger reliability.
How to use:
The Trap Zone is meant as context, not signals. Traders should avoid taking setups inside the zone due to congestion. The value comes from using the boundaries:
Avoid shorting in Zone + (too much overhead resistance from prior day close + MAs).
Avoid longing in Zone – (too much downward pressure).
Focus on confirmations that occur outside the trap zone for higher-quality setups.
Candle Opening Price & FVG/iFVGIndicator Description: Candle Opening Price & Fair Value Gaps w/(iFVGs)
This powerful, multi-purpose indicator combines two essential trading concepts into one comprehensive tool, designed to provide traders with key price levels and areas of market imbalance.
What It Does
1. Customizable Candle Open Lines: This feature allows you to mark the opening price of specific candles from key trading sessions throughout the day.
Up to 7 Custom Time Inputs: You can define up to seven different times (e.g., "08:30" for London Open, "09:30" for New York Open).
Automatic Horizontal Lines: The script automatically draws a persistent horizontal line at the opening price of the candle corresponding to your set time.
Full Customization: Each line can be independently enabled or disabled and styled with a unique color, width, and line style (solid, dashed, dotted), allowing for a clean and personalized chart setup.
Use Cases: Ideal for marking session opens, news event candles, or any other time-based level that you consider significant for support, resistance, or directional bias.
2. Dynamic Fair Value Gaps (FVG) & Inversions (iFVG): This part of the indicator automatically identifies, draws, and manages Fair Value Gaps, a core concept in modern price action trading.
Automatic FVG Detection: The script identifies both Bullish FVGs (areas of buying inefficiency) and Bearish FVGs (areas of selling inefficiency) based on the classic three-bar pattern.
Clear Visualization: Discovered FVGs are drawn as colored boxes on the chart, extending into the future until they are mitigated. Colors for Bullish and Bearish FVGs are fully customizable.
Inversion Logic: When price wicks into an FVG, the box changes color to signify an "inversion." A Bullish FVG that gets tapped becomes potential resistance (Bearish Inversion), and a Bearish FVG becomes potential support (Bullish Inversion). This dynamic shift helps you track how the market is interacting with these zones.
Zone Mitigation: Once an inverted FVG is fully reclaimed by a candle close, the zone is considered "mitigated" and the box is automatically removed from the chart, keeping your view focused on relevant, active zones.
Disclaimer
This indicator is for educational and informational purposes only and should not be construed as financial advice. Trading in financial markets involves substantial risk, and there is always the potential for loss. Past performance is not indicative of future results.
The signals, levels, and zones generated by this tool are based on historical price data and mathematical formulas; they do not predict the future with certainty. You should always conduct your own research, practice sound risk management, and consult with a qualified financial advisor before making any trading decisions. The author and TradingView are not responsible for any financial losses you may incur by using this script. Use at your own risk.
JoseangelFX Trader Mecanico Vol 1🔥 Tired of emotional trading? Transform yourself in 7 days with a 100% mechanical system!
Hi, I'm José Ángel FX, the Mechanical Trader. Forget long, theoretical courses. Here I give you a proven method to master the indices in record time. No subjective analysis, no emotions, just clear rules that work.
This code is responsible for indicating a trading range for a 100% mechanical system.
🚀 What will you achieve with this system?
✅ Trade like a pro in 7 days: You don't need years of study.
✅ Objective and repeatable signals: Eliminate doubts forever.
✅ Backtesting: Concrete results of the strategy.
✅ Discipline of Steel: Psychotrading armored against fear and greed.
📢 "In a week with this system, you are no longer the same trader."
Investment: Profitability really has no value, you'll achieve it (remote assistance with management system installation included, for MT4, MT5, and TradingView).
Requirement: Obedience...
👉 Schedule your FREE diagnosis:
WhatsApp: wa.me/584122928262
Telegram: @tradermecanicoJAFX
t.me
Yelober - Market Internal direction+ Key levelsYelober – Market Internals + Key Levels is a focused intraday trading tool that helps you spot high-probability price direction by anchoring decisions to structure that matters: yesterday’s RTH High/Low, today’s pre-market High/Low, and a fast Value Area/POC from the prior session. Paired with a compact market internals dashboard (NYSE/NASDAQ UVOL vs. DVOL ratios, VOLD slopes, TICK/TICKQ momentum, and optional VIX trend), it gives you a real-time read on breadth so you can choose which direction to trade, when to enter (breaks, retests, or fades at PMH/PML/VAH/VAL/POC), and how to plan exits as internals confirm or deteriorate. On top of these intraday decision benefits, it also allows traders—in a very subtle but powerful way—to keep an eye on the VIX and immediately recognize significant spikes or sharp decreases that should be factored in before entering a trade, or used as a quick signal to modify an existing position. In short: clear levels for the chart, live internals for the context, and a smarter, rules-based path to execution.
# Yelober – Market Internals + Key Levels
*A TradingView indicator for session key levels + real‑time market internals (NYSE/NASDAQ TICK, UVOL/DVOL/VOLD, and VIX).*
**Script name in Pine:** `Yelober - Market Internal direction+ Key levels` (Pine v6)
---
## 1) What this indicator does
**Purpose:** Help intraday traders quickly find high‑probability reaction zones and read market internals momentum without switching charts. It overlays yesterday/today’s **automatic price levels** on your active chart and shows a **market breadth table** that summarizes NYSE/NASDAQ buying pressure and TICK direction, with an optional VIX trend read.
### Key features at a glance
* **Automatic Price Levels (overlay on chart)**
* Yesterday’s High/Low of Day (**yHoD**, **yLoD**)
* Extended Hours High/Low (**yEHH**, **yEHL**) across yesterday AH + today pre‑market
* Today’s Pre‑Market High/Low (**PMH**, **PML**)
* Yesterday’s **Value Area High/Low** (**VAH/VAL**) and **Point of Control (POC)** computed from a volume profile of yesterday’s **regular session**
* Smart de‑duplication:
* Shows **only the higher** of (yEHH vs PMH) and **only the lower** of (yEHL vs PML) to avoid redundant bands
* **Market Breadth Table (on‑chart table)**
* **NYSE ratio** = UVOL/DVOL (signed) with **VOLD slope** from session open
* **NASDAQ ratio** = UVOLQ/DVOLQ (signed) with **VOLDQ slope** from session open
* **TICK** and **TICKQ**: live cumulative ratio and short‑term slope
* **VIX** (optional): current value + slope over a configurable lookback/timeframe
* Color‑coded trends with sensible thresholds and optional normalization
---
## 2) How to use it (trader workflow)
1. **Mark your reaction zones**
* Watch **yHoD/yLoD**, **PMH/PML**, and **VAH/VAL/POC** for first touches, break/retest, and failure tests.
* Expect increased responsiveness when multiple levels cluster (e.g., PMH ≈ VAH ≈ daily pivot).
2. **Read the breadth panel for context**
* **NYSE/NASDAQ ratio** (>1 = more up‑volume than down‑volume; <−1 = down‑dominant). Strong green across both favors long setups; red favors short setups.
* **VOLD slopes** (NYSE & NASDAQ): positive and accelerating → broadening participation; negative → persistent pressure.
* **TICK/TICKQ**: cumulative ratio and **slope arrows** (↗ / ↘ / →). Use the slope to gauge **near‑term thrust or fade**.
* **VIX slope**: rising VIX (red) often coincides with risk‑off; falling VIX (green) with risk‑on.
3. **Confluence = higher confidence**
* Example: Price reclaims **PMH** while **NYSE/NASDAQ ratios** print green and **TICK slopes** point ↗ — consider break‑and‑go; if VIX slope is ↘, that adds risk‑on confidence.
* Example: Price rejects **VAH** while **VOLD slopes** roll negative and VIX ↗ — consider fade/reversal.
4. **Risk management**
* Place stops just beyond key levels tested; if breadth flips, tighten or exit.
> **Timeframes:** Works best on 1–15m charts for intraday. Value Area is computed from **yesterday’s RTH**; choose a smaller calculation timeframe (e.g., 5–15m) for stable profiles.
---
## 3) Inputs & settings (what each option controls)
### Global Style
* **Enable all automatic price levels**: master toggle for yHoD/yLoD, yEHH/yEHL, PMH/PML, VAH/VAL/POC.
* **Line style/width**: applies to all drawn levels.
* **Label size/style** and **label color linking**: use the same color as the line or override with a global label color.
* **Maximum bars lookback**: how far the script scans to build yesterday metrics (performance‑sensitive).
### Value Area / Volume Profile
* **Enable Value Area calculations** *(on by default)*: computes yesterday’s **POC**, **VAH**, **VAL** from a simplified intraday volume profile built from yesterday’s **regular session bars**.
* **Max Volume Profile Points** *(default 50)*: lower values = faster; higher = more precise.
* **Value Area Calculation Timeframe** *(default 15)*: the security timeframe used when collecting yesterday’s highs/lows/volumes.
### Individual Level Toggles & Colors
* **yHoD / yLoD** (yesterday high/low)
* **yEHH / yEHL** (yesterday AH + today pre‑market extremes)
* **PMH / PML** (today pre‑market extremes)
* **VAH / VAL / POC** (yesterday RTH value area + point of control)
### Market Breadth Panel
* **Show NYSE / NASDAQ / VIX**: choose which series to display in the table.
* **Table Position / Size / Background Color**: UI placement and legibility.
* **Slope Averaging Periods** *(default 5)*: number of recent TICK/TICKQ ratio points used in slope calculation.
* **Candles for Rate** *(default 10)* & **Normalize Rate**: VIX slope calculation as % change between `now` and `n` candles ago; normalize divides by `n`.
* **VIX Timeframe**: optionally compute VIX on a higher TF (e.g., 15, 30, 60) for a smoother regime read.
* **Volume Normalization** (NYSE & NASDAQ): display VOLD slopes scaled to `tens/thousands/millions/10th millions` for readable magnitudes; color thresholds adapt to your choice.
---
## 4) Data sources & definitions
* **UVOL/VOLD (NYSE)** and **UVOLQ/DVOLQ/VOLDQ (NASDAQ)** via `request.security()`
* **Ratio** = `UVOL/DVOL` (signed; negative when down‑volume dominates)
* **VOLD slope** ≈ `(VOLD_now − VOLD_open) / bars_since_open`, then normalized per your setting
* **TICK/TICKQ**: cumulative sum of prints this session with **positives vs negatives ratio**, plus a simple linear regression **slope** of the last `N` ratio values
* **VIX**: value and slope across a user‑selected timeframe and lookback
* **Sessions (EST/EDT)**
* **Regular:** 09:30–16:00
* **Pre‑Market:** 04:00–09:30
* **After Hours:** 16:00–20:00
* **Extended‑hours extremes** combine **yesterday AH** + **today PM**
> **Note:** All session checks are done with TradingView’s `time(…,"America/New_York")` context. If your broker’s RTH differs (e.g., futures), adjust expectations accordingly.
---
## 5) How the algorithms work (plain English)
### A) Key Levels
* **Yesterday’s RTH High/Low**: scans yesterday’s bars within 09:30–16:00 and records the extremes + bar indices.
* **Extended Hours**: scans yesterday AH and today PM to get **yEHH/yEHL**. Script shows **either yEHH or PMH** (whichever is **higher**) and **either yEHL or PML** (whichever is **lower**) to avoid duplicate bands stacked together.
* **Value Area & POC (RTH only)**
* Build a coarse volume profile with `Max Volume Profile Points` buckets across the price range formed by yesterday’s RTH bars.
* Distribute each bar’s volume uniformly across the buckets it spans (fast approximation to keep Pine within execution limits).
* **POC** = bucket with max volume. **VA** expands from POC outward until **70%** of cumulative volume is enclosed → yields **VAH/VAL**.
### B) Market Breadth Table
* **NYSE/NASDAQ Ratio**: signed UVOL/DVOL with basic coloring.
* **VOLD Slopes**: from session open to current, normalized to human‑readable units; colors flip green/red based on thresholds that map to your normalization setting (e.g., ±2M for NYSE, ±3.5×10M for NASDAQ).
* **TICK/TICKQ Slope**: linear regression over the last `N` ratio points → **↗ / → / ↘** with the rounded slope value.
* **VIX Slope**: % change between now and `n` candles ago (optionally divided by `n`). Red when rising beyond threshold; green when falling.
---
## 6) Recommended presets
* **Stocks (liquid, intraday)**
* Value Area **ON**, `Max Volume Points` = **40–60**, **Timeframe** = **5–15**
* Breadth: show **NYSE & NASDAQ & VIX**, `Slope periods` = **5–8**, `Candles for rate` = **10–20**, **Normalize VIX** = **ON**
* **Index futures / very high‑volume symbols**
* If you see Pine timeouts, set `Max Volume Points` = **20–40** or temporarily **disable Value Area**.
* Keep breadth panel **ON** (it’s light). Consider **VIX timeframe = 15/30** for regime clarity.
---
## 7) Tips, edge cases & performance
* **Performance:** The volume profile is capped (`maxBarsToProcess ≤ 500` and bucketed) to keep it responsive. If you experience slowdowns, reduce `Max Volume Points`, `Maximum bars lookback`, or disable Value Area.
* **Redundant lines:** The script **intentionally suppresses** PMH/PML when yEHH/yEHL are more extreme, and vice‑versa.
* **Label visibility:** Use `Label style = none` if you only want clean lines and read values from the right‑end labels.
* **Futures/RTH differences:** Value Area is from **yesterday’s RTH** only; for 24h instruments the RTH period may not reflect overnight structure.
* **Session transitions:** PMH/PML tracking stops as soon as RTH starts; values persist as static levels for the session.
---
## 8) Known limitations
* Uses public TradingView symbols: `UVOL`, `VOLD`, `UVOLQ`, `DVOLQ`, `VOLDQ`, `TICK`, `TICKQ`, `VIX`. If your data plan or region limits any symbol, the corresponding table rows may show `na`.
* The VA/POC approximation assumes uniform distribution of each bar’s volume across its high–low. That’s fast but not a tick‑level profile.
* Works best on US equities with standard NY session; alternative sessions may need code changes.
---
## 9) Troubleshooting
* **“Script is too slow / timed out”** → Lower `Max Volume Points`, lower `Maximum bars lookback`, or toggle **OFF** `Enable Value Area calculations` for that instrument.
* **Missing breadth values** → Ensure the symbols above load on your account; try reloading chart or switching timeframes once.
* **Overlapping labels** → Set `Label style = none` or reduce label size.
---
## 10) Version / license / contribution
* **Version:** Initial public release (Pine v6).
* **Author:** © yelober
* **License:** Free for community use and enhancement. Please keep author credit.
* **Contributing:** Open PRs/ideas: presets, alert conditions, multi‑day VA composites, optional mid‑value (`(VAH+VAL)/2`), session filter for futures, and alertable state machine for breadth regime transitions.
---
## 11) Quick start (TL;DR)
1. Add the indicator and **keep default settings**.
2. Trade **reactions** at yHoD/yLoD/PMH/PML/VAH/VAL/POC.
3. Use the **breadth table**: look for **green ratios + ↗ slopes** (risk‑on) or **red ratios + ↘ slopes** (risk‑off). Check **VIX** slope for confirmation.
4. Manage risk around levels; when breadth flips against you, tighten or exit.
---
### Changelog (public)
* **v1.0:** First community release with automatic RTH levels, VA/POC approximation, breadth dashboard (NYSE/NASDAQ/TICK/TICKQ/VIX) with normalization and adaptive color thresholds.