RVol based Support & Resistance ZonesDescription:
This indicator is designed to help traders identify significant price levels based on institutional volume. It monitors two higher timeframes (defined by the user) simultaneously. When a candle on these higher timeframes exhibits unusually high volume—known as high Relative Volume (RVol)—the indicator automatically draws a "Zone of Interest" box on your current chart.
These zones are defined by:
Up candle : from candle open to low of candle
Down candle : from candle open to high of candle
Key Features:
Multi-Timeframe Monitoring: You can trade on a lower timeframe (e.g., 5-minute) while the indicator monitors the 30-minute and 1-hour charts for volume spikes.
RVol Boxes: Automatically draws boxes extending from high-volume candles.
Up Candles: Box covers Low to Open.
Down Candles: Box covers High to Open.
Live Dashboard: A neat, color-coded table displays the current Volume, Average Volume, and RVol percentage for your watched timeframes.
Real-Time vs. Confirmed: Choose whether to see boxes appear immediately as volume spikes (Live) or only after the candle has closed and confirmed the volume (Candle Close).
Settings Guide:
1. General Settings
Relative Volume Length: The number of past candles used to calculate the "Average Volume." (Default is 20).
Max Days Back to Draw: To keep your chart clean, this limits how far back in history the script looks for high-volume zones. (e.g., set to 5 to only see zones created in the last 5 days).
Draw Mode:
- Live (Real-time): Draws the box immediately if the current developing candle hits the volume threshold. (Note: The box may disappear if the volume average shifts before the candle closes).
- Candle Close: The box only appears once the candle has finished and permanently confirmed the volume spike.
2. Table Settings
Show Info Table: Toggles the dashboard on or off.
Text Size & Position: Customise where the table appears on your screen and how large the text is.
Colours: Fully customisable colours for the Table Header (Top row) and Data Rows (Bottom rows).
3. Timeframe 1 & 2 Settings
You have two identical sections to configure two different timeframes (e.g., 30m and 1H).
Timeframe: The chart interval to monitor (e.g., "30" for 30 minutes, "60" for 1 Hour, "240" for 4 Hours).
Threshold %: The "Trigger" for drawing a box based on relative candle volume in that timeframe.
Example:
100% = Candle Volume is equal to the average volume for the specified timeframe.
200% = Candle Volume is 2x the average volume for the specified timeframe.
300% = Candle Volume is 3x the average volume for the specified timeframe.
Box & Edge Colour: Distinct colours for each timeframe so you can easily tell which timeframe created the zone.
المؤشرات والاستراتيجيات
Angular Resistance & Breakout/BreakdownAngular Resistance & Breakout/Breakdown (Dynamic Trendlines)
This indicator provides a dynamic approach to identifying major support and resistance levels by fitting Linear Regression lines to recent pivot points (swing highs and swing lows). Unlike static horizontal lines, these "Angular" trendlines adapt to the market's slope, providing continuously adjusting targets for resistance and support, along with signals for confirmed breakouts and breakdowns.
💡 Key Features
Dynamic Trendlines: Utilizes Linear Regression to automatically draw sloped trendlines based on a configurable number of the most recent swing pivots.
Confirmed Signals: Generates clear Breakout (▲) and Breakdown (▼) signals with optional buffer and sensitivity filters to reduce noise.
Customizable Inputs: Fine-tune the pivot detection period, the number of points used for regression, line extension, and signal sensitivity.
On-Chart Info Panel: A table displays real-time data, including the number of detected pivot points and the current calculated price level of the dynamic lines.
⚙️ How It Works (The Logic)
Pivot Detection: The script uses the standard ta.pivothigh() and ta.pivotlow() functions to reliably identify swing points, based on the Pivot Left and Pivot Right settings. These points are stored in dynamic arrays (highs for resistance, lows for support).
Angular Line Generation: A custom function, f_regression_from_array, performs a Linear Regression analysis using the bar index (X-axis) and the pivot price (Y-axis) for the Points to use. This calculation determines the optimal slope and intercept to draw a best-fit dynamic line through the identified pivot points.
Breakout/Breakdown Confirmation:
Breakout: Triggered when the current close price crosses above the dynamic resistance line plus the user-defined Breakout buffer.
Breakdown: Triggered when the current close price crosses below the dynamic support line minus the user-defined Breakout buffer.
Sensitivity Filter: An optional filter requires the price movement on the signal bar to exceed a minimum percentage (Label sensitivity) away from the line to confirm the momentum of the move.
UM VIX30/VIX Regime & Volatility Roll Yield
SUMMARY
A front-of-the-curve volatility indicator that compares spot VIX to a synthetic 30-day VIX (VIX30) built from VX1/VX2 futures, revealing early volatility pressure, regime shifts, and roll-yield transitions. Ideal for timing long/short volatility trades in VXX, UVXY, SVIX, and VIX futures.
DESCRIPTION
This indicator compares spot VIX to a synthetic 30-day constant-maturity volatility estimate (“VIX30”) built from VX1 and VX2 futures. The VIX30/VIX Ratio reveals short-term volatility pressure and regime shifts that traditional VX1/VX2 roll-yield alone often misses.
VIX30 is constructed using true calendar-day interpolation between VX1 and VX2, with VX1% and VX2% showing the real-time weights behind the 30-day volatility anchor. The table displays the volatility regime, the VX1/VX2 weights, spot-term roll yield (VIX30/VIX), and futures-term roll yield (VX2/VX1), giving a complete, front-of-the-curve perspective on volatility dynamics.
Use this to spot early volatility expansions, collapsing contango, and regime transitions that influence VXX, UVXY, SVIX, VX options, and VIX futures.
HOW IT WORKS
The script calculates the exact calendar days to expiration for the front two VIX futures. It then applies linear interpolation to blend VX1 and VX2 into a 30-day constant-maturity synthetic volatility measure (“VIX30”). Comparing VIX30 to spot VIX produces the VIX30/VIX Ratio, which highlights short-term volatility pressure and regime direction. A full term-structure table summarizes regime, VX1%/VX2% weights, and both spot-term and futures-term roll yields.
DEFAULT SETTINGS
VX1! and VX2! are used by default for front-month and second-month futures. These may be manually overridden if TradingView rolls contracts early. The default timeframe is 30 minutes, and the VIX30/VIX Ratio uses a 21-period EMA for regime smoothing. The historical threshold is set to 1.08, reflecting the long-run average relationship between VIX30 and VIX.
SUGGESTED USES
• Identify early volatility expansions before they appear in VX1/VX2 roll yield.
• Confirm contango/backwardation shifts with front-of-curve context.
• Time long/short volatility trades in VXX, UVXY, SVIX, and VX options.
• Monitor regime transitions (Low → Cautionary → High) to anticipate trend inflections.
• Combine with price action, Nadaraya-Watson trends, or MA color-flip systems for higher-confidence entries.
• MA red → green flips may signal opportunities to short volatility or increase equity exposure.
• MA green → red flips may signal opportunities to go long volatility, reduce equity exposure, or take short-equity positions.
ALERTS
Alerts trigger when the ratio crosses above or below the historical threshold or when the moving-average slope flips direction. A green flip signals rising volatility pressure; a red flip signals fading or collapsing volatility. These alert conditions can be used to automate long/short volatility bias shifts or trade-entry notifications.
FURTHER HINTS
• Increasing orange/red in the table suggests an emerging higher-volatility environment.
• SVIX (inverse volatility ETF) can trend strongly when volatility decays; on a 6-hour chart, MA green flips often align with attractive short-volatility opportunities.
• For long-volatility trades, consider shrinking to a 30-minute chart and watching for MA green → red flips as early entry cues.
• Experiment with different timeframes and smoothing lengths to match your trading style.
• Higher VIX30/VIX and VX2/VX1 roll yields generally imply faster decay in VXX, UVXY, and UVIX — or stronger upside momentum in SVIX.
• The author likes the 6-hour chart for short vol, and the 30-minute chart for long vol. Long vol trades are fast and furious so you want to be quick.
Sniper VFI: Institutional Breakout & HeatmapDescription:
Overview This is a professional-grade momentum indicator designed to track Institutional Smart Money flow while filtering for high-probability breakout setups. It combines volume analysis, trend filtration, and price action triggers into a single dashboard.
How It Works The indicator operates on a three-step validation process:
Trend Filter: Uses a 150 EMA to define the major trend. Long positions are only permitted above the 150 EMA, and Short positions only below it.
Institutional Volume (VFI): Analyzes the Volume Flow Indicator to ensure Smart Money is participating in the move.
Micro-Breakout Trigger: Signals are only generated if the price breaks the High (for Longs) or Low (for Shorts) of the last 3 candles, ensuring immediate momentum.
Visual Guide & Legend
The Histogram (Volume & Momentum):
Bright Lime: Strong Bullish Impulse. Institutional money is flowing in, and momentum is accelerating.
Dark Green: Stable Uptrend. The trend is healthy.
Bright Red: Strong Bearish Impulse. Institutional money is flowing out, and downside momentum is accelerating.
Maroon: Stable Downtrend.
The Heatmap Tips (RSI Temperature):
Orange Tips: Overbought Warning (RSI > 70). The asset is heating up; caution is advised for new long entries. The opacity increases as RSI approaches 100.
White Tips: Oversold Warning (RSI < 30). The asset is extended to the downside.
The Signals (L/S):
L (Long): Confirmed entry. Trend is Up + VFI Positive + Price broke the recent 3-candle High.
S (Short): Confirmed entry. Trend is Down + VFI Negative + Price broke the recent 3-candle Low.
Note: This tool includes an alternating signal filter to prevent repetitive signals during trends. A Long signal will not repeat until a Short signal or a trend reset occurs.
Sima-Smart Money Concepts + RSI Candlestick [LuxAlgo]This indicator displays the RSI in a candlestick format and marks its support and resistance levels, as well as oversold and overbought zones based on Smart Money concepts.
In fact, this indicator is a combination of a candlestick-style RSI and a Smart Money indicator.
Pivot Points High Low (With confirm bar)This script simply adds a visual circle confirmation to visualise the bar when the pivot has been confirmed. It's based on Pivot Points High Low scripts
RSI Cascade DivergencesRSI Cascade Divergences is a tool for detecting divergences between price and RSI with an extended cascade-based strength accumulation logic. A “cascade” represents a sequence of multiple divergences linked through RSI pivot points. The indicator records RSI pivots, checks whether a divergence is present, assigns a strength value to each structure, and displays only signals that meet your minimum strength thresholds.
How Divergence Logic Works
The indicator identifies local RSI extremes (pivots) based on Pivot Length and Pivot Confirm.
For every confirmed pivot it stores:
the RSI value at the pivot,
the corresponding value of the RSI Source price,
the pivot’s bar index.
How a Divergence Is Formed
A divergence is detected when two consecutive RSI pivots of the same type show opposite dynamics relative to the price source defined in RSI Source (default: close), not relative to chart highs/lows.
Bearish divergence: the price source value at the second pivot is higher, but RSI forms a lower high.
Bullish divergence: the price source value at the second pivot is lower, but RSI forms a higher low.
The indicator does not use price highs/lows — only the selected price source at the pivot points.
Cascade Strength Calculation
Each new pivot is compared only with the previous pivot of the same type.
A cascade grows in strength if:
divergence conditions are met,
the difference in RSI values exceeds Min. RSI Distance,
the previous structure already had some strength or the previous pivot was formed in the OB/OS zone.
If the divergence occurs as RSI exits OB/OS, strength is additionally increased by +1.
Behavior in Strong Trends
Divergences may appear repeatedly and even form cascades with high strength. However, if price does not react meaningfully, this indicates strong trend pressure.
In such cases, divergences stop functioning as reversal signals:
RSI attempts to counter-move, but the dominant trend continues.
The indicator accurately reflects this — cascades may form but fail to trigger any reversal, which itself suggests a powerful, persistent trend.
Filtering and Context Reset
To avoid retaining irrelevant pivots:
when RSI is above Overbought → low pivots are cleared;
when RSI is below Oversold → high pivots are cleared.
This prevents false cascades during extreme RSI conditions.
Input Parameters
RSI Source — price source used in RSI calculations (close, hl2, ohlc4, etc.).
RSI Length — RSI calculation period.
Overbought / Oversold — RSI threshold zones.
Pivot Length — number of bars to the left required for a pivot.
Pivot Confirm — bars to the right required to confirm the pivot.
Min. RSI Distance — minimum difference between two pivot RSI values for the divergence to be considered meaningful.
Min. Strength (Bull / Bear) — minimum accumulated strength for:
confirming the signal,
displaying the strength label,
triggering alerts.
Weaker signals below these thresholds appear as dashed guide structures.
Visual
Display settings for lines, markers, and colors.
These parameters do not affect the indicator logic.
Important
Divergences — including cascades — should not be used as a standalone trading signal.
Always combine them with broader market context, trend analysis, structure, volume, and risk management tools.
Ultimate RSI [captainua]Ultimate RSI
Overview
This indicator combines multiple RSI calculations with volume analysis, divergence detection, and trend filtering to provide a comprehensive RSI-based trading system. The script calculates RSI using three different periods (6, 14, 24) and applies various smoothing methods to reduce noise while maintaining responsiveness. The combination of these features creates a multi-layered confirmation system that reduces false signals by requiring alignment across multiple indicators and timeframes.
The script includes optimized configuration presets for instant setup: Scalping, Day Trading, Swing Trading, and Position Trading. Simply select a preset to instantly configure all settings for your trading style, or use Custom mode for full manual control. All settings include automatic input validation to prevent configuration errors and ensure optimal performance.
Configuration Presets
The script includes preset configurations optimized for different trading styles, allowing you to instantly configure the indicator for your preferred trading approach. Simply select a preset from the "Configuration Preset" dropdown menu:
- Scalping: Optimized for fast-paced trading with shorter RSI periods (4, 7, 9) and minimal smoothing. Noise reduction is automatically disabled, and momentum confirmation is disabled to allow faster signal generation. Designed for quick entries and exits in volatile markets.
- Day Trading: Balanced configuration for intraday trading with moderate RSI periods (6, 9, 14) and light smoothing. Momentum confirmation is enabled for better signal quality. Ideal for day trading strategies requiring timely but accurate signals.
- Swing Trading: Configured for medium-term positions with standard RSI periods (14, 14, 21) and moderate smoothing. Provides smoother signals suitable for swing trading timeframes. All noise reduction features remain active.
- Position Trading: Optimized for longer-term trades with extended RSI periods (24, 21, 28) and heavier smoothing. Filters are configured for highest-quality signals. Best for position traders holding trades over multiple days or weeks.
- Custom: Full manual control over all settings. All input parameters are available for complete customization. This is the default mode and maintains full backward compatibility with previous versions.
When a preset is selected, it automatically adjusts RSI periods, smoothing lengths, and filter settings to match the trading style. The preset configurations ensure optimal settings are applied instantly, eliminating the need for manual configuration. All settings can still be manually overridden if needed, providing flexibility while maintaining ease of use.
Input Validation and Error Prevention
The script includes comprehensive input validation to prevent configuration errors:
- Cross-Input Validation: Smoothing lengths are automatically validated to ensure they are always less than their corresponding RSI period length. If you set a smoothing length greater than or equal to the RSI length, the script automatically adjusts it to (RSI Length - 1). This prevents logical errors and ensures valid configurations.
- Input Range Validation: All numeric inputs have minimum and maximum value constraints enforced by TradingView's input system, preventing invalid parameter values.
- Smart Defaults: Preset configurations use validated default values that are tested and optimized for each trading style. When switching between presets, all related settings are automatically updated to maintain consistency.
Core Calculations
Multi-Period RSI:
The script calculates RSI using the standard Wilder's RSI formula: RSI = 100 - (100 / (1 + RS)), where RS = Average Gain / Average Loss over the specified period. Three separate RSI calculations run simultaneously:
- RSI(6): Uses 6-period lookback for high sensitivity to recent price changes, useful for scalping and early signal detection
- RSI(14): Standard 14-period RSI for balanced analysis, the most commonly used RSI period
- RSI(24): Longer 24-period RSI for trend confirmation, provides smoother signals with less noise
Each RSI can be smoothed using EMA, SMA, RMA (Wilder's smoothing), WMA, or Zero-Lag smoothing. Zero-Lag smoothing uses the formula: ZL-RSI = RSI + (RSI - RSI ) to reduce lag while maintaining signal quality. You can apply individual smoothing lengths to each RSI period, or use global smoothing where all three RSIs share the same smoothing length.
Dynamic Overbought/Oversold Thresholds:
Static thresholds (default 70/30) are adjusted based on market volatility using ATR. The formula: Dynamic OB = Base OB + (ATR × Volatility Multiplier × Base Percentage / 100), Dynamic OS = Base OS - (ATR × Volatility Multiplier × Base Percentage / 100). This adapts to volatile markets where traditional 70/30 levels may be too restrictive. During high volatility, the dynamic thresholds widen, and during low volatility, they narrow. The thresholds are clamped between 0-100 to remain within RSI bounds. The ATR is cached for performance optimization, updating on confirmed bars and real-time bars.
Adaptive RSI Calculation:
An adaptive RSI adjusts the standard RSI(14) based on current volatility relative to average volatility. The calculation: Adaptive Factor = (Current ATR / SMA of ATR over 20 periods) × Volatility Multiplier. If SMA of ATR is zero (edge case), the adaptive factor defaults to 0. The adaptive RSI = Base RSI × (1 + Adaptive Factor), clamped to 0-100. This makes the indicator more responsive during high volatility periods when traditional RSI may lag. The adaptive RSI is used for signal generation (buy/sell signals) but is not plotted on the chart.
Overbought/Oversold Fill Zones:
The script provides visual fill zones between the RSI line and the threshold lines when RSI is in overbought or oversold territory. The fill logic uses inclusive conditions: fills are shown when RSI is currently in the zone OR was in the zone on the previous bar. This ensures complete coverage of entry and exit boundaries. A minimum gap of 0.1 RSI points is maintained between the RSI plot and threshold line to ensure reliable polygon rendering in TradingView. The fill uses invisible plots at the threshold levels and the RSI value, with the fill color applied between them. You can select which RSI (6, 14, or 24) to use for the fill zones.
Divergence Detection
Regular Divergence:
Bullish divergence: Price makes a lower low (current low < lowest low from previous lookback period) while RSI makes a higher low (current RSI > lowest RSI from previous lookback period). Bearish divergence: Price makes a higher high (current high > highest high from previous lookback period) while RSI makes a lower high (current RSI < highest RSI from previous lookback period). The script compares current price/RSI values to the lowest/highest values from the previous lookback period using ta.lowest() and ta.highest() functions with index to reference the previous period's extreme.
Pivot-Based Divergence:
An enhanced divergence detection method that uses actual pivot points instead of simple lowest/highest comparisons. This provides more accurate divergence detection by identifying significant pivot lows/highs in both price and RSI. The pivot-based method uses a tolerance-based approach with configurable constants: 1% tolerance for price comparisons (priceTolerancePercent = 0.01) and 1.0 RSI point absolute tolerance for RSI comparisons (pivotTolerance = 1.0). Minimum divergence threshold is 1.0 RSI point (minDivergenceThreshold = 1.0). It looks for two recent pivot points and compares them: for bullish divergence, price makes a lower low (at least 1% lower) while RSI makes a higher low (at least 1.0 point higher). This method reduces false divergences by requiring actual pivot points rather than just any low/high within a period. When enabled, pivot-based divergence replaces the traditional method for more accurate signal generation.
Strong Divergence:
Regular divergence is confirmed by an engulfing candle pattern. Bullish engulfing requires: (1) Previous candle is bearish (close < open ), (2) Current candle is bullish (close > open), (3) Current close > previous open, (4) Current open < previous close. Bearish engulfing is the inverse: previous bullish, current bearish, current close < previous open, current open > previous close. Strong divergence signals are marked with visual indicators (🐂 for bullish, 🐻 for bearish) and have separate alert conditions.
Hidden Divergence:
Continuation patterns that signal trend continuation rather than reversal. Bullish hidden divergence: Price makes a higher low (current low > lowest low from previous period) but RSI makes a lower low (current RSI < lowest RSI from previous period). Bearish hidden divergence: Price makes a lower high (current high < highest high from previous period) but RSI makes a higher high (current RSI > highest RSI from previous period). These patterns indicate the trend is likely to continue in the current direction.
Volume Confirmation System
Volume threshold filtering requires current volume to exceed the volume SMA multiplied by the threshold factor. The formula: Volume Confirmed = Volume > (Volume SMA × Threshold). If the threshold is set to 0.1 or lower, volume confirmation is effectively disabled (always returns true). This allows you to use the indicator without volume filtering if desired.
Volume Climax is detected when volume exceeds: Volume SMA + (Volume StdDev × Multiplier). This indicates potential capitulation moments where extreme volume accompanies price movements. Volume Dry-Up is detected when volume falls below: Volume SMA - (Volume StdDev × Multiplier), indicating low participation periods that may produce unreliable signals. The volume SMA is cached for performance, updating on confirmed and real-time bars.
Multi-RSI Synergy
The script generates signals when multiple RSI periods align in overbought or oversold zones. This creates a confirmation system that reduces false signals. In "ALL" mode, all three RSIs (6, 14, 24) must be simultaneously above the overbought threshold OR all three must be below the oversold threshold. In "2-of-3" mode, any two of the three RSIs must align in the same direction. The script counts how many RSIs are in each zone: twoOfThreeOB = ((rsi6OB ? 1 : 0) + (rsi14OB ? 1 : 0) + (rsi24OB ? 1 : 0)) >= 2.
Synergy signals require: (1) Multi-RSI alignment (ALL or 2-of-3), (2) Volume confirmation, (3) Reset condition satisfied (enough bars since last synergy signal), (4) Additional filters passed (RSI50, Trend, ADX, Volume Dry-Up avoidance). Separate reset conditions track buy and sell signals independently. The reset condition uses ta.barssince() to count bars since the last trigger, returning true if the condition never occurred (allowing first signal) or if enough bars have passed.
Regression Forecasting
The script uses historical RSI values to forecast future RSI direction using four methods. The forecast horizon is configurable (1-50 bars ahead). Historical data is collected into an array, and regression coefficients are calculated based on the selected method.
Linear Regression: Calculates the least-squares fit line (y = mx + b) through the last N RSI values. The calculation: meanX = sumX / horizon, meanY = sumY / horizon, denominator = sumX² - horizon × meanX², m = (sumXY - horizon × meanX × meanY) / denominator, b = meanY - m × meanX. The forecast projects this line forward: forecast = b + m × i for i = 1 to horizon.
Polynomial Regression: Fits a quadratic curve (y = ax² + bx + c) to capture non-linear trends. The system of equations is solved using Cramer's rule with a 3×3 determinant. If the determinant is too small (< 0.0001), the system falls back to linear regression. Coefficients are calculated by solving: n×c + sumX×b + sumX²×a = sumY, sumX×c + sumX²×b + sumX³×a = sumXY, sumX²×c + sumX³×b + sumX⁴×a = sumX²Y. Note: Due to the O(n³) computational complexity of polynomial regression, the forecast horizon is automatically limited to a maximum of 20 bars when using polynomial regression to maintain optimal performance. If you set a horizon greater than 20 bars with polynomial regression, it will be automatically capped at 20 bars.
Exponential Smoothing: Applies exponential smoothing with adaptive alpha = 2/(horizon+1). The smoothing iterates from oldest to newest value: smoothed = alpha × series + (1 - alpha) × smoothed. Trend is calculated by comparing current smoothed value to an earlier smoothed value (at 60% of horizon): trend = (smoothed - earlierSmoothed) / (horizon - earlierIdx). Forecast: forecast = base + trend × i.
Moving Average: Uses the difference between short MA (horizon/2) and long MA (horizon) to estimate trend direction. Trend = (maShort - maLong) / (longLen - shortLen). Forecast: forecast = maShort + trend × i.
Confidence bands are calculated using RMSE (Root Mean Squared Error) of historical forecast accuracy. The error calculation compares historical values with forecast values: RMSE = sqrt(sumSquaredError / count). If insufficient data exists, it falls back to calculating standard deviation of recent RSI values. Confidence bands = forecast ± (RMSE × confidenceLevel). All forecast values and confidence bands are clamped to 0-100 to remain within RSI bounds. The regression functions include comprehensive safety checks: horizon validation (must not exceed array size), empty array handling, edge case handling for horizon=1 scenarios, division-by-zero protection, and bounds checking for all array access operations to prevent runtime errors.
Strong Top/Bottom Detection
Strong buy signals require three conditions: (1) RSI is at its lowest point within the bottom period: rsiVal <= ta.lowest(rsiVal, bottomPeriod), (2) RSI is below the oversold threshold minus a buffer: rsiVal < (oversoldThreshold - rsiTopBottomBuffer), where rsiTopBottomBuffer = 2.0 RSI points, (3) The absolute difference between current RSI and the lowest RSI exceeds the threshold value: abs(rsiVal - ta.lowest(rsiVal, bottomPeriod)) > threshold. This indicates a bounce from extreme levels with sufficient distance from the absolute low.
Strong sell signals use the inverse logic: RSI at highest point, above overbought threshold + rsiTopBottomBuffer (2.0 RSI points), and difference from highest exceeds threshold. Both signals also require: volume confirmation, reset condition satisfied (separate reset for buy vs sell), and all additional filters passed (RSI50, Trend, ADX, Volume Dry-Up avoidance).
The reset condition uses separate logic for buy and sell: resetCondBuy checks bars since isRSIAtBottom, resetCondSell checks bars since isRSIAtTop. This ensures buy signals reset based on bottom conditions and sell signals reset based on top conditions, preventing incorrect signal blocking.
Filtering System
RSI(50) Filter: Only allows buy signals when RSI(14) > 50 (bullish momentum) and sell signals when RSI(14) < 50 (bearish momentum). This filter ensures you're buying in uptrends and selling in downtrends from a momentum perspective. The filter is optional and can be disabled. Recommended to enable for noise reduction.
Trend Filter: Uses a long-term EMA (default 200) to determine trend direction. Buy signals require price above EMA, sell signals require price below EMA. The EMA slope is calculated as: emaSlope = ema - ema . Optional EMA slope filter additionally requires the EMA to be rising (slope > 0) for buy signals or falling (slope < 0) for sell signals. This provides stronger trend confirmation by requiring both price position and EMA direction.
ADX Filter: Uses the Directional Movement Index (calculated via ta.dmi()) to measure trend strength. Signals only fire when ADX exceeds the threshold (default 20), indicating a strong trend rather than choppy markets. The ADX calculation uses separate length and smoothing parameters. This filter helps avoid signals during sideways/consolidation periods.
Volume Dry-Up Avoidance: Prevents signals during periods of extremely low volume relative to average. If volume dry-up is detected and the filter is enabled, signals are blocked. This helps avoid unreliable signals that occur during low participation periods.
RSI Momentum Confirmation: Requires RSI to be accelerating in the signal direction before confirming signals. For buy signals, RSI must be consistently rising (recovering from oversold) over the lookback period. For sell signals, RSI must be consistently falling (declining from overbought) over the lookback period. The momentum check verifies that all consecutive changes are in the correct direction AND the cumulative change is significant. This filter ensures signals only fire when RSI momentum aligns with the signal direction, reducing false signals from weak momentum.
Multi-Timeframe Confirmation: Requires higher timeframe RSI to align with the signal direction. For buy signals, current RSI must be below the higher timeframe RSI by at least the confirmation threshold. For sell signals, current RSI must be above the higher timeframe RSI by at least the confirmation threshold. This ensures signals align with the larger trend context, reducing counter-trend trades. The higher timeframe RSI is fetched using request.security() from the selected timeframe.
All filters use the pattern: filterResult = not filterEnabled OR conditionMet. This means if a filter is disabled, it always passes (returns true). Filters can be combined, and all must pass for a signal to fire.
RSI Centerline and Period Crossovers
RSI(50) Centerline Crossovers: Detects when the selected RSI source crosses above or below the 50 centerline. Bullish crossover: ta.crossover(rsiSource, 50), bearish crossover: ta.crossunder(rsiSource, 50). You can select which RSI (6, 14, or 24) to use for these crossovers. These signals indicate momentum shifts from bearish to bullish (above 50) or bullish to bearish (below 50).
RSI Period Crossovers: Detects when different RSI periods cross each other. Available pairs: RSI(6) × RSI(14), RSI(14) × RSI(24), or RSI(6) × RSI(24). Bullish crossover: fast RSI crosses above slow RSI (ta.crossover(rsiFast, rsiSlow)), indicating momentum acceleration. Bearish crossover: fast RSI crosses below slow RSI (ta.crossunder(rsiFast, rsiSlow)), indicating momentum deceleration. These crossovers can signal shifts in momentum before price moves.
StochRSI Calculation
Stochastic RSI applies the Stochastic oscillator formula to RSI values instead of price. The calculation: %K = ((RSI - Lowest RSI) / (Highest RSI - Lowest RSI)) × 100, where the lookback is the StochRSI length. If the range is zero, %K defaults to 50.0. %K is then smoothed using SMA with the %K smoothing length. %D is calculated as SMA of smoothed %K with the %D smoothing length. All values are clamped to 0-100. You can select which RSI (6, 14, or 24) to use as the source for StochRSI calculation.
RSI Bollinger Bands
Bollinger Bands are applied to RSI(14) instead of price. The calculation: Basis = SMA(RSI(14), BB Period), StdDev = stdev(RSI(14), BB Period), Upper = Basis + (StdDev × Deviation Multiplier), Lower = Basis - (StdDev × Deviation Multiplier). This creates dynamic zones around RSI that adapt to RSI volatility. When RSI touches or exceeds the bands, it indicates extreme conditions relative to recent RSI behavior.
Noise Reduction System
The script includes a comprehensive noise reduction system to filter false signals and improve accuracy. When enabled, signals must pass multiple quality checks:
Signal Strength Requirement: RSI must be at least X points away from the centerline (50). For buy signals, RSI must be at least X points below 50. For sell signals, RSI must be at least X points above 50. This ensures signals only trigger when RSI is significantly in oversold/overbought territory, not just near neutral.
Extreme Zone Requirement: RSI must be deep in the OB/OS zone. For buy signals, RSI must be at least X points below the oversold threshold. For sell signals, RSI must be at least X points above the overbought threshold. This ensures signals only fire in extreme conditions where reversals are more likely.
Consecutive Bar Confirmation: The signal condition must persist for N consecutive bars before triggering. This reduces false signals from single-bar spikes or noise. The confirmation checks that the signal condition was true for all bars in the lookback period.
Zone Persistence (Optional): Requires RSI to remain in the OB/OS zone for N consecutive bars, not just touch it. This ensures RSI is truly in an extreme state rather than just briefly touching the threshold. When enabled, this provides stricter filtering for higher-quality signals.
RSI Slope Confirmation (Optional): Requires RSI to be moving in the expected signal direction. For buy signals, RSI should be rising (recovering from oversold). For sell signals, RSI should be falling (declining from overbought). This ensures momentum is aligned with the signal direction. The slope is calculated by comparing current RSI to RSI N bars ago.
All noise reduction filters can be enabled/disabled independently, allowing you to customize the balance between signal frequency and accuracy. The default settings provide a good balance, but you can adjust them based on your trading style and market conditions.
Alert System
The script includes separate alert conditions for each signal type: buy/sell (adaptive RSI crossovers), divergence (regular, strong, hidden), crossovers (RSI50 centerline, RSI period crossovers), synergy signals, and trend breaks. Each alert type has its own alertcondition() declaration with a unique title and message.
An optional cooldown system prevents alert spam by requiring a minimum number of bars between alerts of the same type. The cooldown check: canAlert = na(lastAlertBar) OR (bar_index - lastAlertBar >= cooldownBars). If the last alert bar is na (first alert), it always allows the alert. Each alert type maintains its own lastAlertBar variable, so cooldowns are independent per signal type. The default cooldown is 10 bars, which is recommended for noise reduction.
Higher Timeframe RSI
The script can display RSI from a higher timeframe using request.security(). This allows you to see the RSI context from a larger timeframe (e.g., daily RSI on an hourly chart). The higher timeframe RSI uses RSI(14) calculation from the selected timeframe. This provides context for the current timeframe's RSI position relative to the larger trend.
RSI Pivot Trendlines
The script can draw trendlines connecting pivot highs and lows on RSI(6). This feature helps visualize RSI trends and identify potential trend breaks.
Pivot Detection: Pivots are detected using a configurable period. The script can require pivots to have minimum strength (RSI points difference from surrounding bars) to filter out weak pivots. Lower minPivotStrength values detect more pivots (more trendlines), while higher values detect only stronger pivots (fewer but more significant trendlines). Pivot confirmation is optional: when enabled, the script waits N bars to confirm the pivot remains the extreme, reducing repainting. Pivot confirmation functions (f_confirmPivotLow and f_confirmPivotHigh) are always called on every bar for consistency, as recommended by TradingView. When pivot bars are not available (na), safe default values are used, and the results are then used conditionally based on confirmation settings. This ensures consistent calculations and prevents calculation inconsistencies.
Trendline Drawing: Uptrend lines connect confirmed pivot lows (green), and downtrend lines connect confirmed pivot highs (red). By default, only the most recent trendline is shown (old trendlines are deleted when new pivots are confirmed). This keeps the chart clean and uncluttered. If "Keep Historical Trendlines" is enabled, the script preserves up to N historical trendlines (configurable via "Max Trendlines to Keep", default 5). When historical trendlines are enabled, old trendlines are saved to arrays instead of being deleted, allowing you to see multiple trendlines simultaneously for better trend analysis. The arrays are automatically limited to prevent memory accumulation.
Trend Break Detection: Signals are generated when RSI breaks above or below trendlines. Uptrend breaks (RSI crosses below uptrend line) generate buy signals. Downtrend breaks (RSI crosses above downtrend line) generate sell signals. Optional trend break confirmation requires the break to persist for N bars and optionally include volume confirmation. Trendline angle filtering can exclude flat/weak trendlines from generating signals (minTrendlineAngle > 0 filters out weak/flat trendlines).
How Components Work Together
The combination of multiple RSI periods provides confirmation across different timeframes, reducing false signals. RSI(6) catches early moves, RSI(14) provides balanced signals, and RSI(24) confirms longer-term trends. When all three align (synergy), it indicates strong consensus across timeframes.
Volume confirmation ensures signals occur with sufficient market participation, filtering out low-volume false breakouts. Volume climax detection identifies potential reversal points, while volume dry-up avoidance prevents signals during unreliable low-volume periods.
Trend filters align signals with the overall market direction. The EMA filter ensures you're trading with the trend, and the EMA slope filter adds an additional layer by requiring the trend to be strengthening (rising EMA for buys, falling EMA for sells).
ADX filter ensures signals only fire during strong trends, avoiding choppy/consolidation periods. RSI(50) filter ensures momentum alignment with the trade direction.
Momentum confirmation requires RSI to be accelerating in the signal direction, ensuring signals only fire when momentum is aligned. Multi-timeframe confirmation ensures signals align with higher timeframe trends, reducing counter-trend trades.
Divergence detection identifies potential reversals before they occur, providing early warning signals. Pivot-based divergence provides more accurate detection by using actual pivot points. Hidden divergence identifies continuation patterns, useful for trend-following strategies.
The noise reduction system combines multiple filters (signal strength, extreme zone, consecutive bars, zone persistence, RSI slope) to significantly reduce false signals. These filters work together to ensure only high-quality signals are generated.
The synergy system requires alignment across all RSI periods for highest-quality signals, significantly reducing false positives. Regression forecasting provides forward-looking context, helping anticipate potential RSI direction changes.
Pivot trendlines provide visual trend analysis and can generate signals when RSI breaks trendlines, indicating potential reversals or continuations.
Reset conditions prevent signal spam by requiring a minimum number of bars between signals. Separate reset conditions for buy and sell signals ensure proper signal management.
Usage Instructions
Configuration Presets (Recommended): The script includes optimized preset configurations for instant setup. Simply select your trading style from the "Configuration Preset" dropdown:
- Scalping Preset: RSI(4, 7, 9) with minimal smoothing. Noise reduction disabled, momentum confirmation disabled for fastest signals.
- Day Trading Preset: RSI(6, 9, 14) with light smoothing. Momentum confirmation enabled for better signal quality.
- Swing Trading Preset: RSI(14, 14, 21) with moderate smoothing. Balanced configuration for medium-term trades.
- Position Trading Preset: RSI(24, 21, 28) with heavier smoothing. Optimized for longer-term positions with all filters active.
- Custom Mode: Full manual control over all settings. Default behavior matches previous script versions.
Presets automatically configure RSI periods, smoothing lengths, and filter settings. You can still manually adjust any setting after selecting a preset if needed.
Getting Started: The easiest way to get started is to select a configuration preset matching your trading style (Scalping, Day Trading, Swing Trading, or Position Trading) from the "Configuration Preset" dropdown. This instantly configures all settings for optimal performance. Alternatively, use "Custom" mode for full manual control. The default configuration (Custom mode) shows RSI(6), RSI(14), and RSI(24) with their default smoothing. Overbought/oversold fill zones are enabled by default.
Customizing RSI Periods: Adjust the RSI lengths (6, 14, 24) based on your trading timeframe. Shorter periods (6) for scalping, standard (14) for day trading, longer (24) for swing trading. You can disable any RSI period you don't need.
Smoothing Selection: Choose smoothing method based on your needs. EMA provides balanced smoothing, RMA (Wilder's) is traditional, Zero-Lag reduces lag but may increase noise. Adjust smoothing lengths individually or use global smoothing for consistency. Note: Smoothing lengths are automatically validated to ensure they are always less than the corresponding RSI period length. If you set smoothing >= RSI length, it will be auto-adjusted to prevent invalid configurations.
Dynamic OB/OS: The dynamic thresholds automatically adapt to volatility. Adjust the volatility multiplier and base percentage to fine-tune sensitivity. Higher values create wider thresholds in volatile markets.
Volume Confirmation: Set volume threshold to 1.2 (default) for standard confirmation, higher for stricter filtering, or 0.1 to disable volume filtering entirely.
Multi-RSI Synergy: Use "ALL" mode for highest-quality signals (all 3 RSIs must align), or "2-of-3" mode for more frequent signals. Adjust the reset period to control signal frequency.
Filters: Enable filters gradually to find your preferred balance. Start with volume confirmation, then add trend filter, then ADX for strongest confirmation. RSI(50) filter is useful for momentum-based strategies and is recommended for noise reduction. Momentum confirmation and multi-timeframe confirmation add additional layers of accuracy but may reduce signal frequency.
Noise Reduction: The noise reduction system is enabled by default with balanced settings. Adjust minSignalStrength (default 3.0) to control how far RSI must be from centerline. Increase requireConsecutiveBars (default 1) to require signals to persist longer. Enable requireZonePersistence and requireRsiSlope for stricter filtering (higher quality but fewer signals). Start with defaults and adjust based on your needs.
Divergence: Enable divergence detection and adjust lookback periods. Strong divergence (with engulfing confirmation) provides higher-quality signals. Hidden divergence is useful for trend-following strategies. Enable pivot-based divergence for more accurate detection using actual pivot points instead of simple lowest/highest comparisons. Pivot-based divergence uses tolerance-based matching (1% for price, 1.0 RSI point for RSI) for better accuracy.
Forecasting: Enable regression forecasting to see potential RSI direction. Linear regression is simplest, polynomial captures curves, exponential smoothing adapts to trends. Adjust horizon based on your trading timeframe. Confidence bands show forecast uncertainty - wider bands indicate less reliable forecasts.
Pivot Trendlines: Enable pivot trendlines to visualize RSI trends and identify trend breaks. Adjust pivot detection period (default 5) - higher values detect fewer but stronger pivots. Enable pivot confirmation (default ON) to reduce repainting. Set minPivotStrength (default 1.0) to filter weak pivots - lower values detect more pivots (more trendlines), higher values detect only stronger pivots (fewer trendlines). Enable "Keep Historical Trendlines" to preserve multiple trendlines instead of just the most recent one. Set "Max Trendlines to Keep" (default 5) to control how many historical trendlines are preserved. Enable trend break confirmation for more reliable break signals. Adjust minTrendlineAngle (default 0.0) to filter flat trendlines - set to 0.1-0.5 to exclude weak trendlines.
Alerts: Set up alerts for your preferred signal types. Enable cooldown to prevent alert spam. Each signal type has its own alert condition, so you can be selective about which signals trigger alerts.
Visual Elements and Signal Markers
The script uses various visual markers to indicate signals and conditions:
- "sBottom" label (green): Strong bottom signal - RSI at extreme low with strong buy conditions
- "sTop" label (red): Strong top signal - RSI at extreme high with strong sell conditions
- "SyBuy" label (lime): Multi-RSI synergy buy signal - all RSIs aligned oversold
- "SySell" label (red): Multi-RSI synergy sell signal - all RSIs aligned overbought
- 🐂 emoji (green): Strong bullish divergence detected
- 🐻 emoji (red): Strong bearish divergence detected
- 🔆 emoji: Weak divergence signals (if enabled)
- "H-Bull" label: Hidden bullish divergence
- "H-Bear" label: Hidden bearish divergence
- ⚡ marker (top of pane): Volume climax detected (extreme volume) - positioned at top for visibility
- 💧 marker (top of pane): Volume dry-up detected (very low volume) - positioned at top for visibility
- ↑ triangle (lime): Uptrend break signal - RSI breaks below uptrend line
- ↓ triangle (red): Downtrend break signal - RSI breaks above downtrend line
- Triangle up (lime): RSI(50) bullish crossover
- Triangle down (red): RSI(50) bearish crossover
- Circle markers: RSI period crossovers
All markers are positioned at the RSI value where the signal occurs, using location.absolute for precise placement.
Signal Priority and Interpretation
Signals are generated independently and can occur simultaneously. Higher-priority signals generally indicate stronger setups:
1. Multi-RSI Synergy signals (SyBuy/SySell) - Highest priority: Requires alignment across all RSI periods plus volume and filter confirmation. These are the most reliable signals.
2. Strong Top/Bottom signals (sTop/sBottom) - High priority: Indicates extreme RSI levels with strong bounce conditions. Requires volume confirmation and all filters.
3. Divergence signals - Medium-High priority: Strong divergence (with engulfing) is more reliable than regular divergence. Hidden divergence indicates continuation rather than reversal.
4. Adaptive RSI crossovers - Medium priority: Buy when adaptive RSI crosses below dynamic oversold, sell when it crosses above dynamic overbought. These use volatility-adjusted RSI for more accurate signals.
5. RSI(50) centerline crossovers - Medium priority: Momentum shift signals. Less reliable alone but useful when combined with other confirmations.
6. RSI period crossovers - Lower priority: Early momentum shift indicators. Can provide early warning but may produce false signals in choppy markets.
Best practice: Wait for multiple confirmations. For example, a synergy signal combined with divergence and volume climax provides the strongest setup.
Chart Requirements
For proper script functionality and compliance with TradingView requirements, ensure your chart displays:
- Symbol name: The trading pair or instrument name should be visible
- Timeframe: The chart timeframe should be clearly displayed
- Script name: "Ultimate RSI " should be visible in the indicator title
These elements help traders understand what they're viewing and ensure proper script identification. The script automatically includes this information in the indicator title and chart labels.
Performance Considerations
The script is optimized for performance:
- ATR and Volume SMA are cached using var variables, updating only on confirmed and real-time bars to reduce redundant calculations
- Forecast line arrays are dynamically managed: lines are reused when possible, and unused lines are deleted to prevent memory accumulation
- Calculations use efficient Pine Script functions (ta.rsi, ta.ema, etc.) which are optimized by TradingView
- Array operations are minimized where possible, with direct calculations preferred
- Polynomial regression automatically caps the forecast horizon at 20 bars (POLYNOMIAL_MAX_HORIZON constant) to prevent performance degradation, as polynomial regression has O(n³) complexity. This safeguard ensures optimal performance even with large horizon settings
- Pivot detection includes edge case handling to ensure reliable calculations even on early bars with limited historical data. Regression forecasting functions include comprehensive safety checks: horizon validation (must not exceed array size), empty array handling, edge case handling for horizon=1 scenarios, and division-by-zero protection in all mathematical operations
The script should perform well on all timeframes. On very long historical data, forecast lines may accumulate if the horizon is large; consider reducing the forecast horizon if you experience performance issues. The polynomial regression performance safeguard automatically prevents performance issues for that specific regression type.
Known Limitations and Considerations
- Forecast lines are forward-looking projections and should not be used as definitive predictions. They provide context but are not guaranteed to be accurate.
- Dynamic OB/OS thresholds can exceed 100 or go below 0 in extreme volatility scenarios, but are clamped to 0-100 range. This means in very volatile markets, the dynamic thresholds may not widen as much as the raw calculation suggests.
- Volume confirmation requires sufficient historical volume data. On new instruments or very short timeframes, volume calculations may be less reliable.
- Higher timeframe RSI uses request.security() which may have slight delays on some data feeds.
- Regression forecasting requires at least N bars of history (where N = forecast horizon) before it can generate forecasts. Early bars will not show forecast lines.
- StochRSI calculation requires the selected RSI source to have sufficient history. Very short RSI periods on new charts may produce less reliable StochRSI values initially.
Practical Use Cases
The indicator can be configured for different trading styles and timeframes:
Swing Trading: Select the "Swing Trading" preset for instant optimal configuration. This preset uses RSI periods (14, 14, 21) with moderate smoothing. Alternatively, manually configure: Use RSI(24) with Multi-RSI Synergy in "ALL" mode, combined with trend filter (EMA 200) and ADX filter. This configuration provides high-probability setups with strong confirmation across multiple RSI periods.
Day Trading: Select the "Day Trading" preset for instant optimal configuration. This preset uses RSI periods (6, 9, 14) with light smoothing and momentum confirmation enabled. Alternatively, manually configure: Use RSI(6) with Zero-Lag smoothing for fast signal detection. Enable volume confirmation with threshold 1.2-1.5 for reliable entries. Combine with RSI(50) filter to ensure momentum alignment. Strong top/bottom signals work well for day trading reversals.
Trend Following: Enable trend filter (EMA) and EMA slope filter for strong trend confirmation. Use RSI(14) or RSI(24) with ADX filter to avoid choppy markets. Hidden divergence signals are useful for trend continuation entries.
Reversal Trading: Focus on divergence detection (regular and strong) combined with strong top/bottom signals. Enable volume climax detection to identify capitulation moments. Use RSI(6) for early reversal signals, confirmed by RSI(14) and RSI(24).
Forecasting and Planning: Enable regression forecasting with polynomial or exponential smoothing methods. Use forecast horizon of 10-20 bars for swing trading, 5-10 bars for day trading. Confidence bands help assess forecast reliability.
Multi-Timeframe Analysis: Enable higher timeframe RSI to see context from larger timeframes. For example, use daily RSI on hourly charts to understand the larger trend context. This helps avoid counter-trend trades.
Scalping: Select the "Scalping" preset for instant optimal configuration. This preset uses RSI periods (4, 7, 9) with minimal smoothing, disables noise reduction, and disables momentum confirmation for faster signals. Alternatively, manually configure: Use RSI(6) with minimal smoothing (or Zero-Lag) for ultra-fast signals. Disable most filters except volume confirmation. Use RSI period crossovers (RSI(6) × RSI(14)) for early momentum shifts. Set volume threshold to 1.0-1.2 for less restrictive filtering.
Position Trading: Select the "Position Trading" preset for instant optimal configuration. This preset uses extended RSI periods (24, 21, 28) with heavier smoothing, optimized for longer-term trades. Alternatively, manually configure: Use RSI(24) with all filters enabled (Trend, ADX, RSI(50), Volume Dry-Up avoidance). Multi-RSI Synergy in "ALL" mode provides highest-quality signals.
Practical Tips and Best Practices
Getting Started: The fastest way to get started is to select a configuration preset that matches your trading style. Simply choose "Scalping", "Day Trading", "Swing Trading", or "Position Trading" from the "Configuration Preset" dropdown to instantly configure all settings optimally. For advanced users, use "Custom" mode for full manual control. The default configuration (Custom mode) is balanced and works well across different markets. After observing behavior, customize settings to match your trading style.
Reducing Repainting: All signals are based on confirmed bars, minimizing repainting. The script uses confirmed bar data for all calculations to ensure backtesting accuracy.
Signal Quality: Multi-RSI Synergy signals in "ALL" mode provide the highest-quality signals because they require alignment across all three RSI periods. These signals have lower frequency but higher reliability. For more frequent signals, use "2-of-3" mode. The noise reduction system further improves signal quality by requiring multiple confirmations (signal strength, extreme zone, consecutive bars, optional zone persistence and RSI slope). Adjust noise reduction settings to balance signal frequency vs. accuracy.
Filter Combinations: Start with volume confirmation, then add trend filter for trend alignment, then ADX filter for trend strength. Combining all three filters significantly reduces false signals but also reduces signal frequency. Find your balance based on your risk tolerance.
Volume Filtering: Set volume threshold to 0.1 or lower to effectively disable volume filtering if you trade instruments with unreliable volume data or want to test without volume confirmation. Standard confirmation uses 1.2-1.5 threshold.
RSI Period Selection: RSI(6) is most sensitive and best for scalping or early signal detection. RSI(14) provides balanced signals suitable for day trading. RSI(24) is smoother and better for swing trading and trend confirmation. You can disable any RSI period you don't need to reduce visual clutter.
Smoothing Methods: EMA provides balanced smoothing with moderate lag. RMA (Wilder's smoothing) is traditional and works well for RSI. Zero-Lag reduces lag but may increase noise. WMA gives more weight to recent values. Choose based on your preference for responsiveness vs. smoothness.
Forecasting: Linear regression is simplest and works well for trending markets. Polynomial regression captures curves and works better in ranging markets. Exponential smoothing adapts to trends. Moving average method is most conservative. Use confidence bands to assess forecast reliability.
Divergence: Strong divergence (with engulfing confirmation) is more reliable than regular divergence. Hidden divergence indicates continuation rather than reversal, useful for trend-following strategies. Pivot-based divergence provides more accurate detection by using actual pivot points instead of simple lowest/highest comparisons. Adjust lookback periods based on your timeframe: shorter for day trading, longer for swing trading. Pivot divergence period (default 5) controls the sensitivity of pivot detection.
Dynamic Thresholds: Dynamic OB/OS thresholds automatically adapt to volatility. In volatile markets, thresholds widen; in calm markets, they narrow. Adjust the volatility multiplier and base percentage to fine-tune sensitivity. Higher values create wider thresholds in volatile markets.
Alert Management: Enable alert cooldown (default 10 bars, recommended) to prevent alert spam. Each alert type has its own cooldown, so you can set different cooldowns for different signal types. For example, use shorter cooldown for synergy signals (high quality) and longer cooldown for crossovers (more frequent). The cooldown system works independently for each signal type, preventing spam while allowing different signal types to fire when appropriate.
Technical Specifications
- Pine Script Version: v6
- Indicator Type: Non-overlay (displays in separate panel below price chart)
- Repainting Behavior: Minimal - all signals are based on confirmed bars, ensuring accurate backtesting results
- Performance: Optimized with caching for ATR and volume calculations. Forecast arrays are dynamically managed to prevent memory accumulation.
- Compatibility: Works on all timeframes (1 minute to 1 month) and all instruments (stocks, forex, crypto, futures, etc.)
- Edge Case Handling: All calculations include safety checks for division by zero, NA values, and boundary conditions. Reset conditions and alert cooldowns handle edge cases where conditions never occurred or values are NA.
- Reset Logic: Separate reset conditions for buy signals (based on bottom conditions) and sell signals (based on top conditions) ensure logical correctness.
- Input Parameters: 60+ customizable parameters organized into logical groups for easy configuration. Configuration presets available for instant setup (Scalping, Day Trading, Swing Trading, Position Trading, Custom).
- Noise Reduction: Comprehensive noise reduction system with multiple filters (signal strength, extreme zone, consecutive bars, zone persistence, RSI slope) to reduce false signals.
- Pivot-Based Divergence: Enhanced divergence detection using actual pivot points for improved accuracy.
- Momentum Confirmation: RSI momentum filter ensures signals only fire when RSI is accelerating in the signal direction.
- Multi-Timeframe Confirmation: Optional higher timeframe RSI alignment for trend confirmation.
- Enhanced Pivot Trendlines: Trendline drawing with strength requirements, confirmation, and trend break detection.
Technical Notes
- All RSI values are clamped to 0-100 range to ensure valid oscillator values
- ATR and Volume SMA are cached for performance, updating on confirmed and real-time bars
- Reset conditions handle edge cases: if a condition never occurred, reset returns true (allows first signal)
- Alert cooldown handles na values: if no previous alert, cooldown allows the alert
- Forecast arrays are dynamically sized based on horizon, with unused lines cleaned up
- Fill logic uses a minimum gap (0.1) to ensure reliable polygon rendering in TradingView
- All calculations include safety checks for division by zero and boundary conditions. Regression functions validate that horizon doesn't exceed array size, and all array access operations include bounds checking to prevent out-of-bounds errors
- The script uses separate reset conditions for buy signals (based on bottom conditions) and sell signals (based on top conditions) for logical correctness
- Background coloring uses a fallback system: dynamic color takes priority, then RSI(6) heatmap, then monotone if both are disabled
- Noise reduction filters are applied after accuracy filters, providing multiple layers of signal quality control
- Pivot trendlines use strength requirements to filter weak pivots, reducing noise in trendline drawing. Historical trendlines are stored in arrays and automatically limited to prevent memory accumulation when "Keep Historical Trendlines" is enabled
- Volume climax and dry-up markers are positioned at the top of the pane for better visibility
- All calculations are optimized with conditional execution - features only calculate when enabled (performance optimization)
- Input Validation: Automatic cross-input validation ensures smoothing lengths are always less than RSI period lengths, preventing configuration errors
- Configuration Presets: Four optimized preset configurations (Scalping, Day Trading, Swing Trading, Position Trading) for instant setup, plus Custom mode for full manual control
- Constants Management: Magic numbers extracted to documented constants for improved maintainability and easier tuning (pivot tolerance, divergence thresholds, fill gap, etc.)
- TradingView Function Consistency: All TradingView functions (ta.crossover, ta.crossunder, ta.atr, ta.lowest, ta.highest, ta.lowestbars, ta.highestbars, etc.) and custom functions that depend on historical results (f_consecutiveBarConfirmation, f_rsiSlopeConfirmation, f_rsiZonePersistence, f_applyAllFilters, f_rsiMomentum, f_forecast, f_confirmPivotLow, f_confirmPivotHigh) are called on every bar for consistency, as recommended by TradingView. Results are then used conditionally when needed. This ensures consistent calculations and prevents calculation inconsistencies.
Baba-pro EMA Break Sniper This indicator is designed to provide high-precision entries based on the interaction between EMAs, momentum, and clean price breaks.
Instead of relying on traditional EMA crossovers — which are often too slow — this tool focuses on direct EMA breakouts, allowing you to catch moves before most traders even react.
QFT MTF Range DetectorQFT MTF Range Detector — QuantumFlowTrader
Description:
The QFT MTF Range Detector is a multi-timeframe (MTF) tool designed to identify consolidation zones or ranging conditions across multiple intraday timeframes — from 1 minute up to 4 hours. This indicator is optimized for high-frequency trading environments such as scalping and day trading.
How it works:
For each selected timeframe, the indicator evaluates five key technical conditions:
- Low ADX (less than 17) – suggesting weak trend strength.
- Range width within a specific normalized threshold.
- Normalized ATR (volatility filter) in a defined range.
- RSI near the neutral zone (40–60) with low volatility.
- Price proximity to the mid-range (consolidation center).
Each condition contributes a score. If at least 3 out of 5 conditions are met, that timeframe is considered to be in a range (consolidation).
Visual output:
A compact table is displayed on the chart showing all selected timeframes:
Black box = Timeframe is in a range (consolidation).
Purple box = Not in a range (likely trending or volatile).
Timeframes are labeled (e.g., "4H", "15M") for clarity.
Customization:
Choose display corner (top/bottom, left/right).
Enable or disable table borders.
Set custom colors for range and non-range signals.
Use case:
Traders can quickly assess which timeframes are in a range, helping them:
Avoid choppy markets,
Time entries and exits better,
Confirm multi-timeframe alignment.
Note: This is not a buy/sell signal indicator. It is a market condition filter to enhance decision-making.
TMT Support & Resistance - Hitesh NimjeTMT Support & Resistance - HiteshNimje Indicator
Overview
The TMT Support & Resistance indicator is a professional pivot point analysis tool that automatically calculates and displays key support and resistance levels across multiple timeframe perspectives. It offers various pivot point calculation methods and provides customizable visual elements for comprehensive technical analysis.
Key Features
Pivot Point Calculation Methods
1. Traditional Pivot Points
Standard pivot point calculation using Previous Period High, Low, and Close
Creates P, S1, S2, S3, R1, R2, R3 levels
Most widely used method for day trading and swing trading
2. Fibonacci Pivot Points
Incorporates Fibonacci retracement levels (38.2%, 61.8%)
Uses traditional pivot as base with Fibonacci extensions
Popular among traders following Fibonacci analysis
3. Woodie Pivot Points
Alternative calculation method with different weighting
Emphasizes opening price in calculations
Preferred by some intraday traders
4. Classic Pivot Points
Similar to traditional but with different level calculations
Balanced approach to support/resistance identification
Timeframe Options
* Auto: Automatically selects optimal timeframe based on chart timeframe
Intraday ≤15min → Daily
Intraday >15min → Weekly
Daily → Monthly
* Fixed Timeframes: Daily, Weekly, Monthly, Quarterly, Yearly
* Extended Periods: Biyearly, Triyearly, Quinquennially, Decennially
Level Management System
Support Levels (Blue Colored)
* TMT Support 1 (S1): First major support level
* TMT Support 2 (S2): Second support level
* TMT Support 3 (S3): Third support level
* TMT Support 4 (S4): Fourth support level (Traditional/Camarilla only)
* TMT Support 5 (S5): Fifth support level (Traditional/Camarilla only)
Resistance Levels (Black Colored)
* TMT Resistance 1 (R1): First major resistance level
* TMT Resistance 2 (R2): Second resistance level
* TMT Resistance 3 (R3): Third resistance level
* TMT Resistance 4 (R4): Fourth resistance level (Traditional/Camarilla only)
* TMT Resistance 5 (R5): Fifth resistance level (Traditional/Camarilla only)
Central Pivot (Orange Colored)
* Pivot Point (P): Central price level used for S/R calculations
Customization Options
Display Settings
* Show Labels: Toggle pivot level identification labels
* Show Prices: Display actual price values next to levels
* Labels Position: Choose between Left or Right positioning
* Line Width: Adjustable thickness (1-100 pixels) for all pivot lines
Data Source Options
* Use Daily-based Values:
ON: Uses official daily OHLC values for calculations
OFF: Uses intraday data with extended hours consideration
* Number of Pivots Back: Historical pivot display (1-200 levels)
Color Customization
* Individual color selection for each support/resistance level
* Default colors: Supports (Blue), Resistances (Black), Pivot (Orange)
* Full color picker integration for all levels
Technical Features
Smart Display Logic
* Intraday Charts: Automatically uses daily-based calculations when intraday data is insufficient
* Multi-timeframe Compatibility: Adapts to chart timeframe and pivot timeframe differences
* Extended Hours Handling: Incorporates extended trading hours when enabled on chart
Dynamic Level Management
* Real-time Updates: Levels update as new data becomes available
* Historical Tracking: Maintains configurable number of historical pivot periods
* Automatic Cleanup: Removes old pivot graphics when limit is exceeded
Visual Elements
* Time-based Lines: Lines extend across full time periods for clear visual reference
* Price Labels: Contextual information showing level names and prices
* Professional Styling: Clean, professional appearance suitable for any trading style
Use Cases
Day Trading Applications
* Session Management: Use daily pivots for intraday trading decisions
* Range Trading: Camarilla levels excellent for range-bound strategies
* Breakout Confirmation: Use pivot breaks as entry/exit signals
Swing Trading Applications
* Weekly/Monthly Pivots: Identify key levels for multi-day positions
* Trend Analysis: Track how price interacts with higher timeframe pivots
* Risk Management: Set stop-losses and take-profits at pivot levels
Long-term Trading Applications
* Quarterly/Yearly Pivots: Major institutional levels for position trading
* Support/Resistance Maps: Create comprehensive price level roadmap
* Market Structure Analysis: Understand price behavior around key levels
Benefits for Traders
Professional Analysis
* Multiple Methodologies: Choose pivot calculation that matches trading style
* Timeframe Flexibility: Analyze from multiple temporal perspectives
* Historical Context: See how price has historically responded to pivot levels
Risk Management
* Level Identification: Clear visual reference for stop-loss placement
* Position Sizing: Use pivot distances for risk/reward calculations
* Entry Timing: Identify optimal entry points near support/resistance
Market Understanding
* Psychological Levels: Understand where market participants react
* Volume Confirmation: Cross-reference pivot levels with volume data
* Trend Continuation: Identify pivot levels that may continue or reverse trends
Technical Specifications
* Pine Script Version: 6
* Overlay: True (displays on price chart)
* Performance: Optimized for up to 200 historical pivot periods
* Compatibility: All trading instruments and timeframes
* Data Source: OHLC-based pivot calculations with security function integration
Trading Strategy Integration
1. Support/Resistance Trading: Enter trades at S1/R1 with stops beyond S2/R2
2. Pivot Bounce Strategy: Trade bounces from established pivot levels
3. Range Trading: Use Camarilla pivots for tight range strategies
4. Breakout Strategy: Enter breakouts with confirmation from pivot breaks
5. Multiple Timeframe Analysis: Combine daily, weekly, and monthly pivots for comprehensive analysis
This indicator serves as a comprehensive support and resistance analysis tool, providing traders with institutional-quality pivot point analysis across multiple calculation methods and timeframes. It combines professional-grade pivot point calculations with intuitive customization options, making it suitable for traders of all experience levels and trading styles.
TRADING DISCLAIMER
RISK WARNING
Trading involves substantial risk of loss and is not suitable for all investors. Past performance is not indicative of future results. You should carefully consider whether trading is suitable for you in light of your circumstances, knowledge, and financial resources.
NO FINANCIAL ADVICE
This indicator is provided for educational and informational purposes only. It does not constitute:
* Financial advice or investment recommendations
* Buy/sell signals or trading signals
* Professional investment advice
* Legal, tax, or accounting guidance
LIMITATIONS AND DISCLAIMERS
Technical Analysis Limitations
* Pivot points are mathematical calculations based on historical price data
* No guarantee of accuracy of price levels or calculations
* Markets can and do behave irrationally for extended periods
* Past performance does not guarantee future results
* Technical analysis should be used in conjunction with fundamental analysis
Data and Calculation Disclaimers
* Calculations are based on available price data at the time of calculation
* Data quality and availability may affect accuracy
* Pivot levels may differ when calculated on different timeframes
* Gaps and irregular market conditions may cause level failures
* Extended hours trading may affect intraday pivot calculations
Market Risks
* Extreme market volatility can invalidate all technical levels
* News events, economic announcements, and market manipulation can cause gaps
* Liquidity issues may prevent execution at calculated levels
* Currency fluctuations, inflation, and interest rate changes affect all levels
* Black swan events and market crashes cannot be predicted by technical analysis
USER RESPONSIBILITIES
Due Diligence
* You are solely responsible for your trading decisions
* Conduct your own research before using this indicator
* Verify calculations with multiple sources before trading
* Consider multiple timeframes and confirm levels with other technical tools
* Never rely solely on one indicator for trading decisions
Risk Management
* Always use proper risk management and position sizing
* Set appropriate stop-losses for all positions
* Never risk more than you can afford to lose
* Consider the inherent risks of leverage and margin trading
* Diversify your portfolio and trading strategies
Professional Consultation
* Consult with qualified financial advisors before trading
* Consider your tax obligations and legal requirements
* Understand the regulations in your jurisdiction
* Seek professional advice for complex trading strategies
LIMITATION OF LIABILITY
Indemnification
The creator and distributor of this indicator shall not be liable for:
* Any trading losses, whether direct or indirect
* Inaccurate or delayed price data
* System failures or technical malfunctions
* Loss of data or profits
* Interruption of service or connectivity issues
No Warranty
This indicator is provided "as is" without warranties of any kind:
* No guarantee of accuracy or completeness
* No warranty of uninterrupted or error-free operation
* No warranty of merchantability or fitness for a particular purpose
* The software may contain bugs or errors
Maximum Liability
In no event shall the liability exceed the purchase price (if any) paid for this indicator. This limitation applies regardless of the theory of liability, whether contract, tort, negligence, or otherwise.
REGULATORY COMPLIANCE
Jurisdiction-Specific Risks
* Regulations vary by country and region
* Some jurisdictions prohibit or restrict certain trading strategies
* Tax implications differ based on your location and trading frequency
* Commodity futures and options trading may have additional requirements
* Currency trading may be regulated differently than stock trading
Professional Trading
* If you are a professional trader, ensure compliance with all applicable regulations
* Adhere to fiduciary duties and best execution requirements
* Maintain required records and reporting
* Follow market abuse regulations and insider trading laws
TECHNICAL SPECIFICATIONS
Data Sources
* Calculations based on TradingView data feeds
* Data accuracy depends on broker and exchange reporting
* Historical data may be subject to adjustments and corrections
* Real-time data may have delays depending on data providers
Software Limitations
* Internet connectivity required for proper operation
* Software updates may change calculations or functionality
* TradingView platform dependencies may affect performance
* Third-party integrations may introduce additional risks
MONEY MANAGEMENT RECOMMENDATIONS
Conservative Approach
* Risk only 1-2% of capital per trade
* Use position sizing based on volatility
* Maintain adequate cash reserves
* Avoid over-leveraging accounts
Portfolio Management
* Diversify across multiple strategies
* Don't put all capital into one approach
* Regularly review and adjust trading strategies
* Maintain detailed trading records
FINAL LEGAL NOTICES
Acceptance of Terms
* By using this indicator, you acknowledge that you have read and understood this disclaimer
* You agree to assume all risks associated with trading
* You confirm that you are legally permitted to trade in your jurisdiction
Updates and Changes
* This disclaimer may be updated without notice
* Continued use constitutes acceptance of any changes
* It is your responsibility to stay informed of updates
Governing Law
* This disclaimer shall be governed by the laws of the jurisdiction where the indicator was created
* Any disputes shall be resolved in the appropriate courts
* Severability clause: If any part of this disclaimer is invalid, the remainder remains enforceable
REMEMBER: THERE ARE NO GUARANTEES IN TRADING. THE MAJORITY OF RETAIL TRADERS LOSE MONEY. TRADE AT YOUR OWN RISK.
Contact Information:
* Creator: Hitesh_Nimje
* Phone: Contact@8087192915
* Source: Thought Magic Trading
© HiteshNimje - All Rights Reserved
This disclaimer should be prominently displayed whenever the indicator is shared, sold, or distributed to ensure users are fully aware of the risks and limitations involved in trading.
BTC Fear & Greed Incremental StrategyIMPORTANT: READ SETUP GUIDE BELOW OR IT WON'T WORK
# BTC Fear & Greed Incremental Strategy — TradeMaster AI (Pure BTC Stack)
## Strategy Overview
This advanced Bitcoin accumulation strategy is designed for long-term hodlers who want to systematically take profits during greed cycles and accumulate during fear periods, while preserving their core BTC position. Unlike traditional strategies that start with cash, this approach begins with a specified BTC allocation, making it perfect for existing Bitcoin holders who want to optimize their stack management.
## Key Features
### 🎯 **Pure BTC Stack Mode**
- Start with any amount of BTC (configurable)
- Strategy manages your existing stack, not new purchases
- Perfect for hodlers who want to optimize without timing markets
### 📊 **Fear & Greed Integration**
- Uses market sentiment data to drive buy/sell decisions
- Configurable thresholds for greed (selling) and fear (buying) triggers
- Automatic validation to ensure proper 0-100 scale data source
### 🐂 **Bull Year Optimization**
- Smart quarterly selling during bull market years (2017, 2021, 2025)
- Q1: 1% sells, Q2: 2% sells, Q3/Q4: 5% sells (configurable)
- **NO SELLING** during non-bull years - pure accumulation mode
- Preserves BTC during early bull phases, maximizes profits at peaks
### 🐻 **Bear Market Intelligence**
- Multi-regime detection: Bull, Early Bear, Deep Bear, Early Bull
- Different buying strategies based on market conditions
- Enhanced buying during deep bear markets with configurable multipliers
- Visual regime backgrounds for easy market condition identification
### 🛡️ **Risk Management**
- Minimum BTC allocation floor (prevents selling entire stack)
- Configurable position sizing for all trades
- Multiple safety checks and validation
### 📈 **Advanced Visualization**
- Clean 0-100 scale with 2 decimal precision
- Three main indicators: BTC Allocation %, Fear & Greed Index, BTC Holdings
- Real-time portfolio tracking with cash position display
- Enhanced info table showing all key metrics
## How to Use
### **Step 1: Setup**
1. Add the strategy to your BTC/USD chart (daily timeframe recommended)
2. **CRITICAL**: In settings, change the "Fear & Greed Source" from "close" to a proper 0-100 Fear & Greed indicator
---------------
I recommend Crypto Fear & Greed Index by TIA_Technology indicator
When selecting source with this indicator, look for "Crypto Fear and Greed Index:Index"
---------------
3. Set your "Starting BTC Quantity" to match your actual holdings
4. Configure your preferred "Start Date" (when you want the strategy to begin)
### **Step 2: Configure Bull Year Logic**
- Enable "Bull Year Logic" (default: enabled)
- Adjust quarterly sell percentages:
- Q1 (Jan-Mar): 1% (conservative early bull)
- Q2 (Apr-Jun): 2% (moderate mid bull)
- Q3/Q4 (Jul-Dec): 5% (aggressive peak targeting)
- Add future bull years to the list as needed
### **Step 3: Fine-tune Thresholds**
- **Greed Threshold**: 80 (sell when F&G > 80)
- **Fear Threshold**: 20 (buy when F&G < 20 in bull markets)
- **Deep Bear Fear Threshold**: 25 (enhanced buying in bear markets)
- Adjust based on your risk tolerance
### **Step 4: Risk Management**
- Set "Minimum BTC Allocation %" (default 20%) - prevents selling entire stack
- Configure sell/buy percentages based on your position size
- Enable bear market filters for enhanced timing
### **Step 5: Monitor Performance**
- **Orange Line**: Your BTC allocation percentage (target: fluctuate between 20-100%)
- **Blue Line**: Actual BTC holdings (should preserve core position)
- **Pink Line**: Fear & Greed Index (drives all decisions)
- **Table**: Real-time portfolio metrics including cash position
## Reading the Indicators
### **BTC Allocation Percentage (Orange Line)**
- **100%**: All portfolio in BTC, no cash available for buying
- **80%**: 80% BTC, 20% cash ready for fear buying
- **20%**: Minimum allocation, maximum cash position
### **Trading Signals**
- **Green Buy Signals**: Appear during fear periods with available cash
- **Red Sell Signals**: Appear during greed periods in bull years only
- **No Signals**: Either allocation limits reached or non-bull year
## Strategy Logic
### **Bull Years (2017, 2021, 2025)**
- Q1: Conservative 1% sells (preserve stack for later)
- Q2: Moderate 2% sells (gradual profit taking)
- Q3/Q4: Aggressive 5% sells (peak targeting)
- Fear buying active (accumulate on dips)
### **Non-Bull Years**
- **Zero selling** - pure accumulation mode
- Enhanced fear buying during bear markets
- Focus on rebuilding stack for next bull cycle
## Important Notes
- **This is not financial advice** - backtest thoroughly before use
- Designed for **long-term holders** (4+ year cycles)
- **Requires proper Fear & Greed data source** - validate in settings
- Best used on **daily timeframe** for major trend following
- **Cash calculations**: Use allocation % and BTC holdings to calculate available cash: `Cash = (Total Portfolio × (1 - Allocation%/100))`
## Risk Disclaimer
This strategy involves active trading and position management. Past performance does not guarantee future results. Always do your own research and never invest more than you can afford to lose. The strategy is designed for educational purposes and long-term Bitcoin accumulation thesis.
---
*Developed by Sol_Crypto for the Bitcoin community. Happy stacking! 🚀*
4H Supply & Demand – 50% Mitigation (MTF clean)4H Supply & Demand – 50% Mitigation (MTF clean)
This indicator shows strictly 4h supply & demand zones
automatically deletes any zone that got filled by 51%
TMT Sessions - Hitesh NimjeTMT Sessions - Hitesh Nimje Indicator
Overview
The TMT Sessions indicator is a comprehensive trading tool designed to visualize and analyze the four major global trading sessions. It provides session-based technical analysis including ranges, trends, averages, and statistical metrics for each trading session.
Key Features
Four Global Trading Sessions
1. Session A - New York (13:00-22:00 UTC)
Color: Blue (#0000FF)
Default timeframe: US/Eastern market hours
2. Session B - London (07:00-16:00 UTC)
Color: Black (#000000)
Default timeframe: European market hours
3. Session C - Tokyo (00:00-09:00 UTC)
Color: Red (#FF0000)
Default timeframe: Asian market hours
4. Session D - Sydney (21:00-06:00 UTC)
Color: Orange (#FFA500)
Default timeframe: Australian market hours
Technical Analysis Tools
Range Analysis:
* Visual range boxes showing session high/low boundaries
* Transparent background areas with configurable transparency
* Range outline borders
* Session labels with customizable text display
Trend Analysis:
* Linear regression trendlines for each session
* Statistical metrics including:
R-squared values for trend strength
Standard deviation calculations
Correlation measurements
Statistical Indicators:
* Session Averages: Simple Moving Averages (SMA) calculated within each session
* VWAP: Volume Weighted Average Price for session-based intraday analysis
* Max/Min Lines: Highest and lowest prices recorded during each session
Visual Elements
Session Dividers:
* Visual markers showing session start/end points
* Session identification symbols (NYE, LDN, TYO, SYD)
* Configurable divider display options
Dashboard Features:
* Basic Dashboard: Session status (Active/Inactive) with color-coded indicators
* Advanced Dashboard: Additional metrics including:
Session trend strength (R-squared values)
Volume data
Standard deviation statistics
* Multiple dashboard positions (Top Right, Bottom Right, Bottom Left)
* Configurable text sizes (Tiny, Small, Normal)
Customization Options
Timezone Management:
* UTC offset adjustment (+/- hours)
* Exchange timezone option for automatic adjustment
* Session time customization
Display Settings:
* Individual session enable/disable
* Color customization for each session
* Range area transparency control
* Line description display toggle
* Session text label configuration
Use Cases
1. Session-Based Trading: Identify optimal trading times for each global session
2. Range Trading: Use session ranges as support/resistance levels
3. Trend Analysis: Track session-specific trends and momentum
4. Statistical Analysis: Monitor session volatility and trend strength
5. Market Structure: Understand how price moves across different trading sessions
Technical Specifications
* Pine Script Version: 6
* Overlays: True (displays on price chart)
* Performance: Optimized for up to 500 bars back
* Multi-element Support: Handles up to 500 lines, boxes, and labels
* Data Source: Compatible with all trading instruments and timeframes
Benefits for Traders
1. Global Market Awareness: Visual representation of all major trading sessions
2. Session Analysis: Automated calculation of key session statistics
3. Trading Strategy Development: Session-based entry and exit signals
4. Risk Management: Session ranges for stop-loss and take-profit levels
5. Market Timing: Optimal trading session identification
This indicator is particularly valuable for forex traders, day traders, and anyone who needs to understand price behavior across different global market sessions. It combines multiple technical analysis concepts into a unified, session-focused trading tool.
TRADING DISCLAIMER
RISK WARNING
Trading involves substantial risk of loss and is not suitable for all investors. Past performance is not indicative of future results. You should carefully consider whether trading is suitable for you in light of your circumstances, knowledge, and financial resources.
NO FINANCIAL ADVICE
This indicator is provided for educational and informational purposes only. It does not constitute:
* Financial advice or investment recommendations
* Buy/sell signals or trading signals
* Professional investment advice
* Legal, tax, or accounting guidance
LIMITATIONS AND DISCLAIMERS
Technical Analysis Limitations
* Pivot points are mathematical calculations based on historical price data
* No guarantee of accuracy of price levels or calculations
* Markets can and do behave irrationally for extended periods
* Past performance does not guarantee future results
* Technical analysis should be used in conjunction with fundamental analysis
Data and Calculation Disclaimers
* Calculations are based on available price data at the time of calculation
* Data quality and availability may affect accuracy
* Pivot levels may differ when calculated on different timeframes
* Gaps and irregular market conditions may cause level failures
* Extended hours trading may affect intraday pivot calculations
Market Risks
* Extreme market volatility can invalidate all technical levels
* News events, economic announcements, and market manipulation can cause gaps
* Liquidity issues may prevent execution at calculated levels
* Currency fluctuations, inflation, and interest rate changes affect all levels
* Black swan events and market crashes cannot be predicted by technical analysis
USER RESPONSIBILITIES
Due Diligence
* You are solely responsible for your trading decisions
* Conduct your own research before using this indicator
* Verify calculations with multiple sources before trading
* Consider multiple timeframes and confirm levels with other technical tools
* Never rely solely on one indicator for trading decisions
Risk Management
* Always use proper risk management and position sizing
* Set appropriate stop-losses for all positions
* Never risk more than you can afford to lose
* Consider the inherent risks of leverage and margin trading
* Diversify your portfolio and trading strategies
Professional Consultation
* Consult with qualified financial advisors before trading
* Consider your tax obligations and legal requirements
* Understand the regulations in your jurisdiction
* Seek professional advice for complex trading strategies
LIMITATION OF LIABILITY
Indemnification
The creator and distributor of this indicator shall not be liable for:
* Any trading losses, whether direct or indirect
* Inaccurate or delayed price data
* System failures or technical malfunctions
* Loss of data or profits
* Interruption of service or connectivity issues
No Warranty
This indicator is provided "as is" without warranties of any kind:
* No guarantee of accuracy or completeness
* No warranty of uninterrupted or error-free operation
* No warranty of merchantability or fitness for a particular purpose
* The software may contain bugs or errors
Maximum Liability
In no event shall the liability exceed the purchase price (if any) paid for this indicator. This limitation applies regardless of the theory of liability, whether contract, tort, negligence, or otherwise.
REGULATORY COMPLIANCE
Jurisdiction-Specific Risks
* Regulations vary by country and region
* Some jurisdictions prohibit or restrict certain trading strategies
* Tax implications differ based on your location and trading frequency
* Commodity futures and options trading may have additional requirements
* Currency trading may be regulated differently than stock trading
Professional Trading
* If you are a professional trader, ensure compliance with all applicable regulations
* Adhere to fiduciary duties and best execution requirements
* Maintain required records and reporting
* Follow market abuse regulations and insider trading laws
TECHNICAL SPECIFICATIONS
Data Sources
* Calculations based on TradingView data feeds
* Data accuracy depends on broker and exchange reporting
* Historical data may be subject to adjustments and corrections
* Real-time data may have delays depending on data providers
Software Limitations
* Internet connectivity required for proper operation
* Software updates may change calculations or functionality
* TradingView platform dependencies may affect performance
* Third-party integrations may introduce additional risks
MONEY MANAGEMENT RECOMMENDATIONS
Conservative Approach
* Risk only 1-2% of capital per trade
* Use position sizing based on volatility
* Maintain adequate cash reserves
* Avoid over-leveraging accounts
Portfolio Management
* Diversify across multiple strategies
* Don't put all capital into one approach
* Regularly review and adjust trading strategies
* Maintain detailed trading records
FINAL LEGAL NOTICES
Acceptance of Terms
* By using this indicator, you acknowledge that you have read and understood this disclaimer
* You agree to assume all risks associated with trading
* You confirm that you are legally permitted to trade in your jurisdiction
Updates and Changes
* This disclaimer may be updated without notice
* Continued use constitutes acceptance of any changes
* It is your responsibility to stay informed of updates
Governing Law
* This disclaimer shall be governed by the laws of the jurisdiction where the indicator was created
* Any disputes shall be resolved in the appropriate courts
* Severability clause: If any part of this disclaimer is invalid, the remainder remains enforceable
REMEMBER: THERE ARE NO GUARANTEES IN TRADING. THE MAJORITY OF RETAIL TRADERS LOSE MONEY. TRADE AT YOUR OWN RISK.
Contact Information:
* Creator: Hitesh_Nimje
* Phone: Contact@8087192915
* Source: Thought Magic Trading
© HiteshNimje - All Rights Reserved
This disclaimer should be prominently displayed whenever the indicator is shared, sold, or distributed to ensure users are fully aware of the risks and limitations involved in trading.
YM Ultimate SNIPER v8# YM Ultimate SNIPER v8 - Complete Documentation
## 🎯 WIN AT ALL COST EDITION
### FIXED: Scoring System + Solid Table + All Timeframes + Filtered Visuals
**TARGET: 3-7 High-Confluence Trades per Day**
**Philosophy: "Zones That Matter" + "See Inside The Candle"**
---
# 📋 QUICK START CHEATSHEET
## ⚡ 60-SECOND SETUP
### Step 1: Add to Chart
1. Open TradingView → Indicators → Pine Editor
2. Paste the v8 code → Save → Add to Chart
3. Use 5-minute chart for day trading
### Step 2: Verify Settings (YM Default)
```
TIER THRESHOLDS:
├── S-Tier: 50 points (institutional sweep)
├── A-Tier: 25 point# YM Ultimate SNIPER v8 - Complete Documentation
## 🎯 WIN AT ALL COST EDITION
### FIXED: Scoring System + Solid Table + All Timeframes + Filtered Visuals
**TARGET: 3-7 High-Confluence Trades per Day**
**Philosophy: "Zones That Matter" + "See Inside The Candle"**
---
# 📋 QUICK START CHEATSHEET
## ⚡ 60-SECOND SETUP
### Step 1: Add to Chart
1. Open TradingView → Indicators → Pine Editor
2. Paste the v8 code → Save → Add to Chart
3. Use 5-minute chart for day trading
### Step 2: Verify Settings (YM Default)
```
TIER THRESHOLDS:
├── S-Tier: 50 points (institutional sweep)
├── A-Tier: 25 points (strong momentum)
└── B-Tier: 12 points (quick scalp)
INTRABAR: 1-minute (most precise)
SESSIONS: NY Window (0930-1130) ← Primary focus
```
### Step 3: Look for These Signals
```
⚡GOD = GOD MODE (9.0+ score) → TAKE IT NOW, full size
S🎯 = S-Tier HOLD → 2.5-3.5 R:R target
A🎯 = A-Tier SWING → 2.0-2.5 R:R target
B🎯 = B-Tier SCALP → 1.5-2.0 R:R target
Z = Zone entry (no tier but quality zone)
LS↑/↓ = Liquidity Sweep (filtered for quality)
✕ = Absorption (filtered for quality)
```
---
# 🔥 THE SCORE SYSTEM (v8 REBUILT)
## How It Works Now
The score is **100% ADDITIVE** - no more gating. Every factor adds points:
| Category | Factor | Points |
|----------|--------|--------|
| **TIER** | S-Tier | +3.0 |
| | A-Tier | +2.0 |
| | B-Tier | +1.0 |
| **ZONES** | In FVG Zone | +1.5 |
| | In Order Block | +1.5 |
| | In IFVG | +1.0 |
| **VOLUME** | Meets minimum (1.5x) | +0.5 |
| | Strong (2.0x) | +0.75 |
| | Extreme (2.5x) | +0.75 |
| **DELTA** | Buy/Sell dominant (60%+) | +1.0 |
| | Strong (70%+) | +0.5 |
| | Extreme (78%+) | +0.5 |
| **CVD** | Bullish/Bearish | +0.5 |
| | Strong momentum | +0.5 |
| | Extreme momentum | +0.5 |
| **CANDLE** | Strong body (60%+) | +0.5 |
| | Significant range (1.2x avg) | +0.5 |
| | Clean wicks | +0.5 |
| **SWEEP** | Recent sweep (within 3 bars) | +1.5 |
| | Current bar sweep | +0.5 |
| **SESSION** | In key session | +1.0 |
| **INTRABAR** | IB Delta dominant | +1.0 |
| | IB Delta strong | +0.5 |
| | IB Delta extreme | +0.5 |
| | IB Momentum confirmed | +0.5 |
| | IB Momentum strong | +0.5 |
| | Absorption detected | +1.0 |
| | Internal sweep | +0.5 |
| | Volume cluster (favorable) | +0.5 |
**Max Raw Score: ~22 points → Normalized to 10**
## Score Classifications
| Score | Classification | Action | Size |
|-------|---------------|--------|------|
| **9.0-10** | ⚡ GOD MODE | TAKE IT NOW | Full position |
| **8.0-8.9** | ⭐ EXCELLENT | High priority | 75-100% size |
| **5.0-7.9** | 🟡 MEDIUM | Standard setup | 50-75% size |
| **<5.0** | ❌ NO SIGNAL | No trade | — |
---
# 📊 INSTRUMENT-SPECIFIC SETUP
## YM (Dow Jones Mini) - DEFAULT
```
TIER THRESHOLDS:
├── S-Tier: 50 points
├── A-Tier: 25 points
└── B-Tier: 12 points
TICK VALUE: 1.00 (1 tick = 1 point)
CONTRACT VALUE: $5 per point
RECOMMENDED:
├── Chart: 5-minute
├── Intrabar TF: 1 (1-minute) OR 100T (tick for Premium+)
├── Sessions: NY Open (9:30-11:30)
└── Stop: 2 ticks below signal candle low
PRO TIP: Use 100T or 250T tick intrabar for true order flow
```
## NQ (Nasdaq Mini)
```
TIER THRESHOLDS:
├── S-Tier: 100 points
├── A-Tier: 50 points
└── B-Tier: 25 points
TICK VALUE: 0.25 (4 ticks = 1 point)
CONTRACT VALUE: $5 per point ($20 per tick)
RECOMMENDED:
├── Chart: 5-minute
├── Intrabar TF: 1 (1-minute)
├── Min Volume Ratio: 1.8 (more volatile)
├── Delta Threshold: 0.62 (stricter)
└── Sessions: NY Open + Power Hour
```
## GC (Gold)
```
TIER THRESHOLDS:
├── S-Tier: 20 points (=$200)
├── A-Tier: 10 points (=$100)
└── B-Tier: 5 points (=$50)
TICK VALUE: 0.10 (10 ticks = 1 point)
CONTRACT VALUE: $10 per point ($1 per tick)
RECOMMENDED:
├── Chart: 5-minute
├── Intrabar TF: 1 (1-minute)
├── Sessions: London + NY overlap
├── Min Volume Ratio: 1.5
└── Note: More responsive to geopolitical events
```
## BTC (Bitcoin Futures)
```
TIER THRESHOLDS:
├── S-Tier: 500 points
├── A-Tier: 250 points
└── B-Tier: 100 points
TICK VALUE: 5.00 (1 tick = 5 points)
CONTRACT VALUE: $5 per point
RECOMMENDED:
├── Chart: 15-minute (less noise)
├── Intrabar TF: 5 (5-minute)
├── Sessions: Consider 24/7 (disable session filter)
├── Min Volume Ratio: 2.0 (crypto is spiky)
├── Absorption Threshold: 0.70 (stricter)
└── Note: Higher volatility, use wider stops
```
## ES (S&P 500 Mini)
```
TIER THRESHOLDS:
├── S-Tier: 20 points
├── A-Tier: 10 points
└── B-Tier: 5 points
TICK VALUE: 0.25 (4 ticks = 1 point)
CONTRACT VALUE: $12.50 per point ($50 per tick)
RECOMMENDED:
├── Chart: 5-minute
├── Intrabar TF: 1 (1-minute)
├── Sessions: NY Open (primary)
├── Note: Most liquid, cleanest price action
└── Good for learning the system
```
---
# 🕐 INTRABAR TIMEFRAME GUIDE
## Available Timeframes (v8 COMPLETE!)
### TICK TIMEFRAMES (Premium+ Required)
| Timeframe | Code | Best For |
|-----------|------|----------|
| 1 Tick | 1T | **ULTIMATE PRECISION** - every single trade |
| 5 Ticks | 5T | Ultra-precise scalping |
| 10 Ticks | 10T | High-frequency analysis |
| 25 Ticks | 25T | Tick scalping |
| 50 Ticks | 50T | Short-term tick analysis |
| 100 Ticks | 100T | Standard tick analysis |
| 250 Ticks | 250T | Medium tick grouping |
| 500 Ticks | 500T | Larger tick grouping |
| 1000 Ticks | 1000T | High-level tick view |
### SECOND TIMEFRAMES
| Timeframe | Code | Best For |
|-----------|------|----------|
| 1 Second | 1S | Ultra-scalping |
| 5 Seconds | 5S | Scalping, high-frequency |
| 10 Seconds | 10S | Fast scalping |
| 15 Seconds | 15S | Quick scalps |
| 30 Seconds | 30S | Short-term scalps |
### MINUTE TIMEFRAMES
| Timeframe | Code | Best For |
|-----------|------|----------|
| 1 Minute | 1 | **RECOMMENDED** for 5m charts |
| 2 Minutes | 2 | 10m charts |
| 3 Minutes | 3 | 15m charts |
| 5 Minutes | 5 | 15-30m charts |
| 10 Minutes | 10 | 30m-1h charts |
| 15 Minutes | 15 | 1h charts |
| 30 Minutes | 30 | 1-2h charts |
| 45 Minutes | 45 | 2-4h charts |
| 1 Hour | 60 | 4h charts |
| 2 Hours | 120 | Daily charts |
| 3 Hours | 180 | Daily charts |
| 4 Hours | 240 | Weekly charts |
### HIGHER TIMEFRAMES
| Timeframe | Code | Best For |
|-----------|------|----------|
| Daily | D | Weekly/Monthly charts |
| Weekly | W | Monthly charts |
| Monthly | M | Long-term analysis |
## 🔥 TICK DATA ADVANTAGE
**Why Use Tick Data?**
- **True Order Flow**: See every single transaction
- **No Time Aggregation**: Pure price/volume action
- **Institutional Footprint**: Catch block trades instantly
- **Maximum IB Precision**: Most accurate delta/momentum
**Best Tick Settings by Instrument:**
| Instrument | Chart TF | Recommended Tick IB |
|------------|----------|---------------------|
| YM | 5 min | 100T or 250T |
| NQ | 5 min | 50T or 100T (more liquid) |
| ES | 5 min | 50T or 100T (most liquid) |
| GC | 5 min | 100T or 250T |
| BTC | 15 min | 250T or 500T |
## ⚠️ CRITICAL RULE
**Intrabar TF MUST be LOWER than your chart TF!**
### Automatic Validation (v8 NEW!)
The script now automatically detects invalid intrabar configurations:
**When Intrabar TF is INVALID:**
1. **Yellow warning label** appears on chart: "⚠️ INTRABAR TF INVALID"
2. **Table shows**: "IB Data: ⚠️ INVALID TF" with yellow background
3. **Alert available**: "⚠️ INTRABAR CONFIG ERROR"
4. **Score impact**: Intrabar points (up to 5) are NOT added
**Example - 2 Minute Chart:**
```
VALID selections: 1T, 5T, 10T, 25T, 50T, 100T (any tick)
1S, 5S, 10S, 15S, 30S (any second)
1 (1-minute only)
INVALID selections: 2, 3, 5, 10, 15... (2min or higher)
D, W, M (obviously)
```
| Your Chart | Valid Intrabar Options |
|------------|------------------------|
| **2 minute** | **1T-1000T, 1S-30S, 1 only** |
| 5 minute | 1T-1000T, 1S-30S, 1-4 min |
| 15 minute | 1T-1000T, 1S-30S, 1-10 min |
| 1 hour | 1T-1000T, 1S-30S, 1-45 min |
| 4 hour | 1T-1000T, 1S-30S, 1-180 min |
| Daily | All tick, seconds, minutes up to 240 |
---
# 🎨 VISUAL FILTERING (v8 NEW!)
## The Problem (v7)
Too many sweep and absorption markers cluttered the chart with low-quality signals.
## The Solution (v8)
**Quality filters** - only show sweeps/absorption that MATTER.
### Sweep Quality Score
A sweep needs confluence to display:
```
+1.5 = In FVG Zone
+1.5 = In Order Block
+1.0 = Strong volume
+0.5 = In session
+1.0 = Intrabar confirmation
───────────────────
MIN NEEDED: 2.0 to show
```
### Absorption Quality Score
```
+1.5 = In FVG Zone
+1.5 = In Order Block
+1.0 = Tier signal present
+0.5 = In session
+0.5 = CVD confirmation
───────────────────
MIN NEEDED: 2.0 to show
```
### Settings
```
VISUAL FILTERS:
├── Only Show Quality Sweeps: ON (default)
├── Only Show Quality Absorption: ON (default)
├── Min Sweep Quality Score: 2.0
└── Min Absorption Quality Score: 2.0
Turn OFF filters to see ALL signals (not recommended)
```
---
# 📈 CVD IMPLEMENTATION (v8 FIXED)
## What Changed
### v7 Issues:
- CVD accumulated forever (overflow risk)
- Short slope calculation (only 3 bars)
- No session reset
### v8 Fixes:
```
1. SESSION RESET: CVD resets at London/NY open
2. PROPER SLOPE: Calculated over 5 bars
3. STDEV COMPARISON: Strong/Extreme = slope > 1-2 stdev
```
## CVD Readings in Table
| Display | Meaning | Score Contribution |
|---------|---------|-------------------|
| 🔥 BULL | Extreme bullish momentum | +1.5 total |
| 🔥 BEAR | Extreme bearish momentum | +1.5 total |
| ↑ BULL | Strong bullish trend | +1.0 total |
| ↓ BEAR | Strong bearish trend | +1.0 total |
| bull | Bullish bias | +0.5 |
| bear | Bearish bias | +0.5 |
| — | Neutral/mixed | +0 |
---
# ✅ ENTRY CHECKLIST v8
## Quick Checklist (Print This!)
### For ANY Signal:
- Score ≥ 3.5 (signal shown)
- Session active (🟢 in table)
- Direction matches bias
### For MEDIUM+ Signal (Score 5.0+):
- Delta matches direction (✓ or better)
- CVD trending with signal
- Volume ≥ 1.5x average
### For EXCELLENT Signal (Score 7.0+):
All above PLUS:
- In FVG Zone OR Order Block
- Strong delta (✓✓) or extreme (🔥)
- IB Delta confirms direction
### For GOD MODE (Score 8.5+):
All above PLUS:
- Multiple structure confluence (FVG + OB)
- Absorption or sweep present
- IB Momentum strong (🔥)
- **FULL SIZE - DON'T HESITATE**
---
# ⛔ DO NOT TRADE
1. **Score below threshold** - No signal shown = no trade
2. **Outside session** - Unless you've disabled session filter
3. **Delta conflicts** - Bearish candle but buy dominant delta
4. **No intrabar data** - Shows "0 bars" in IB Data
5. **CVD strongly opposite** - 🔥 BEAR on a long signal
6. **After major news** - Wait for dust to settle
7. **Low volume overall** - Market too quiet
---
# 🏆 GOLDEN RULES v8
> **"The score doesn't lie. Trust the math."**
> **"GOD MODE = Don't think, just execute."**
> **"Filtered visuals = Quality over quantity."**
> **"If intrabar conflicts, trust intrabar."**
> **"Session matters - trade when institutions trade."**
> **"Stack confluence - score higher = win more."**
> **"Leave every trade with money. Next setup is coming."**
---
# 📝 TRADE JOURNAL v8
```
DATE: ___________
SESSION: ☐ LDN ☐ NY ☐ PWR
INSTRUMENT: YM / NQ / ES / GC / BTC
TRADE:
├── Time: _______
├── Signal: ⚡GOD / S🎯 / A🎯 / B🎯 / Z
├── Direction: LONG / SHORT
├── SCORE: ___/10
├── Classification: GOD MODE / EXCELLENT / MEDIUM / WEAK
│
├── Entry: _______
├── Stop: _______
├── Target: _______
│
├── In FVG Zone: ☐ Yes ☐ No
├── In Order Block: ☐ Yes ☐ No
├── Liquidity Sweep: ☐ Yes ☐ No
├── Absorption: ☐ Yes ☐ No
│
├── IB Delta: ____% (BULL / BEAR / NEUTRAL)
├── IB Momentum: ____% (BULL / BEAR / MIXED)
├── CVD: 🔥 / ↑↓ / neutral
│
├── Result: +/- ___ pts ($_____)
└── Notes: _______________________
DAILY SUMMARY:
├── Total Trades: ___
├── GOD MODE signals: ___
├── EXCELLENT signals: ___
├── Win Rate: ___%
├── Net P/L: $_____
└── Best score today: ___
```
---
# 🔧 TROUBLESHOOTING
| Issue | Solution |
|-------|----------|
| **Yellow "INVALID TF" warning** | Your intrabar TF is >= chart TF. Select LOWER! |
| **IB Data shows "⚠️ INVALID TF"** | Same as above - pick 1T, 1S, or 1 for most charts |
| No signals appearing | Lower Min Score threshold |
| Too many signals | Raise Min Score threshold |
| Score always 0 | Check if candle is tiered (meets point threshold) |
| Sweeps not showing | Check quality filter settings or lower threshold |
| Table transparent | ❌ Fixed in v8 - table is now solid |
| CVD not making sense | Now resets at session open - cleaner readings |
| Wrong tier thresholds | Adjust for your instrument (see setup guide) |
| Tick TF not available | Requires TradingView Premium+ subscription |
---
# 📚 VERSION HISTORY
## v8 - WIN AT ALL COST EDITION
- ✅ REBUILT scoring system (100% additive, no gating)
- ✅ SOLID table (no transparency)
- ✅ ALL TradingView timeframes for intrabar (1S to Monthly)
- ✅ FILTERED sweeps/absorption (quality-based)
- ✅ FIXED CVD (session reset, proper slope)
- ✅ GOD MODE classification (8.5+ score)
- ✅ Instrument-specific documentation
## v7 - Intrabar Edition
- Added intrabar analysis engine
- Added absorption detection
- Added internal sweep detection
## Previous Versions
- GRA v5 SNIPER + DeepFlow Zones SNIPER merged
---
*© Alexandro Disla - YM Ultimate SNIPER v8*
*WIN AT ALL COST Edition | Trust The Score*
s (strong momentum)
└── B-Tier: 12 points (quick scalp)
INTRABAR: 1-minute (most precise)
SESSIONS: NY Window (0930-1130) ← Primary focus
```
### Step 3: Look for These Signals
```
⚡GOD = GOD MODE (9.0+ score) → TAKE IT NOW, full size
S🎯 = S-Tier HOLD → 2.5-3.5 R:R target
A🎯 = A-Tier SWING → 2.0-2.5 R:R target
B🎯 = B-Tier SCALP → 1.5-2.0 R:R target
Z = Zone entry (no tier but quality zone)
LS↑/↓ = Liquidity Sweep (filtered for quality)
✕ = Absorption (filtered for quality)
```
---
# 🔥 THE SCORE SYSTEM (v8 REBUILT)
## How It Works Now
The score is **100% ADDITIVE** - no more gating. Every factor adds points:
| Category | Factor | Points |
|----------|--------|--------|
| **TIER** | S-Tier | +3.0 |
| | A-Tier | +2.0 |
| | B-Tier | +1.0 |
| **ZONES** | In FVG Zone | +1.5 |
| | In Order Block | +1.5 |
| | In IFVG | +1.0 |
| **VOLUME** | Meets minimum (1.5x) | +0.5 |
| | Strong (2.0x) | +0.75 |
| | Extreme (2.5x) | +0.75 |
| **DELTA** | Buy/Sell dominant (60%+) | +1.0 |
| | Strong (70%+) | +0.5 |
| | Extreme (78%+) | +0.5 |
| **CVD** | Bullish/Bearish | +0.5 |
| | Strong momentum | +0.5 |
| | Extreme momentum | +0.5 |
| **CANDLE** | Strong body (60%+) | +0.5 |
| | Significant range (1.2x avg) | +0.5 |
| | Clean wicks | +0.5 |
| **SWEEP** | Recent sweep (within 3 bars) | +1.5 |
| | Current bar sweep | +0.5 |
| **SESSION** | In key session | +1.0 |
| **INTRABAR** | IB Delta dominant | +1.0 |
| | IB Delta strong | +0.5 |
| | IB Delta extreme | +0.5 |
| | IB Momentum confirmed | +0.5 |
| | IB Momentum strong | +0.5 |
| | Absorption detected | +1.0 |
| | Internal sweep | +0.5 |
| | Volume cluster (favorable) | +0.5 |
**Max Raw Score: ~22 points → Normalized to 10**
## Score Classifications
| Score | Classification | Action | Size |
|-------|---------------|--------|------|
| **9.0-10** | ⚡ GOD MODE | TAKE IT NOW | Full position |
| **8.0-8.9** | ⭐ EXCELLENT | High priority | 75-100% size |
| **5.0-7.9** | 🟡 MEDIUM | Standard setup | 50-75% size |
| **<5.0** | ❌ NO SIGNAL | No trade | — |
---
# 📊 INSTRUMENT-SPECIFIC SETUP
## YM (Dow Jones Mini) - DEFAULT
```
TIER THRESHOLDS:
├── S-Tier: 50 points
├── A-Tier: 25 points
└── B-Tier: 12 points
TICK VALUE: 1.00 (1 tick = 1 point)
CONTRACT VALUE: $5 per point
RECOMMENDED:
├── Chart: 5-minute
├── Intrabar TF: 1 (1-minute) OR 100T (tick for Premium+)
├── Sessions: NY Open (9:30-11:30)
└── Stop: 2 ticks below signal candle low
PRO TIP: Use 100T or 250T tick intrabar for true order flow
```
## NQ (Nasdaq Mini)
```
TIER THRESHOLDS:
├── S-Tier: 100 points
├── A-Tier: 50 points
└── B-Tier: 25 points
TICK VALUE: 0.25 (4 ticks = 1 point)
CONTRACT VALUE: $5 per point ($20 per tick)
RECOMMENDED:
├── Chart: 5-minute
├── Intrabar TF: 1 (1-minute)
├── Min Volume Ratio: 1.8 (more volatile)
├── Delta Threshold: 0.62 (stricter)
└── Sessions: NY Open + Power Hour
```
## GC (Gold)
```
TIER THRESHOLDS:
├── S-Tier: 20 points (=$200)
├── A-Tier: 10 points (=$100)
└── B-Tier: 5 points (=$50)
TICK VALUE: 0.10 (10 ticks = 1 point)
CONTRACT VALUE: $10 per point ($1 per tick)
RECOMMENDED:
├── Chart: 5-minute
├── Intrabar TF: 1 (1-minute)
├── Sessions: London + NY overlap
├── Min Volume Ratio: 1.5
└── Note: More responsive to geopolitical events
```
## BTC (Bitcoin Futures)
```
TIER THRESHOLDS:
├── S-Tier: 500 points
├── A-Tier: 250 points
└── B-Tier: 100 points
TICK VALUE: 5.00 (1 tick = 5 points)
CONTRACT VALUE: $5 per point
RECOMMENDED:
├── Chart: 15-minute (less noise)
├── Intrabar TF: 5 (5-minute)
├── Sessions: Consider 24/7 (disable session filter)
├── Min Volume Ratio: 2.0 (crypto is spiky)
├── Absorption Threshold: 0.70 (stricter)
└── Note: Higher volatility, use wider stops
```
## ES (S&P 500 Mini)
```
TIER THRESHOLDS:
├── S-Tier: 20 points
├── A-Tier: 10 points
└── B-Tier: 5 points
TICK VALUE: 0.25 (4 ticks = 1 point)
CONTRACT VALUE: $12.50 per point ($50 per tick)
RECOMMENDED:
├── Chart: 5-minute
├── Intrabar TF: 1 (1-minute)
├── Sessions: NY Open (primary)
├── Note: Most liquid, cleanest price action
└── Good for learning the system
```
---
# 🕐 INTRABAR TIMEFRAME GUIDE
## Available Timeframes (v8 COMPLETE!)
### TICK TIMEFRAMES (Premium+ Required)
| Timeframe | Code | Best For |
|-----------|------|----------|
| 1 Tick | 1T | **ULTIMATE PRECISION** - every single trade |
| 5 Ticks | 5T | Ultra-precise scalping |
| 10 Ticks | 10T | High-frequency analysis |
| 25 Ticks | 25T | Tick scalping |
| 50 Ticks | 50T | Short-term tick analysis |
| 100 Ticks | 100T | Standard tick analysis |
| 250 Ticks | 250T | Medium tick grouping |
| 500 Ticks | 500T | Larger tick grouping |
| 1000 Ticks | 1000T | High-level tick view |
### SECOND TIMEFRAMES
| Timeframe | Code | Best For |
|-----------|------|----------|
| 1 Second | 1S | Ultra-scalping |
| 5 Seconds | 5S | Scalping, high-frequency |
| 10 Seconds | 10S | Fast scalping |
| 15 Seconds | 15S | Quick scalps |
| 30 Seconds | 30S | Short-term scalps |
### MINUTE TIMEFRAMES
| Timeframe | Code | Best For |
|-----------|------|----------|
| 1 Minute | 1 | **RECOMMENDED** for 5m charts |
| 2 Minutes | 2 | 10m charts |
| 3 Minutes | 3 | 15m charts |
| 5 Minutes | 5 | 15-30m charts |
| 10 Minutes | 10 | 30m-1h charts |
| 15 Minutes | 15 | 1h charts |
| 30 Minutes | 30 | 1-2h charts |
| 45 Minutes | 45 | 2-4h charts |
| 1 Hour | 60 | 4h charts |
| 2 Hours | 120 | Daily charts |
| 3 Hours | 180 | Daily charts |
| 4 Hours | 240 | Weekly charts |
### HIGHER TIMEFRAMES
| Timeframe | Code | Best For |
|-----------|------|----------|
| Daily | D | Weekly/Monthly charts |
| Weekly | W | Monthly charts |
| Monthly | M | Long-term analysis |
## 🔥 TICK DATA ADVANTAGE
**Why Use Tick Data?**
- **True Order Flow**: See every single transaction
- **No Time Aggregation**: Pure price/volume action
- **Institutional Footprint**: Catch block trades instantly
- **Maximum IB Precision**: Most accurate delta/momentum
**Best Tick Settings by Instrument:**
| Instrument | Chart TF | Recommended Tick IB |
|------------|----------|---------------------|
| YM | 5 min | 100T or 250T |
| NQ | 5 min | 50T or 100T (more liquid) |
| ES | 5 min | 50T or 100T (most liquid) |
| GC | 5 min | 100T or 250T |
| BTC | 15 min | 250T or 500T |
## ⚠️ CRITICAL RULE
**Intrabar TF MUST be LOWER than your chart TF!**
### Automatic Validation (v8 NEW!)
The script now automatically detects invalid intrabar configurations:
**When Intrabar TF is INVALID:**
1. **Yellow warning label** appears on chart: "⚠️ INTRABAR TF INVALID"
2. **Table shows**: "IB Data: ⚠️ INVALID TF" with yellow background
3. **Alert available**: "⚠️ INTRABAR CONFIG ERROR"
4. **Score impact**: Intrabar points (up to 5) are NOT added
**Example - 2 Minute Chart:**
```
VALID selections: 1T, 5T, 10T, 25T, 50T, 100T (any tick)
1S, 5S, 10S, 15S, 30S (any second)
1 (1-minute only)
INVALID selections: 2, 3, 5, 10, 15... (2min or higher)
D, W, M (obviously)
```
| Your Chart | Valid Intrabar Options |
|------------|------------------------|
| **2 minute** | **1T-1000T, 1S-30S, 1 only** |
| 5 minute | 1T-1000T, 1S-30S, 1-4 min |
| 15 minute | 1T-1000T, 1S-30S, 1-10 min |
| 1 hour | 1T-1000T, 1S-30S, 1-45 min |
| 4 hour | 1T-1000T, 1S-30S, 1-180 min |
| Daily | All tick, seconds, minutes up to 240 |
---
# 🎨 VISUAL FILTERING (v8 NEW!)
## The Problem (v7)
Too many sweep and absorption markers cluttered the chart with low-quality signals.
## The Solution (v8)
**Quality filters** - only show sweeps/absorption that MATTER.
### Sweep Quality Score
A sweep needs confluence to display:
```
+1.5 = In FVG Zone
+1.5 = In Order Block
+1.0 = Strong volume
+0.5 = In session
+1.0 = Intrabar confirmation
───────────────────
MIN NEEDED: 2.0 to show
```
### Absorption Quality Score
```
+1.5 = In FVG Zone
+1.5 = In Order Block
+1.0 = Tier signal present
+0.5 = In session
+0.5 = CVD confirmation
───────────────────
MIN NEEDED: 2.0 to show
```
### Settings
```
VISUAL FILTERS:
├── Only Show Quality Sweeps: ON (default)
├── Only Show Quality Absorption: ON (default)
├── Min Sweep Quality Score: 2.0
└── Min Absorption Quality Score: 2.0
Turn OFF filters to see ALL signals (not recommended)
```
---
# 📈 CVD IMPLEMENTATION (v8 FIXED)
## What Changed
### v7 Issues:
- CVD accumulated forever (overflow risk)
- Short slope calculation (only 3 bars)
- No session reset
### v8 Fixes:
```
1. SESSION RESET: CVD resets at London/NY open
2. PROPER SLOPE: Calculated over 5 bars
3. STDEV COMPARISON: Strong/Extreme = slope > 1-2 stdev
```
## CVD Readings in Table
| Display | Meaning | Score Contribution |
|---------|---------|-------------------|
| 🔥 BULL | Extreme bullish momentum | +1.5 total |
| 🔥 BEAR | Extreme bearish momentum | +1.5 total |
| ↑ BULL | Strong bullish trend | +1.0 total |
| ↓ BEAR | Strong bearish trend | +1.0 total |
| bull | Bullish bias | +0.5 |
| bear | Bearish bias | +0.5 |
| — | Neutral/mixed | +0 |
---
# ✅ ENTRY CHECKLIST v8
## Quick Checklist (Print This!)
### For ANY Signal:
- Score ≥ 3.5 (signal shown)
- Session active (🟢 in table)
- Direction matches bias
### For MEDIUM+ Signal (Score 5.0+):
- Delta matches direction (✓ or better)
- CVD trending with signal
- Volume ≥ 1.5x average
### For EXCELLENT Signal (Score 7.0+):
All above PLUS:
- In FVG Zone OR Order Block
- Strong delta (✓✓) or extreme (🔥)
- IB Delta confirms direction
### For GOD MODE (Score 8.5+):
All above PLUS:
- Multiple structure confluence (FVG + OB)
- Absorption or sweep present
- IB Momentum strong (🔥)
- **FULL SIZE - DON'T HESITATE**
---
# ⛔ DO NOT TRADE
1. **Score below threshold** - No signal shown = no trade
2. **Outside session** - Unless you've disabled session filter
3. **Delta conflicts** - Bearish candle but buy dominant delta
4. **No intrabar data** - Shows "0 bars" in IB Data
5. **CVD strongly opposite** - 🔥 BEAR on a long signal
6. **After major news** - Wait for dust to settle
7. **Low volume overall** - Market too quiet
---
# 🏆 GOLDEN RULES v8
> **"The score doesn't lie. Trust the math."**
> **"GOD MODE = Don't think, just execute."**
> **"Filtered visuals = Quality over quantity."**
> **"If intrabar conflicts, trust intrabar."**
> **"Session matters - trade when institutions trade."**
> **"Stack confluence - score higher = win more."**
> **"Leave every trade with money. Next setup is coming."**
---
# 📝 TRADE JOURNAL v8
```
DATE: ___________
SESSION: ☐ LDN ☐ NY ☐ PWR
INSTRUMENT: YM / NQ / ES / GC / BTC
TRADE:
├── Time: _______
├── Signal: ⚡GOD / S🎯 / A🎯 / B🎯 / Z
├── Direction: LONG / SHORT
├── SCORE: ___/10
├── Classification: GOD MODE / EXCELLENT / MEDIUM / WEAK
│
├── Entry: _______
├── Stop: _______
├── Target: _______
│
├── In FVG Zone: ☐ Yes ☐ No
├── In Order Block: ☐ Yes ☐ No
├── Liquidity Sweep: ☐ Yes ☐ No
├── Absorption: ☐ Yes ☐ No
│
├── IB Delta: ____% (BULL / BEAR / NEUTRAL)
├── IB Momentum: ____% (BULL / BEAR / MIXED)
├── CVD: 🔥 / ↑↓ / neutral
│
├── Result: +/- ___ pts ($_____)
└── Notes: _______________________
DAILY SUMMARY:
├── Total Trades: ___
├── GOD MODE signals: ___
├── EXCELLENT signals: ___
├── Win Rate: ___%
├── Net P/L: $_____
└── Best score today: ___
```
---
# 🔧 TROUBLESHOOTING
| Issue | Solution |
|-------|----------|
| **Yellow "INVALID TF" warning** | Your intrabar TF is >= chart TF. Select LOWER! |
| **IB Data shows "⚠️ INVALID TF"** | Same as above - pick 1T, 1S, or 1 for most charts |
| No signals appearing | Lower Min Score threshold |
| Too many signals | Raise Min Score threshold |
| Score always 0 | Check if candle is tiered (meets point threshold) |
| Sweeps not showing | Check quality filter settings or lower threshold |
| Table transparent | ❌ Fixed in v8 - table is now solid |
| CVD not making sense | Now resets at session open - cleaner readings |
| Wrong tier thresholds | Adjust for your instrument (see setup guide) |
| Tick TF not available | Requires TradingView Premium+ subscription |
---
# 📚 VERSION HISTORY
## v8 - WIN AT ALL COST EDITION
- ✅ REBUILT scoring system (100% additive, no gating)
- ✅ SOLID table (no transparency)
- ✅ ALL TradingView timeframes for intrabar (1S to Monthly)
- ✅ FILTERED sweeps/absorption (quality-based)
- ✅ FIXED CVD (session reset, proper slope)
- ✅ GOD MODE classification (8.5+ score)
- ✅ Instrument-specific documentation
## v7 - Intrabar Edition
- Added intrabar analysis engine
- Added absorption detection
- Added internal sweep detection
## Previous Versions
- GRA v5 SNIPER + DeepFlow Zones SNIPER merged
---
*© Alexandro Disla - YM Ultimate SNIPER v8*
*WIN AT ALL COST Edition | Trust The Score*
YM Ultimate SNIPER v7# YM Ultimate SNIPER v7 - Documentation & Trading Guide
## 🎯 INTRABAR EDITION | Order Blocks + Liquidity Sweeps + IFVG + INTRABAR ANALYSIS
**TARGET: 3-7 High-Confluence Trades per Day**
**Philosophy: "Zones That Matter" + "See Inside The Candle"**
---
## ⚡ WHAT'S NEW IN v7
### Major Additions: INTRABAR ANALYSIS ENGINE
| Feature | Description | Edge It Provides |
|---------|-------------|------------------|
| **Intrabar Delta** | REAL buy/sell pressure from lower TF | Far more accurate than estimated delta |
| **Intrabar Momentum** | Direction consistency within bar | See if candle formed through conviction |
| **Absorption Detection** | High vol + low price movement | Spot institutional accumulation/distribution |
| **Internal Sweeps** | Stop hunts INSIDE candles | Catch hidden liquidity grabs |
| **Volume Distribution** | Where volume clustered in bar | TOP/MID/BOT volume clustering |
### The Intrabar Advantage
**Problem with Standard Analysis:**
- You only see the final OHLC of each candle
- Delta estimation is educated guesswork
- Internal price action is invisible
- Stop hunts inside bars go undetected
**Solution with Intrabar Analysis:**
- `request.security_lower_tf()` gives us the INSIDE view
- See actual lower timeframe candles within each bar
- Calculate TRUE delta from actual price direction
- Detect sweeps and reversals hidden from current timeframe
---
## 🔬 INTRABAR ANALYSIS DEEP DIVE
### How It Works
When you're on a 5-minute chart, intrabar analysis requests 1-minute data within each 5-minute bar. This gives us 5 sub-candles to analyze within each parent candle.
```
5-MIN CANDLE (What you normally see):
┌────────────────────────────────┐
│ │
│ OPEN ──────── CLOSE │
│ │
└────────────────────────────────┘
INTRABAR VIEW (What v7 sees):
┌────────────────────────────────┐
│ 🕐1 🕐2 🕐3 🕐4 🕐5 │
│ ▲ ▼ ▲ ▲ ▲ │
│ │ │ │ │ │ │
│ Each 1-min candle analyzed │
└────────────────────────────────┘
```
### Intrabar Delta (IB Delta)
**What It Is:**
Real buy/sell pressure calculated from actual lower timeframe candle directions.
**Why It's Better:**
- Standard delta: Estimated from close position within bar
- Intrabar delta: Calculated from 5+ actual candles with known direction
**Calculation:**
```
For each intrabar candle:
├── If bullish (close > open): More weight to buy volume
├── If bearish (close < open): More weight to sell volume
├── Volume distributed by close position within each micro-candle
└── Summed across all intrabar candles = TRUE DELTA
```
**Grades:**
| IB Delta % | Grade | Meaning |
|------------|-------|---------|
| 78%+ | 🔥 EXTREME | One side has overwhelming control |
| 70-77% | ✓✓ STRONG | Clear directional bias |
| 62-69% | ✓ DOMINANT | Healthy dominance |
| <62% | — NEUTRAL | Mixed/uncertain |
---
### Intrabar Momentum (IB Momentum)
**What It Is:**
The percentage of intrabar candles moving in the same direction.
**Why It Matters:**
A bullish candle could form through:
1. **High momentum:** 4 of 5 sub-candles bullish = Strong conviction
2. **Low momentum:** 2 bullish, 2 bearish, 1 bullish = Choppy formation
**Calculation:**
```
IB Momentum = max(bullish_count, bearish_count) / total_intrabar_candles
Example (5-min bar with 1-min intrabar):
├── 1st minute: Bullish ✓
├── 2nd minute: Bullish ✓
├── 3rd minute: Bearish ✗
├── 4th minute: Bullish ✓
├── 5th minute: Bullish ✓
└── IB Momentum = 4/5 = 80% BULLISH
```
**Thresholds:**
| IB Momentum % | Classification | Signal Quality |
|---------------|----------------|----------------|
| 75%+ | 🔥 STRONG | Very high conviction |
| 60-74% | ✓ CONFIRMED | Good directional bias |
| <60% | MIXED | Choppy, low conviction |
---
### Absorption Detection
**What It Is:**
Institutional accumulation/distribution signature - high volume with little price movement.
**The Theory:**
When institutions accumulate (buy), they absorb selling without moving price much:
- Retail sells → Institution buys at limit prices
- Volume spikes but price stays flat
- Once accumulation complete → price explodes up
**Detection Logic:**
```
ABSORPTION = High Volume + Low Price Movement + Volume Clustering
Conditions:
├── Volume per point > 1.5x average
├── Price movement < 60% of average range
├── Volume clusters in one zone (TOP/MID/BOT)
└── Cluster percentage >= 65% threshold
```
**Direction:**
- **BULL ABS:** Volume clustered at BOT + net buy delta = Buying at lows
- **BEAR ABS:** Volume clustered at TOP + net sell delta = Selling at highs
**Visual:** ✕ marker below (bull) or above (bear) the candle
---
### Internal Sweeps (Hidden Liquidity Grabs)
**What It Is:**
Stop hunts that happen INSIDE a candle - invisible on current timeframe.
**The Setup:**
```
INTERNAL BULLISH SWEEP:
┌─────────────────────────────────┐
│ │
│ First Half: Second Half: │
│ ▲▼▲▼ ▲▲▲ │
│ Forms lows Reverses UP │
│ ↓ ↑ │
│ SWEEP REJECTION │
└─────────────────────────────────┘
= Hidden liquidity grab at lows, bullish
```
**Detection:**
```
Internal Bull Sweep:
├── Early intrabar candles form a low
├── Later intrabar candles sweep below that low
├── Final intrabar candles close back above
├── Parent candle closes green
└── = Hidden sweep, bullish reversal
Internal Bear Sweep:
├── Early intrabar candles form a high
├── Later intrabar candles sweep above that high
├── Final intrabar candles close back below
├── Parent candle closes red
└── = Hidden sweep, bearish reversal
```
**Visual:** "iS" marker (intrabar Sweep) on the candle
---
### Volume Distribution
**What It Is:**
Where volume clustered within the parent candle - TOP, MID, or BOT third.
**Why It Matters:**
- **BOT clustering + bullish delta:** Institutions buying at lows (bullish)
- **TOP clustering + bearish delta:** Institutions selling at highs (bearish)
- **MID clustering:** Balanced/uncertain
**Calculation:**
```
Divide parent candle into 3 zones:
├── TOP third: high - (range/3)
├── MID third: middle zone
└── BOT third: low + (range/3)
For each intrabar candle:
├── Calculate midpoint
├── Assign volume to TOP/MID/BOT based on midpoint
└── Sum volumes by zone
```
---
## 📊 ENHANCED CONFLUENCE SCORING v7
### Score Components (Max ~14, normalized to 10)
| Factor | Points | Condition |
|--------|--------|-----------|
| **Tier** | 1-3 | B=1, A=2, S=3 |
| **FVG Zone** | +1.5 | Price in quality FVG |
| **Order Block** | +1.5 | Price in OB |
| **IFVG** | +1.0 | Price in Inverse FVG |
| **Strong Volume** | +1.0 | Volume ≥ 2x average |
| **Extreme Volume** | +0.5 | Volume ≥ 2.5x average |
| **Strong Delta** | +1.0 | Delta ≥ 70% |
| **Extreme Delta** | +0.5 | Delta ≥ 78% |
| **CVD Momentum** | +0.5-1.0 | CVD trending with signal |
| **Liquidity Sweep** | +1.5 | Recent sweep confirms direction |
| **IB Delta Confirm** | +0.9-1.5 | Intrabar delta matches direction |
| **IB Momentum** | +0.5-1.0 | Consistent intrabar direction |
| **IB Absorption** | +1.0 | Absorption detected matching direction |
| **IB Internal Sweep** | +1.0 | Hidden sweep confirms direction |
| **Volume Cluster** | +0.5 | Volume at favorable zone (BOT for bull) |
### Intrabar Confluence Breakdown
```
INTRABAR CONFLUENCE ADDITIONS:
IB Delta Confirmation:
├── Strong (70%+) + matching direction = +1.5 pts
├── Dominant (62%+) + matching direction = +0.9 pts
└── Not matching = +0 pts
IB Momentum:
├── Strong (75%+) + matching direction = +1.0 pts
├── Confirmed (60%+) + matching direction = +0.5 pts
└── Mixed/not matching = +0 pts
IB Absorption:
├── Bull absorption for LONG = +1.0 pts
├── Bear absorption for SHORT = +1.0 pts
└── No absorption or wrong direction = +0 pts
IB Internal Sweep:
├── Bull internal sweep for LONG = +1.0 pts
├── Bear internal sweep for SHORT = +1.0 pts
└── No internal sweep = +0 pts
Volume Cluster:
├── BOT cluster for LONG = +0.5 pts
├── TOP cluster for SHORT = +0.5 pts
└── MID cluster or wrong zone = +0 pts
```
---
## 🎯 IDEAL SETUPS v7 (HIGHEST WIN RATE)
### Setup 1: Absorption + Zone + Tier (NEW!)
```
Conditions:
├── Absorption detected (✕ marker)
├── Price at Order Block or FVG
├── Tier signal fires (S/A/B)
├── IB Delta confirms direction
├── Score: 8+ EXCELLENT
└── Win Rate: ~80-88%
WHY IT WORKS:
Absorption = institutions filling orders
Zone = known institutional level
Tier = significant move
= Triple institutional confirmation
```
### Setup 2: Internal Sweep + Zone
```
Conditions:
├── Internal sweep detected (iS marker)
├── At or near OB/FVG zone
├── IB momentum confirms (75%+)
├── Score: 7+ EXCELLENT
└── Win Rate: ~75-85%
WHY IT WORKS:
Hidden sweep = invisible stop hunt
Zone = where institutions defend
= Retail trapped, you enter with smart money
```
### Setup 3: Full Intrabar Alignment
```
Conditions:
├── IB Delta: Strong/Extreme (✓✓ or 🔥)
├── IB Momentum: Strong (🔥)
├── Volume Cluster: Favorable zone
├── Standard delta confirms
├── Score: 7+ EXCELLENT
└── Win Rate: ~75-82%
WHY IT WORKS:
All intrabar metrics align
= Maximum conviction in candle formation
= High probability continuation
```
### Setup 4: Standard v6 Setup (Still Valid)
```
Conditions:
├── Liquidity Sweep (LS↑ or LS↓)
├── Price at Order Block or FVG
├── Tier signal fires
├── Score: 7+ EXCELLENT
└── Win Rate: ~75-85%
```
---
## 📊 ENHANCED TABLE REFERENCE v7
The v7 table adds the **INTRABAR** section:
### CANDLE Section
| Row | What It Shows |
|-----|---------------|
| Points | Candle range in points + Tier (S/A/B/X) |
| Volume | Volume ratio + grade |
### ORDERFLOW Section
| Row | What It Shows |
|-----|---------------|
| Delta | Buy/Sell % + grade (now uses IB delta if available) |
| CVD | Direction + strength |
### INTRABAR Section (NEW!)
| Row | What It Shows |
|-----|---------------|
| IB Delta | TRUE intrabar buy/sell % + grade |
| IB Momentum | Direction consistency % + grade |
| Absorption | BULL ABS / BEAR ABS / — + 🎯 indicator |
### STRUCTURE Section
| Row | What It Shows |
|-----|---------------|
| FVG Zone | Current zone + quality score |
| Order Block | OB status |
| Liq Sweep | External LS↑/↓ or internal iS↑/↓ + indicator |
### SIGNAL Section
| Row | What It Shows |
|-----|---------------|
| Session | Current session + active indicator |
| SCORE | Numeric score /10 + classification |
---
## 🔧 INTRABAR SETTINGS GUIDE
### Intrabar Timeframe Selection
| Chart TF | Recommended Intrabar TF | Sub-candles |
|----------|------------------------|-------------|
| 1 min | 1 (same) | Limited data |
| 3 min | 1 | 3 candles |
| 5 min | 1 | 5 candles |
| 15 min | 1 or 5 | 15 or 3 candles |
| 30 min | 5 | 6 candles |
| 1 hour | 5 or 15 | 12 or 4 candles |
**Rule of Thumb:** Lower intrabar TF = more data = more accurate
### Parameter Tuning
**Absorption Threshold (Default: 65%)**
```
Lower (50-60%): More absorption signals, some false positives
Standard (65%): Balanced detection
Higher (70-80%): Fewer signals, higher quality
```
**Intrabar Momentum Min (Default: 60%)**
```
Lower (50-55%): Accepts mixed candles as directional
Standard (60%): Requires clear majority
Higher (70-80%): Requires strong conviction
```
**Intrabar Delta Weight (Default: 1.5)**
```
Lower (0.5-1.0): Intrabar delta contributes less to score
Standard (1.5): Full contribution
Higher (2.0-3.0): Intrabar delta heavily weighted
```
---
## ✅ ENTRY CHECKLIST v7
### Basic Requirements
- Signal present (S🎯/A🎯/B🎯 or Z)
- Score ≥ 4.5 (MEDIUM or better)
- Session active (🟢)
### Orderflow Confirmation
- Delta colored (not gray)
- CVD arrow matches direction
- Volume shows ✓ or better
### Intrabar Confirmation (NEW!)
- IB Delta matches direction (✓ or better)
- IB Momentum shows direction or strong (🔥)
- No conflicting absorption signal
### Structure Bonus
- In FVG Zone
- In Order Block
- Recent Liquidity Sweep
- Internal Sweep (iS)
- Absorption detected
- IFVG present
---
## 🚨 NEW ALERTS v7
### Intrabar-Specific Alerts
| Alert | What It Means | Priority |
|-------|---------------|----------|
| ⚡ INTRABAR BULL SWEEP | Hidden sweep lows inside candle | 🟠 HIGH |
| ⚡ INTRABAR BEAR SWEEP | Hidden sweep highs inside candle | 🟠 HIGH |
| 🎯 BULL ABSORPTION | Institutions accumulating | 🟠 HIGH |
| 🎯 BEAR ABSORPTION | Institutions distributing | 🟠 HIGH |
### Alert Priority Guide
| Alert | Priority | Action |
|-------|----------|--------|
| ⭐ EXCELLENT + ABSORPTION | 🔴 CRITICAL | Top-tier, enter immediately |
| ⭐ EXCELLENT LONG/SHORT | 🔴 CRITICAL | Check NOW |
| 🎯 ABSORPTION | 🟠 HIGH | Check for zone confluence |
| ⚡ INTRABAR SWEEP | 🟠 HIGH | Hidden opportunity |
| 🎯 S-TIER | 🟠 HIGH | Evaluate quickly |
---
## ⛔ DO NOT TRADE v7
All previous rules PLUS:
- IB Delta strongly conflicts with signal direction
- IB Momentum shows opposite direction at 75%+
- Absorption detected in OPPOSITE direction
- Score inflated only by intrabar (no structure)
- Intrabar data unavailable (empty array)
---
## 📝 TECHNICAL NOTES v7
### Compatibility
- **Pine Script v6** (required for `request.security_lower_tf()`)
- **Works on**: YM, MYM, NQ, MNQ, ES, MES, GC, MGC, BTC
- **Chart Type**: Standard candlestick (not Renko/Heikin Ashi)
- **Timeframes**: 1-minute to 4-hour recommended
- **Tick Charts**: Use 1-minute intrabar TF
### Performance Notes
- Intrabar analysis adds computational overhead
- If chart loads slowly, try higher intrabar TF
- `request.security_lower_tf()` returns array of data
- Empty arrays indicate no lower TF data available
### Timeframe Limitations
```
request.security_lower_tf() works when:
├── Intrabar TF < Chart TF (e.g., 1 min intrabar on 5 min chart)
└── Chart receives enough data from lower TF
Does NOT work when:
├── Intrabar TF >= Chart TF
├── Tick charts with minute intrabar (use seconds or same)
└── Very old historical data
```
---
## 📈 TRADE JOURNAL v7
```
DATE: ___________
SESSION: ☐ LDN ☐ NY ☐ PWR
SETUP TYPE:
☐ Absorption + Zone ☐ Internal Sweep ☐ Full IB Align
☐ Sweep + Zone ☐ IFVG ☐ OB+FVG ☐ Zone Entry
TRADE:
├── Time: _______
├── Signal: S🎯 / A🎯 / B🎯 / Z / LS / iS
├── Direction: LONG / SHORT
├── Score: ___/10 (EXCELLENT / MEDIUM)
├── Entry: _______
├── Stop: _______
├── Target: _______
│
├── In FVG Zone: ☐ Yes ☐ No
├── In Order Block: ☐ Yes ☐ No
├── Liquidity Sweep: ☐ Yes ☐ No
├── Internal Sweep: ☐ Yes ☐ No
├── Absorption: ☐ Yes ☐ No
├── IFVG Present: ☐ Yes ☐ No
│
├── IB Delta: _____% (BULL / BEAR)
├── IB Momentum: _____% (BULL / BEAR / MIXED)
├── Volume Cluster: TOP / MID / BOT
│
├── Result: +/- ___ pts ($_____)
└── Notes: _______________________
DAILY SUMMARY:
├── Trades: ___
├── EXCELLENT setups: ___
├── With Absorption: ___
├── With Internal Sweep: ___
├── Wins: ___ | Losses: ___
├── Net P/L: $_____
└── Best setup type: _______________________
```
---
## 🏆 GOLDEN RULES v7
> **"Intrabar shows the truth the candle hides."**
> **"Absorption = They're loading. Get ready."**
> **"Internal sweep = Hidden trap. Enter after."**
> **"IB Delta + IB Momentum aligned = Maximum conviction."**
> **"When intrabar conflicts with signal, trust intrabar."**
> **"Volume at lows + buying = Institutions accumulating."**
> **"Confluence beats conviction. Stack the factors."**
> **"Leave every trade with money. The next setup is coming."**
---
## 🔧 TROUBLESHOOTING v7
| Issue | Solution |
|-------|----------|
| No intrabar data | Lower your chart TF or raise intrabar TF |
| IB Delta always neutral | Check intrabar TF is lower than chart TF |
| Too many absorption signals | Raise absorption threshold to 70%+ |
| Missing internal sweeps | More common on volatile markets |
| Slow chart loading | Use higher intrabar TF (5 instead of 1) |
| IB section not in table | Enable "Show Intrabar Metrics" |
| Conflicting signals | Trust intrabar data over standard delta |
---
## 📚 QUICK REFERENCE CARD
```
┌─────────────────────────────────────────────────────────────────────────┐
│ YM ULTIMATE SNIPER v7 │
├─────────────────────────────────────────────────────────────────────────┤
│ │
│ SIGNALS: │
│ S🎯 = S-Tier (50+ pts) → HOLD position │
│ A🎯 = A-Tier (25-49 pts) → SWING trade │
│ B🎯 = B-Tier (12-24 pts) → SCALP quick │
│ Z = Zone entry │
│ LS↑/↓ = External Liquidity Sweep │
│ iS↑/↓ = Internal (intrabar) Sweep │
│ ✕ = Absorption detected │
│ │
│ INTRABAR METRICS: │
│ IB Delta = TRUE buy/sell from lower TF │
│ IB Momentum = Direction consistency within bar │
│ Absorption = High vol + low move = accumulation │
│ Vol Cluster = TOP/MID/BOT volume distribution │
│ │
│ INTRABAR GRADES: │
│ 🔥 = Extreme (78%+ delta or 75%+ momentum) │
│ ✓✓ = Strong (70%+ delta) │
│ ✓ = Confirmed (62%+ delta or 60%+ momentum) │
│ — = Neutral / Mixed │
│ │
│ HIGH PROBABILITY SETUPS: │
│ 1. Absorption + Zone + Tier (~80-88%) │
│ 2. Internal Sweep + Zone (~75-85%) │
│ 3. Full Intrabar Alignment (~75-82%) │
│ 4. Standard Sweep + Zone (~75-85%) │
│ │
│ SCORE CLASSIFICATION: │
│ EXCELLENT (7.0+) = Full size, high confidence │
│ MEDIUM (4.5-6.9) = Standard size, good setup │
│ WEAK (<4.5) = No signal shown │
│ │
└─────────────────────────────────────────────────────────────────────────┘
```
---
*© Alexandro Disla - YM Ultimate SNIPER v7*
*Intrabar Edition | See Inside The Candle*
boomboamindian indiator used for analysis of market used to know entry and exit points in all markets
Vietnamese Stock: Discount Linear Regression Liquidity GrabThe Discount Linear Regression Liquidity Grab is a sophisticated technical analysis tool that combines statistical trend analysis with Premium/Discount Zone and Price Action logic. Unlike standard Linear Regression Channels that repaint or stretch indefinitely, this indicator is dynamic: it automatically detects volatility breakouts to "reset" the channel, creating distinct market "Sections."
This tool is designed to help traders identify trend exhaustion, fair value gaps (FVGs), and high-probability reversal or continuation zones using two distinct built-in strategies.
Key Features
1. Dynamic Channel Resets
The core engine calculates a Linear Regression Channel based on a Pearson R coefficient and Deviation multipliers.
- How it works: When price breaks out of the Upper or Lower Deviation bands, the script recognizes a shift in momentum. It "locks" the previous channel and begins calculating a new one from the breakout point.
- Benefit: This creates a historical map of market structure, showing you exactly where previous trends began and ended.
2. Smart Money Concepts (SMC) Integration
For every completed section (channel), the indicator automatically highlights:
Highest High & Lowest Low Boxes: Identifies the structural range of the previous move.
- Gaps & FVGs: Automatically draws boxes for Fair Value Gaps and Price Gaps within the channel, acting as potential magnets for price.
3. The Discount Zone (New Feature)
The indicator projects a Discount Area (Red Box) from the previous section's midline down to its lowest low.
- Logic: This box represents the "Discount" pricing relative to the previous move.
- Behavior: The box extends to the right until price successfully "grabs liquidity" (closes below the midline/red line). Once the grab occurs, the box stops extending, marking that the liquidity event is complete.
Built-In Strategies
This indicator includes two automated strategy signals based on the interaction between current price and historical sections.
Strategy 1: Breakout & Retest (Trend Continuation)
This strategy looks for a classic resistance-turned-support setup.
- Breakout: Price closes above the Highest High of a previous section (Triangle Up).
- Retest: Price pulls back and closes at or below that breakout level (Triangle Down).
- Confirmation: Price breaks above the high of the initial breakout candle (Green Background).
Strategy 2: Midline Reclaim (Mean Reversion / Discount Buy)
This strategy focuses on buying from the "Discount" zone.
- Liquidity Grab: Price drops below the Midline (Red Line) of a previous section, entering the Discount Zone.
- Reclaim: Price closes back above the Midline, signaling that the dip was bought up.
Signal: A Diamond shape and Teal Background appear.
How to Use
- Trend Trading: Use the Dynamic Channels to visualize the current slope. If the channel is angling up, look for long setups.
- Confluence: Use the Discount Zones and FVG boxes as areas of interest. If price enters a Red Discount Box and forms a reversal pattern, it is a high-probability entry.
- Stop Loss Placement: The Lowest Low boxes of previous sections serve as excellent invalidation points for long positions.
Alerts
The indicator comes with pre-configured alerts for:
- Strategy 1 Confirmation.
- Strategy 2 Midline Reclaim.
- New Channel Formation (Trend Reset).
- Liquidity Grab Events.
10% and 23.6% support bandsWhen a share is in momentum and showing lot of strength that relative strength it takes breather at 10% band from new 52 week high and and tends to consolidate at 23.6% from new 52 week high. This forms a higher low and gives opportunity to get in the rally. The volume bars should be taken into consideration as low volume and dry up at the bottom indicate reversal is coming. The stoploss for all entry is 1% below recent base low and entry pont is crossing of weekly high with greater than 20 days volume average.
Previous 5 Days OHLC + Dates + PricesTitle: Previous 5 Days OHLC Levels (Extended Lines + Labels)
Description:
This indicator automatically plots the Open, High, Low, and Close (OHLC) levels for the previous 5 trading days. Unlike standard daily separators, this tool extends the lines from their historical origin all the way to the current price bar, allowing traders to instantly see how current price action interacts with recent support and resistance levels.
Key Features:
5-Day Lookback: Automatically fetches and plots OHLC data for the last 5 trading sessions.
Extended Lines: Lines extend to the current bar (Right) to visualize immediate Support/Resistance zones.
Smart Labels: Each line is marked with the Day Name, Date, Type (O/H/L/C), and the Exact Price.
Customizable Positioning: Choose to display labels on the Left (start of the day) or the Right (next to current price) to keep your chart clean.
Toggle Visibility: Individually turn on/off Opens, Closes, Highs, or Lows to focus on the data that matters to your strategy.
How to Use:
Trend Analysis: Use previous Highs and Lows to identify potential breakout or breakdown levels.
Range Trading: Identify where price previously opened or closed to find intraday pivots.
Clean Charting: Use the settings to hide labels or specific lines (e.g., hide Opens/Closes to see only the Daily Range).
Settings:
Label Position: Switch between "Left" (historical origin) and "Right" (current price).
Visibility: Checkboxes to show/hide Open, High, Low, Close, and Text Labels.
Style: Fully customizable colors for each level type.
Technical Note: This script is optimized for performance (Pine Script v6). It uses array management and executes drawing logic only on the last bar to minimize resource usage while maintaining real-time accuracy.
Moving Average Ribbon by AbrarIndicator Description — Moving Average Ribbon (Multi-TF Enhanced)
The Moving Average Ribbon (Enhanced) is a powerful trend-analysis tool that displays up to 7 customizable moving averages along with a Weekly SMA 150 for higher-timeframe confluence. Each MA can be individually configured with length, source, type (SMA/EMA/WMA/SMMA/VWMA), and color.
The script also features automatic labels on the latest bar, allowing traders to instantly identify each moving average on the chart without confusion.
This indicator is designed to help traders:
Visualize trend strength and direction
Spot dynamic support/resistance zones
Identify momentum shifts
Incorporate higher-timeframe confirmation through the Weekly SMA 150
Whether you trade intraday or swing, this ribbon provides a clean and flexible layout to understand market structure at a glance.
USD Liquidity / FX Swap + Money Market StressThis indicator shows, in a simple way, how tight or loose USD liquidity is. It combines two things: signs of stress in the FX market (Fed swap lines + dollar strength) and signs from the money market (the difference between repo rates like SOFR/TGCR and the Fed’s IORB rate). All of this is merged into a single blue line: when it rises, liquidity tends to be more abundant; when it falls, there is more stress and the dollar becomes “expensive” to obtain.
You read it like a traffic light:
If the background is red, the indicator is below the lower threshold → liquidity stress, an environment that is more prone to sell-offs and violent moves in risk assets (including crypto).
If the background is green, the indicator is above the upper threshold → more relaxed liquidity, a backdrop that is more favorable for risk rallies to be sustained.
No background color → neutral zone, neither very good nor very bad: you trade according to your usual system.
It is designed as a macro context filter, not as a buy/sell signal. In red, it makes sense to be more defensive with risk and leverage; in green, if your technical system gives a long signal, you have a somewhat more favorable tailwind. It should always be used together with other tools and strict risk management.
Easy Crypto Signal FREEAs you can see, the indicator is doing well, we'll see what happens next, I invite you to the discussion






















