Williams Fractals / Goldilocks Edition / [NPR21]This indicator, Williams Fractals — Goldilocks Edition , is a high-visibility technical analysis tool designed to identify key price reversal points on your chart. It is a refined version of the classic Williams Fractal, optimized for modern dark-themed trading environments with an emphasis on clarity and precise visual anchoring.
Indicator Description
The indicator identifies local price peaks (Highs) and valleys (Lows) using a specific look-back and look-forward period. Unlike standard fractals that can be difficult to read, this version features:
Enhanced Contrast: Darkened background labels (Deep Teal for Buy, Deep Red for Sell) that make the white and yellow text highly legible.
Long "V" Stems: Integrated arrow extensions that bridge the gap between the label and the candle, pointing precisely to the pivot point to remove any ambiguity during high volatility.
Customizable Spacing: User-defined offsets that allow the labels to sit comfortably above or below price action without overlapping other indicators.
How to Use It
Identify Reversals: A BUY signal appears under a local low, suggesting a potential upward move. A SELL signal appears above a local high, suggesting a potential downward move.
Support & Resistance: Use the fractal points to draw horizontal support and resistance lines.
Trend Confirmation: Fractals are most effective when used in conjunction with other indicators (like the EMA or WMA visible in your setup) to confirm trend direction.
Wait for Confirmation: Remember that a fractal is only "confirmed" after $n$ bars have closed to the right of the signal.
Understanding the "Periods (n)" Setting
The frequency of signals is entirely dependent on your Periods (n) input.
Lower Values (e.g., n=2): The indicator will find many local pivots, resulting in more frequent signals. This is useful for scalping or lower timeframes but may lead to more "noise".
Higher Values (e.g., n=5 or 10): The indicator requires a more significant peak or valley to trigger, resulting in fewer, more significant signals. This is better for identifying major trend shifts.
Indikator dan strategi
spy scalp cheat codecombines hma directional scalping strategy plus the option to use optional stochastic quad band to confrim entry
Liquidity Maxing [JOAT]Liquidity Maxing - Institutional Liquidity Matrix
Introduction
Liquidity Maxing is an open-source strategy for TradingView built around institutional market structure concepts. It identifies structural shifts, evaluates trades through multi-factor confluence, and implements layered risk controls.
The strategy is designed for swing trading on 4-hour timeframes, focusing on how institutional order flow manifests in price action through structure breaks, inducements, and liquidity sweeps.
Core Functionality
Liquidity Maxing performs three primary functions:
Tracks market structure to identify when control shifts between buyers and sellers
Scores potential trades using an eight-factor confluence system
Manages position sizing and risk exposure dynamically based on volatility and user-defined limits
The goal is selective trading when multiple conditions align, rather than frequent entries.
Market Structure Engine
The structure engine tracks three key events:
Break of Structure (BOS): Price pushes beyond a prior pivot in the direction of trend
Change of Character (CHoCH): Control flips from bullish to bearish or vice versa
Inducement Sweeps (IDM): Market briefly runs stops against trend before moving in the real direction
The structure module continuously updates strong highs and lows, labeling structural shifts visually. IDM markers are optional and disabled by default to maintain chart clarity.
The trade engine requires valid structure alignment before considering entries. No structure, no trade.
Eight-Factor Confluence System
Instead of relying on a single indicator, Liquidity Maxing uses an eight-factor scoring system:
Structure alignment with current trend
RSI within healthy bands (different ranges for up and down trends)
MACD momentum agreement with direction
Volume above adaptive baseline
Price relative to main trend EMA
Session and weekend filter (configurable)
Volatility expansion/contraction via ATR shifts
Higher-timeframe EMA confirmation
Each factor contributes one point to the confluence score. The default minimum confluence threshold is 6 out of 8, but you can adjust this from 1-8 based on your preference for trade frequency versus selectivity.
Only when structure and confluence agree does the strategy proceed to risk evaluation.
Dynamic Risk Management
Risk controls are implemented in multiple layers:
ATR-based stops and targets with configurable risk-to-reward ratio (default 2:1)
Volatility-adjusted position sizing to maintain consistent risk per trade as ranges expand or compress
Daily and weekly risk budgets that halt new entries once thresholds are reached
Correlation cooldown to prevent clustered trades in the same direction
Global circuit breaker with maximum drawdown limit and emergency kill switch
If any guardrail is breached, the strategy will not open new positions. The dashboard clearly displays risk state for transparency.
Market Presets
The strategy includes configuration presets optimized for different market types:
Crypto (BTC/ETH): RSI bands 70/30, volume multiplier 1.2, enhanced ATR scaling
Forex Majors: RSI bands 75/25, volume multiplier 1.5
Indices (SPY/QQQ): RSI bands 70/30, volume multiplier 1.3
Custom: Default values for user customization
For crypto assets, the strategy automatically applies ATR volatility scaling to account for higher volatility characteristics.
Monitoring and Dashboards
The strategy includes optional monitoring layers:
Risk Operations Dashboard (top-right):
Trend state
Confluence score
ATR value
Current position size percentage
Global drawdown
Daily and weekly risk consumption
Correlation guard state
Alert mode status
Performance Console (top-left):
Net profit
Current equity
Win rate percentage
Average trade value
Sharpe-style ratio (rolling 50-bar window)
Profit factor
Open trade count
Optional risk tint on chart background provides visual indication of "safe to trade" versus "halted" state.
All visualization elements can be toggled on/off from the inputs for clean chart viewing or full telemetry during parameter tuning.
Alerts and Automation
The strategy supports alert integration with two formats:
Standard alerts: Human-readable messages for long, short, and risk-halt conditions
Webhook format: JSON-formatted payloads ready for external execution systems (optional)
Alert messages are predictable and unambiguous, suitable for manual review or automated forwarding to execution engines.
Built-in Validation Suite
The strategy includes an optional validation layer that can be enabled from inputs. It checks:
Internal consistency of structure and confluence metrics
Sanity and ordering of risk parameters
Position sizing compliance with user-defined floors and caps
This validation is optional and not required for trading, but provides transparency into system operation during development or troubleshooting.
Strategy Parameters
Market Presets:
Configuration Preset: Choose between Crypto (BTC/ETH), Forex Majors, Indices (SPY/QQQ), or Custom
Market Structure Architecture:
Pivot Length: Default 5 bars
Filter by Inducement (IDM): Default enabled
Visualize Structure: Default enabled
Structure Lookback: Default 50 bars
Risk & Capital Preservation:
Risk:Reward Ratio: Default 2.0
ATR Period: Default 14
ATR Multiplier (Stop): Default 2.0
Max Drawdown Circuit Breaker: Default 10%
Risk per Trade (% Equity): Default 1.5%
Daily Risk Limit: Default 6%
Weekly Risk Limit: Default 12%
Min Position Size (% Equity): Default 0.25%
Max Position Size (% Equity): Default 5%
Correlation Cooldown (bars): Default 3
Emergency Kill Switch: Default disabled
Signal Confluence:
RSI Length: Default 14
Trend EMA: Default 200
HTF Confirmation TF: Default Daily
Allow Weekend Trading: Default enabled
Minimum Confluence Score (0-8): Default 6
Backtesting Considerations
When backtesting this strategy, consider the following:
Commission: Default 0.05% (adjustable in strategy settings)
Initial Capital: Default $100,000 (adjustable)
Position Sizing: Uses percentage of equity (default 2% per trade)
Timeframe: Optimized for 4-hour charts, though can be tested on other timeframes
Results will vary significantly based on:
Market conditions and volatility regimes
Parameter settings, especially confluence threshold
Risk limit configuration
Symbol characteristics (crypto vs forex vs equities)
Past performance does not guarantee future results. Win rate, profit factor, and other metrics should be evaluated in context of drawdown periods, trade frequency, and market conditions.
How to Use This Strategy
This is a framework that requires understanding and parameter tuning, not a one-size-fits-all solution.
Recommended workflow:
Start on 4-hour timeframe with default parameters and appropriate market preset
Run backtests and study performance console metrics: focus on drawdown behavior, win rate, profit factor, and trade frequency
Adjust confluence threshold to match your risk appetite—higher thresholds mean fewer but more selective trades
Set realistic daily and weekly risk budgets appropriate for your account size and risk tolerance
Consider ATR multiplier adjustments based on market volatility characteristics
Only connect alerts or automation after thorough testing and parameter validation
Treat this as a risk framework with an integrated entry engine, not merely an entry signal generator. The risk controls are as important as the trade signals.
Strategy Limitations
Designed for swing trading timeframes; may not perform optimally on very short timeframes
Requires sufficient market structure to identify pivots; may struggle in choppy or low-volatility environments
Crypto markets require different parameter tuning than traditional markets
Risk limits may prevent entries during favorable setups if daily/weekly budgets are exhausted
Correlation cooldown may delay entries that would otherwise be valid
Backtesting results depend on data quality and may not reflect live trading with slippage
Design Philosophy
Many indicators tell you when price crossed a moving average or RSI left oversold. This strategy addresses questions institutional traders ask:
Who is in control of the market right now?
Is this move structurally significant or just noise?
Do I want to add more risk given what I've already done today/week?
If I'm wrong, exactly how painful can this be?
The strategy provides disciplined, repeatable answers to these questions through systematic structure analysis, confluence filtering, and multi-layer risk management.
Technical Implementation
The strategy uses Pine Script v6 with:
Custom types for structure, confluence, and risk state management
Functional programming approach for reusable calculations
State management through persistent variables
Optional visual elements that can be toggled independently
The code is open-source and can be modified to suit individual needs. All important logic is visible in the source code.
Disclaimer
This script is provided for educational and informational purposes only. It is not intended as financial, investment, trading, or any other type of advice or recommendation. Trading involves substantial risk of loss and is not suitable for all investors. Past performance, whether real or indicated by historical tests of strategies, is not indicative of future results.
No representation is being made that any account will or is likely to achieve profits or losses similar to those shown. In fact, there are frequently sharp differences between backtested results and actual results subsequently achieved by any particular trading strategy.
The user should be aware of the risks involved in trading and should trade only with risk capital. The authors and publishers of this script are not responsible for any losses or damages, including without limitation, any loss of profit, which may arise directly or indirectly from use of or reliance on this script.
This strategy uses technical analysis methods and indicators that are not guaranteed to be accurate or profitable. Market conditions change, and strategies that worked in the past may not work in the future. Users should thoroughly test any strategy in a paper trading environment before risking real capital.
Commission and slippage settings in backtests may not accurately reflect live trading conditions. Real trading results will vary based on execution quality, market liquidity, and other factors not captured in backtesting.
The user assumes full responsibility for all trading decisions made using this script. Always consult with a qualified financial advisor before making investment decisions.
Enjoy - officialjackofalltrades
Mystic Pulse V2.0 Optimized Long [CHE]credits to youtuber : youtu.be
Key Insights
Strategy outperforms buy & hold BTC by 245%
Only 1 losing year (2022 bear market: -18.45%)
Average win (+19.24%) is 4.2× larger than average loss (-4.57%)
No repainting - all signals confirmed at bar close
The strategy file is ready to copy into TradingView. Apply it to BTCUSD 1D with the settings specified (100% equity, 0.1% commission, 1 tick slippag
Linear Regression ChannelsThis indicator dynamically identifies and plots the best-fit linear regression channels based on recent pivot points, optimizing for statistical strength across user-defined depths.
How It Works (Technical Methodology)
1. Pivot Point Detection
The indicator uses Pine Script's ta.pivothigh() and ta.pivotlow() functions with a configurable sensitivity length to detect swing highs and lows. All recent pivot indices are stored in an array (limited to avoid performance issues), providing potential starting points for regression calculations.
2. Multi-Depth Evaluation
Users input comma-separated "Pivot History Depths" (e.g., "5,20,50"). For each depth:
- The script evaluates regression fits starting from the most recent pivots, up to the specified depth count.
- It calculates linear regression statistics for each possible channel originating from those pivot bars backward to the current bar.
3. Linear Regression Calculation
For each candidate channel:
- Slope (m) and intercept (b) are computed using least-squares method.
- R-squared (R²) measures goodness of fit (how well price follows the trend line).
- Standard error of the estimate is calculated to quantify volatility around the regression line.
- A composite score = R² × log(length) prioritizes stronger fits on longer periods.
4. Best-Fit Selection and Validation
- Only channels with R² ≥ user-defined minimum (default 0.5) are considered valid.
- The channel with the highest score for each depth is selected and drawn.
- This ensures the most statistically significant and relevant channels are displayed, avoiding weak or short-term noise.
5. Channel Construction
- Mean Line: The regression trend line extended slightly into the future.
- Inner Channels: ± user-configurable standard deviation multiplier (default 2.0σ) around the mean.
- Outer Bands: ±1.5× the inner deviation for additional visual context.
- Filled areas between mean and inner channels for better visibility.
- Color: Green shades for upward slopes (bullish trend), red shades for downward slopes (bearish trend).
6. Dashboard and Statistics
- Optional table in the top-right corner displays for each depth:
- Depth value
- R² (colored green if >0.7, orange otherwise)
- Slope (Beta) – positive blue for uptrend, red for downtrend
- Current Z-Score: How many standard deviations the latest close is from the expected regression value (yellow if |Z| > 2)
How to Use
Regression channels help identify trending markets, potential mean reversion, and overextension.
- Upward Channels (Green): Price above the mean may indicate strength; pullbacks to the mean or lower band offer long opportunities. Overextension above upper band could signal exhaustion.
- Downward Channels (Red): Price below the mean may indicate weakness; rallies to the mean or upper band offer short opportunities. Overextension below lower band could signal capitulation.
- High R² (>0.7): Strong trending channel – trade in direction of slope.
- Low R²: Choppy/range-bound market – avoid trend-following trades.
- Z-Score: |Z| > 2 suggests price is statistically overextended from the trend (potential reversion setup).
- Multi-Depth: Smaller depths catch short-term trends; larger depths capture major trends. Use multiple for confluence across timeframes.
Combine with volume, support/resistance, or other indicators for confirmation.
Disclaimer
This indicator is a technical analysis tool and should be used in conjunction with other forms of analysis. Past performance does not guarantee future results. Always use proper risk management.
Interest ZonesThis indicator automatically identifies and plots "Interest Zones" around significant pivot highs and lows, representing potential areas of institutional interest, support/resistance, or accumulation/distribution. Zones are dynamically merged when pivots cluster near the same price level and extended for visibility.
How It Works (Technical Methodology)
Pivot Point Detection
The indicator uses Pine Script's ta.pivothigh() and ta.pivotlow() with asymmetric left/right lengths (default left=20, right=13) to detect swing highs and lows. This allows for customizable sensitivity – longer left for stronger confirmation, shorter right for faster detection.
Zone Start Condition (Filtering)
Multiple modes control from which point in history zones begin to be drawn:
"None": All historical pivots (limited by max zones).
"Auto (Start of Day)": Zones only from the beginning of the current trading day (resets daily).
"Manual Date": User-defined fixed date.
"Interactive (Chart)": User-confirmed date via input (useful for backtesting specific periods).
"Last X Bars": Only pivots within the last user-defined number of bars (default 400).
A vertical line marks the start point in date-based modes for visual reference.
Zone Construction
For each valid pivot:
Zone thickness is based on ATR(14) × user-defined multiplier (default 0.3) for dynamic, volatility-adjusted height.
Pivot High zones: Centered below the high (potential supply/resistance).
Pivot Low zones: Centered above the low (potential demand/support).
Zones are drawn as boxes extending to the right, with gray fill and border.
Merge & Overlap Logic
When a new pivot falls inside an existing zone or is very close (within user-defined "Proximity Sensitivity %" of the zone's midpoint, default 1.1%):
The new pivot is merged into the existing zone.
A counter ("x2", "x3", etc.) is displayed on the zone, indicating how many pivots have clustered there.
The zone is strengthened visually (counter text) and extended further right.
This highlights high-interest levels where price repeatedly reversed.
Zone Management
In "None" mode: Only the most recent user-defined max zones are kept (default 5) – oldest deleted automatically.
In other modes: Up to ~490 zones (performance limit), oldest pruned if exceeded.
All zones auto-extend to the right on the last bar for continuous visibility.
Visual Elements
Uniform gray color for all zones (configurable).
Transparent background fill (adjustable).
Counter text in white (configurable) when zones have multiple touches.
Clean, non-directional design – focuses purely on clustered reversal points.
How to Use
Interest Zones highlight price levels where the market has shown repeated respect through multiple swing pivots – often coinciding with institutional order clusters, psychological levels, or hidden support/resistance.
Higher counter values ("x3+", "x5+"): Stronger zones – higher probability of reaction on retest.
Use for:
Potential reversal or bounce areas when price approaches a zone.
Confluence with other tools (order blocks, FVG, volume profile, etc.).
Stop-loss placement beyond zones or take-profit at opposite zones.
Daily reset ("Auto Start of Day"): Ideal for intraday trading – fresh zones each session.
Backtesting: Use "Manual" or "Interactive" date modes to analyze specific historical periods.
"Last X Bars": Good for medium-term swing analysis without full history clutter.
Adjust ATR multiplier for tighter (lower) or wider (higher) zones based on asset volatility. Increase proximity sensitivity for more aggressive merging in ranging markets.
Combine with trend direction, volume, or higher-timeframe structure for best results.
Disclaimer
This indicator is a technical analysis tool and should be used in conjunction with other forms of analysis. Past performance does not guarantee future results. Always use proper risk management.
Early Trend Warning Using MTF AnalysisAs an active trader and software professional, I build my own indicators. I built this one today which I want to share with fellow traders.
If you are a trend trader then HTF/MTF analysis is very critical. It is virtually impossible to constantly track multiple tickers all the time. One should not take a buy trade when MTF is bearish and vice versa. This indicator solves this problem.
The EMA Trend Warning indicator helps traders detect potential trend changes early by analyzing price interactions with multi-timeframe Exponential Moving Averages (EMAs) and their momentum. It sends instant alerts when price crosses above or below EMAs with supporting momentum, making it easier to capture bullish or bearish moves.
The EMA Trend Warning indicator detects potential trend changes by monitoring price against 14-period EMAs on multiple timeframes: 15-minute, 30-minute, and 1-hour charts. It sends alerts when the price crosses above or below the EMA with supporting momentum, helping traders identify early bullish or bearish signals.
How It Works:
1. Calculates 14-period EMA on 15m, 30m, and 1H charts.
2. Computes EMA slopes to determine momentum direction.
3. BUY alert triggers when price crosses above the 15m EMA and at least one EMA slope is upward.
4. SELL alert triggers when price crosses below the 15m EMA and at least one EMA slope is downward.
5. Alerts fire once per bar and track previous state to avoid repeated notifications.
Features:
1. Multi-timeframe EMA monitoring.
2. Momentum confirmation with EMA slopes.
3. Instant BUY/SELL alerts.
4. Tracks previous trend state to prevent alert spam.
Benefits:
1. Detects trend changes early for better entry timing.
2. Confirms trend across multiple timeframes.
3. Saves time with automated alerts.
4. Helps traders align trades with market momentum.
Please consider this indicator as EARLY WARNING ONLY. Take trade based on multiple confluences post receiving any warning. I have tested it on BTCUSD since yesterday, multiple warning alerts were 100% perfect.
SpectreSPECTRE - Precision Reversal Detection System
OVERVIEW
Spectre is a channel breakout indicator designed to identify high-probability reversal points by combining Donchian channel breaches with momentum confirmation. It generates BUY signals at oversold extremes and SELL signals at overbought extremes, filtered by trend strength to avoid low-conviction setups.
This indicator replaces the Regime Engine, which will continue to evolve independently as an experimental platform for testing new strategies and enhancements. Spectre was selected as the production replacement based on extensive backtesting across multiple assets and timeframes, which demonstrated superior win rates compared to alternative sell logic approaches (RSI-based exits outperformed CMO-based exits in 13 of 18 test configurations).
SIGNAL LOGIC
BUY CONDITIONS (all must be true):
Price touches or breaks below Donchian lower band
RSI is at or below oversold threshold (default: 35)
ADX confirms sufficient trend strength (default: ≥22)
BBWP confirms adequate volatility (default: ≥20%)
Cooldown period has elapsed since last buy
Cascade limit not reached
SELL CONDITIONS (all must be true):
Price touches or breaks above Donchian upper band
RSI is at or above overbought threshold (default: 70)
ADX confirms sufficient trend strength (default: ≥22)
BBWP confirms adequate volatility (default: ≥20%)
Cooldown period has elapsed since last sell
Cascade limit not reached
Price is not underwater (if protection enabled)
KEY FEATURES
NON-REPAINTING DONCHIAN CHANNELS
Uses previous bar's high/low extremes to prevent signal repainting. What you see in history is what you would have seen in real-time.
MULTI-FACTOR CONFIRMATION
Signals require agreement between price action (Donchian), momentum (RSI), and trend strength (ADX) to filter out low-quality setups.
VOLATILITY FILTER (BBWP)
Bollinger Band Width Percentile measures current volatility relative to historical norms. Low BBWP indicates compressed ranges where breakouts are less reliable - signals are blocked until volatility returns.
CASCADE PROTECTION
Limits consecutive signals in the same direction to prevent overexposure during extended trends. Resets when a signal fires in the opposite direction.
UNDERWATER PROTECTION (Unique to Spectre)
Tracks average entry price of recent buys and blocks sell signals when price has fallen significantly below this level. This prevents locking in large losses during drawdowns and allows positions to recover before exiting.
REGIME DETECTION
Visual background shading indicates current market regime based on Directional Indicator spread and On-Balance Volume trend. Green indicates bullish regime (+DI > -DI, OBV rising). Red indicates bearish regime (-DI > +DI, OBV falling). White/Gray indicates neutral or ranging conditions.
RECOMMENDED SETTINGS BY TIMEFRAME
For 5-minute charts, use RSI Buy 30-35, RSI Sell 70-75, ADX 20-24.
For 15-minute charts, use RSI Buy 30-35, RSI Sell 68-72, ADX 22-26.
For 30-minute charts (default), use RSI Buy 32-38, RSI Sell 68-72, ADX 22-26.
For 1-hour charts, use RSI Buy 35-40, RSI Sell 65-70, ADX 20-24.
For 4-hour charts, use RSI Buy 35-40, RSI Sell 65-70, ADX 18-22.
These are starting points - optimize for your specific assets.
INFO PANEL GUIDE
Regime shows current market bias (Bullish/Bearish/Neutral). RSI shows current value with buy/sell threshold status. ADX shows trend strength categorized as Weak (<15), Range (15-24), Trend (24-34), or Strong (>34). BBWP shows volatility percentile with a warning symbol when below minimum. Donchian shows price position relative to channel bands. Avg Buy shows average entry price and underwater status. Cascade shows current consecutive signal counts versus limits.
USAGE TIPS
Works best in ranging or mean-reverting markets
Reduce RSI thresholds in strong trends (tighter = fewer signals)
Increase ADX minimum in choppy markets to filter noise
Enable underwater protection for swing trading, disable for scalping
Use regime background to contextualize signals (buy in green, sell in red)
Combine with support/resistance levels for additional confirmation
Daily Candle Bias Backtesting Stats @MaxMaserati This indicator, is a powerful backtesting and probability tool designed to quantify the "follow-through" of specific candle types across different market sessions.
It identifies specific price action setups and tracks whether price hits a "Target" (continuation) or an "Invalidation" (reversal) first, providing real-time win rates for your favorite sessions.
The Candle Bias Stats indicator automatically categorizes every candle based on the MMM candle bias and tracks their historical success rate. It calculates how often a candle's high/low is broken before its opposite end is touched. By breaking this data down into sessions (Asian, London, NY), it identifies high-probability "time-of-day" windows where specific price action setups are most reliable.
MMM CANDLE LOGIC
Bullish Expansion & Breakout Signatures
Bullish Body Close Plus (BuBC Plus): Represents strong bullish momentum where price closes above the previous high and near its own top, signaling that buyers are in complete control.
Bullish Body Close Minus (BuBC Minus): Indicates weak bullish momentum; while the price closes above the previous high, a long top wick shows sellers pushed back, suggesting a potential retest of the previous high.
Bearish Expansion & Breakout Signatures
Bearish Body Close Plus (BeBC Plus): A very strong bearish signal where price closes below the previous low and near its own bottom, indicating sellers are dominant.
Bearish Body Close Minus (BeBC Minus): Signifies weak bearish momentum; the price breaks the previous low but finishes with a long bottom wick as buyers push back, often leading to a retest of the old ceiling.
Bullish Reversal & Trap Signatures (Affinity)
Bullish Affinity Plus (BuAF Plus): A strong bullish reversal where a new low is made, but sellers hit a wall and get trapped, causing price to finish near its top with a long bottom wick.
Bullish Affinity Minus (BuAF Minus): A weak bullish bounce where a new low is made and price finishes back inside the previous range, but buyers lack the energy for a significant move.
Bearish Reversal & Trap Signatures (Affinity)
Bearish Affinity Plus (BeAF Plus): A strong bearish reversal; buyers are trapped after making a new high, and price finishes near its bottom with a long top wick.
Bearish Affinity Minus (BeAF Minus): A weak bearish drop where sellers stop the rise but lack the energy to push price significantly lower.
Neutral & Volatility Signatures
Close Inside Bullish (CI•BuAF): Bullish neutral state where price stays inside the previous candle’s range but finishes in the top half, indicating buyers are slightly more active.
Close Inside Bearish (CI•BeAF): Bearish neutral state where price remains inside the previous box and finishes in the bottom half.
Seek & Destroy Bullish (S&D•BuAF): Bullish volatility characterized by price moving above and below the previous candle before buyers win the battle and close price near the top.
Seek & Destroy Bearish (S&D•BeAF): Bearish volatility where sellers win a high-chaos battle, closing price near the bottom after sweeping both sides of the previous candle.
H4 CANDLE EXAMPLE
Deep Dive: Analysis of the 4H Statistics
The image presents a comprehensive backtest of 4,999 total candles from September 2022 to December 2025. Here is the breakdown of what the interface is telling us:
1. The Strategy: Target vs. Invalidation
The indicator tracks BuBC (Bullish Body Close) and BeBC (Bearish Body Close).
The Target: For a Bullish candle, the target is the High. For a Bearish candle, it is the Low.
The Invalidation: The opposite end of the candle (the Low for Bullish, the High for Bearish).
The Goal: To see which level is touched first in the subsequent bars.
2. Global Performance (The Top Right Table)
Looking at the BuBC (1402 samples) section:
Target First (67.8%): In nearly 7 out of 10 cases, once a 4H candle closes "bullish" (breaking the previous high), the price continues higher to break its own high before it ever returns to take out its own low.
Both Hit (17.7%): This is a critical metric. It represents "Stop Runs" or "Wicks" where price hits the target but also hits the invalidation within the same tracking period.
Efficiency (1.3 Bars): This tells us the "follow-through" is almost immediate. If the trade doesn't work within 1 or 2 candles, the statistical edge drops off significantly.
3. The Session Breakdown (The Bottom Left Table)
This is where the "Edge" is found. Not all hours of the day are created equal.
Asian Late (02:00-06:00) – The "Star" Performer: With a 72.9% Target rate, this is labeled "BEST." It has the lowest "Both%" (6.5%), meaning moves during these hours are incredibly "clean." If a setup forms here, price usually moves directly to the target without looking back.
London Open & Overlap (06:00-14:00): These sessions maintain a high win rate (approx. 70%). This suggests that the European session provides reliable trend continuation for the S&P 500.
NY Session (14:00-18:00) – The "Trap" Zone: This is labeled "WORST" for a reason. While the win rate is basically a coin flip (49.6%), the Both% spikes to 36.7%. This means that even if you are right about the direction, the market is highly likely to "sweep" your stop loss before going to the target. It is the most volatile and "fake-out" prone time for this specific setup.
Summary of the Data
The statistics show that the S&P 500 4H Candle Bias is a highly reliable trend-following indicator, provided you trade it at the right time.
The data suggests a clear three-step logic:
Directional Edge: Both Bullish and Bearish body closes have a natural ~67% probability of continuation.
Timing is Everything: Trading during the Late Asian and London sessions increases your probability of success to over 70% with very low risk of a "fake-out."
Risk Warning: Avoid "Body Close" breakout strategies during the NY Mid-day (14:00-18:00). The statistics prove that this window is dominated by "Seek and Destroy" price action, where price is mathematically likely to hit both your target and your stop, usually hitting the stop first.
Kijun Sen Standard Deviation | QuantLapse SystemsOverview
The Kijun Sen Standard Deviation indicator by QuantLapse Systems is a volatility-aware trend-following framework that combines the structural equilibrium of the Kijun Sen (基準線) with statistically adaptive standard deviation bands.
By anchoring trend detection to market structure and confirming direction through volatility expansion, the indicator delivers a cleaner, more reliable regime classification across varying market conditions.
Rather than reacting to short-term noise, the system focuses on identifying statistically justified trend phases , making it well-suited for disciplined, rule-based trading.
Technical Composition, Calculation, Key Components & Features
📌 Kijun Sen (基準線) – Structural Trend Baseline
Calculated as the midpoint between the highest high and lowest low over a user-defined period.
Represents market equilibrium and structural balance rather than short-term momentum.
Naturally adapts to expanding and contracting price ranges.
Provides a stable baseline for regime detection and volatility validation.
Acts as the anchor for deviation bands and persistent trend-state logic.
Unlike fast or reactive moving averages, the Kijun Sen emphasizes price structure and equilibrium , making it especially effective for higher-quality trend confirmation.
📌 Volatility Adjustment – Standard Deviation Bands
Standard deviation is calculated over a configurable lookback to measure current price dispersion.
Upper and lower envelopes are formed by applying a deviation multiplier to the Kijun Sen.
Band width expands during volatility surges and contracts during consolidation.
Creates proportional, volatility-aware thresholds instead of static offsets.
Visually represents market energy through expanding and compressing channels.
These adaptive bands ensure that trend signals only occur when volatility supports directional movement.
📌 Trend Signal & Regime Calculation
Bullish Trend is confirmed when price closes above the upper deviation band.
Bearish Trend is confirmed when price closes below the lower deviation band.
Once established, the trend state persists until an opposing volatility break occurs.
This persistence reduces whipsaws and improves regime stability.
Trend state is reinforced with color-coded lines, envelopes, and background shading.
This volatility-confirmed persistence model is visible in the chart, where trends remain intact through minor pullbacks and only flip on decisive expansion.
How It Works in Trading
✅ Volatility-Confirmed Trend Detection – Requires expansion beyond deviation bands.
✅ Noise Suppression – Filters low-energy price movement within volatility envelopes.
✅ Regime Persistence – Maintains trend state until statistical invalidation.
✅ Immediate Visual Context – Direction, strength, and transitions are clear at a glance.
Visual Representation
Trend signals are displayed directly on price using both line and background context:
🟢 Green / Teal Kijun & Envelope → Confirmed bullish regime.
🔴 Red / Pink Kijun & Envelope → Confirmed bearish regime.
Semi-transparent band fill visualizes volatility expansion and compression.
Buy and Sell labels appear only on confirmed regime transitions.
The lower panel includes:
Strategy equity curve based on trend exposure.
Buy & Hold equity for performance comparison.
Background regime shading synchronized with trend state.
Features and User Inputs
The Kijun Sen Standard Deviation framework offers a focused yet powerful set of configurable inputs:
Kijun Sen Length – Controls structural trend sensitivity.
Standard Deviation Controls – Adjust lookback length and multiplier for regime strictness.
Backtesting & Date Filters – Define evaluation periods and starting conditions.
Display Options – Toggle labels, equity curves, and background shading.
Color Customization – Fully configurable buy/sell colors for trends and equity curves.
These controls allow users to balance responsiveness, stability, and clarity without overfitting.
Practical Applications
The Kijun Sen Standard Deviation indicator is designed for traders who prioritize structure, volatility confirmation, and regime awareness.
Primary Trend Filtering – Identify and stay aligned with dominant market direction.
Volatility-Aware Trend Following – Participate only when price expansion confirms intent.
Risk-Managed Exposure – Avoid chop during compression and transitional phases.
Systematic Strategy Development – Use as a regime engine or higher-timeframe filter.
Performance Evaluation – Compare trend-following equity against buy-and-hold benchmarks.
This framework bridges classical Ichimoku structure with modern statistical validation.
Conclusion
The Kijun Sen Standard Deviation indicator by QuantLapse Systems represents a refined evolution of Ichimoku-based trend analysis.
By integrating the structural equilibrium of the Kijun Sen with adaptive standard deviation confirmation, the system delivers clearer regime classification, reduced noise, and more reliable trend participation.
Rather than attempting to predict price, it focuses on confirming when trends are statistically justified .
Who should use Kijun Sen Standard Deviation:
📊 Trend-Following Traders – Stay aligned with dominant market structure.
⚡ Momentum & Swing Traders – Enter only on volatility-backed expansions.
🤖 Systematic & Algorithmic Traders – Ideal as a regime filter or trend-state engine.
Past performance is not indicative of future results.
Disclaimer: All trading involves risk, and no indicator can guarantee profitability.
Strategic Advice: Always backtest thoroughly, optimize parameters responsibly, and align settings with your timeframe, asset class, and risk tolerance before live deployment.
Long Position (Manual Setup)BINANCE:BTCUSDT
This script is for long position setup manually....
Just enter the following data ......
1. higher entry price
2. lower entry price
3. stop loss price
4. targets ( up to 5 targets)
5- extra targets ( up to 3 extra targets)
then you will have the long position draw in the chart with the trade summary including risk and reward percentage.
cd_VW_Cx IMPROVED - Quant VWAP System: Regime, Magnets & Z-ScoQuant VWAP System: Regime, Magnets & Z-Score Matrix
This indicator is a comprehensive Quantitative Trading System designed to move beyond simple support and resistance. Instead of static lines, it uses Statistical Probability (Z-Score) and Standard Deviation to define the current market regime, identify institutional value zones, and project high-probability liquidity targets.
It is engineered for Day Traders and Scalpers (Crypto & Futures) who need to know if the market is Trending, Ranging, or preparing for a Breakout.
1. The "Regime" System (Standard Deviation Bands)
The core engine anchors a VWAP (Volume Weighted Average Price) to your chosen timeframe (Daily, Weekly, or Monthly) and projects volatility bands based on market variance.
The Trend Zone (Inner Band / 1.0 SD): This is the "Fair Value" zone. In a healthy trend, price will pull back into this zone and hold. A hold here signals a high-probability continuation (Trend Following).
The Reversion Zone (Outer Band / 2.0 SD): This represents a statistical extreme. Price rarely sustains movement beyond 2 Standard Deviations without a reversion. A touch of this band signals "Overbought" or "Oversold" conditions.
2. Liquidity Magnets (Virgin VWAPs)
The script automatically tracks "Unvisited VWAPs" from previous sessions. These are price levels where significant volume occurred but have not yet been re-tested.
The Logic: Algorithms often target these "open loops." The script visualizes them as Blue Dashed Lines with price tags.
Smart Scaling (Anti-Scrunch): Includes a custom "Ghost Engine" that automatically hides or "ghosts" magnets that are too far away. This prevents your chart from being squashed (scrunched) on lower timeframes, keeping your candles perfectly readable while still tracking targets in the background.
3. The Quant Matrix (Dashboard)
A real-time Heads-Up Display (HUD) that interprets the data for you:
Regime: Detects Volatility Squeezes. If the bands compress, it signals "⚠ SQUEEZE", warning you to stop mean-reversion trading and prepare for an explosive breakout.
Bias: Color-coded Trend Direction (Bullish/Bearish) based on VWAP slope.
Signal: actionable text prompts such as "BUY DIP" (Trend Following), "FADE EXT" (Mean Reversion), or "PREP BREAK" (Squeeze).
4. Visual Intelligence
Bold Day Separators: Clear, vertical dotted dividers with Date Stamps to instantly separate trading sessions.
Dynamic Labels: Floating labels on the right axis identify exactly which deviation level is which, preventing chart confusion.
How to Use
Strategy A: The Trend Pullback (continuation)
Check Matrix: Ensure Bias is BULLISH (Green).
Wait: Allow price to pull back into the Inner Band (Dark Green Zone).
Trigger: If price holds the Center VWAP or the -1.0 SD line, enter Long.
Target: The next Liquidity Magnet above or the +2.0 SD band.
Strategy B: The Reversion Fade (Counter-Trend)
Check Matrix: Ensure price is labeled "EXTREME" or Signal says "FADE EXT".
Trigger: Price touches or pierces the Outer Band (2.0 SD).
Action: Enter counter-trend (Short) with a target back to the Center VWAP (Mean Reversion).
Strategy C: The Magnet Target
Identify a "MAGNET" line (Blue Dashed) near current price.
These act as high-probability Take Profit levels. Price will often rush to these levels to "close the loop" before reversing.
Settings
Anchor: Daily (default), Weekly, or Monthly.
Magnet Focus Range: Adjusts how aggressively the script hides distant magnets to fix chart scaling (Default: 2%).
Visuals: Fully customizable colors, label sizes, and dashboard position.
Multi-Fractal Trading Plan [Gemini] v22Multi-Fractal Trading Plan
The Multi-Fractal Trading Plan is a quantitative market structure engine designed to filter noise and generate actionable daily strategies. Unlike standard auto-trendline indicators that clutter charts with irrelevant data, this system utilizes Fractal Geometry to categorize market liquidity into three institutional layers: Minor (Intraday), Medium (Swing), and Major (Institutional).
This tool functions as a Strategic Advisor, not just a drawing tool. It calculates the delta between price and structural pivots in real-time, alerting you when price enters high-probability "Hot Zones" and generating a live trading plan on your dashboard.
Core Features
1. Three-Tier Fractal Engine The algorithm tracks 15 distinct fractal lengths simultaneously, aggregating them into a clean hierarchy:
Minor Structure (Thin Lines): Captures high-frequency volatility for scalping.
Medium Structure (Medium Lines): Identifies significant swing points and intermediate targets.
Major Structure (Thick Lines): Maps the "Institutional" defense lines where trend reversals and major breakouts occur.
2. The Strategic Dashboard A dynamic data panel in the bottom-right eliminates analysis paralysis:
Floor & Ceiling Targets: Displays the precise price levels of the nearest Support and Resistance.
AI Logic Output: The script analyzes market conditions to generate a specific command, such as "WATCH FOR BREAKOUT", "Near Lows (Look Long?)", or "WAIT (No Setup)".
3. "Hot Zone" Detection Never miss a critical test of structure.
Dynamic Alerting: When price trades within 1% (adjustable) of a Major Trend Line, the indicator’s labels turn Bright Yellow and flash a warning (e.g., "⚠️ WATCH: MAJOR RES").
Focus: This visual cue highlights the exact moment execution is required, reducing screen fatigue.
4. The Quant Web & Markers
Pivot Validation: Deep blue fractal markers (▲/▼) identify the exact candles responsible for the structure.
Inter-Timeframe Web: Faint dotted lines connect Minor pivots directly to Major pivots, visualizing the "hidden" elasticity between short-term noise and long-term trend anchors.
5. Enterprise Stability Engine Engineered to solve the "Vertical Line" and "1970 Epoch" glitches common in Pine Script trend indicators. This engine is optimized for Futures (NQ/ES), Forex, and Crypto, ensuring stability across all timeframes (including gaps on ETH/RTH charts).
Operational Guide
Consult the Dashboard: Before executing, check the "Strategy" output. If it says "WAIT", the market is in chop. If it says "WATCH FOR BOUNCE", prepare your entry criteria.
Monitor Hot Zones: A Yellow Label indicates price is testing a major liquidity level. This is your signal to watch for a rejection wick or a high-volume breakout.
Utilize the Web: Use the faint web lines to find "confluence" where a short-term pullback aligns with a long-term trend line.
Configuration
Show History: Toggles "Ghost Lines" (Blue) to display historical structure and broken trends.
Fractal Points: Toggles the geometric pivot markers.
Hot Zone %: Adjusts the sensitivity of the Yellow Warning system (Default: 1%).
Max Line Length: A noise filter that removes stale or "spiderweb" lines that are no longer statistically relevant.
Quant VWAP System 3.8 This is the lower-indicator companion to the "Quant VWAP System." While the main chart tells you where the price is, this oscillator tells you how statistically significant the move is.
It uses a Z-Score algorithm to normalize price action. This means it ignores dollar amounts and instead measures how many Standard Deviations (SD) the price is away from its mean (VWAP). This allows you to instantly spot "Overbought" or "Oversold" conditions on any asset (Bitcoin, Forex, or Stocks) without needing to guess.
Key Features:
1. Normalized Extremes (The "Kill Zones")
±2.0 SD: These dotted lines represent statistical extremes. When the signal line crosses above +2.0, the asset is mathematically expensive (Overbought). When it crosses below -2.0, it is mathematically cheap (Oversold).
The Logic: Price rarely sustains movement beyond 2 Standard Deviations without a reversion or a pause.
2. The Squeeze Radar (Yellow Dots)
Volatility Detection: A row of Yellow Dots appearing on the center line indicates a "Squeeze."
What it means: The Standard Deviation bands are compressing. Energy is building.
Warning: DO NOT trade Mean Reversion when you see Yellow Dots. A squeeze often leads to a violent breakout. Wait for the dots to disappear to confirm the direction of the explosion.
3. Momentum Coloring
Green Line: Z-Score is rising (Bullish Momentum).
Red Line: Z-Score is falling (Bearish Momentum).
This helps you spot divergences (e.g., Price makes a Higher High, but the Oscillator makes a Lower High = Exhaustion).
How to Trade with It
Strategy A: The "Zero Bounce" (Trend Continuation)
Scenario: You are in a Bull Trend.
Signal: The Oscillator line pulls back to the Zero Line (White), turns Green, and curls upward.
Meaning: Price has tested the average (VWAP) and buyers have stepped in. This is a high-probability entry for trend continuation.
Strategy B: The "Extreme Fade" (Reversion)
Scenario: The Oscillator pushes deep into the Red Zone (+2.0 SD).
Signal: The line turns Red and crosses back down below the +2.0 dotted line. A small Red Triangle will appear.
Meaning: The statistical extension has failed, and price is likely snapping back to the mean.
Strategy C: Squeeze Breakout
Scenario: Yellow Dots appear on the center line.
Action: Stop trading. Wait.
Signal: The dots disappear, and the line shoots aggressively through +1.0 SD (Long) or -1.0 SD (Short). Ride the momentum.
Williams Fractals / Goldilocks [NPR21]📊 Williams Fractals — Goldilocks
Description
Williams Fractals — Goldilocks highlights confirmed swing highs and lows using a refined Williams Fractals approach that balances signal frequency and clarity. BUY and SELL labels mark structurally important pivot points while avoiding chart clutter. The Periods (n) setting controls how often signals appear—lower values produce more signals, higher values filter noise. Signals are non-repainting and work on any instrument and any timeframe. Best used as a market structure and confirmation tool.
🔧 How to Use (Quick Guide)
BUY labels = confirmed swing lows (potential support / pullback areas)
SELL labels = confirmed swing highs (potential resistance / exhaustion areas)
Use for structure and confirmation, not as a standalone entry system
Combine with trend direction, key levels, VWAP/EMAs, volume, or momentum
⏱️ Recommended Periods by Timeframe
The Periods (n) setting determines how many and how often labels print.
1m–3m (Scalping): n = 2
More frequent signals; captures short-term swings.
5m–15m (Intraday): n = 8-9
Balanced sensitivity; filters minor noise.
30m–1h+ (HTF/Swing): n = 15-21
Fewer, stronger pivots; highlights major structure.
Rule of thumb: Lower timeframe → lower n. Higher timeframe → higher n.
🌍 Markets & Timeframes
Not futures-only. Works well on stocks, ETFs, forex, crypto, indices, and any timeframe. Adjust n to match the market’s pace.
Elephant Edge Session Levels Predictor**Elephant Edge** is a robust trading tool designed to streamline decision-making for swing and intraday traders alike. It combines accuracy and simplicity to help you spot promising buy and sell signals with ease. The Session Levels Predictor+ feature draws upper and lower percentile lines derived from session data, enabling traders to pinpoint key support and resistance areas accurately. It computes these percentile projections from daily sessions automatically and displays them as sleek, adjustable lines—perfect for intraday and short-term strategies focused on statistical price boundaries.
For **swing traders**, Elephant Edge highlights pivotal market reversals and trend shifts, allowing you to seize bigger trends and maintain momentum. For **intraday traders**, it offers precise buy and sell thresholds, providing reliable entry and exit cues during active market hours.
No matter if you're chasing quick trades or sustaining positions over several sessions, Elephant Edge promotes a methodical and disciplined strategy. Its smart signals cut through market clutter, delivering a solid advantage while eliminating emotional biases.
With **Elephant Edge**, you shift from merely responding to the market to trading with **precision, assurance, and reliability**.
SMC Strategy Tool v1.0 - Institutional SuiteDescription: The SMC Strategy Tool v1.0 is a comprehensive technical analysis suite designed for traders following the Smart Money Concepts (SMC) methodology. It combines market structure, institutional liquidity zones, and mathematical pivots to provide a high-probability trading environment.
Key Features:
Automatic Market Structure: Real-time detection of CHoCH (Change of Character) and BOS (Break of Structure) based on price action confirmation.
Institutional Order Flow (FVG): Identifies Fair Value Gaps with a dynamic mitigation system (boxes disappear once the price fills the inefficiency).
Premium & Discount Zones: Automatically calculates the current trading range and highlights the "cheap" (Discount) and "expensive" (Premium) areas for optimal entry.
Daily Pivot Points: Seamless integration of Daily Pivots (P, R1-R3, S1-S3) for institutional confluence.
Live Analytics Dashboard: A clean, non-intrusive table monitoring Market Phase, RSI (Momentum), and ATR (Volatility).
Smart Alerts: Built-in logic for "Discount Entry" during Bullish trends and "Premium Entry" during Bearish trends.
How to Trade:
Identify the Trend: Look at the Dashboard for the current Market Phase (Bullish/Bearish).
Wait for Value: Do not chase the price. Wait for the price to return to the Discount Zone (for Longs) or Premium Zone (for Shorts).
Find Confluence: The highest probability trades occur when a Discount/Premium entry aligns with an FVG and a Daily Pivot level.
Confirmation: Check the RSI cell. If it's red/green, the move might be exhausted; wait for a neutral reading or a structural reaction.
Available Alerts:
Trend Shift (CHoCH): Get notified immediately when the market structure shifts (e.g., from Bearish to Bullish).
Trend Continuation (BOS): Signals when the current trend is confirmed by a new structural break.
Discount Zone Entry (Long Bias): Notifies you when the price enters the Discount Zone while the Market Phase is Bullish. This prevents FOMO buying at high prices.
Premium Zone Entry (Short Bias): Notifies you when the price enters the Premium Zone while the Market Phase is Bearish. This ensures you are selling at institutional "expensive" prices.
How to set up Alerts:
Click the Alerts icon in the right sidebar.
Under Condition, select: SMC Strategy Tool v1.0 - Institutional Suite.
Select "Any alert() function call" (or Qualsiasi chiamata alla funzione alert()).
Choose your preferred notification method (Popup, Email, or App notification).
The alert message will automatically include the Ticker, Timeframe, and the specific action to take!
Big Notional Volume Bubbles (Lower-TF Order Flow Approximation)Big Notional Volume Bubbles (Lower-TF Order Flow Approximation)
### Overview
This indicator visualizes large notional trading activity by scanning lower-timeframe candles inside each chart bar and highlighting periods where unusually high traded value (volume × price) occurs.
This script is intended to help short-term traders and scalpers identify bursts of aggressive activity, potential absorption zones, and areas of heightened participation, using standard OHLCV data.
Important: This indicator does not access true market order tape or DOM data. It is an approximation based on lower-timeframe OHLCV data provided by TradingView.
What the Indicator Shows
Each bubble represents a lower-timeframe candle where traded notional value exceeds a user-defined threshold.
Bubble size scales with the notional value of that candle.
Green bubbles indicate the lower-timeframe candle closed higher (buy-side pressure approximation).
Red bubbles indicate the lower-timeframe candle closed lower (sell-side pressure approximation).
Bubbles can be plotted at candle closes or wick extremes for contextual analysis.
How It Works
1. Lower-timeframe OHLCV data is requested using `request.security_lower_tf`.
2. Notional value is calculated as volume × price for each micro-candle.
3. The script selects the largest notional events per bar that exceed the minimum threshold.
4. These events are rendered as bubbles on the main price chart.
Intended Use Cases
Scalping and short-term trading
Momentum ignition and continuation analysis
Absorption and failed breakout detection
Effort versus result analysis
Confirmation at key structural levels
Recommended Settings
Lower timeframe: Start with 1 (1 minute). Seconds-based timeframes may not be supported on all feeds.
Minimum notional (USD/USDT):
BTC / ETH: 25,000 – 250,000
Mid-cap assets: 5,000 – 50,000
Adjust based on liquidity and volatility
Max bubbles per bar: 3–8 to avoid visual clutter
Limitations
This indicator does not display individual market orders or aggressor-side execution.
Buy/sell classification is inferred from candle direction, not bid/ask data.
Lower-timeframe data availability depends on the selected symbol and exchange feed.
This tool should not be used as a standalone signal generator.
Best Practices
Use in conjunction with market structure, VWAP, and key price levels.
Focus on price behavior after a bubble appears rather than the bubble itself.
Interpret bubbles as areas of interest, not directional guarantees.
SR Channel + EMA + RSI MTF + VolHighlight - Edited by MochiSR + Volume + RSI MTF – edited by Mochi
This indicator combines three tools into a single script:
SR Zones from Pivots
Automatically detects clusters of pivot highs/lows and groups them into support and resistance zones.
Zone width is tightened using a percentage of the pivot cluster range so levels are more precise and cleaner.
Each zone includes:
A colored box (SR area),
A dashed midline,
A POC line (price level with the highest traded volume inside the zone),
A label showing the zone price and distance (%) from current price.
Zone color is dynamic but simple and stable:
If price closes below the mid of the zone → it is treated as resistance (red).
If price closes above the mid of the zone → it is treated as support (green).
Box, lines, and label always share the same color.
Volume Inside the Zone + POC
Calculates buy/sell volume for candles whose close lies inside each zone.
Uses abs(buyVol − sellVol) / (buyVol + sellVol) to measure volume imbalance and control box opacity:
Stronger, more one‑sided volume → darker box (stronger zone).
POC is drawn as a thin line with the same color as the zone to highlight the best liquidity level for entries/TP.
Multi‑Timeframe RSI Dashboard
Shows RSI(14) values for multiple timeframes (1m, 5m, 15m, 30m, 1h, 4h, 8h, 1d), each can be toggled on/off.
Background color of each RSI cell:
RSI > 89 → red (strong overbought),
80–89 → orange (warning area),
RSI < 28 → lime (strong oversold),
Otherwise → white (neutral).
The goal of this script is to give traders a clear view of:
Key support/resistance zones,
Their volume quality and POC,
And multi‑TF overbought/oversold conditions via the RSI dashboard – all in one indicator to support retest/flip‑zone trading.
Impulse Trend Suite LITE🚀 Impulse Trend Suite LITE
Smart trend visualization with precise flip arrows. A lightweight, momentum-filtered trend tool designed to stay clean, avoid repeated signals, and keep you focused only on real market direction.
🔍 Quick Guide
BUY setup = green arrow + green background
SELL setup = red arrow + red background
Stay in the move while color doesn’t change
ATR channel helps avoid chasing overextended candles
Swing Elite Trend Direction [Free]Swing Elite Trend Direction
This indicator automatically identifies and labels market structure by detecting swing highs and swing lows, then classifying them as Higher Highs (HH), Higher Lows (HL), Lower Highs (LH), and Lower Lows (LL).
🔍 What It Does
The indicator uses a depth-based pivot detection algorithm to find significant swing points in price action. Each swing is then compared to the previous swing of the same type to determine the market structure:
HH (Higher High): Current swing high is above the previous swing high → bullish structure
HL (Higher Low): Current swing low is above the previous swing low → bullish structure
LH (Lower High): Current swing high is below the previous swing high → bearish structure
LL (Lower Low): Current swing low is below the previous swing low → bearish structure
📈 How To Use
Trend Identification:
Bullish trend is confirmed when you see HH followed by HL (or HL followed by HH)
Bearish trend is confirmed when you see LL followed by LH (or LH followed by LL)
The zigzag line color changes based on confirmed trend direction
Trade Setups:
In a bullish trend, look for pullbacks to HL areas for long entries
In a bearish trend, look for rallies to LH areas for short entries
Trend changes are signaled when structure breaks (e.g., bullish trend making a LL)
Depth Setting:
Higher depth values (e.g., 34-55) capture major swings for higher timeframe analysis
Lower depth values (e.g., 8-21) capture minor swings for shorter-term trading
Adjust based on your trading style and timeframe
Universal Moving Average🙏🏻 UMA (Universal Moving Average) represents the most natural and prolly ‘the’ final general universal entity for calculating rolling typical value for any type of time-series. Simply via different weighting schemes applied together, it encodes:
Location of each datapoint in corresponding fields (price, time, volume)
Informational relevance of each datapoint via using windowing functions that are fundamental in nature and go beyond DSP inventions & approximations
Innovation in state space (in our case = volatility)
The real beauty of this development: being simply a weighting scheme that can be applied to anything: be it weighted median , weighted quantile regression, or weighted KDE , or a simple weighted mean (like in this script). As long as a method accepts weights, you can harness the power of this entity. It means that final algorithmic complexity will match your initial tool.
As a moving ‘average’ it beats ALMA, KAMA, MAMA, VIDYA and all others because it is a simple and general entity, and all it does is encoding ‘all’ available information. I think that post might anger a lot of people, because lotta things will be realized as legacy and many paywalls gonna be ignored, specially for the followers of DSP cult, the ones who yet don’t understand that aggregated tick data is not a signal omg, it’s a completely different type of time series where your methods simply don’t fit even closely. I am also sorry to inform y’all, that spectral analysis is much closer to state-space methods in spirit than to DSP. But in fact DSP is cool and I love it, well for actual signals xD
...
Weights explained & how to use them: as I already said, the whole thing is based on combining different set of weights, and you can turn them on/off in script settings. Btw I've set em up defaults so you can use the thing on price data out of the box right away.
Price, Time, Volume weights: encode location of every datapoint in Price & TIme & Volume field
Howtouse: u have to disable one weight that corresponds to the field you apply UMA to. E.g if you apply UMA to prices, you turn off price weighting And turn on time and volume weighting. Or if you apply UMA to volume delta, you turn off volume weighting And turn on price and time weighting.
Higher prices are more important, this asymmetry is confirmed and even proved by the fact that prices can’t be negative (don’t even mention that incorrect rollover on CL contract in 2k20...).
Signal weights: encode actuality/importance/relevance of datapoints.
Howtouse: in DSP terms, it provides smoothing, but also compensates for the lag it introduces. This smoothness is useful if you use slope reversals for signal generation aka watching peaks and valleys in a moving average shape. It's also better to perturb smoothed outputs with this , this way you inject high freq content back, But in controlled way!
Signal = information.
The fundamental universal entity behind so-called “smoothing” in DSP has nothing to do with signals and goes eons beyond DSP. This is simply about measuring the relevance of data in time.
First, new datapoints need some time to be “embedded” into the timeline, you can think of it as time proof, kinda stuff needs time to be proved, accepted; while earliest datapoints lose relevance in time.
Second, along with the first notion, at the same time there’s the counter notion that simply weights new data more, acting as a counterweight from the down-weighting of the latest datapoints introduced by the first notion.
The first part can be represented as PDF of beta(2, 2) window (a set of weights in our case). It’s actually well known as the Welch window, that lives in between so called statistical and DSP worlds, emerges in multiple contexts. Mainstream DSP users tho mostly don’t use this one, they use primitive legacy windowing function, you can find all kinds on this wiki page.
Now the second part, where DSP adepts usually stop, is to introduce the second compensating windowing function. Instead they try to reduce window size, or introduce other kinds of volatility weights, do some tricks, but it ain’t provides obviously. The natural step here is to simply use the integral of the initial window; if the initial window is beta(2, 2) then what we simply need is CDF of beta(2, 2), in fact the vertically inverted shape of it aka survival function . That’s it bros. Simply as that.
When both of these are applied you have smth magical, your output becomes smooth and yet not lagging. No arbitrary windowing functions, tricks with data modification etc
Why beta(2, 2)? It naturally arises in many contexts, it’s based on one of the most fundamental functions in the universe: x^2. It has finite support. I can talk more bout it on request, but I am absolutely sure this is it.
^^ impulse response of the resulting weighs together (green) compared with uniform weights aka boxcar (red). Made with this script .
Weighing by state: encodes state-space innovation of each datapoint, basically magnitude of changes, strength of these changes, aka volatility.
Howtouse: this makes your moving average volatility aware in proper math ways. The influence of datapoints will be stronger when changes are stronger. This is weighting by innovations, or weighting by volatility by using squared returns.
Why squared returns? They encode state‑space innovations properly because the innovation of any continuous‑time semimartingale is about its quadratic variation, and quadratic variation is built from squared increments, not absolute increments.
Adaptive length is not the right way to introduce adaptivity by volatility xD. When you weight datapoints by squared returns you’re already dynamically varying ‘effective’ data size, you don’t need anything else.
...
It’s all good, progress happens, that’s how the Universe works, that's how Universal Moving Average works. Time to evolve. I might update other scripts with this complete weighting scheme, either by my own desire or your request.
...
∞
Gann VooDoo Lines [NPR21]GANN VooDoo Lines
Gann Square of 9 - TOS Scale Edition is a high-precision conversion of the classic ThinkOrSwim (TOS) Gann Square of 9 tool, specifically rebuilt for Pine Script v6. It is designed for traders who rely on mathematical price rotations to identify hidden support and resistance levels.
Unlike standard horizontal line tools, this version is specifically engineered to "handshake" with the TradingView price scale, ensuring that every mathematical rotation is clearly labeled on your Y-axis for instant reference.
How to Use This Script
Define Your Anchor Point:
Find a major swing high or swing low on your chart.
Open the script Settings (gear icon) and enter this value into the Manual Anchor Price field.
Select Market Direction:
Down (Support): Use this if your anchor is a Swing High. The script will calculate support levels below that price.
Up (Resistance): Use this if your anchor is a Swing Low. The script will calculate resistance levels above that price.
Adjust the Visual Scope:
Use the Extend Right and Extend Left toggles. If both are checked, the Gann levels will act as infinite "Voodoo Lines" across your entire chart history.
The "TOS Scale" Final Step (Crucial):
To see the colored price boxes on your vertical axis, Right-click the Price Scale (the numbers on the right of your chart).
Hover over Labels and ensure Indicator Value Labels is Checked.
IMPORTANT: Uncheck the option "No Overlapping Labels." Since Gann levels are mathematically precise, they can sometimes be close together; unchecking this forces TradingView to show every single level simultaneously, just like ThinkOrSwim.






















