Photon Price Action Scanner [JOAT]
Photon Price Action Scanner - Light Speed Edition
Overview
Photon Price Action Scanner is an open-source overlay indicator that detects and displays over 15 candlestick patterns with strength filtering, trend confirmation, and velocity analysis. It combines classic pattern recognition (engulfing, hammer, doji, morning/evening star) with advanced patterns (three soldiers/crows, tweezer tops/bottoms, island reversals) and gap analysis to provide comprehensive price action insights.
What This Indicator Does
The indicator detects and displays:
Classic Patterns - Bullish/Bearish Engulfing, Hammer, Shooting Star, Doji, Morning Star, Evening Star, Piercing Line, Dark Cloud Cover, Bullish/Bearish Harami
Advanced Patterns - Three White Soldiers, Three Black Crows, Tweezer Top/Bottom, Island Reversals
Gap Analysis - Detects gap up and gap down conditions
Velocity Confirmation - Filters signals by price velocity (rate of change)
Neural Bias Filter - Adaptive EMA-based trend filter with momentum adjustment
Pattern Strength - Volume and body size weighted strength calculation
How It Works
Each pattern has specific detection logic. For example, Bullish Engulfing:
isBullishEngulfing() =>
bool pattern = close < open and close > open and
open <= close and close >= open and
close - open > open - close
pattern
Three White Soldiers detection:
isThreeWhiteSoldiers() =>
bool pattern = close > open and close > open and close > open and
close < close and close < close and
open > open and open < close and
open > open and open < close
pattern
Pattern strength is calculated using volume and body size:
calculatePatternStrength(bool pattern, series float volume, simple int period) =>
float strength = 0.0
if pattern
float avgVol = ta.sma(volume, period)
float volRatio = avgVol > 0 ? volume / avgVol : 1.0
float bodySize = math.abs(close - open) / close
strength := (volRatio + bodySize * 100) / 2
strength
Neural bias filter uses adaptive EMA with momentum adjustment:
neuralEMA(series float src, simple int period, simple float lr) =>
var float neuralValue = na
var float momentum = 0.0
float error = src - neuralValue
float adjustment = error * lr
momentum := momentum * 0.9 + adjustment * 0.1
neuralValue := neuralValue + adjustment + momentum
neuralValue
Signal Generation
Signals are filtered by multiple criteria:
Strong Pattern: Pattern detected + strength exceeds threshold + trend alignment + neural bias confirmation + velocity confirmation (if enabled)
Ultra Pattern: Strong pattern + gap in same direction + velocity confirmation
Dashboard Panel (Bottom-Right)
Current Pattern - Name of detected pattern or NONE
Bull Strength - Bullish pattern strength score
Bear Strength - Bearish pattern strength score
Trend - Current trend direction (UPTREND/DOWNTREND/SIDEWAYS)
Signal Quality - STRONG BULL/STRONG BEAR/BULL/BEAR/NONE
Velocity - FAST BULL/FAST BEAR/NORMAL
Gap Status - GAP UP/GAP DOWN/NO GAP
Light Beam - Scanning intensity percentage
Action - Recommended action (ULTRA BUY/BUY/WATCH BUY/WAIT etc.)
Visual Elements
Pattern Labels - Abbreviated labels at pattern locations (BE, H, MS, SS, ES, etc.)
Neural Bias Line - Adaptive trend line
Gap Boxes - Cyan boxes highlighting gap zones
Action Zones - Dashed boxes around strong pattern areas
Light Beam - Oscillating area plot for visual scanning effect
Velocity Markers - Small circles indicating velocity confirmation
Ultra Signals - Large labels for highest conviction signals
Input Parameters
Scan Sensitivity (default: 1.0) - Overall detection sensitivity
Pattern Strength Filter (default: 3) - Minimum strength for strong signals
Trend Period (default: 20) - Period for trend determination
Show All Patterns (default: false) - Show all patterns regardless of strength
Advanced Patterns (default: true) - Enable soldiers/crows/tweezer detection
Gap Analysis (default: true) - Enable gap detection
Velocity Confirmation (default: true) - Require velocity confirmation
Neural Bias Filter (default: true) - Enable adaptive trend filter
Neural Period (default: 50) - Period for neural bias calculation
Neural Learning Rate (default: 0.12) - Adaptation speed for neural filter
Suggested Use Cases
Identify reversal patterns at key support/resistance levels
Use pattern strength to filter high-quality setups
Combine with trend direction for higher probability trades
Watch for ultra signals as highest conviction opportunities
Use gap analysis for momentum continuation or reversal setups
Timeframe Recommendations
Effective on 1H to Daily charts. Lower timeframes produce more patterns but with potentially lower reliability.
Limitations
Pattern detection is mechanical and does not consider broader context
Strength calculation is based on volume and body size, not pattern quality
Neural bias filter may lag during rapid trend changes
Gap detection requires clean price data
Open-Source and Disclaimer
This script is published as open-source under the Mozilla Public License 2.0 for educational purposes. It does not constitute financial advice. Pattern detection does not guarantee trade outcomes. Always use proper risk management.
- Made with passion by officialjackofalltrades
Análise de Tendência
cd_bias_profile_Cxcd_bias_profile Cx
Overview:
cd_bias_profile_Cx is an all-in-one professional analysis terminal designed to determine market direction (Bias) based on institutional trading strategies (SMC & ICT). This tool integrates multi-timeframe (MTF) data, institutional liquidity sweeps, SMT divergences, and candle closure confirmations into a single cohesive structure, providing traders with a comprehensive map of institutional Order Flow.
🚀 Advanced Hierarchical Profile Architecture
The indicator visualizes the market through a three-layered hierarchy (Major, Middle, Plot), allowing you to see exactly which higher-tier structure the current price action is serving.
• Smart Timeframe (Auto-TF) Logic: In "Auto" mode, the system automatically selects the most logical hierarchy based on your chart interval using the following sequence:
.
o Example Scenario: If your chart is set to 5-Minute (5m):
Major (Macro Structure): H4 (The outermost container candle)
Middle (Intermediate Structure): H1 (Mid-scale candle)
Plot (Local Structure): 15m (The smallest nested high-timeframe candle)
• Nested Candle Design: Each high-timeframe candle is rendered as transparent boxes with specific body colors, encapsulating the lower-tier price action (OHLC) within it.
• Cyclical Refresh: Profile drawings reset automatically at the opening of every new Major timeframe candle. This ensures the analysis remains focused on the freshest institutional cycle.
🧠 Bias Algorithm & Decision Mechanism
To eliminate subjective interpretation, the algorithm operates on a purely mathematical logic based solely on Candle Closures (Close). It generates three distinct outcomes:
1. Reversal:
o Condition 1: A liquidity Sweep must occur at the HTF level.
o Condition 2 (SMT Confirmation): If no sweep is detected on the primary pair, the algorithm automatically scans correlated assets (e.g., checking GBPUSD or DXY for an EURUSD trade). An SMT Divergence in a correlated asset is accepted as institutional manipulation confirmation.
o Final Trigger: Once a CISD (Change in State of Delivery) occurs on the Lower Timeframe (LTF), the "Reversal" bias is confirmed.
2. Continuation: When a high-timeframe candle closes convincingly above/below the previous candle's High or Low, the algorithm reports that the current trend maintains its strength.
3. Indeterminate: In "non-delivery" zones where the market neither sweeps liquidity nor creates a structural break, the algorithm remains neutral to prevent overtrading.
🚨 Alert Center
The alert system is designed for high-confluence setups, ensuring you never miss a structural shift:
• Flexible TF Selection: You can manually toggle which of the 5 tracked timeframes (1M, 1W, 1D, etc.) should trigger notifications based on your strategy.
• "Any of Them" Function: When enabled, an instant notification is sent the moment a "Reversal" or "Continuation" signal forms on any of your selected timeframes.
• Directional Filtering: You can filter alerts to receive only "Bullish" or only "Bearish" setups, allowing you to align with your primary macro bias.
⚙️ Pro Tips for Usage
• Invalidation Lines: The dashed lines on the chart indicate the exact price level where the institutional bias is "invalidated." These serve as professional-grade stop-loss levels.
• B-ADJ Support: For Futures traders, back-adjustment settings are optimized within the code for seamless data transition.
• Manual Mode: If you wish to use custom timeframes not found in the standard sequence (e.g., 2-hour or 3-day charts), you can define them via the "Manuel" settings toggle.
• High-probability trade setups can be expected when there is multi-timeframe alignment in the same direction.
• Strategic Use Cases: The indicator is optimized for trading Distribution Phases within advanced frameworks. Whether you are looking for the C3 candle in the Universal Model or the Distribution (D) phase in an AMD (Power of 3) setup, this tool provides the necessary structural confirmation.
• User Discretion: Please note that this is a directional bias tool. While it identifies which direction is supported by multi-timeframe alignment, the final execution and entry management on lower timeframes are the user's responsibility.
• Always remember to seek additional confluence before executing a trade.
Chart Visual
Profile Visual
Example (SMT Usage) : On the chart, while the 10:00 H1 candle on GBPUSD sweeps its previous candle's liquidity, its correlated pair EURUSD does not show a sweep. If the "Use SMT for Bias" option is enabled, this SMT divergence with the correlated pair is accepted as a valid HTF Sweep. Upon the new candle open, once a 5m CISD confirmation occurs on EURUSD, the Bias Table will display "Bearish" for the H1/5m row.
Entry examples:
Please feel free to share your feedback and suggestions in the comments below.
Happy trading!
Institutional Zone Detector [Scalping-Algo]█ OVERVIEW
The Institutional Zone Detector identifies key supply and demand zones where large market participants (institutions, banks, hedge funds) have likely placed significant orders. These zones often act as powerful support and resistance levels, making them strategic areas for trade entries and exits.
This indicator is non-repainting, meaning once a signal appears on your chart, it will never disappear or change position. What you see in backtesting is exactly what you would have seen in real-time.
█ CORE CONCEPT
Markets move when large players execute substantial orders. These orders leave footprints in the form of specific candlestick patterns:
Demand Zones (Bullish)
When institutions accumulate positions, we often see a bearish candle followed by a strong bullish sequence. The last bearish candle before this move marks the demand zone - an area where buying pressure overwhelmed sellers.
Supply Zones (Bearish)
When institutions distribute positions, we typically see a bullish candle followed by a strong bearish sequence. The last bullish candle before this move marks the supply zone - an area where selling pressure overwhelmed buyers.
Price has a tendency to revisit these zones, offering potential trade opportunities.
█ HOW IT WORKS
The indicator scans for:
1. A potential zone candle (bearish for demand, bullish for supply)
2. A sequence of consecutive candles in the opposite direction
3. Optional: A minimum percentage move to filter weak signals
When all conditions are met, the zone is marked on your chart with:
• Upper and lower boundaries (solid lines)
• Equilibrium/midpoint level (cross marker)
• Extended channel lines for easy visualization
█ SETTINGS
Consecutive Candles Required (Default: 5)
Number of same-direction candles needed after the zone candle to confirm the pattern. Higher values = fewer but stronger signals.
Minimum Move Threshold % (Default: 0.0)
Minimum percentage price movement required to validate a zone. Increase this to filter out weak moves and focus on significant institutional activity.
Display Full Candle Range (Default: Off)
• Off: Shows Open-to-Low for demand zones, Open-to-High for supply zones
• On: Shows complete High-to-Low range of the zone candle
Show Demand/Supply Zone Channel (Default: On)
Toggle extended horizontal lines that project the zone levels across your chart.
Visual Theme (Default: Dark)
Choose between Dark (white/blue) or Light (green/red) color schemes.
Show Statistics Panel (Default: Off)
Displays a floating panel with exact price levels of the most recent zones.
Display Info Tooltip (Default: Off)
Shows an information label with indicator documentation.
█ HOW TO USE
Entry Strategies
1. Zone Bounce (Mean Reversion)
• Wait for price to return to a previously identified zone
• Look for rejection candles (pin bars, engulfing patterns) at zone levels
• Enter in the direction of the original zone (long at demand, short at supply)
• Place stops beyond the zone boundary
2. Zone Break (Momentum)
• When price breaks through a zone with strong momentum
• The broken zone often becomes the opposite type (broken demand becomes supply)
• Use for trend continuation trades
3. Equilibrium Trades
• The midpoint (cross marker) often acts as a magnet for price
• Can be used as a first target or as an entry point for scaled positions
Risk Management
• Always place stop-loss orders beyond zone boundaries
• Consider the zone width when calculating position size
• Wider zones = wider stops = smaller position size
• Use the equilibrium level for partial profit taking
Best Practices
• Higher timeframes produce more reliable zones
• Zones on multiple timeframes (confluence) are stronger
• Fresh/untested zones are more powerful than zones that have been touched multiple times
• Combine with other analysis methods (trend direction, volume, market structure)
█ ALERTS
Two alert conditions are available:
• "Demand Zone Identified" - Triggers when a new demand zone is detected
• "Supply Zone Identified" - Triggers when a new supply zone is detected
To set up alerts: Click on the indicator name → Add Alert → Select condition
█ IMPORTANT NOTES
• This indicator is a tool for analysis, not a complete trading system
• Signals are NOT automatic buy/sell recommendations
• Always use proper risk management
• Past performance does not guarantee future results
• Works on all markets and timeframes
• Non-repainting: Signals appear only after bar close confirmation
█ ACKNOWLEDGMENTS
Inspired by institutional order flow concepts and smart money trading methodologies. Built with a focus on reliability and practical application.
Nested SMA WaveThe "Nested SMA Wave" is a custom Pine Script (v5) indicator for TradingView that overlays a series of 8 Simple Moving Averages (SMAs) on the price chart. These SMAs use exponentially increasing lengths based on powers of 2, starting from a user-defined base length (default: 25). This creates lengths like 25, 50, 100, 200, 400, 800, 1600, and 3200.
Each SMA is plotted in a distinct color, forming a "wave" of nested lines that fan out from short-term (faster, more responsive) to long-term (slower, smoother). Semi-transparent colored fills (shaded zones) are added between consecutive SMAs, with customizable toggles and transparency levels, creating layered visual bands that highlight the spaces between different trend timescales.
Use Cases
Multi-Timeframe Trend Visualization: The power-of-2 nesting approximates higher timeframe trends on lower timeframes without switching charts. Shorter SMAs react quickly to price changes, while longer ones show major trends, helping identify overall market structure at a glance.
Support/Resistance Identification: Price interacting with the SMA lines or shaded zones can act as dynamic support/resistance. Crossovers between nested SMAs signal potential momentum shifts.
Trend Strength and Alignment: When SMAs are widely spaced and aligned (e.g., all sloping up), it indicates strong trends. Converging or crossing SMAs suggest consolidation or reversals. The shaded zones add depth, making expansions/contractions in volatility or trend power visually obvious.
Ribbon-Style Trading: Similar to moving average ribbons, traders can look for price pulling back to inner zones for entries in the direction of the broader "wave," or use zone breaks for signals.
Customization for Different Assets/Timeframes: Adjust the base length (e.g., smaller for crypto volatility, larger for stocks) and toggle shades to reduce clutter.
This creates a visually rich, rainbow-like overlay that's particularly useful for trend-following strategies on any chart.
Seasonal Strategies V1Seasonal Strategies V1 is a rule-based futures seasonality framework built around predefined calendar windows per asset.
The strategy automatically detects the current symbol and activates long or short trading phases strictly based on historically observed seasonal tendencies. All entries and exits are fully time-based — no indicators, no predictions, no discretionary input.
Key Features
Asset-specific seasonal windows (MMDD-based)
Automatic long and short activation
Fully time-based entries and exits
One position at a time (no pyramiding)
Clean chart visualization using subtle background shading
No indicators, no filters, no curve fitting
Philosophy:
This strategy is designed as a structural trading tool, not a forecasting model.
It focuses on when a market historically shows seasonal tendencies — not why or how far price might move.
Seasonal Strategies V1 intentionally keeps the chart clean and minimal, making it suitable as a baseline framework for research, portfolio-style seasonal approaches, or further extensions in later versions.
Intended Use:
Futures and commodity markets
Seasonality research and testing
Systematic, calendar-driven strategies
Educational and analytical purposes
Disclaimer
This script is provided for educational and research purposes only.
Past seasonal tendencies do not guarantee future performance.
Risk management, position sizing, and portfolio decisions are the responsibility of the user.
Advanced Footprint Analysis1. ABSORPTION = BEST ENTRY SIGNALS
When BTC hits support and shows bullish absorption:
You know big money is buying
Price won't fall further (supply absorbed)
Risk/reward is optimal (tight stop below absorption)
Win rate on these setups is 70-80%
2. EXHAUSTION = REVERSAL TIMING
Catches exact moment selling/buying pressure is exhausted
No more guessing "is the dip over?"
Volume confirms the reversal
3. IMBALANCES = CONTINUATION TRADES
Stacked imbalances show trend strength
Enter pullbacks in strong trends
Avoid counter-trend trades when imbalance is strong
4. DELTA DIVERGENCE = EARLY WARNING
Cumulative delta rising but price flat = accumulation (buy setup)
Cumulative delta falling but price rising = distribution (sell setup)
This divergence appears BEFORE price moves
5. FILTERS OUT NOISE
Crypto has tons of fake volume and wash trading
By requiring volume to be significantly above average (2x, 3x), you ignore the noise
Only trade when institutions are active
6. WORKS ON ALL CRYPTO PAIRS
BTC, ETH, SOL - same patterns
Especially powerful on perpetual futures (more volume data)
PRACTICAL 5M CRYPTO ALGO STRATEGY:
LONG ENTRY:
Wait for bullish absorption OR bullish exhaustion
Confirm with positive stacked imbalances (3 bars)
Enter when price breaks above absorption high
Stop below absorption low
Target: 2-3x risk or next resistance
SHORT ENTRY:
Wait for bearish absorption OR bearish exhaustion
Confirm with negative stacked imbalances
Enter when price breaks below absorption low
Stop above absorption high
Target: 2-3x risk or next support
FILTER:
Only trade in direction of cumulative delta trend
Avoid when volume is below average (no institutional activity)
LockPoint TrackerLockPoint Tracker is a simple yet powerful tool for visually tracking price movement from a locked reference point.
Key Features:
• Lock any bar’s closing price with a single click.
• Reference line drawn at the locked price for clear visual context.
• “L” label marks the locked bar.
• Live percentage change label shows how far the current price has moved from the locked level.
• Green above the bar for gains, red below for losses.
• Automatically disappears on the next bar — always shows only the live value.
• Configurable label padding for optimal visibility on any chart or timeframe.
LockPoint Tracker is perfect for traders who want to monitor key levels, measure intrabar moves, or visually track performance from specific price points without cluttering the chart.
Yivgeny Decision ScoreYivgeny Decision Score is a technical indicator that provides two objective scores (0–10) to support trading decisions:
ENTRY Score – evaluates the quality of a potential entry
HOLD Score – evaluates whether to hold or exit an existing position
The score is based on trend direction (SMA150), EMA20 behavior, volume confirmation, MACD momentum, breakout or bounce signals, and price action structure.
Designed for discretionary traders who want a clear, rule-based decision aid without automatic buy/sell signals.
Candle Boxes (Border + Midline + Open level)📦 Candle Boxes (Border + Midline + Open Level)
Candle Boxes is a visual multi-timeframe (HTF) tool designed to display higher-timeframe candle structure directly on a lower-timeframe chart.
It helps traders understand HTF context without constantly switching between timeframes.
🔍 What this indicator displays
For each HTF candle, the indicator draws:
HTF Box
Top = HTF High
Bottom = HTF Low
Horizontal span = full HTF candle duration
Border color
Bullish HTF candle → bullish color
Bearish HTF candle → bearish color
Midline (50%) – optional
Exact midpoint of the HTF range: (High + Low) / 2
HTF Open level – optional
Horizontal line at the HTF candle open price
All elements are drawn without background fill to keep the chart clean and readable.
⏱ Multi-Timeframe logic
HTF is selected using the HTF (box timeframe) input
Data is retrieved via request.security() with no repainting
Levels update only while the HTF candle is forming
Once the HTF candle closes, its box and lines remain fixed
🧠 Intended use
This indicator is designed for:
visualizing higher-timeframe context on lower charts
analyzing HTF structure without changing timeframe
supporting:
support & resistance analysis
price action studies
intraday and swing trading context
This tool does not generate buy/sell signals and is not a trading strategy.
⚙️ Settings
HTF & history
HTF (box timeframe) – higher timeframe used to build boxes
Keep last HTF boxes – number of most recent HTF boxes to keep
used to comply with TradingView object limits
the script automatically removes the oldest boxes and lines
Visual options
Border (on/off, width, transparency, colors)
Midline (on/off, colors, transparency)
HTF Open line (on/off, color, width, transparency)
⚠️ Important notes
TradingView enforces strict limits on drawn objects (boxes and lines)
This indicator is optimized to:
display as much historical data as technically possible
automatically manage and delete older objects
Higher HTF → fewer boxes visible in history
Lower HTF → more boxes, faster object-limit usage
🔁 Suggested Timeframe Combinations
This indicator is designed to work best when the selected HTF is significantly higher than the chart timeframe.
Below are practical, commonly used combinations:
Intraday trading
Chart: 5m → HTF: 1H
Chart: 15m → HTF: 4H
Useful for identifying higher-timeframe structure during active trading sessions.
Swing trading
Chart: 30m → HTF: 4H
Chart: 1H → HTF: Daily
Helps visualize major HTF ranges and key levels while managing trades over multiple days.
Higher-timeframe analysis
Chart: 1H → HTF: Weekly
Chart: 4H → HTF: Weekly
Best suited for understanding broader market context, range behavior, and HTF price positioning.
General guideline
A 4× to 8× ratio between chart timeframe and HTF is usually a good starting point
Larger ratios provide cleaner structure but fewer visible boxes
Smaller ratios provide more detail but consume object limits faster
These combinations are guidelines only and can be adjusted based on personal trading style and market conditions.
📌 Disclaimer
This indicator is a visual analysis tool only.
It does not provide financial advice or guarantee any trading outcome.
All trading decisions are made at your own risk.
Always combine this tool with your own analysis and risk management rules.
Open Interest Weighted Average Price [Arjo]Open Interest Weighted Average Price , or OIWAP , is a simple visual indicator that shows the average price of an asset based on changes in open interest .
Instead of using trading volume like VWAP, this indicator gives more weight to prices where new futures contracts are being added or removed . This helps highlight the price levels where traders are actively building or closing positions.
The indicator shows:
A main line that represents the average price weighted by open interest changes.
Upper and lower bands (standard deviation bands) that show how far the price moves away from this average.
OIWAP is mainly useful for NSE futures markets , where open interest data is available. It helps traders visually understand where most market participation and positioning are taking place relative to price .
Concepts:
Applies statistical concepts, including weighted averaging and standard deviation, to open interest data
Uses the absolute change in open interest as a weighting factor for each price point
Creates a dynamic average that reflects where significant open interest activity has occurred during a given period
Standard deviation bands are computed from this weighted average to show the statistical spread of prices around the OIWAP line
Resets calculations based on user-selected time periods (daily, weekly, monthly, or session-based)
Allows for fresh analysis at regular intervals
Similar concept to volume-weighted average price (VWAP) indicators, but uses open interest changes as the weighting component
Features:
Weighted Average: Calculates a central line based on contract activity.
Flexible Anchors: Allows users to choose the reset period for the calculation.
Volatility Bands: Displays outer and mid-bands to visualize price stretches.
Data Check: Built-in alerts notify you if Open Interest data is missing for a symbol.
Visual Zones: Color-coded areas help identify price location at a glance.
How To Use
When you add the indicator to your chart, you will see:
A main OIWAP line — the open-interest-weighted price level
Mid-bands around the line (±0.5 standard deviations)
Outer bands farther away (±2.0 standard deviations)
Shaded background zones between these lines
You can:
Change the reset period to see how the average behaves over different time ranges
Adjust the timeframe for open-interest data
Turn mid-bands on or off
Adjust colors and styles to improve readability
Conclusion
The OIWAP indicator serves as an educational tool for visualizing the relationship between price movements and open interest activity in futures markets
Presents a weighted average price line along with statistical deviation bands
Offers a structured framework for chart analysis
Customizable settings allow users to adapt the display to their analytical preferences
Maintains focus on visual interpretation rather than directional predictions
Functions as a supplementary charting overlay that may complement other forms of technical and fundamental analysis
Disclaimer
This indicator is for educational and visual-analysis purposes only. It does not provide trading signals, financial advice, or guaranteed outcomes . You should perform your own research and consult a licensed financial professional when needed. All trading decisions are solely the responsibility of the user.
LTF Distribution Analyzer█ OVERVIEW
LTF Distribution Analyzer reveals the hidden price distribution and order flow within each candle by sampling lower timeframe data. It visualizes where prices concentrated, how volume was distributed between buyers and sellers, and identifies divergences between price action and actual market participation.
Unlike traditional candlesticks showing only OHLC, this indicator exposes the statistical structure of price movement using quartile-based visualization combined with delta analysis.
█ CONCEPTS
The indicator is built on two core concepts:
1 — Statistical Price Distribution
Each candle contains many lower timeframe bars. By analyzing these bars, we calculate:
• Q1 (25th percentile) - 25% of prices traded below this level
• Q3 (75th percentile) - 75% of prices traded below this level
• Median - The middle price value
• IQR (Interquartile Range) - The Q3-Q1 spread containing 50% of all prices
2 — Volume Delta Analysis
Delta measures buying vs selling pressure:
• Delta = Buy Volume − Sell Volume
• Positive delta = More aggressive buying
• Negative delta = More aggressive selling
• Delta Ratio normalizes this as a percentage
█ HOW IT WORKS
The indicator fetches lower timeframe data using request.security_lower_tf() and processes it to create a statistical summary:
Step 1: Timeframe Calculation
• Auto mode: Chart timeframe ÷ Auto Divisor = LTF
• Example: 1H chart ÷ 1000 = ~3.6 second sampling
• Manual mode: User-specified timeframe
Step 2: Data Collection
• Collects all close prices from LTF bars within current candle
• Aggregates volume by candle direction (bullish/bearish)
Step 3: Statistical Analysis
• Calculates quartiles (Q1, Q3), median, and boundaries
• Identifies outliers using 1.5× and 3× IQR fences
• Finds Volume POC (price with highest volume)
Step 4: Delta Calculation
• Sums buy volume (from bullish LTF bars)
• Sums sell volume (from bearish LTF bars)
• Computes delta ratio for color determination
█ VISUAL ELEMENTS
┌─────────────────────────────────────────┐
│ ▲ Extreme outlier (3× IQR) │
│ △ Mild outlier (1.5× IQR) │
│ ─ Upper whisker cap │
│ ┊ Whisker line (dashed) │
│ ▄ IQR Box (Q1 to Q3 range) │
│ ━ Volume POC (highest volume) │
│ ● Median (green=bull, red=bear) │
│ ┊ Whisker line (dashed) │
│ ─ Lower whisker cap │
│ ▽ Mild outlier │
│ ▼ Extreme outlier │
└─────────────────────────────────────────┘
█ COLOR SYSTEM
Colors indicate the relationship between candle direction and order flow:
🟢 TEAL (Positive Flow)
Bullish candle + Positive delta
→ Strong buying confirmation
→ Trend continuation signal
🔴 RED (Negative Flow)
Bearish candle + Negative delta
→ Strong selling confirmation
→ Trend continuation signal
🟠 ORANGE (Mixed Signal A)
Bullish candle + Negative delta
→ Price up but sellers dominated
→ Potential weakness/reversal warning
🔵 BLUE (Mixed Signal B)
Bearish candle + Positive delta
→ Price down but buyers dominated
→ Potential accumulation/reversal signal
█ SETTINGS
Timeframe Settings
• LTF Mode — Auto or Manual selection
• Manual Timeframe — Specific LTF when in Manual mode
• Auto Divisor — Higher = finer granularity (default: 1000)
• Allow Sub-Minute — Requires Premium subscription
Visual Style
• Positive/Negative Flow colors — Customize the 4 flow colors
• Box Transparency — Opacity of the quartile box (0-100%)
Statistics Display
• Show Statistics Panel — Toggle on-chart stats table
• Show Timeframe Badge — Toggle LTF indicator badge
• Panel Position — Choose corner placement
• Panel Size — Text size selection
█ HOW TO USE
1. Divergence Detection
Look for color mismatches:
• Orange bars in uptrend = weakness, potential reversal
• Blue bars in downtrend = strength, potential reversal
• Multiple consecutive divergent bars strengthen signal
• Wait for confirmation before entry
2. Volume POC Trading
• POC marks where most volume traded
• POC clusters at similar levels = strong S/R zone
• Price often returns to POC before continuing
• Use POC for entry/exit targeting
3. Trend Confirmation
• Consecutive teal = strong uptrend
• Consecutive red = strong downtrend
• Median position shows intrabar momentum
• Wide boxes indicate high volatility
4. Outlier Analysis
• Extreme markers (▲▼) often mark stop hunts
• Consider fading extremes at key levels
• Mild markers (△▽) = areas to watch
█ RECOMMENDED SETTINGS
For different chart timeframes:
│ Chart TF │ Auto Divisor │ Resulting LTF │
├──────────┼──────────────┼───────────────┤
│ 15M │ 1500 │ ~1M │
│ 1H │ 1000 │ ~3-4s │
│ 4H │ 600 │ ~24s │
│ Daily │ 500 │ ~2-3M │
Tip: Check the TF badge to confirm active sampling timeframe.
█ BEST PRACTICES
Do:
✓ Use "Bars" chart style for cleanest display
✓ Combine with support/resistance analysis
✓ Wait for confirmation bars
✓ Note POC clusters across multiple bars
✓ Adjust divisor based on your timeframe
Avoid:
✗ Trading single bar signals alone
✗ Using during low volume periods
✗ Trading immediately after news releases
✗ Ignoring overall market context
█ LIMITATIONS
• Requires adequate market liquidity for reliable signals
• Sub-minute timeframes need Premium subscription
• Historical data depth depends on TradingView's data availability
• Delta calculation assumes volume direction matches candle direction
█ NOTES
This indicator works best on liquid markets (forex majors, major indices, popular stocks/crypto) where volume data is meaningful.
The gray dotted vertical line marks where LTF data becomes available - bars before this line won't display the indicator.
For questions or suggestions, leave a comment below.
Ultimate Auto Trendlines - No Lag, No repaint, & High Accuracy Non-Repainting Auto Trendlines by Pivots – The cleanest way to draw real trendlines automatically!
Connects confirmed pivot highs/lows → solid, angled trendlines (no flat junk)
Filters by minimum angle → only meaningful trends
Shows recent pivots with "R" / "S" labels (optional)
Long extension to the right – see future zones instantly
Perfect for SPY, QQQ, NASDAQ daily swings – 85%+ touch rate in backtests
Why traders love it:
• No repaint – safe for live trading & alerts
• Keeps chart clean – only recent levels
• Angle filter = no useless horizontal lines
• Works on any timeframe – daily/4H/1H killer
Add to chart now → see the difference immediately!
How to Use the "Auto Trendlines by Pivots" Indicator Effectively
This indicator automatically draws clean, non-repainting trendlines by connecting confirmed pivot highs and lows, helping you visualize dynamic trend direction, support/resistance from swings, and potential reversal or continuation zones. It's especially powerful on daily and 4H charts for SPY, QQQ, NASDAQ stocks, forex majors, and crypto.
Quick Start Guide
Add to Chart
Open TradingView → Pine Editor → paste the script → Save → Add to Chart.
Best symbols/timeframes: SPY/QQQ/ES1! daily, 4H, or 1H.
Key Settings (Recommended Starting Values)
Pivot Left/Right Bars: 5/5 (default) → balanced strength.
Increase to 8–10 for stronger, fewer lines (less noise, higher accuracy).
Decrease to 3–4 for more frequent lines (scalping/intraday).
Max Trendlines: 8 (default) → keeps chart readable.
Lower to 4–6 for minimalism; raise to 12–15 for more history.
Min Trend Angle: 15° (default) → filters out flat/weak lines.
Increase to 20–25° for steeper trends only (very clean chart).
Decrease to 10° to see shallower trends.
Line Extension: 100–200 bars → long enough to project forward zones.
Show Labels: On → "R" (red) and "S" (green) marks pivot points.
Turn off for ultra-clean look.
How to Read & Trade with It
Uptrend (Bullish): Greenish upward-sloping lines connecting higher lows → act as dynamic support.
→ Buy pullbacks to the trendline + confirmation (e.g., RSI oversold, volume spike, candlestick reversal).
→ Target next resistance line or previous pivot high.
Downtrend (Bearish): Reddish downward-sloping lines connecting lower highs → act as dynamic resistance.
→ Short rejections at trendline + confirmation (e.g., RSI overbought, bearish engulfing).
→ Target next support line or previous pivot low.
Range / Sideways: Mixed criss-crossing lines → avoid trading or use horizontal S/R levels (when trendlines flatten).
Confluence = where multiple lines cluster → highest-probability zones.
Breakouts: When price closes decisively through a trendline → signals potential trend change or acceleration.
Wait for retest of broken line as new support/resistance.
Pro Trading Tips (High-Probability Setups)
Confluence is King: Trade when price reaches a trendline + horizontal S/R level from pivots (yellow zones if you add confluence logic).
Timeframe Alignment: Use daily lines for bias, 4H/1H for entries.
Confirmation Tools:
RSI(2) < 10 near support (long) or > 90 near resistance (short)
Volume > 20-period SMA on touch
Candlestick patterns (hammer, engulfing) at line
Risk Management:
Stop below support trendline (longs) or above resistance trendline (shorts)
Target 1.5–3R (next major level or opposite line)
Avoid trades if VIX > 25–30 (high volatility kills accuracy)
Best Markets: Strong trends (bullish SPY/QQQ 2020–2025) → 70–85% bounce rate at lines.
Common Mistakes to Avoid
Over-trading flat markets → wait for clear trend angle.
Ignoring angle filter → flat lines are noise, not real trends.
Not zooming out → always check higher timeframe (weekly) for major lines.
Performance Insight
Backtests on SPY daily (2010–2025): ~80% price interaction (touch/bounce) at trendlines in trending periods.
Combine with RSI(2) or EMA50 → win rate often >75% on pullback entries.
HMA Fibo Trend RibbonHMA Fibo Trend Ribbon - Fibonacci Trend Indicator
📊 Indicator Description
This is a trend indicator based on the harmony of Fibonacci numbers. The indicator uses seven Hull Moving Averages with periods corresponding to the Fibonacci sequence: 8, 13, 21, 34, 55, 89, 144. This mathematical harmony allows the indicator to perfectly align with natural market cycles and wave structures.
🎯 Fibonacci Philosophy in Market Analysis
The Fibonacci sequence is not just a set of numbers, but a fundamental pattern found in nature, art, and financial markets. Using these periods provides:
Natural alignment with market cycles
Multifractal analysis (covering different wave levels)
Harmonious interaction between timeframes
Universal application across all timeframes
🔧 Indicator Settings
Visual Settings:
Show Main Line - Show main line (HMA 144 - golden ratio)
Show Ribbon Lines - Show the remaining 6 Fibonacci lines
Show Trend Change Labels - Show trend change labels
Show Info (Trend %) - Show info label with trend percentage
Ribbon Opacity - Ribbon transparency (0-100%)
🎨 Visualization of Fibonacci Structure
Color Harmony:
Each HMA line corresponds to a specific Fibonacci level
Collective movement creates the "Fibonacci Ribbon"
Color differentiation based on direction
Info Label:
Displays consensus of 7 Fibonacci levels
Percentage ratio of bullish/bearish lines
Color coding of the trend
📊 Interpretation of Fibonacci Signals
Consistency Levels:
7/7 lines in one direction - Perfect Fibonacci harmony
5-6/7 lines - Strong trend
3-4/7 lines - Consolidation/transition phase
0-2/7 lines - Opposite trend
🚀 Advantages of Fibonacci Approach
Natural harmony with market cycles
Universal - works on any asset and timeframe
Predictive power - anticipates reversal zones
Period synergy - signal amplification when aligned
Minimal lag - HMA responds better than regular MAs
⚡ Implementation Features
Technical Details:
Algorithm: Hull Moving Average (optimized for speed)
Periods: Pure Fibonacci sequence
Calculation: Consensus of 7 harmonic levels
Visualization: Intuitive color scheme
Performance:
Optimized for TradingView
Minimal system load
Support for all chart types
⚠️ Usage Recommendations
Combine with other Fibonacci tools
Verify signals on different timeframes
Use for trade entry filtering
Test on historical data before live trading
✍️ Author: A-Swift
📅 Version: 1.0 Fibonacci
🔗 Code: Open Source (MPL 2.0)
🧮 Basis: Fibonacci Sequence (8, 13, 21, 34, 55, 89, 144)
Fibonacci Fact:
The number 144 in the Fibonacci sequence is the square of its ordinal number (12²) and represents perfect harmony in market cycles. This makes the HMA with period 144 particularly significant for determining the main trend.
Victor's Market Breadth OscillatorDescription
This is a classic market breadth technical indicator designed to measure the underlying strength and momentum of the broader stock market. The indicator evaluates market health by analyzing the cumulative difference between the number of advancing stocks and declining stocks traded on the market. It provides clear signals of market breadth trend and momentum.
Core Calculation Logic
Fetch the real time data of advancing stocks and declining stocks using the assigned ticker symbols
Calculate the net market breadth value which equals the number of advancing stocks minus declining stocks
Compute the Fast Line as the cumulative sum of the net breadth value over the set short term period
Compute the Slow Line as the cumulative sum of the net breadth value over the set long term period, then normalize the value by dividing by three and rounding to a whole integer
Plot two distinct lines to visually reflect the short term and long term market breadth momentum
Usage Guidelines
The indicator readings reflect the internal strength of the overall market.
Higher indicator values mean stronger upward market breadth with more stocks participating in the rally and healthy bullish momentum.
Lower indicator values mean stronger downward market breadth with more stocks participating in the decline and increasing bearish momentum.
This is a market breadth auxiliary indicator. For optimal results, use it in combination with price trend analysis and volume indicators for comprehensive market judgment
Adjustable Input Parameters
Advancing Stocks Ticker : The ticker symbol for the number of advancing stocks in the market
Declining Stocks Ticker : The ticker symbol for the number of declining stocks in the market
Fast Summation Period : Short term cumulative calculation length for the Fast Line
Slow Summation Period : Long term cumulative calculation length for the Slow Line.
Global Macro Scanner & Relative PerformanceDescription: This indicator is an all-in-one Macro Dashboard that allows traders to track money flow across major global asset classes in real-time. It combines a floating data table with a normalized percentage-performance chart.
Features:
Macro Dashboard (Table): Displays the current value, daily % change, and status (Inflow/Outflow) for 9 key economic sectors:
US M2 Supply: Tracks monetary inflation/tightening.
DXY (US Dollar): Currency strength.
Bonds (AGG): US Aggregate Bond market.
Stocks (VT): Total World Stock Index.
Real Estate (VNQ): Vanguard Real Estate ETF.
Commodities: Oil (WTI), Gold, and Silver.
Crypto: Total Crypto Market Cap.
Relative Performance Chart (Lines): Instead of plotting raw prices (which have vastly different scales), this script plots the Percentage Return relative to a baseline.
Lookback Period: You can set a lookback (default 100 bars). The script sets the price 100 bars ago as "0%" and plots how much each asset has gained or lost since then.
Comparison: This allows you to visually see which assets are outperforming or underperforming relative to each other over the same time period.
Visual Aids:
Dynamic Labels: Each line is tagged with a label at the current candle so you can identify assets without needing a legend.
Colors: Each asset has a distinct, fixed color for consistency between the table and the chart.
How to use:
Add the script to your chart.
Adjust the "Lookback" setting in the inputs to change the starting point of the comparison (e.g., set it to the start of the year to see Year-to-Date performance).
Use the dashboard to spot daily money flow rotation (e.g., Money moving out of Stocks and into Gold).
Victor's Price OscillatorOverview
Victor Sperandeo is a legendary trader, market wizard, and author, famed for his trend-following strategies and expertise in technical analysis.
Victor's Price Oscillator is a classic momentum technical indicator focused purely on price action and price change momentum. It measures the strength and direction of underlying price momentum by calculating cumulative short term price differences and their net change over time. This indicator is designed to identify accelerating or decelerating price movement for stocks, indices, commodities and all tradable assets.
Core Calculation Logic
The indicator uses a straightforward and transparent mathematical calculation with no complex formulas, all steps follow the original design completely:
Calculate the price difference for each bar : Current bar closing price minus the closing price from a set number of bars in the past
Sum these individual price differences across a defined lookback period to get a cumulative price change value
Compute the final oscillator reading by subtracting the historical cumulative value (from a set offset period) from the current cumulative value
Plot the net oscillator value as a single line to visually show the trend of price momentum strength
Parameter Quick Intro
Cumulative Period: Defines momentum calculation window
Price Offset: Sets price comparison lag
Signal Offset: Measures net momentum change
Key Interpretation & Usage Guidelines
Positive oscillator values indicate active upward price momentum. The higher the positive value, the stronger and more sustained the upward price movement
Negative oscillator values indicate active downward price momentum. The lower the negative value, the stronger and more sustained the downward price movement
Rising oscillator line shows accelerating price momentum in the current trend direction (bullish momentum strengthening for up trends, bearish momentum strengthening for down trends)
Falling oscillator line shows decelerating price momentum in the current trend direction (bullish momentum weakening for up trends, bearish momentum weakening for down trends)
This oscillator is best used as a momentum confirmation tool. Combine it with trend analysis, support and resistance levels or volume indicators for comprehensive trading decisions and improved accuracy
G Trade SessionsWe built this indicator because we was tired of guessing when major markets open and close. It draws simple boxes around each trading session so you can instantly see where the action is.
What it does:
Shows you the four key sessions — Asia, Frankfurt, London, and New York — as transparent boxes right on your chart. Each box marks the high and low of that session, which is super useful for spotting support/resistance levels.
Why I like it:
No clutter — boxes are subtle and don't get in the way
Labels switch from black to white automatically depending on your chart theme (dark or light)
Sessions don't overlap, so the chart stays clean
You can turn off any session you don't care about
Hope you find it useful!
NOVA - SessionsKey Features:
Three Major Sessions:
Asia (Tokyo):** Draws the overnight consolidation range (High/Low/Mid).
London:** Draws the breakout session range.
New York:** Draws the reversal/continuation session range (aligned with the Stock Market Open).
Smart Timezone Logic:
All sessions are calculated using their **local** exchange times (e.g., Tokyo time for Asia, NY time for NYSE) but display correctly on your chart in Amsterdam time. You never have to adjust for Daylight Savings.
Support & Resistance:
The Highs, Lows, and Midpoints extend to the right, allowing you to see how previous sessions act as support or resistance later in the day.
Daily Open:
Marks the exact opening price at Midnight to help you determine if price is "premium" (expensive) or "discount" (cheap) for the day.
Midnight VWAP:
A volume-weighted average price that resets every night, acting as a dynamic "fair value" line for the day.
Clean Visuals:
Completely customizable. You can toggle background boxes, lines, and text labels to keep your chart clean.
In short:
It automates the "boring work" of marking up your chart every morning so you can focus purely on price action.
Fibonacci 5 Candles Retracement
================================================================================
FIBONACCI 5 CANDLES RETRACEMENT - STRATEGY GUIDE
================================================================================
WHAT DOES THIS STRATEGY DO?
---------------------------
This strategy automatically identifies market trends and uses Fibonacci
retracements to find the best entry points. The idea is simple: when price
makes a strong movement (trend), it often pulls back before continuing in
the same direction. The strategy captures these "pullbacks" to enter at the
right moment.
HOW IT WORKS?
-------------
1. TREND DETECTION
The strategy looks for 5 consecutive candles of the same color:
- 5 red candles = BEARISH trend (price falls)
- 5 green candles = BULLISH trend (price rises)
2. CALCULATION OF START AND END POINTS
For a BEARISH trend (5 red candles):
- START: The highest point between the first red candle and the previous one
- END: The lowest point reached during the 5 candles (and beyond, if the
trend continues)
For a BULLISH trend (5 green candles):
- START: The lowest point between the first green candle and the previous one
- END: The highest point reached during the 5 candles (and beyond, if the
trend continues)
3. DYNAMIC UPDATE
The END point updates automatically if price continues to move in the
direction of the trend, creating new highs (for bullish trends) or new
lows (for bearish trends).
4. TREND END
Normal Mode:
- BEARISH trend ends when a candle closes above the previous candle's open
- BULLISH trend ends when a candle closes below the previous candle's open
"Extended Trend" mode (optional):
- The trend remains active until a candle closes beyond the dynamic 50%
retracement level
- When this happens, the END point "freezes" (stops updating), but the
trend can continue
5. FIBONACCI RETRACEMENT CALCULATION
Once START and END are identified, the strategy automatically calculates
Fibonacci levels. IMPORTANT: for retracements and pending orders, we
consider START as 100% and END as 0%, because we work on the part of the
trend that is recovered (the pullback).
The retracement levels are:
- 70% = level closest to START (smallest retracement)
- 60% = second level
- 50% = central level (often used for entry)
- 25% = level closest to END (largest retracement)
6. PENDING ORDER PLACEMENT
When a trend is identified and completed, the strategy automatically places
a pending order (limit order) at one of the selectable Fibonacci levels.
Available levels:
- 25%: closest to END
- 50%: central level (balanced)
- 60%: closest to START
- 70%: very close to START
The order direction depends on the trend:
- BEARISH trend → SHORT order (bet that price falls)
- BULLISH trend → LONG order (bet that price rises)
Stop Loss and Take Profit (for retracements):
- Stop Loss: always at START level
- Take Profit: always at END level
EXTENDED TAKE PROFIT:
If the order is executed (filled), the strategy can apply an "Extended
Take Profit" if configured. IMPORTANT: for the extended TP calculation,
we consider START as 0% and END as 100% (the original trend movement).
For example, if you set 3%, the Take Profit will be at 103% of the
original trend movement instead of 100%.
AVAILABLE FILTERS
-----------------
1. MINIMUM TREND (pips)
Filters trends that are too small. If a trend is below the set value:
- START and END labels become gray (instead of red/green)
- No pending order is placed
- The trend is still displayed on the chart
Useful for avoiding trading movements that are too small.
2. EMA FILTER
Uses two moving averages (EMA 50 and EMA 200) to filter direction:
- If active: places LONG orders only when EMA50 > EMA200 (uptrend)
- If active: places SHORT orders only when EMA50 < EMA200 (downtrend)
Useful for trading only in the direction of the main trend.
3. EXTENDED TREND
Modifies how the trend is considered "completed":
- If disabled: uses normal logic (opposite candle)
- If active: the trend remains in formation until a candle closes beyond
the dynamic 50%. When this happens, END freezes but the trend can continue.
Useful for capturing longer trends and extended movements.
VISUALIZATION
-------------
The strategy displays on the chart:
1. START AND END LABELS
- Red color for bearish trends
- Green color for bullish trends
- Gray color if the trend is not valid (too small)
- Remain visible even when new trends form
2. START AND END LINES
- Horizontal lines indicating the start (START) and end (END) points of the trend
- White color by default, customizable from the settings panel
- Update dynamically when the END point changes
- Can be shown or hidden via the "Show Start/End Lines" option
3. FIBONACCI LINES
The strategy shows horizontal lines at retracement levels:
- Line at 50% (yellow by default)
- Line at 25% (green by default)
- Line at 60% (azure by default)
- Line at 70% (red by default)
COLOR CUSTOMIZATION:
All line colors can be customized from the settings panel in the
"LINE COLORS" section:
- Start/End Line Color: customize the color of START and END lines
- 50% Line Color: customize the color of the 50% line
- 25% Line Color: customize the color of the 25% line
- 60% Line Color: customize the color of the 60% line
- 70% Line Color: customize the color of the 70% line
Lines update dynamically when the END point changes and can be shown or
hidden individually via options in the "VISUALIZATION" section.
4. PENDING ORDER LABELS
Show pending order information:
- Direction (LONG or SHORT)
- Entry price
- Stop Loss
- Take Profit
Positioned far from the chart to avoid cluttering the visualization.
ALERTS
------
If enabled, alerts send notifications when:
1. PENDING ORDER CREATED
When a new pending order is placed, with all information.
2. PENDING ORDER UPDATED
When the pending order is updated (for example, if the level changes or
if the END point moves).
3. ORDER OPENED
When the pending order is executed (filled) and the position is opened.
Alerts can be configured in TradingView to send notifications via email,
SMS, or other platforms.
RECOMMENDED SETTINGS
--------------------
To get started, you can use these settings:
VISUALIZATION:
- Show all lines and labels to see how it works
- Show Start/End Lines: true (to display lines at START and END points)
- Customize line colors in the "LINE COLORS" section according to your preferences
STRATEGY:
- Pending Order Level: 50% (balanced)
- Extended TP: 0% (use standard TP at 100%)
FILTERS:
- Minimum Trend: 0 pips (disabled initially)
- Use EMA Filter: false (disabled initially)
- Extended Trend: false (use normal logic)
ALERTS:
- Enable Alerts: true (if you want to receive notifications)
PRACTICAL EXAMPLE
-----------------
Scenario: Bearish Trend
1. Price forms 5 consecutive red candles
2. The strategy identifies:
- START = 1.2000 (highest point)
- END = 1.1900 (lowest point)
- Range = 100 pips
3. Calculates Fibonacci levels (for retracements: START = 100%, END = 0%):
- 100% = 1.2000 (START)
- 70% = 1.1930
- 60% = 1.1940
- 50% = 1.1950
- 25% = 1.1975
- 0% = 1.1900 (END)
4. If you set "Pending Order Level" to 50%:
- Places a SHORT pending order at 1.1950 (50% retracement)
- Stop Loss at 1.2000 (START = 100%)
- Take Profit at 1.1900 (END = 0%)
5. If price rises and touches 1.1950:
- The order is executed
- Opens a SHORT position
- If price falls to 1.1900 → Take Profit (profit)
- If price rises to 1.2000 → Stop Loss (loss)
IMPORTANT NOTE
--------------
This strategy is a technical analysis tool. Like all trading strategies,
it does not guarantee profits. Trading involves risks and you can lose money.
Always use appropriate risk management and test the strategy on historical
data before using it with real money.
LICENSE
-------
This code is open source and available for modification. You are free to
use, modify, and distribute this strategy. If you republish or share a
modified version, please kindly mention the original author.
================================================================================
Auto Liquidity Sweep Trendlines With BuySell alerts By V JhaThis automatic trendline system gives buy and sell alerts as well. But you must choose to buy at bottom and sell at top, or in tune with high time frame. This works perfect when used in alignment with HTF.
Points used to draw these trendlines are not ordinary wicks, rather they are liquidity points of huge importance. This trendline system removes any need for mannual tredline drawing.
V-Max Strategic Horizon: Cross-TF Coordinate Sync (Public EditioOverview
The V-Max Strategic Horizon is a technical visualization utility designed to solve the problem of coordinate drift during multi-timeframe analysis. It serves as a "Physical Coordinate Anchor," ensuring that high-level resistance and support boundaries from macro timeframes (e.g., 1H, 4H, or 1D) remain strictly locked and visible even when the trader scales down to 1M or 3M execution charts.
Core Technical Logic
Timeframe Anchoring Engine: The script utilizes request.security with a fixed lookback_cnt to pull the absolute highest and lowest price points from a specified anchor timeframe.
Absolute Coordinate Locking (Zero-Drift): Unlike manual horizontal lines that may become misaligned, this tool employs the line.new system with extend.both logic. This ensures the horizons are mathematically tied to the price scale, providing a consistent strategic reference across all chart resolutions.
High-Speed Computational Logic: To prevent the "Script Timeout" errors common in multi-timeframe indicators, the v11.0 engine eliminates iterative loops, favoring vectorized calculations for real-time responsiveness.
Dynamic Metadata Labeling: The script features an automated labeling system that dynamically identifies the source of the data (e.g., "1H Anchor") and displays the precise price coordinate, reducing cognitive load during high-frequency trading.
How to Use
Set Your Anchor: Choose your strategic timeframe (e.g., 1H for day trading, 1D for swing trading) in the settings.
Define the Scan Range: Adjust the lookback count to determine the "strength" of the historical horizon.
Execute with Context: Watch how the price interacts with the "Red" (Resistance) and "Green" (Support) horizons on your 3M chart to identify macro-rejections or breakouts.
產品概述
V-Max 戰略地平線 是一款解決多時框分析中座標位移問題的技術工具。它作為「物理座標錨點」,確保大週期(如 1H、4H 或 1D)的壓力與支撐邊界,在交易者切換至 1M 或 3M 執行圖表時,依然嚴格鎖定且清晰可見。
核心技術邏輯
時框錨定引擎:利用跨時框數據抓取技術,獲取指定基準時區的絕對價格極值。
絕對座標鎖定(零位移):採用 line 渲染系統配合同步延伸邏輯,確保地平線在數學上與價格刻度綁定,提供一致的戰略參考。
極速運算邏輯:v11.0 引擎優化了跨時框數據處理,消除了複雜迴圈,確保在短線圖表上實現零延遲性能。
Access & Support
This script is published as a Free Public Utility in the TradingView Library. Disclaimer: For technical analysis purposes only.
Liquidity Sweep Trendlines Works great, automatic update happens, no need to draw mannually. Only two trendlines to maximise focus.
Best way to use : have higher time frame trend in view then wait till trendline is breached in htf direction on lower time frame.
Best part is that trendline drawn is not through ordinary wicks, rather wicks that matter liquidity.
Execution-Weighted Market Regime Map (EWRM)Overview
The Execution-Weighted Market Regime Map is designed to answer a simple question:
“Is this market worth trading right now, or is it mostly noise and costs?”
Instead of focusing only on trend vs range, it evaluates whether conditions are likely to:
offer clean, follow-through price movement
chop back and forth
be dominated by costs like spread and slippage
It is meant for day traders and swing traders who want to choose when to trade, not just where to enter .
Core idea
Most indicators try to predict direction.
EWRM focuses on tradability.
It highlights:
when the market moves cleanly and is easier to execute
when volatility is unstable and unreliable
when “cost of trading” (spread and slippage) eats potential profit
The indicator shows this using:
a visual dashboard
background color changes
clear regime labels
Key concepts in plain language
SRR – Spread-to-Range Ratio
How big the trading costs are compared to how much price is moving.
High SRR = the market moves little but costs you a lot → bad environment.
Low SRR = price moves much more than it costs to trade → better environment.
PEI – Pullback Efficiency Index
Measures how “clean” trends are.
If pullbacks lead to smooth continuation, PEI is high.
If pullbacks constantly fail and reverse, PEI is low.
SRP – Slippage Risk Proxy
Estimates how likely you are to get worse fills than expected.
Fast spikes, thin liquidity zones, and whipsaw behavior increase SRP.
What EWRM helps you do
avoid overtrading during messy conditions
size up when conditions are smooth and directional
identify when volatility is expanding or collapsing
adapt behavior by time of day (open, midday, close)
How it works at a high level
It measures how much the market is moving
It checks whether volatility is stable or chaotic
It estimates how expensive and difficult execution is
It breaks the day into premarket, open, midday, and power hour
It combines all of this into an overall “regime” label
It colors the background or dashboard so you can read the state instantly
There are no buy/sell arrows. It is a decision-support tool, not a signal generator.
How to use it
trade more when conditions are clean and execution-friendly
stand aside when cost and noise dominate movement
prefer trend setups when trend regimes are detected
stay cautious when regime flips frequently
Think of it as a weather map for the market, not a GPS.
Inputs and parameters
Core settings
Realized Volatility Length – how fast the tool reacts to volatility changes
Volatility Stability Length – how stable/unstable volatility appears
ATR Length – used to scale and normalize movement
General Lookback – how much history is analyzed
Session settings
Premarket
Opening drive
Midday
Power hour
These let the tool treat each time window differently, since behavior changes through the day.
Cost settings
Estimated Spread – approximate buy/sell price difference
Estimated Slippage – expected extra cost from fast movement
These make the tool focus on realistic, after-cost trading conditions .
Visual settings
toggle dashboard
toggle background shading
toggle regime labels
choose X/Y position of the panel
Limitations
uses estimates of spread and slippage, not live order-book data
cannot remove all uncertainty
best used as a filter, not a trading system
Suggested use
filter out bad environments
increase selectivity
align position size with regime quality
combine with your own strategy or entries






















