LiquidityPulse Volume-Weighted Price Movement OverlayLiquidityPulse Volume-Weighted Price Movement Overlay (VWPM)
-This is a non-repainting indicator.
What this indicator does
This overlay is designed to make directional pressure + participation + wick rejection readable directly on price.
It combines:
Volume-Weighted directional pressure (bull vs bear pressure on the current timeframe)
Wick rejection “heat bands” (strength of upper/lower wick pressure, with optional volatility adaptation)
Lower-timeframe (LTF) trend + wick context (auto-selected or manual LTFs)
Chart markers for:
VOL = participation spike aligned with the current pressure direction
EXH = exhaustion warning when trend direction is met with strong opposite-wick pressure
This script is intended as an overlay/structure companion to the separate Volume-Weighted Price Movement (Oscillator) script (pane-based), which focuses on oscillator-style pressure/participation metrics.
Image: Overlay indicator applied to price
How to read it on the chart
1) Pressure Cloud + Candle Tint
The cloud and optional candle tint reflect the current timeframe’s pressure direction:
Green = bullish pressure dominant
Red = bearish pressure dominant
Brightness/opacity scales with pressure strength (normalized by a lookback period).
2) Wick Pressure Heat Bands
The lower band represents bullish wick pressure (lower-wick rejection/absorption).
The upper band represents bearish wick pressure (upper-wick rejection/supply).
Brighter = stronger wick pressure relative to its recent baseline.
Optional Adaptive bands to volatility uses ATR to keep band scaling more consistent across changing volatility regimes.
Image: Overlay + Oscillator working together
This chart highlights how volume participation and wick behaviour can be observed during periods of increased market interaction.
The arrows are used for visual reference only:
Red arrows indicate rising volume participation during the move.
Green arrows highlight increasing wick pressure, suggesting stronger rejection or absorption at those points.
3) VOL signal (Participation Spike)
A VOL marker appears when volume % of average exceeds your threshold and aligns with the current pressure direction.
This is a quick filter for:
“The current pressure direction is being supported by above-average participation.”
4) EXH signal (Exhaustion)
An EXH marker appears when the current trend is met with strong/extreme opposite wick pressure, e.g.:
Trend is Bullish but Bear wick becomes Strong/Extreme → possible bullish exhaustion / rejection risk
Trend is Bearish but Bull wick becomes Strong/Extreme → possible bearish exhaustion / absorption risk
Table (top-right)
You can toggle individual rows on or off in the settings. The table can display:
Trend (Chart)- Directional volume-weighted pressure on the chart timeframe (Bullish / Bearish, shown with ▲ ▼ icons)
Wick (Chart)- A real-time summary of wick pressure on the chart timeframe, reflecting how price is being rejected or absorbed within candles.
Possible states include:
Strong Bull – dominant lower-wick rejection (bullish absorption), shown with a green ▲
Strong Bear – dominant upper-wick rejection (bearish pressure), shown with a red ▼
Neutral – no meaningful wick imbalance, shown with a ●
Strong Both – elevated rejection on both sides, shown with a dual-pressure marker, often seen during volatility expansion or transitional conditions
Trend + Wick (Lower Timeframes)- Trend and wick context for two lower timeframes (auto-selected or manually chosen), allowing short-term behaviour to be viewed within the higher-timeframe structure
Core metrics- Bull Avg / Bear Avg, Bull–Bear Difference, Volume % Avg, and related participation statistics
Additional metrics- Further table rows can be enabled or disabled via the settings panel
How traders can use this indicator
Traders can use LiquidityPulse VWPM as a contextual tool to observe how price movement, volume participation, and wick behaviour interact.
Common use cases include:
Identifying periods where bullish or bearish pressure is dominant on the current timeframe
Observing wick rejection or absorption near highs/lows, especially during strong moves
Monitoring lower-timeframe trend and wick alignment within a higher-timeframe move
Noticing participation spikes (VOL) that confirm increased market involvement
Spotting exhaustion conditions (EXH) where strong opposing wick pressure appears against the prevailing trend
Image: This example highlights how the overlay can be used to monitor directional pressure on the chart timeframe while simultaneously observing trend and wick conditions from selected lower timeframes. The statistics table shows instances where lower-timeframe trend readings diverge from the chart-level pressure, alongside changes in wick behaviour. This allows traders to visually contextualise short-term shifts in participation and rejection within the broader structure.
Key settings (what they change)
Presets: Scalp / Intraday / Swing adjusts effective smoothing/normalization defaults to fit different trading speeds.
Lookback Period + Smoothing: These control how fast/slow the pressure model responds.
Lower values = faster response (more reactive/noisier)
Higher values = smoother response (slower/more stable)
Wick thresholds + Wick row mode: Strong / Extreme thresholds define when wick pressure is classified as Strong/Extreme relative to baseline.
Wick rows show can filter table wick rows to Extreme-only, Strong + Extreme, or Full.
Wick bands- Volatility Adapt: Adaptive bands to volatility (ATR-based) helps wick band height/offset remain visually consistent as volatility expands/contracts.
Adapt Strength controls how much the ATR regime affects the bands.
Visual controls: Transparency controls let you make the overlay more subtle or more prominent without changing calculations.
Why there is an Overlay and Oscillator version
This tool is intentionally split into two complementary indicators to preserve clarity and usability
Overlay version (this script): Focuses on price-level context, structure, wick pressure, lower-timeframe alignment, and event markers directly on the chart.
Oscillator companion version: Provides a dedicated pane for pressure balance, participation, and momentum acceleration metrics that benefit from oscillator-style visualisation.
Separating these views avoids overcrowding the price chart and allows each component to be interpreted more clearly in its appropriate context.
Disclaimer
This indicator is designed to visualise price–volume interaction, pressure, and wick behaviour.
It does not generate trade entries or exits signals and should be used as analytical context alongside a trader’s existing methodology and risk management only.
Chỉ báo và chiến lược
TradeFly CVDTradeFly CVD is a clean visualization of TradingView’s native Cumulative Volume Delta, combining CVD candles with a smoothed CVD line for improved trend and slope readability.
The indicator is designed to highlight volume participation, absorption, and divergence relative to price, using TradingView’s built-in volume delta methodology.
Best used as a context and confirmation tool alongside price structure, key levels, and session analysis — not as a standalone trading system.
*Note* - If you do not see the CVD when switching timeframes go into the settings and select the focus toggle. That will bring the CVD back into focus and then you can expand the zoom level to adjust the size displayed on the main chart.
Ultimate MACD [captainua]Ultimate MACD - Comprehensive MACD Trading System
Overview
This indicator combines traditional MACD calculations with advanced features including divergence detection, volume analysis, histogram analysis tools, regression forecasting, strong top/bottom detection, and multi-timeframe confirmation to provide a comprehensive MACD-based trading system. The script calculates MACD using configurable moving average types (EMA, SMA, RMA, WMA) 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.
Core Calculations
MACD Calculation:
The script calculates MACD using the standard formula: MACD Line = Fast MA - Slow MA, Signal Line = Moving Average of MACD Line, Histogram = MACD Line - Signal Line. The default parameters are Fast=12, Slow=26, Signal=9, matching the traditional MACD settings. The script supports four moving average types:
- EMA (Exponential Moving Average): Standard and most responsive, default choice
- SMA (Simple Moving Average): Equal weight to all periods
- RMA (Wilder's Moving Average): Smoother, less responsive
- WMA (Weighted Moving Average): Recent prices weighted more heavily
The price source can be configured as Close (standard), Open, High, Low, HL2, HLC3, or OHLC4. Alternative sources provide different sensitivity characteristics for various trading strategies.
Configuration Presets:
The script includes trading style presets that automatically configure MACD parameters:
- Scalping: Fast/Responsive settings (8,18,6 with minimal smoothing)
- Day Trading: Balanced settings (10,22,7 with minimal smoothing)
- Swing Trading: Standard settings (12,26,9 with moderate smoothing)
- Position Trading: Smooth/Conservative settings (15,35,12 with higher smoothing)
- Custom: Full manual control over all parameters
Histogram Smoothing:
The histogram can be smoothed using EMA to reduce noise and filter minor fluctuations. Smoothing length of 1 = raw histogram (no smoothing), higher values (3-5) = smoother histogram. Increased smoothing reduces noise but may delay signals slightly.
Percentage Mode:
MACD values can be converted to percentage of price (MACD/Close*100) for cross-instrument comparison. This is useful when comparing MACD signals across instruments with different price levels (e.g., BTC vs ETH). The percentage mode normalizes MACD values, making them comparable regardless of instrument price.
MACD Scale Factor:
A scale factor multiplier (default 1.0) allows adjusting MACD display size for better visibility. Use 0.3-0.5 if MACD appears too compressed, or 2.0-3.0 if too small.
Dynamic Overbought/Oversold Levels:
Overbought and oversold levels are calculated dynamically based on MACD's mean and standard deviation over a lookback period. The formula: OB = MACD Mean + (StdDev × OB Multiplier), OS = MACD Mean - (StdDev × OS Multiplier). This adapts to current market conditions, widening in volatile markets and narrowing in calm markets. The lookback period (default 20) controls how quickly the levels adapt: longer periods (30-50) = more stable levels, shorter (10-15) = more responsive.
OB/OS Background Coloring:
Optional background coloring can highlight the entire panel when MACD enters overbought or oversold territory, providing prominent visual indication of extreme conditions. The background colors are drawn on top of the main background to ensure visibility.
Divergence Detection
Regular Divergence:
The script uses the MACD line (not histogram) for divergence detection, which provides more reliable signals. Bullish divergence: Price makes a lower low while MACD line makes a higher low. Bearish divergence: Price makes a higher high while MACD line makes a lower high. Divergences often precede reversals and are powerful reversal signals.
Pivot-Based Divergence:
The divergence detection uses actual pivot points (pivotlow/pivothigh) instead of simple lowest/highest comparisons. This provides more accurate divergence detection by identifying significant pivot lows/highs in both price and MACD line. The pivot-based method compares two recent pivot points: for bullish divergence, price makes a lower low while MACD makes a higher low at the pivot points. This method reduces false divergences by requiring actual pivot points rather than just any low/high within a period.
The pivot lookback parameters (left and right) control how many bars on each side of a pivot are required for confirmation. Higher values = more conservative pivot detection.
Hidden Divergence:
Continuation patterns that signal trend continuation rather than reversal. Bullish hidden divergence: Price makes a higher low but MACD makes a lower low. Bearish hidden divergence: Price makes a lower high but MACD makes a higher high. These patterns indicate the trend is likely to continue in the current direction.
Zero-Line Filter:
The "Don't Touch Zero Line" option ensures divergences occur in proper context: for bullish divergence, MACD must stay below zero; for bearish divergence, MACD must stay above zero. This filters out divergences that occur in neutral zones.
Range Filtering:
Minimum and maximum lookback ranges control the time window between pivots to consider for divergence. This helps filter out divergences that are too close together (noise) or too far apart (less relevant).
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 1.0 or lower, volume confirmation is effectively disabled (always returns true). This allows you to use the indicator without volume filtering if desired. Volume confirmation significantly increases divergence and signal reliability.
Volume Climax and Dry-Up Detection:
The script can mark bars with extremely high volume (volume climax) or extremely low volume (volume dry-up). Volume climax indicates potential reversal points or strong momentum continuation. Volume dry-up indicates low participation and may produce unreliable signals. These markers use standard deviation multipliers to identify extreme volume conditions.
Zero-Line Cross Detection
MACD zero-line crosses indicate momentum shifts: above zero = bullish momentum, below zero = bearish momentum. The script includes alert conditions for zero-line crosses with cooldown protection to prevent alert spam. Zero-line crosses can provide early warning signals before MACD crosses the signal line.
Histogram Analysis Tools
Histogram Moving Average:
A moving average applied to the histogram itself helps identify histogram trend direction and acts as a signal line for histogram movements. Supports EMA, SMA, RMA, and WMA types. Useful for identifying when histogram momentum is strengthening or weakening.
Histogram Bollinger Bands:
Bollinger Bands are applied to the MACD histogram instead of price. The calculation: Basis = SMA(Histogram, Period), StdDev = stdev(Histogram, Period), Upper = Basis + (StdDev × Deviation Multiplier), Lower = Basis - (StdDev × Deviation Multiplier). This creates dynamic zones around the histogram that adapt to histogram volatility. When the histogram touches or exceeds the bands, it indicates extreme conditions relative to recent histogram behavior.
Stochastic MACD (StochMACD):
Stochastic MACD applies the Stochastic oscillator formula to the MACD histogram instead of price. This normalizes the histogram to a 0-100 scale, making it easier to identify overbought/oversold conditions on the histogram itself. The calculation: %K = ((Histogram - Lowest Histogram) / (Highest Histogram - Lowest Histogram)) × 100. %K is smoothed, and %D is calculated as the moving average of smoothed %K. Standard thresholds are 80 (overbought) and 20 (oversold).
Regression Forecasting
The script includes advanced regression forecasting that predicts future MACD values using mathematical models. This helps anticipate potential MACD movements and provides forward-looking context for trading decisions.
Regression Types:
- Linear: Simple trend line (y = mx + b) - fastest, works well for steady trends
- Polynomial: Quadratic curve (y = ax² + bx + c) - captures curvature in MACD movement
- Exponential Smoothing: Weighted average with more weight on recent values - responsive to recent changes
- Moving Average: Uses difference between short and long MA to estimate trend - stable and smooth
Forecast Horizon:
Number of bars to forecast ahead (default 5, max 50 for linear/MA, max 20 for polynomial due to performance). Longer horizons predict further ahead but may be less accurate.
Confidence Bands:
Optional upper/lower bands around forecast show prediction uncertainty based on forecast error (standard deviation of prediction vs actual). Wider bands = higher uncertainty. The confidence level multiplier (default 1.5) controls band width.
Forecast Display:
Forecast appears as dotted lines extending forward from current bar, with optional confidence bands. All forecast values respect percentage mode and scale factor settings.
Strong Top/Bottom Signals
The script detects strong recovery from extreme MACD levels, generating "sBottom" and "sTop" signals. These identify significant reversal potential when MACD recovers substantially from overbought/oversold extremes.
Strong Bottom (sBottom):
Triggered when:
1. MACD was at or near its lowest point in the bottom period (default 10 bars)
2. MACD was in or near the oversold zone
3. MACD has recovered by at least the threshold amount (default 0.5) from the lowest point
4. Recovery persists for confirmation bars (default 2 consecutive bars)
5. MACD has moved out of the oversold zone
6. Volume is above average
7. All enabled filters pass
8. Minimum bars have passed since last signal (reset period, default 5 bars)
Strong Top (sTop):
Triggered when:
1. MACD was at or near its highest point in the top period (default 7 bars)
2. MACD was in or near the overbought zone
3. MACD has declined by at least the threshold amount (default 0.5) from the highest point
4. Decline persists for confirmation bars (default 2 consecutive bars)
5. MACD has moved out of the overbought zone
6. Volume is above average
7. All enabled filters pass
8. Minimum bars have passed since last signal (reset period, default 5 bars)
Label Placement:
sTop/sBottom labels appear on the historical bar where the actual extreme occurred (not on current bar), showing the exact MACD value at that extreme. Labels respect the unified distance checking system to prevent overlaps with Buy/Sell Strength labels.
Signal Strength Calculation
The script calculates a composite signal strength score (0-100) based on multiple factors:
- MACD distance from signal line (0-50 points): Larger separation indicates stronger signal
- Volume confirmation (0-15 points): Volume above average adds points
- Secondary timeframe alignment (0-15 points): Higher timeframe agreement adds points
- Distance from zero line (0-20 points): Closer to zero can indicate stronger reversal potential
Higher scores (70+) indicate stronger, more reliable signals. The signal strength is displayed in the statistics table and can be used as a filter to only accept signals above a threshold.
Smart Label Placement System
The script includes an advanced label placement system that tracks MACD extremes and places Buy/Sell Strength labels at optimal locations:
Label Placement Algorithm:
- Labels appear on the current bar at confirmation (not on historical extreme bars), ensuring they're visible when the signal is confirmed
- The system tracks pending signals when MACD enters OB/OS zones or crosses the signal line
- During tracking, the system continuously searches for the true extreme (lowest MACD for buys, highest MACD for sells) within a configurable historical lookback period
- Labels are only finalized when: (1) MACD exits the OB/OS zone, (2) sufficient bars have passed (2x minimum distance), (3) MACD has recovered/declined by a configurable percentage from the extreme (default 15%), and (4) tracking has stopped (no better extreme found)
Label Spacing and Overlap Prevention:
- Minimum Bars Between Labels: Base distance requirement (default 5 bars)
- Label Spacing Multiplier: Scales the base distance (default 1.5x) for better distribution. Higher values = more spacing between labels
- Effective distance = Base Distance × Spacing Multiplier (e.g., 5 × 1.5 = 7.5 bars minimum)
- Unified distance checking prevents overlaps between all label types (Buy Strength, Sell Strength, sTop, sBottom)
Strength-Based Filtering:
- Label Strength Minimum (%): Only labels with strength at or above this threshold are displayed (default 75%)
- When multiple potential labels are close together, the system automatically compares strengths and keeps only the strongest one
- This ensures only the most significant signals are displayed, reducing chart clutter
Zero Line Polarity Enforcement:
- Enforce Zero Line Polarity (default enabled): Ensures labels follow traditional MACD interpretation
- Buy Strength labels only appear when the tracked extreme MACD value was below zero (negative territory)
- Sell Strength labels only appear when the tracked extreme MACD value was above zero (positive territory)
- This prevents counter-intuitive labels (e.g., Buy labels above zero line) and aligns with standard MACD trading principles
Recovery/Decline Confirmation:
- Recovery/Decline Confirm (%): Percent move away from the extreme required before finalizing (default 15%)
- For Buy labels: MACD must recover by at least this percentage from the tracked bottom
- For Sell labels: MACD must decline by at least this percentage from the tracked top
- Higher values = more confirmation required, fewer but more reliable labels
Historical Lookback:
- Historical Lookback for Label Placement: Number of bars to search for true extremes (default 20)
- The system searches within this period to find the actual lowest/highest MACD value
- Higher values analyze more history but may be slower; lower values are faster but may miss some extremes
Cross Quality Score
The script calculates a MACD cross quality score (0-100) that rates crossover quality based on:
- Cross angle (0-50 points): Steeper crosses = stronger signals
- Volume confirmation (0-25 points): Volume above average adds points
- Distance from zero line (0-25 points): Crosses near zero line are stronger
This score helps identify high-quality crossovers and can be used as a filter to only accept signals meeting minimum quality threshold.
Filtering System
Histogram Filter:
Requires histogram to be above zero for buy signals, below zero for sell signals. Ensures momentum alignment before generating signals.
Signal Strength Filter:
Requires minimum signal strength score for signals. Higher threshold = only strongest signals pass. This combines multiple confirmation factors into a single filter.
Cross Quality Filter:
Requires minimum cross quality score for signals. Rates crossover quality based on angle, volume, momentum, and distance from zero. Only signals meeting minimum quality threshold will be generated.
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.
Multi-Timeframe Analysis
The script can display MACD from a secondary (higher) timeframe and use it for confirmation. When secondary timeframe confirmation is enabled, signals require the higher timeframe MACD to align (bullish/bearish) with the signal direction. This ensures signals align with the larger trend context, reducing counter-trend trades.
Secondary Timeframe MACD:
The secondary timeframe MACD uses the same calculation parameters (fast, slow, signal, MA type) as the main MACD but from a higher timeframe. This provides context for the current timeframe's MACD position relative to the larger trend. The secondary MACD lines are displayed on the chart when enabled.
Noise Filtering
Noise filtering hides small histogram movements below a threshold. This helps focus on significant moves and reduces chart clutter. When enabled, only histogram movements above the threshold are displayed. Typical threshold values are 0.1-0.5 for most instruments, depending on the instrument's price range and volatility.
Signal Debounce
Signal debounce prevents duplicate MACD cross signals within a short time period. Useful when MACD crosses back and forth quickly, creating multiple signals. Debounce ensures only one signal per period, reducing signal spam during choppy markets. This is separate from alert cooldown, which applies to all alert types.
Background Color Modes
The script offers three background color modes:
- Dynamic: Full MACD heatmap based on OB/OS conditions, confidence, and momentum. Provides rich visual feedback.
- Monotone: Soft neutral background but still allows overlays (OB/OS zones). Keeps the chart clean without overpowering candles.
- Off: No MACD background (only overlays and plots). Maximum chart cleanliness.
When OB/OS background colors are enabled, they are drawn on top of the main background to ensure visibility.
Statistics Table
A real-time statistics table displays current MACD values, signal strength, distance from zero line, secondary timeframe alignment, volume confirmation status, and all active filter statuses. The table dynamically adjusts to show only enabled features, keeping it clean and relevant. The table position can be configured (Top Left, Top Right, Bottom Left, Bottom Right).
Performance Statistics Table
An optional performance statistics table shows comprehensive filter diagnostics:
- Total buy/sell signals (raw crossover count before filters)
- Filtered buy/sell signals (signals that passed all filters)
- Overall pass rates (percentage of signals that passed filters)
- Rejected signals count
- Filter-by-filter rejection diagnostics showing which filters rejected how many signals
This table helps optimize filter settings by showing which filters are most restrictive and how they impact signal frequency. The diagnostics format shows rejections as "X B / Y S" (X buy signals rejected, Y sell signals rejected) or "Disabled" if the filter is not active.
Alert System
The script includes separate alert conditions for each signal type:
- MACD Cross: MACD line crosses above/below Signal line (with or without secondary confirmation)
- Zero-Line Cross: MACD crosses above/below zero
- Divergence: Regular and hidden divergence detections
- Secondary Timeframe: Higher timeframe MACD crosses
- Histogram MA Cross: Histogram crosses above/below its moving average
- Histogram Zero Cross: Histogram crosses above/below zero
- StochMACD: StochMACD overbought/oversold entries and %K/%D crosses
- Histogram BB: Histogram touches/breaks Bollinger Bands
- Volume Events: Volume climax and dry-up detections
- OB/OS: MACD entry/exit from overbought/oversold zones
- Strong Top/Bottom: sTop and sBottom signal detections
Each alert type has its own cooldown system to prevent alert spam. The cooldown requires a minimum number of bars between alerts of the same type, reducing duplicate alerts during volatile periods. Alert types can be filtered to only evaluate specific alert types (All, MACD Cross, Zero Line, Divergence, Secondary Timeframe, Histogram MA, Histogram Zero, StochMACD, Histogram BB, Volume Events, OB/OS, Strong Top/Bottom).
How Components Work Together
MACD crossovers provide the primary signal when the MACD line crosses the Signal line. Zero-line crosses indicate momentum shifts and can provide early warning signals. Divergences identify potential reversals before they occur.
Volume confirmation ensures signals occur with sufficient market participation, filtering out low-volume false breakouts. Histogram analysis tools (MA, Bollinger Bands, StochMACD) provide additional context for signal reliability and identify significant histogram zones.
Signal strength combines multiple confirmation factors into a single score, making it easy to filter for only the strongest signals. Cross quality score rates crossover quality to identify high-quality setups. Multi-timeframe confirmation ensures signals align with higher timeframe trends, reducing counter-trend trades.
Usage Instructions
Getting Started:
The default configuration shows MACD(12,26,9) with standard EMA calculations. Start with default settings and observe behavior, then customize settings to match your trading style. You can use configuration presets for quick setup based on your trading style.
Customizing MACD Parameters:
Adjust Fast Length (default 12), Slow Length (default 26), and Signal Length (default 9) based on your trading timeframe. Shorter periods (8,17,7) for faster signals, longer (15,30,12) for smoother signals. You can change the moving average type: EMA for responsiveness, RMA for smoothness, WMA for recent price emphasis.
Price Source Selection:
Choose Close (standard), or alternative sources (HL2, HLC3, OHLC4) for different sensitivity. HL2 uses the midpoint of the high-low range, HLC3 and OHLC4 incorporate more price information.
Histogram Smoothing:
Set smoothing to 1 for raw histogram (no smoothing), or increase (3-5) for smoother histogram that reduces noise. Higher smoothing reduces false signals but may delay signals slightly.
Percentage Mode:
Enable percentage mode when comparing MACD across instruments with different price levels. This normalizes MACD values, making them directly comparable.
Dynamic OB/OS Levels:
The dynamic thresholds automatically adapt to volatility. Adjust the multipliers (default 1.5) to fine-tune sensitivity: higher values (2.0-3.0) = more extreme thresholds (fewer signals), lower (1.0-1.5) = more frequent signals. Adjust the lookback period to control how quickly levels adapt. Enable OB/OS background colors for visual indication of extreme conditions.
Volume Confirmation:
Set volume threshold to 1.0 (default, effectively disabled) or higher (1.2-1.5) for standard confirmation. Higher values require more volume for confirmation. Set to 0.1 to completely disable volume filtering.
Filters:
Enable filters gradually to find your preferred balance. Start with histogram filter for basic momentum alignment, then add signal strength filter (threshold 50+) for moderate signals, then cross quality filter (threshold 50+) for high-quality crossovers. Combine filters for highest-quality signals but expect fewer signals.
Divergence:
Enable divergence detection and adjust pivot lookback parameters. Pivot-based divergence provides more accurate detection using actual pivot points. Hidden divergence is useful for trend-following strategies. Adjust range parameters to filter divergences by time window.
Zero-Line Crosses:
Zero-line cross alerts are automatically available when alerts are enabled. These provide early warning signals for momentum shifts.
Histogram Analysis Tools:
Enable Histogram Moving Average to see histogram trend direction. Enable Histogram Bollinger Bands to identify extreme histogram zones. Enable Stochastic MACD to normalize histogram to 0-100 scale for overbought/oversold identification.
Multi-Timeframe:
Enable secondary timeframe MACD to see higher timeframe context. Enable secondary confirmation to require higher timeframe alignment for signals.
Signal Strength:
Signal strength is automatically calculated and displayed in the statistics table. Use signal strength filter to only accept signals above a threshold (e.g., 50 for moderate, 70+ for strong signals only).
Smart Label Placement:
Configure label placement settings to control label appearance and quality:
- Label Strength Minimum (%): Set threshold (default 75%) to show only strong signals. Higher = fewer, stronger labels
- Label Spacing Multiplier: Adjust spacing (default 1.5x) for better distribution. Higher = more spacing between labels
- Recovery/Decline Confirm (%): Set confirmation requirement (default 15%). Higher = more confirmation, fewer labels
- Enforce Zero Line Polarity: Enable (default) to ensure Buy labels only appear when tracked extreme was below zero, Sell labels only when above zero
- Historical Lookback: Adjust search period (default 20 bars) for finding true extremes. Higher = more history analyzed
Cross Quality:
Cross quality score is automatically calculated for crossovers. Use cross quality filter to only accept high-quality crossovers (threshold 50+ for moderate, 70+ for high quality).
Alerts:
Set up alerts for your preferred signal types. Enable alert cooldown (default enabled, 5 bars) to prevent alert spam. Use alert type filter to only evaluate specific alert types (All, MACD Cross, Zero Line, Divergence, Secondary Timeframe, Histogram MA, Histogram Zero, StochMACD, Histogram BB, Volume Events, OB/OS, Strong Top/Bottom). 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:
- MACD Line: Green when above signal (bullish), red when below (bearish) if dynamic colors enabled. Optional black outline for enhanced visibility
- Signal Line: Orange line with optional black outline for enhanced visibility
- Histogram: Color-coded based on direction and momentum (green for bullish rising, lime for bullish falling, red for bearish falling, orange for bearish rising)
- Zero Line: Horizontal reference line at MACD = 0
- Fill to Zero: Green/red semi-transparent fill between MACD line and zero line showing bullish/bearish territory
- Fill Between OB/OS: Blue semi-transparent fill between overbought/oversold thresholds highlighting neutral zone
- OB/OS Background Colors: Background coloring when MACD enters overbought/oversold zones
- Background Colors: Dynamic or monotone backgrounds indicating MACD state, or custom chart background
- Divergence Labels: "🐂" for bullish, "🐻" for bearish, "H Bull" for hidden bullish, "H Bear" for hidden bearish
- Divergence Lines: Colored lines connecting pivot points when divergences are detected
- Volume Climax Markers: ⚡ symbol for extremely high volume
- Volume Dry-Up Markers: 💧 symbol for extremely low volume
- Buy/Sell Strength Labels: Show signal strength percentage (e.g., "Buy Strength: 75%")
- Strong Top/Bottom Labels: "sTop" and "sBottom" for extreme level recoveries
- Secondary MACD Lines: Purple lines showing higher timeframe MACD
- Histogram MA: Orange line showing histogram moving average
- Histogram BB: Blue bands around histogram showing extreme zones
- StochMACD Lines: %K and %D lines with overbought/oversold thresholds
- Regression Forecast: Dotted blue lines extending forward with optional confidence bands
Signal Priority and Interpretation
Signals are generated independently and can occur simultaneously. Higher-priority signals generally indicate stronger setups:
1. MACD Cross with Multiple Filters - Highest priority: Requires MACD crossover plus all enabled filters (histogram, signal strength, cross quality) and secondary timeframe confirmation if enabled. These are the most reliable signals.
2. Zero-Line Cross - High priority: Indicates momentum shift. Can provide early warning signals before MACD crosses the signal line.
3. Divergence Signals - Medium-High priority: Pivot-based divergence is more reliable than simple divergence. Hidden divergence indicates continuation rather than reversal.
4. MACD Cross with Basic Filters - Medium priority: MACD crosses signal line with basic histogram filter. Less reliable alone but useful when combined with other confirmations.
Best practice: Wait for multiple confirmations. For example, a MACD crossover combined with divergence, volume confirmation, and secondary timeframe alignment 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 MACD " 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:
- Calculations use efficient Pine Script functions (ta.ema, ta.sma, etc.) which are optimized by TradingView
- Conditional execution: Features only calculate when enabled
- Label management: Old labels are automatically deleted to prevent accumulation
- Array management: Divergence label arrays are limited to prevent memory accumulation
The script should perform well on all timeframes. On very long historical data with many enabled features, performance may be slightly slower, but it remains usable.
Known Limitations and Considerations
- Dynamic OB/OS levels can vary significantly based on recent MACD volatility. In very volatile markets, levels may be wider; in calm markets, they may be narrower.
- Volume confirmation requires sufficient historical volume data. On new instruments or very short timeframes, volume calculations may be less reliable.
- Higher timeframe MACD uses request.security() which may have slight delays on some data feeds.
- Stochastic MACD requires the histogram to have sufficient history. Very short periods on new charts may produce less reliable StochMACD values initially.
- Divergence detection requires sufficient historical data to identify pivot points. Very short lookback periods may produce false positives.
Practical Use Cases
The indicator can be configured for different trading styles and timeframes:
Swing Trading:
Use MACD(12,26,9) with secondary timeframe confirmation. Enable divergence detection. Use signal strength filter (threshold 50+) and cross quality filter (threshold 50+) for higher-quality signals. Enable histogram analysis tools for additional context.
Day Trading:
Use MACD(8,17,7) or use "Day Trading" preset with minimal histogram smoothing for faster signals. Enable zero-line cross alerts for early signals. Use volume confirmation with threshold 1.2-1.5. Enable histogram MA for momentum tracking.
Trend Following:
Use MACD(12,26,9) or longer periods (15,30,12) for smoother signals. Enable secondary timeframe confirmation for trend alignment. Hidden divergence signals are useful for trend continuation entries. Use cross quality filter to identify high-quality crossovers.
Reversal Trading:
Focus on divergence detection (pivot-based for accuracy) combined with zero-line crosses. Enable volume confirmation. Use histogram Bollinger Bands to identify extreme histogram zones. Enable StochMACD for overbought/oversold identification.
Multi-Timeframe Analysis:
Enable secondary timeframe MACD to see context from larger timeframes. For example, use daily MACD on hourly charts to understand the larger trend context. Enable secondary confirmation to require higher timeframe alignment for signals.
Practical Tips and Best Practices
Getting Started:
Start with default settings and observe MACD behavior. The default configuration (MACD 12,26,9 with EMA) is balanced and works well across different markets. After observing behavior, customize settings to match your trading style. Consider using configuration presets for quick setup.
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:
MACD crosses with multiple filters provide the highest-quality signals because they require alignment across multiple indicators. These signals have lower frequency but higher reliability. Use signal strength scores to identify the strongest signals (70+). Use cross quality scores to identify high-quality crossovers (70+).
Filter Combinations:
Start with histogram filter for basic momentum alignment, then add signal strength filter for moderate signals, then cross quality filter for high-quality crossovers. Combining all filters significantly reduces false signals but also reduces signal frequency. Find your balance based on your risk tolerance.
Volume Filtering:
Set volume threshold to 1.0 (default, effectively disabled) 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.
MACD Period Selection:
Standard MACD(12,26,9) provides balanced signals suitable for most trading. Shorter periods (8,17,7) for faster signals, longer (15,30,12) for smoother signals. Adjust based on your timeframe and trading style. Consider using configuration presets for optimized settings.
Moving Average Type:
EMA provides balanced responsiveness with smoothness. RMA is smoother and less responsive. WMA gives more weight to recent prices. SMA gives equal weight to all periods. Choose based on your preference for responsiveness vs. smoothness.
Divergence:
Pivot-based divergence is more reliable than simple divergence because it uses actual pivot points. Hidden divergence indicates continuation rather than reversal, useful for trend-following strategies. Adjust pivot lookback parameters to control sensitivity.
Dynamic Thresholds:
Dynamic OB/OS thresholds automatically adapt to volatility. In volatile markets, thresholds widen; in calm markets, they narrow. Adjust the multipliers to fine-tune sensitivity. Enable OB/OS background colors for visual indication.
Zero-Line Crosses:
Zero-line crosses indicate momentum shifts and can provide early warning signals before MACD crosses the signal line. Enable alerts for zero-line crosses to catch these early signals.
Alert Management:
Enable alert cooldown (default enabled, 5 bars) to prevent alert spam. Use alert type filter to only evaluate specific alert types. Signal debounce (default enabled, 3 bars) prevents duplicate MACD cross signals during choppy markets.
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 conditional execution. Features only calculate when enabled.
- 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. Alert cooldowns and signal debounce handle edge cases where conditions never occurred or values are NA.
Technical Notes
- All MACD values respect percentage mode conversion when enabled
- Volume confirmation uses cached volume SMA for performance
- Label arrays (divergence) are automatically limited to prevent memory accumulation
- Background coloring: OB/OS backgrounds are drawn on top of main background to ensure visibility
- All calculations are optimized with conditional execution - features only calculate when enabled (performance optimization)
- Signal strength calculation combines multiple factors into a single score for easy filtering
- Cross quality calculation rates crossover quality based on angle, volume, and distance from zero
- Secondary timeframe MACD uses request.security() for higher timeframe data access
- Histogram analysis features (Bollinger Bands, MA, StochMACD) provide additional context beyond basic MACD signals
- Statistics table dynamically adjusts to show only enabled features, keeping it clean and relevant
- Divergence detection uses MACD line (not histogram) for more reliable signals
- Configuration presets automatically optimize MACD parameters for different trading styles
- Smart label placement: Labels appear on current bar at confirmation, using strength from tracked extreme point
- Label spacing uses effective distance (base distance × spacing multiplier) for better distribution
- Zero line polarity enforcement ensures Buy labels only appear when tracked extreme MACD < 0, Sell labels only when tracked extreme MACD > 0
- Label finalization requires MACD exit from OB/OS zone, sufficient bars passed, and recovery/decline percentage confirmation
- Strength-based filtering automatically compares and keeps only the strongest label when multiple signals are close together
- Enhanced visualization: Line outlines drawn behind main lines for superior visibility (black default, configurable)
- Enhanced visualization: Fill between MACD and zero line provides instant visual feedback (green above, red below)
- Enhanced visualization: Fill between OB/OS thresholds highlights neutral zone when dynamic levels are active
- Custom chart background overrides background mode when enabled, allowing theme-consistent indicator panels
Smart Money Fluid [JOAT]
Smart Money Fluid — Accumulation and Distribution Flow Analysis
Smart Money Fluid tracks institutional-style accumulation and distribution patterns using a sophisticated combination of Money Flow Index, Chaikin Money Flow, and VWAP-relative price analysis. It aims to reveal whether larger participants may be accumulating (buying) or distributing (selling)—information that can precede significant price moves.
What Makes This Indicator Unique
Unlike single money flow indicators, Smart Money Fluid:
Combines three different money flow methodologies into one composite signal
Detects divergences between price and money flow automatically
Identifies high-volume conditions that add conviction to signals
Provides both the composite signal and individual component values
Features a momentum histogram showing flow acceleration
What This Indicator Does
Combines multiple money flow indicators into a composite signal (0-100 scale)
Identifies accumulation zones (potential institutional buying) and distribution zones (potential selling)
Detects divergences between price and money flow
Highlights high-volume conditions for stronger signals
Tracks momentum direction within the flow
Provides comprehensive dashboard with all component values
Composite Calculation Explained
The Smart Money Flow composite combines three proven money flow methodologies:
// Component 1: Money Flow Index (MFI) - 40% weight
// Measures buying/selling pressure using price and volume
float mfi = 100 - (100 / (1 + mfRatio))
// Component 2: Chaikin Money Flow (CMF) - 30% weight
// Measures accumulation/distribution based on close position within range
float cmf = sum(mfVolume, length) / sum(volume, length) * 100
// Component 3: VWAP Price Strength - 30% weight
// Measures price position relative to volume-weighted average price
float priceVsVWAP = (close - vwap) / vwap * 100
// Final Composite (scaled to 0-100)
float rawSMF = (mfi * 0.4 + (cmf + 50) * 0.3 + (50 + priceVsVWAP * 5) * 0.3)
float smf = ta.ema(rawSMF, smoothLength)
State Classification
Accumulating (Green Zone) — SMF above accumulation threshold (default: 60). Suggests institutional buying may be occurring.
Distributing (Red Zone) — SMF below distribution threshold (default: 40). Suggests institutional selling may be occurring.
Neutral (Gray Zone) — SMF between thresholds. No clear accumulation or distribution detected.
Divergence Detection
The indicator automatically detects divergences using pivot analysis:
Bullish Divergence — Price makes a lower low while SMF makes a higher low. This suggests selling pressure is weakening despite lower prices—potential reversal signal.
Bearish Divergence — Price makes a higher high while SMF makes a lower high. This suggests buying pressure is weakening despite higher prices—potential reversal signal.
Divergences are marked with "DIV" labels on the chart.
Visual Features
SMF Line with Glow — Main composite line with gradient coloring and glow effect
Signal Line — Slower EMA of SMF for crossover signals
Flow Momentum Histogram — Shows the difference between SMF and signal line with four-color coding:
- Bright green: Positive and accelerating
- Faded green: Positive but decelerating
- Bright red: Negative and accelerating
- Faded red: Negative but decelerating
Zone Backgrounds — Green tint in accumulation zone, red tint in distribution zone
Reference Lines — Dashed lines at accumulation/distribution thresholds, dotted line at 50
Strong Signal Markers — Triangles appear when accumulation/distribution occurs with high volume
Divergence Labels — "DIV" markers when divergences are detected
Color Scheme
Accumulation Color — Default: #00E676 (bright green)
Distribution Color — Default: #FF5252 (red)
Neutral Color — Default: #9E9E9E (gray)
Gradient Coloring — SMF line transitions smoothly between colors based on value
Dashboard Information
The on-chart table (top-right corner) displays:
Current SMF value with state coloring
State classification (ACCUMULATING, DISTRIBUTING, or NEUTRAL)
Flow momentum direction (Up/Down with magnitude)
MFI component value
CMF component value with directional coloring
Volume status (High or Normal)
Active divergence detection (Bullish, Bearish, or None)
Inputs Overview
Calculation Settings:
Money Flow Length — Period for flow calculations (default: 14, range: 5-50)
Smoothing Length — EMA smoothing period (default: 5, range: 1-20)
Divergence Lookback — Bars for pivot detection in divergence analysis (default: 5, range: 2-20)
Sensitivity:
Accumulation Threshold — Level above which accumulation is detected (default: 60, range: 50-90)
Distribution Threshold — Level below which distribution is detected (default: 40, range: 10-50)
High Volume Multiplier — Multiple of average volume for "high volume" classification (default: 1.5x, range: 1.0-3.0)
Visual Settings:
Accumulation/Distribution/Neutral Colors — Customizable color scheme
Show Flow Histogram — Toggle momentum histogram
Show Divergences — Toggle divergence detection and labels
Show Dashboard — Toggle the information table
Show Zone Background — Toggle colored backgrounds in accumulation/distribution zones
Alerts:
Await Bar Confirmation — Wait for bar close before triggering (recommended)
How to Use It
For Trend Confirmation:
Accumulation during uptrends confirms buying pressure
Distribution during downtrends confirms selling pressure
Divergence between price trend and SMF warns of potential reversal
For Reversal Detection:
Bullish divergence at price lows suggests potential bottom
Bearish divergence at price highs suggests potential top
Strong signals (triangles) with high volume add conviction
For Entry Timing:
Enter longs when SMF crosses into accumulation zone
Enter shorts when SMF crosses into distribution zone
Wait for high volume confirmation for stronger signals
Use divergences as early warning for position management
Alerts Available
SMF Accumulation Started — SMF entered accumulation zone
SMF Distribution Started — SMF entered distribution zone
SMF Strong Accumulation — Accumulation with high volume
SMF Strong Distribution — Distribution with high volume
SMF Bullish Divergence — Bullish divergence detected
SMF Bearish Divergence — Bearish divergence detected
Best Practices
High volume during accumulation/distribution adds significant conviction
Divergences are early warnings—don't trade them alone
Use in conjunction with price action and support/resistance
Works best on liquid markets with reliable volume data
This indicator is provided for educational purposes. It does not constitute financial advice. Past performance does not guarantee future results. Always conduct your own analysis and use proper risk management before making trading decisions.
— Made with passion by officialjackofalltrades
Po3 Candle OpensMarks out the 9:30 / 9:45 / 10:00 / 10:15 / 10:30 candle opening.
You can turn off certain times in the settings, if not needed.
The colors are also customizable.
Anurag Balanced 0DTE Scalper SPY QQQBalanced 0DTE Scalper
1. Purpose: A 0DTE options day trading indicator for SPY/QQQ on 5-minute charts with visual CALL/PUT entry and exit signals.
2. Trend Filter: Uses 15-minute EMA crossover (9/21) + ADX to confirm trend direction before taking trades.
3. Entry Logic: Triggers on pullback to 5m EMA9 with RSI/VWAP/MACD confirmation, bullish or bearish candle required.
4. Exit System: ATR-based trailing stop, dual targets (TP1 partial, TP2 full), time stop, and auto-exit at EOD.
5. Risk Controls: Max trades/day limit, cooldown period after exits, session filter (avoids first 10 min & last 15 min).
6. Visual Feedback: Dynamic stop/target lines, entry/exit labels with P&L, background color for trend bias and cooldown.
7. Dashboard: 16-row panel showing bias, ADX, regime, RSI, VWAP, position, bars held, cooldown status, strike suggestions, and DTE recommendation.
RS Rating Multi-Timeframe v2RS Rating Multi-Timeframe
A relative strength rating indicator modeled after IBD's proprietary RS Rating system. This indicator measures a stock's price performance relative to the S&P 500 (or any benchmark you choose) and converts it to a 1-99 rating scale.
How It Works
The indicator calculates weighted performance ratios across four timeframes:
40% weight: 63-day (3-month) performance
20% weight: 126-day (6-month) performance
20% weight: 189-day (9-month) performance
20% weight: 252-day (12-month) performance
This weighting emphasizes recent performance while still accounting for longer-term strength—the same methodology used by leading growth stock research services.
Rating Scale
90-99: Elite relative strength (top 10% of stocks)
80-89: Strong relative strength (top 20%)
50-79: Average performance
30-49: Below average
1-29: Weak relative strength (bottom 30%)
Features
Customizable benchmark index (default: S&P 500)
Optional moving average overlay (EMA or SMA)
Visual zones with color-coded backgrounds
Signal markers when RS crosses key thresholds (80 and 30)
Info table showing current rating, daily change, MA value, and raw score
Built-in alerts for threshold crossovers
Pine Screener Compatible
This indicator includes state-based plots specifically designed for TradingView's Pine Screener. You can screen watchlists for:
RS Above 90, 80, 70, or 50
RS Below 50 or 30
RS Above/Below its moving average
Custom thresholds using the raw RS Rating value
In the Pine Screener, select the "Screener RS Above 80" output and set it to "True" (or equals 1) to find all stocks currently above 80—not just those crossing on that bar.
Usage Tips
Growth investors typically look for stocks with RS Ratings above 80, indicating the stock is outperforming 80% of the market. Combining high RS Rating with other technical signals (breakouts, volume, moving averages) can help identify leading stocks.
3D Isometric MFI (Christmas Edition) [Kodexius]3D Isometric MFI (Christmas Edition) is a visual-first interpretation of the classic Money Flow Index, rendered as a projected 3D-style ribbon using an isometric mapping. Instead of plotting a standard oscillator line, the script reconstructs recent MFI history as a depth-aware ribbon that moves from back to front, producing a layered perspective effect that helps you read momentum shifts, regime transitions, and relative strength changes as a continuous structure.
This Christmas Edition was also built for fun and as a creative seasonal experiment. The goal is to keep the underlying indicator logic familiar, while presenting it in a playful, “3D showroom” style that looks great in a separate oscillator panel.
The indicator is designed for presentation quality and chart readability. It uses controlled object management (lines, polylines, labels) and renders only the most recent portion of the MFI history (user-defined depth). A decorative snow background effect adds atmosphere.
🔹 Features 🎄
🔸 Isometric 3D Projection Engine
The ribbon is produced by projecting 3D points (time offset, MFI value, depth) into 2D chart coordinates.
- X represents bar offset into history
- Y represents the MFI value
- Z introduces depth and perspective
Angle controls the projection direction, and Vertical Zoom scales the perceived amplitude.
🔸 Depth-Limited Ribbon Rendering (Back to Front)
Only the most recent History Depth values are drawn to keep performance and readability stable.
- Each segment connects two consecutive MFI values
- A top edge, bottom edge, and filled face are drawn to simulate thickness
- Older segments fade into the background
🔸 Dynamic Gradient Coloring + Depth Fade
Ribbon color follows a value-based gradient:
- Lower values lean red (risk-off pressure)
- Higher values lean green (risk-on pressure)
- Mid values blend naturally
Transparency increases with depth so older history is less dominant but still readable.
🔸 Tip Label (Value + Candy Marker) 🍭🍬
The most recent ribbon tip displays current MFI value.
A candy symbol that switches based on the 50 midpoint
The label is offset so it does not cover the ribbon tip.
🔸 Projected Reference Grid (80, 50, 20)
A projected grid is drawn at classic MFI reference levels to improve orientation:
- 80 Overbought reference
- 50 Midpoint reference
- 20 Oversold reference
These grid lines use the same projection math, so they stay aligned at any angle or zoom.
🔸 Seasonal Snow Background Effect ❄️
Randomized snow is rendered behind the ribbon using lightweight labels. This is purely decorative and does not alter MFI values or logic.
🔸 Object Lifecycle Management
Because 3D-style drawing uses many objects, the script manages them explicitly by storing references in arrays, deleting old objects, and redrawing on the last bar. This helps prevent visual stacking artifacts and keeps the panel clean.
🔹 Calculations
1) Money Flow Index Computation
The script separates “positive” and “negative” money flow based on the direction of change in the selected source, then converts their ratio into the standard 0 to 100 oscillator. Classic MFI Calculations.
calc_mfi(int length, float source) =>
float upper = math.sum(volume * (ta.change(source) <= 0 ? 0 : source), length)
float lower = math.sum(volume * (ta.change(source) >= 0 ? 0 : source), length)
float mfi = 100.0
if lower != 0
float r = upper / lower
mfi := 100 - (100 / (1 + r))
mfi
Interpretation:
upper accumulates volume-weighted source values on up moves
lower accumulates volume-weighted source values on down moves
if lower is zero, MFI defaults to 100 to avoid division errors
otherwise, MFI is computed from the ratio transform
2) History Buffer Management
The current MFI value is pushed into the front of an array every bar. The array is trimmed to History Depth so rendering stays bounded.
array.unshift(ctx.history_val, mfi_curr)
if ctx.history_val.size() > depth
ctx.history_val.pop()
3) 3D Point Model and Ribbon Thickness
Each segment is built from four projected points to form a filled face (a simple quad). A small thickness is applied to create the “ribbon” look, and depth is used to simulate perspective.
4) Isometric Projection to Chart Coordinates
3D points are mapped into chart coordinates with an angle rotation and scaling for zoom and depth.
method project(Point3 p, int anchor_bar, float angle_rad, float zoom, float z_scale) =>
float x_world = -float(p.x) * 2.0
float z_val = p.z * z_scale
float screen_x_offset = (x_world * math.cos(angle_rad)) - (z_val * 1.0)
float screen_y_offset = (p.y * zoom) + (x_world * math.sin(angle_rad)) * 0.5
int final_x = anchor_bar + int(math.round(screen_x_offset))
float final_y = screen_y_offset
chart.point.from_index(final_x, final_y)
5) Gradient and Depth Transparency
Color is derived from MFI value via a gradient, and transparency increases with segment depth so recent data remains dominant while older context stays visible.
6) Projected Reference Grid Construction
The 80, 50, 20 levels are drawn as dotted segments across the same historical span, using the same projection and depth fade logic for consistent alignment.
🎆 Wishing you a great year ahead 🎄✨
May your charts be clear, your risk be controlled, and your next year be filled with health, peace, and good trades. Happy Holidays and Happy New Year.
BK AK-Flag Formations🏴☠️ BK AK-Flag Formations — Raise the standard. Drive the line. Continue the assault. 🏴☠️
Built for traders who exploit momentum with discipline: flagpoles, flags, and pennants detected, tagged, and briefed—so you press advantage instead of hesitating.
🎖️ Full Credit (Engine + Logic — Trendoscope)
Original foundation (Trendoscope Flags & Pennants):
The entire detection engine—multi-zigzag swing extraction, pivot logic, pattern validation, classification framework, and drawing architecture—is Trendoscope. He’s the architect of the core system.
I’m not claiming the engine. I’m shipping a cleaner, more tactical interface layer on top of his work.
🧩 BK Enhancements (on top of Trendoscope)
Purpose: read continuation faster with less chart noise.
Short-form pattern tags so structure stays obvious without burying price:
BF / BeF / BP / BeP / F / P / UF / DF / RF / FF / AF / DeF
Label transparency controls (text + background), plus separate transparency control for short labels
Hover tooltips (toggle): hover the tag to reveal full pattern name + bias (Bullish / Bearish / Neutral)
Upgraded alert system: filters by Bias (Bullish/Bearish/Neutral) and Type (Flag / Pennant), with clearer alert messages
Pattern border extension (optional): extends the two pattern boundary lines forward by N bars so your levels stay mapped for break/retest planning
Everything else is Trendoscope’s architecture and math.
🧠 What It Does (The Mission)
This script hunts continuation formations that form after a strong impulse move:
Detects the flagpole (impulse)
Validates a consolidation structure (flag or pennant)
Tags it cleanly with short codes
Optional hover-briefing gives the long name + bias exactly when you need it
You get continuation structure in real time, across multiple swing sensitivities.
🧭 How It Detects (So You Know It’s Not Random)
This isn’t “pattern art.” It’s rule-based geometry + swing logic:
1) Multi-Zigzag Sweep (micro → macro)
Runs up to 4 zigzag engines so it catches both tight and larger continuations.
(Default BK tuning uses 4 levels with different swing lengths/depths.)
2) Quality Filters (you control strictness)
Key scanning controls:
Error Threshold: tolerance used during trendline validation
Flat Threshold: what qualifies as “flat” vs sloped
Max Retracement (default 0.618): limits how deep the consolidation can retrace the impulse
Verify Bar Ratio (optional): checks proportion/spacing of pivots, not just price
Avoid Overlap: prevents stacking formations on top of each other
Repaint option: allows refinement if better coordinates form (for real-time users)
3) Classification (Flag vs Pennant)
Once the engine confirms an impulse + valid consolidation, it classifies:
Flag = orderly channel/wedge-style consolidation after the pole
Pennant = tighter triangle-style compression after the pole
Then it labels with bias based on direction and formation context.
🏳️ Read the Continuation (Short Codes that Actually Matter)
BF — Bull Flag: strong pole → controlled pullback; watch for break + continuation expansion
BP — Bull Pennant: thrust → tight compression; expansion confirms carry
BeF — Bear Flag: down impulse → weak rallies; breakdown favors continuation lower
BeP — Bear Pennant: pause beneath resistance; release favors trend continuation
F / P: generic flag / pennant tags when the system can’t (or shouldn’t) over-specify
Standards aren’t decoration—they’re orders.
🧑🏫 Mentor A.K.
A.K. is the discipline behind this release.
No chasing. No gambling. No emotional entries.
He drilled one rule into everything: structure first, then execution—never the reverse.
This indicator exists to make that possible under pressure.
🤝 Give Forward (The Code of the Crew)
If this tool sharpens your edge:
Teach one trader how to read continuation properly (pole → base → trigger → invalidation)
Share process, not just screenshots (entry logic, stop logic, management plan)
If you build on open work: credit loudly and contribute improvements back when you can
Tools multiply force. Character decides the outcome.
👑 Respect to King Solomon (Wisdom > Impulse)
“Plans are established by counsel; by wise guidance wage war.” — Proverbs 20:18
Continuation trading is the same: impulse → formation → execution.
BK AK-Flag Formations — when the standard rises, the line advances.
Gd bless. 🙏
LWAI Merry Christmas indicatorLWAI here hopes for world peace, that everyone can make money together, share food, and live happily every day. It's not about becoming a hugely successful person, but simply about being able to be happy with family and friends.
QuantLabs MASM Correlation TableThe Market is a graph. See the flows:
The QuantLabs MASM is not a standard correlation table. It is an Alpha-Grade Scanner architected to reveal the hidden "hydraulic" relationships between global macro assets in real-time.
Rebuilt from the ground up for Version 3, this engine pushes the absolute limits of the Pine Script™ runtime. It utilizes a proprietary Logarithmic Math Engine, Symmetric Compute Optimization, and a futuristic "Ghost Mode" interface to deliver a 15x15 real-time correlation matrix with zero lag.
Under the Hood: The Quant Architecture
We stripped away standard libraries to build a lean, high-performance engine designed for institutional-grade accuracy.
1. Alpha Math Engine (Logarithmic Returns) Most tools calculate correlation based on Price, which generates spurious signals (e.g., "Everything is correlated in a bull run").
The Solution: Our engine computes Logarithmic Returns (log(close/close )) by default. This measures the correlation of change (Velocity & Vector), not price levels.
The Result: A mathematically rigorous view of statistical relationships that filters out the noise of general market drift.
Dual-Core: Toggle seamlessly between "Alpha Mode" (Log Returns) for verified stats and "Visual Mode" (Price) for trend alignment.
Calculation Modes: Pearson (Standard), Euclidean (Distance), Cosine (Vector), Manhattan (Grid).
2. Symmetric Compute Optimization Calculating a 15x15 matrix requires evaluating 225 unique relationships per bar, which often crashes memory limits.
The Fix: The V3 Engine utilizes Symmetric Logic, recognizing that Correlation(A, B) == Correlation(B, A).
The Gain: By computing only the lower triangle of the matrix and mirroring pointers to the upper triangle, we reduced computational load by 50%, ensuring a lightning-fast data feed even on lower timeframes.
3. Context-Aware "Ghost Mode" The UI is designed for professional traders who need focus, not clutter.
Smart Detection: The matrix automatically detects your current chart's Ticker ID. If you are trading QQQ, the matrix will visually highlight the Nas100 row and column, making them opaque and bright while dimming the rest.
Dynamic Transparency: Irrelevant data ("Noise" < 0.3 correlation) fades into the background. Only significant "Alpha Signals" (> 0.7) glow with full Neon Saturation.
Key Features
Dominant Flow Scanner: The matrix scans all 105 unique pairs every tick and prints the #1 Strongest Correlation at the bottom of the pane (e.g., DOMINANT FLOW: Bitcoin ↔ Nas100 ).
Streak Counter: A "Stubbornness" metric that tracks how many consecutive days a strong correlation has persisted. Instantly identify if a move is a "flash event" or a "structural trend."
Neon Palette: Proprietary color mapping using Electric Blue (+1.0) for lockstep correlation and Deep Red (-1.0) for inverse hedging.
Usage Guide
Placement: Best viewed in a bottom pane (Footer).
Assets: Pre-loaded with the Essential 15 Macro Drivers (Indices, BTC, Gold, Oil, Rates, FX, Key Sectors). Fully editable via settings (Ticker|Name).
Reading the Grid:
🔵 Bright Blue: Assets moving in lockstep (Risk-On).
🔴 Bright Red: Assets moving perfectly opposite (Hedge/Risk-Off).
⚫ Faded/Black: No statistical relationship (Decoupled).
Key Improvements Made:
Formatting: Added clear bullet points and bolding to make it scannable.
Clarity: Clarified the "Logarithmic Returns" section to explain why it matters (Velocity vs. Price Levels).
Tone: Maintained the "high-tech/quant" vibe but removed slightly clunky phrases like "spurious signals" (unless you prefer that academic tone, in which case I left it in as it fits the persona).
Structure: Grouped the "Modes" under the Math Engine for better logic.
Created and designed by QuantLabs
Option Price SR (csgnanam)## ⚖️ Disclaimer
This script is provided for **educational and analytical purposes only**.
It does not constitute financial advice.
Use proper risk management and trade responsibly.
---
## 📌 Indicator Concept & Trading Logic
This is a rule-based reference indicator designed to interpret **option price behavior** using **previous-day derived equilibrium levels**.
The indicator helps traders classify the market into **range-bound, breakout, or invalid trade zones** by observing how **ATM Call (CE) and Put (PE)** prices react around these levels.
All levels are **fixed for the trading day** and recalculated only on the next session.
---
## 📊 Core Levels Explained
The indicator plots the following **daily-anchored reference levels**:
* **PDH / PDL** – Previous Day High / Low of the option
* **PDC** – Previous Day Close
* **100% AVG (Breakout Zone)**
Average of previous-day CE and PE prices for the same strike
* **75% AVG (Midzone)**
Balance / decision zone
* **50% AVG (Support Zone)**
Lower acceptance / decay boundary
These levels act as **reaction zones**, not prediction lines.
---
## 🧠 Market Interpretation Logic
### 1️⃣ Range-Bound Market Condition
* When **both ATM CE and ATM PE** are **trading within the 100% AVG (Breakout) level**,
the market has a **high probability of remaining range-bound**.
* Premium expansion is limited on both sides.
* Ideal environment for **non-directional strategies**.
---
### 2️⃣ Breakout Validation
* A **true directional move** requires **asymmetry** between CE and PE.
* If **one side moves into breakout**, the **opposite side must stay suppressed**.
**Example:**
* If **CE breaks down below Midzone**,
then **PE must be above Breakout or at least above Midzone**.
* The same logic applies inversely for PE breakdowns.
This confirms **capital rotation**, not random premium decay.
---
### 3️⃣ Midzone (75%) – Reversal Watch Area
* The **Midzone** is a **high-probability reaction area**.
* Many intraday reversals initiate from this level.
* Price acceptance or rejection here defines:
* Continuation
* Mean reversion
* Failed breakout
This zone should be **closely monitored for structure and volume behavior**.
---
### 4️⃣ Support Zone (50%) – Trade Invalidation
* When an option price trades **below the Support (50%) level**:
* That option side becomes **non-tradable**
* Premium strength is lost
* Risk increases significantly
Trades **below support** are considered **low probability** and should be avoided.
---
## ⚠️ Important Usage Notes
* This indicator is **not a buy/sell signal generator**
* It is a **context and decision-filter tool**
* Best used in combination with:
* Price action
* Structure
* Spot/index behavior
* Time-of-day context
All levels are **session-anchored** and do **not repaint intraday**.
---
## 🎯 Intended Use Case
* Intraday option traders
* ATM / near-ATM focus
* Range vs directional market identification
* Premium behavior analysis
* Trade filtering and risk control
---
AI-Driven Multi-Timeframe Stochastic RSI Snapshot📊 AI-Driven Multi-Timeframe Stochastic RSI Snapshot Overview
The AI-Driven Multi-Timeframe Stochastic RSI Snapshot provides a clear, at-a-glance view of momentum alignment and directional bias across multiple timeframes.
It condenses Stochastic RSI readings from 1H, 4H, 1D, 1W, and 1M into a compact, color-coded table displayed directly on the price chart.
This indicator is designed for traders who want high-level market context without cluttering their charts or switching between timeframes.
How It Works
For each timeframe, the indicator evaluates:
Stochastic RSI %K and %D
Directional bias (Bullish, Bearish, or Neutral)
Momentum zone (Overbought, Oversold, or Mid-range)
Each timeframe contributes to an overall market bias calculation.
A directional signal is displayed only when alignment reaches a minimum confidence threshold, helping filter out weak or conflicting conditions.
Signal & Grading
When alignment is strong enough, the indicator displays:
A Bull or Bear signal
A grade (A+ to F) reflecting the quality of the multi-timeframe agreement
Higher grades indicate stronger alignment, particularly from higher timeframes, while lower grades signal mixed or low-confidence conditions.
How to Use
Use as a trend and bias filter before entering trades
Favor setups that align with higher-grade signals
Combine with price action, structure, or volatility tools for precise entries and exits
This indicator is best used for context and confirmation, not standalone entries.
Visuals & Customization
Clean, color-coded table for fast interpretation
Minimal chart footprint
Fully adjustable colors to match any chart theme
Disclaimer
This indicator is for educational and analytical purposes only.
Always apply proper risk management.
NQ TICK Graph IndicatorDisplays the NQ TICKQ in real time with a historical graph and highlights positive or negative values over 500.
BTC - RVPM: Run Velocity & Probability MapBTC – RVPM: Run Velocity & Probability Map | RM
Strategic Context: Understanding Price Runs
A "Price Run" (also known as a streak or consecutive sessions) is a foundational concept in time-series analysis that measures the duration of a price movement without a significant counter-signal. While common indicators like RSI or MACD measure magnitude or momentum, they often ignore the Persistence of the trend. Historically, markets move through cycles of expansion and mean-reversion. A Price Run represents a period of "Unidirectional Flow" — a fingerprint of institutional accumulation or systematic distribution. However, standard "run-counting" is often too simplistic for the volatile crypto markets.
What Makes RVPM Special?
Most community run-counters are binary; they simply tell you if X days were green or red. The RVPM distinguishes itself through three proprietary layers:
• The Intensity Filter: It doesnt just count days; it counts effort . By ignoring "flat" days through a percentage-return threshold, it filters out noise that would otherwise skew the statistical probability.
• Dynamic Benchmarking: Instead of using an arbitrary number (like "7 days"), the RVPM looks back at 200 bars of history to find the local "Persistence Ceiling." It adapts to the current volatility regime of Bitcoin.
• The Velocity Score: It transform simple counts into a -100 to +100 histogram, allowing traders to see momentum "decaying" (e.g., dropping from 90 to 70) even if the price continues to rise.
The 3 Pillars of the Engine
1. Velocity Mapping (Persistence Histogram)
The histogram calculates the density of directional effort within a defined window. It functions as the "Pulse" of the trend, mapping market behavior into three distinct zones:
• High Velocity Zone (> 80 or < -80): Institutional Expansion. This identifies a "clean" move where one side of the market possesses total structural control. In this zone, the trend is efficient, and counter-signals are immediately absorbed.
• The Neutral Zone (Near Zero): Momentum Equilibrium. When the histogram fluctuates near the zero line, the market is in a "Recharge Phase." Neither bulls nor bears are achieving persistent dominance. Tactically, this is the "Waiting Room" where range-bound chop is likely, and traders should wait for a new "Expansion" spike before committing.
• Velocity Decay: The Exhaustion Warning. Velocity Decay occurs when the indicator moves from an extreme (e.g., +95) back toward the zero line (e.g., +50) while the price is still rising. This is a "Persistence Divergence." It tells you that while the trend is still moving, the consistency of the bars is fragmenting. The "fuel" is being depleted, and the trend is transitioning from an "Institutional Expansion" into a "Speculative Exhaustion."
2. n-of-m Consistency (The Pips)
The "Pips" (Circles) mark when a specific consistency threshold is met (e.g., 5 out of 7 bars in one direction). This identifies "Leaky Trends" that are still statistically dominated by one side of the ledger.
3. Statistical Exhaustion (The Arrows)
The Dark Red (Top) and Dark Green (Bottom) triangles represent the engine's "Mean-Reversion Signal." The calculation is based on a Relative Maximum Streak (RMS) logic: the script tracks the current linear, consecutive bar count (ignoring bars that fail the Intensity Filter) and continuously benchmarks this against the highest streak recorded over the last 200 bars ( ta.highest(streak, 200) ). The triangles are triggered specifically when the current run reaches 80% of this historical record (the "Anomaly Threshold"). Mathematically, this identifies a move that is statistically pushing against its half-year limit. By using this dynamic threshold rather than a fixed number, the "Extreme" signal automatically tightens during low-volatility regimes and expands during high-volatility expansions, ensuring the signal only appears when the "statistical rubber band" is at a true breaking point.
Operational Interface: The RVPM Dashboard
The Status Dashboard (Top Right) serves as a real-time monitor for momentum health, providing a clean summary of the underlying persistence data:
• Current STREAK: The active, consecutive count of bars meeting the Intensity Filter. It is dynamically color-coded (Cyan/Bullish or Red/Bearish) to provide an instant read on trend seniority.
• WINDOW Consistency: Measures the Momentum Density (the n-of-m value). A value of "6" in a "7-bar" window indicates a high-conviction regime that is successfully absorbing pullbacks without losing its primary trajectory.
Tactical Playbook: The Mean-Reversion Rule
Price action typically follows a "Rubber Band" effect. The further it is stretched without a break, the more "unstable" the trend becomes as the pool of available buyers or sellers is depleted.
• The Setup: Wait for the Triangle Arrows to appear.
• The Logic: The move has reached a 200-day anomaly. A "Liquidity Vacuum" is forming on the opposite side.
• The Action: This is a high-probability Mean-Reversion signal. It is a tactical time to take profits or look for a sharp snap-back move toward the 20-period moving average or the "Institutional Mean."
Settings & Parameters
• Window Length (m): The lookback window used to calculate the Velocity Score.
• Required Days (n): The minimum number of directional bars needed within the window to trigger a "Consistency Pip."
• Intensity Filter (%): The minimum % change required for a bar to be counted toward a run.
• Lookback Period: The historical window (Default: 200 bars) used to calculate the "Maximum Streak" records for exhaustion alerts.
Timeframe Recommendation
The RVPM is best viewed on the Daily (1D) timeframe. This filters out intraday noise and provides the most reliable statistical mapping for macro exhaustion points.
Credits & Verification
The RVPM logic aligns with institutional "Persistence" models and Glassnode's Price Stretch benchmarks. By benchmarking against a rolling 200-day window, the indicator automatically adapts to changing market volatility.
Risk Disclaimer & No Financial Advice
The information, data, and analytical models provided in this publication are for educational and informational purposes only. This script does not constitute financial, investment, or trading advice. Trading cryptocurrencies and other financial instruments carries a high degree of risk, and statistical anomalies or "Extreme Runs" do not guarantee future price action. Past performance is never indicative of future results. Every trader is responsible for their own due diligence and risk management. Rob Maths and the associated entities are not liable for any financial losses incurred through the use of this tool. Always consult with a certified financial professional before making significant investment decisions.
Tags:
bitcoin, btc, persistence, streaks, price-runs, momentum, mean-reversion, exhaustion, Rob Maths
XAUUSD Time Structure (VN, Auto DST, Clean)A clean, line-only session timing tool for XAUUSD in Vietnam time (Asia/Ho_Chi_Minh). Draws faint vertical dotted lines for key time boundaries: Asia range, EU pre-market, London decision, and NYMEX expansion. Includes automatic DST switching for London and New York. For educational purposes only.
ADX Regime (5m) Companion PaneADX Regime Filter (5-Minute) — Trade Permission Indicator
This indicator is a market regime filter designed to answer one question only:
Is this market worth trading right now?
It is built specifically for intraday futures trading, with a strong focus on Gold (GC / MGC) and prop-firm style discipline.
What This Indicator Does
This ADX indicator does not give buy or sell signals.
Instead, it tells you when to trade and when to stand down.
Gold spends a large portion of the day in compression or VWAP chop.
Trading during those periods destroys consistency and drawdown control.
This indicator helps you avoid those conditions.
How ADX Is Used Here
ADX is calculated on the 5-minute timeframe
It measures trend strength and expansion, not direction
Direction should come from structure or higher-timeframe bias, not ADX
ADX is used strictly as a permission filter.
ADX Zones Explained
The indicator includes clear horizontal reference levels:
Below 18
Compression / chop
No trade environment
20 to 35
Optimal expansion zone
Best conditions for pullbacks and continuations
35 to 45
Strong trend
Trade cautiously or only first pullbacks
Above 45
Late expansion or news-driven volatility
No new entries recommended
These zones are visual guides to keep trading decisions objective.
What This Indicator Is NOT
It is not a signal generator
It is not an entry tool
It is not predictive
ADX does not tell you what direction to trade.
It tells you whether trading is allowed at all.
Best Practices
Use ADX on the 5-minute chart
Combine it with:
Higher-timeframe trend
VWAP or key levels
Clear price action
If ADX is below 18, standing aside is a valid trade decision
Who This Indicator Is For
Futures traders
Prop firm traders
Traders who value:
Capital protection
Fewer but higher-quality trades
Consistency over activity
Core Principle
ADX is a gatekeeper.
When it says no, you do nothing.
When it says yes, you still wait for structure and location.
This mindset alone can dramatically improve discipline and results.
Quantum Power Engine v4.1 Light ModeThis guide explains how to effectively use the Quantum Power Engine v4.1 (Light Mode). This indicator is a multi-factor scoring system designed to aggregate momentum, volume, and trend data into a single, actionable "Power Score."
1. The Core Scoring System
The indicator calculates a Power Score ranging from -100 to +100. This score is derived from five weighted technical dimensions:
| Factor | Weight | Condition |
|---|---|---|
| MACD | 30% | Based on histogram direction and slope. |
| Volume/VWAP | 25% | Checks if price is above VWAP with high volume (Relative Vol > 2.0). |
| RSI | 15% | Relative strength compared to its SMA and the 60/40 levels. |
| CMF | 15% | Measures institutional capital inflow (Chaikin Money Flow). |
| SuperTrend | 15% | Defines the overall structural market direction. |
2. Market Status & Strategy
Depending on the current Power Score, the dashboard will display one of seven market states. Use the following guide for your trade execution:
🟢 Bullish Zones (Positive Score)
* +75 to +100: Hyper-Bullish (☀️)
* Market Sentiment: Extreme Greed / Buying Climax.
* Strategy: Hold current positions; tighten Stop-Losses; do not short, but be wary of a "blow-off top."
* +45 to +75: Strong Up-trend (🚀)
* Market Sentiment: Optimistic / Main Momentum Wave.
* Strategy: This is the most profitable phase. Focus on trend-following and adding to winners.
* +15 to +45: Momentum Entry (🟢)
* Market Sentiment: Recovery / Capital Inflow.
* Strategy: Look for long entries (Right-side trading). Monitor if volume continues to expand.
🟡 Neutral Zone
* -15 to +15: Extreme Volatility (⚡)
* Market Sentiment: Indecision / Market Chop.
* Strategy: Wait and See. Avoid trading in this zone as "fakeouts" are common.
🔴 Bearish Zones (Negative Score)
* -15 to -45: Defensive Phase (🔴)
* Market Sentiment: Cautious / Selling Pressure.
* Strategy: Reduce long positions. Do not "buy the dip" yet.
* -45 to -75: Violent Sell-off (🩸)
* Market Sentiment: Panic / Breakdown.
* Strategy: Avoid catching falling knives. Stay in cash or look for short opportunities.
* -75 to -100: Total Breakdown (💀)
* Market Sentiment: Despair / Liquidity Exhaustion.
* Strategy: Maximum bearishness. Wait for a "Right-side" bottoming signal before looking for a reversal.
3. Key Visual Indicators
The Dashboard (Top Right)
* Power Score (战力值): The "temperature" of the market.
* MACD Momentum: Shows if the trend is accelerating (Enhancing) or losing steam (Fading).
* Volume Ratio: Compares current volume to the average.
* Purple (Hyper-Volume): Institutional activity.
* Yellow (Significant): Strong participation.
* Grey (Low): Danger of a trap or lack of interest.
The Squeeze Alert (⚡)
When you see a Gold Bolt (⚡) above a candle, it indicates a "Squeeze" signal:
* Meaning: Low volatility + Low volume + Neutral score.
* Action: The market is "coiling" like a spring. Expect a violent breakout (up or down) shortly. Prepare your triggers.
4. How to Trade with This Indicator
* Identify the Bias: Look at the Dashboard. If the score is > 45, look for Longs. If < -45, look for Shorts.
* Confirm with Volume: Ensure the "Volume Ratio" is at least > 1.2x (Green or Yellow) before entering a trend trade.
* The Exit: If you are in a long trade (Score > 45) and the score drops below +15 or the MACD Momentum changes to "Fading" (⚪), consider taking profits.
* The "Squeeze" Play: If you see the ⚡ icon, wait for the first candle to break the range with a rising Power Score to catch the start of a new move.
High/Low ARDR-ADR-WDRR-DDR V1Tracks the high and Low in 4 different tIme Frames
ARDR-ADR-WDRR-DDR
-You can set your own time frames
-Display lines or boxes
-Each line can have its own label
-Set own colors and linestyles
-Each box can also have their own lines at 75%, 50% and 25% of the box if that's needed
-Toggle wich session to display
-Toggle to auto extend untill Extended time
-Toggle to live update lines/boxes during live priceaction or to display the lines / boxes after the End Time
DDR lines have no history, so after 15:55 the DDR lines disappear and gets drawn again the next day starting at 04:00.
Happy Trading!!
Pivot Edge ProOverview
Smart Pivot Analytics is a highly accurate technical analysis tool designed to identify and validate significant price levels. Unlike standard pivot indicators that only mark recent highs, this tool backtests each identified pivot against thousands of historical candlesticks to calculate its real-world “success rate.”
Key Features
Historical Backtesting: The indicator scans up to 4,900 historical columns to find every instance where price interacted with a specific pivot level.
Strength Score (%): Each level is assigned a percentage score based on its reversal rate. It calculates how many times the price has successfully reached and rejected the level, providing a statistical “hit rate.”
Dynamic Hit Counter: Displays the exact number of times a level has been tested (hit), helping traders distinguish between new levels and established “old” levels.
Smart Filtering: To keep the chart clean, the indicator automatically filters out weak levels and prevents “clutter” by merging levels that are too close together.
Infinite Left Projection: Lines extend left to infinity, allowing traders to see the historical significance of a level across the entire price history at a glance.
How to Trade with It
Red Levels (High Power > 75%): These are “Top Reaction Zones”. Expect a strong price rejection or significant breakout when these levels are tested.
Orange Levels (Medium Power): Suitable for profit targets or as secondary confirmation for entering a trade.
Encounter: Use these levels in conjunction with your existing strategy. When a high power pivot aligns with your entry signal, the probability of a successful trade increases significantly.
Technical Parameters
Lookback Period: Defines how far back in history the script calculates power.
Touch Radius: The "sensitivity" of the level (how close the price has to get to be considered a "hit").
Minimum Strength: A filter to show only the most reliable levels.
Market Acceptance Zones [Interakktive]Market Acceptance Zones (MAZ) identifies statistical price acceptance — areas where the market reaches agreement and price rotates rather than trends.
Unlike traditional support/resistance tools, MAZ does not assume where price "should" react. Instead, it highlights regions where multiple internal conditions confirm balance: directional efficiency drops, effort approximately equals result, volatility contracts, and participation remains stable.
This is a market-state diagnostic tool, not a signal generator.
█ WHAT THE ZONES REPRESENT
MAZ (ATF) — Chart Timeframe Acceptance
A MAZ marks an area where price displayed rotational behaviour and the auction temporarily agreed on value. These zones often act as compression regions, fair-price areas, or boundaries of consolidation where impulsive follow-through is less likely.
Use ATF MAZs to:
- Identify rotational environments
- Avoid chasing price inside balance
- Frame consolidation prior to expansion
MAZ • HTF / MAZ • 2/3 — Multi-Timeframe Acceptance (AMTF)
When Multi-Timeframe mode is enabled, MAZ evaluates acceptance on:
- The chart timeframe
- Two higher structural timeframes
If the minimum consensus threshold is met (default: 2 of 3), the zone is classified as AMTF. These zones represent stronger agreement and typically decay more slowly than single-timeframe acceptance.
AMTF zones are structurally stronger and are useful for:
- Higher-quality rotation areas
- Pullback framing within trends
- Context alignment across timeframes
H • MAZ — Historic Acceptance Zones
Historic MAZs represent older acceptance that has transitioned out of active relevance. These zones are hidden by default and can be enabled to provide long-term memory context.
█ AUTO MULTI-TIMEFRAME LOGIC
When MTF Mode is set to Auto, MAZ uses a deterministic structural mapping based on the current chart timeframe:
- 5m → 15m + 1H
- 15m → 1H + 4H
- 1H → 4H + 1D
- 4H → 1D + 1W
- 1D → 1W + 1M
This ensures consistent higher-timeframe context without manual configuration. Advanced users may switch to Manual mode to define custom timeframes.
█ ZONE LIFECYCLE
MAZ zones are dynamic and maintain an internal lifecycle:
- Active — Acceptance remains relevant
- Aging — Acceptance quality is degrading
- Historic — Retained only for memory context
Zones track price interaction and re-acceptance, which can stabilise or strengthen them. Weak or stale zones are automatically removed to keep the chart clean.
█ HOW TRADERS USE MAZ
MAZ is designed to provide structure, not entries.
Common applications include:
- Avoiding chop when price is inside acceptance
- Framing expansion after clean breaks from MAZ
- Identifying higher-quality rotational pullbacks (AMTF zones)
- Defining objective invalidation using zone boundaries
█ SETTINGS OVERVIEW
Market Acceptance Zones — Core
- Acceptance Lookback
- ATR Length
- Zone Frequency (Conservative / Balanced / Aggressive)
Market Acceptance Zones — Zones
- Maximum Zones
- Fade & Stale Bars
- Historic Zone Visibility (default OFF)
Market Acceptance Zones — Timeframes
- MTF Mode (Off / Auto / Manual)
- Manual Higher Timeframes
- Minimum Consensus Requirement
Market Acceptance Zones — Visuals
- Neon / Muted Theme
- Zone Labels & Consensus Detail
- Optional Midline Display
█ DISCLAIMER
This indicator is a market context and diagnostic tool only.
It does not generate trade signals, entries, or exits.
Past acceptance behaviour does not guarantee future price action.
Always combine with independent analysis and proper risk management.
TICK.US Dashboard 5mIt's a very simple script, It displays the TICK.US Timeframe 5 mn on your template
RSI Ladder TP Strategy v1.0 Overview
This strategy is an RSI-based reversal entry system with a ladder-style take-profit mechanism.
It supports Long-only, Short-only, or Both directions and provides optional Average Entry Price, Stop Loss, and Take Profit reference lines on the chart.
Entry Rules
Long Entry: RSI crosses above the Oversold level (default: 20).
Short Entry: RSI crosses below the Overbought level (default: 80).
Optional: If enabled, the script will close the current position when an opposite signal appears before opening a new one.
Exit Rules (Ladder Take Profit)
Take profit is placed as a ladder using tpLevels and tpStepPct.
Example (default tpStepPct = 1%, tpLevels = 10):
TP1 at +1%, TP2 at +2%, … TP10 at +10% (relative to current average entry price).
Each TP level closes tpClosePct of the remaining position, meaning it scales out geometrically:
If tpClosePct = 50% → remaining position becomes 50%, then 25%, then 12.5%, etc.
Stop Loss
Optional stop loss is placed at slPct (%) away from the average entry price:
Long: avg * (1 - slPct%)
Short: avg * (1 + slPct%)
Visual Lines
Average Entry Price Line: current strategy.position_avg_price
Stop Loss Line: based on slPct
Next TP Line: shows the estimated next TP level based on current profit%
All TP Lines: optional (can clutter the chart)
==============================================================
Recommended Use
This strategy is best used on markets with strong mean-reversion behavior.
For exchanges/bots that do not support hedge mode in a single strategy, run two separate instances:
One set to Long Only
One set to Short Only






















