Trinity Multi Time Frame Trend DashboardNote: This is based on trading view indicator but I am unsure the original name or author to give recognition. If you know the name of the indicator or author then please let me know and I can update this script to give recognition.
Below is a list of the changes this code has gone through and all settings are editable.
Changes:
Changed: timeline from 5 to 3 mins for faster scalping, changed the RSI, CCI and MACD values for faster signals as well as the below to update the code to latest pine script and for optimizations.
Structure and Optimization: The original script used individual variables for each timeframe (e.g., emaFast_3min, emaFast_15min), leading to repetitive code. The latest version uses arrays (e.g., emaFast as array.new_float(7, na)) to store values for all timeframes, making the code more compact and maintainable. However, due to Pine Script limitations with loops and request.security, the calculations are unrolled (explicitly computed for each timeframe i=0 to 6) instead of using a loop for security calls.
Timeframe Handling: Removed the timeframes array in the final version (as loops couldn't be used with variable timeframes in request.security due to requiring 'simple string' arguments). Instead, hardcoded the timeframe strings ("3", "15", etc.) directly in each block. Kept timeframe_labels array for display purposes.
Volume Calculation: Precomputed volume3 for the 3M timeframe outside the blocks. For 15M and 30M, used ta.sma(volume3, 3) and ta.sma(volume3, 6) respectively, as in the original, but integrated into unrolled blocks. Renamed volume arrays to tfVolume and tfVma to avoid conflicts with built-in volume.
MACD Calculation: In the original, used to ignore the histogram. The latest version does the same but assigns to temporary variables like macd0, signal0 for each timeframe to avoid tuple assignment issues.
Trend Determination: Used arrays for all boolean conditions (e.g., isBullish as array.new_bool(7, false)). Set values in a loop, which works since no security calls are involved here.
Added Signal Row: Introduced a new row in the table labeled "Signal". For each timeframe, it shows:
"Buy" (green) if EMA, MACD, RSI, and CCI are all bullish.
"Sell" (red) if all are bearish.
"⚠" (yellow) if not fully aligned
Table Dimensions: Updated the table to 9, 8 (columns, rows) to accommodate the new "Signal" row.
Color for Signal: In the table cell for signal, added coloring: green for "Buy", red for "Sell", yellow for "⚠".
Array Declarations: Used array.new_float, array.new_bool, etc., without qualifiers to fix template errors. Initialized with na for floats/colors, false for bools, "" for strings.
Error Fixes: Resolved various syntax/type issues, such as avoiding series in array templates, ensuring 'simple string' for timeframes in request.security, and proper tuple unpacking for MACD.
Overall Code Length: The latest version is longer due to unrolled calculations but more robust and error-free.
Komut dosyalarını "scalp" için ara
Bollinger Bands📊 Bollinger Bands Strategy: Ride the Waves of Volatility 🌊
Bollinger Bands are a powerful tool to identify overbought and oversold conditions, volatility breakouts, and price reversals. This strategy uses:
🔹 Middle Band – 20-period simple moving average
🔹 Upper & Lower Bands – 2 standard deviations away from the SMA
💡 Strategy Logic:
Buy Entry: When price closes below the lower band and RSI < 30 → Expect mean reversion.
Sell Entry: When price closes above the upper band and RSI > 70 → Possible pullback.
Exit: Near middle band or opposite band.
📈 You can also use Bollinger Band squeezes to detect upcoming breakouts. Less distance = low volatility → Expansion = potential big move!
🧠 Great for swing trading or intraday scalping with proper risk management.
Liquidity Trap Zones [PhenLabs]📊 Liquidity Trap Zones
Version: PineScript™ v6
📌 Description
The goal of the Liquidity Trap Zones indicator is to try and help traders identify areas where market liquidity appears abundant but is actually thin or artificial, helping traders avoid potential fake outs and false breakouts. This advanced indicator analyzes the relationship between price wicks and volume to detect “mirage” zones where large price movements occur on low volume, indicating potential liquidity traps.
By highlighting these deceptive zones on your charts, the indicator helps traders recognize where institutional players might be creating artificial liquidity to trap retail traders. This enables more informed decision-making and better risk management when approaching key price levels.
🚀 Points of Innovation
Mirage Score Algorithm: Proprietary calculation that normalizes wick size relative to volume and average bar size
Dynamic Zone Creation: Automatically generates gradient-filled zones at trap locations with ATR-based sizing
Intelligent Zone Management: Maintains clean charts by limiting displayed zones and auto-updating existing ones
Scale-Invariant Design: Works across all assets and timeframes with intelligent normalization
Real-Time Detection: Identifies trap zones as they form, not after the fact
Volume-Adjusted Analysis: Incorporates tick volume when available for more accurate detection
🔧 Core Components
Mirage Score Calculator: Analyzes the ratio of price wicks to volume, normalized by average bar size
ATR-Based Filter: Ensures only significant price movements are considered for trap zone creation
EMA Smoothing: Reduces noise in the mirage score for clearer signals
Gradient Zone Renderer: Creates visually distinct zones with multiple opacity levels for better visibility
🔥 Key Features
Real-Time Trap Detection: Identifies liquidity mirages as they develop during live trading
Dynamic Zone Sizing: Adjusts zone height based on current market volatility (ATR)
Smart Zone Management: Automatically maintains a clean chart by limiting the number of displayed zones
Customizable Sensitivity: Fine-tune detection parameters for different market conditions
Visual Clarity: Gradient-filled zones with distinct borders for easy identification
Status Line Display: Shows current mirage score and threshold for quick reference
🎨 Visualization
Gradient Trap Zones: Purple gradient boxes with darker centers indicating trap strength
Mirage Score Line: Orange line in status area showing current liquidity quality
Threshold Reference: Gray line showing your configured detection threshold
Extended Zone Display: Zones automatically extend forward as new bars form
📖 Usage Guidelines
Detection Settings
Smoothing Length (EMA) - Default: 10 - Range: 1-50 - Description: Controls responsiveness of mirage score. Lower values make detection more sensitive to recent price action
Mirage Threshold - Default: 5.0 - Range: 0.1-20.0 - Description: Score above this level triggers trap zone creation. Higher values reduce false positives but may miss subtle traps
Filter Settings
ATR Length for Range Filter - Default: 14 - Range: 1-50 - Description: Period for volatility calculation. Standard 14 works well for most timeframes
ATR Multiplier - Default: 1.0 - Range: 0.0-5.0 - Description: Minimum bar range as multiple of ATR. Higher values filter out smaller moves
Display Settings
Zone Height Multiplier - Default: 0.5 - Range: 0.1-2.0 - Description: Controls trap zone height relative to ATR. Adjust for visual preference
Max Trap Zones - Default: 5 - Range: 1-20 - Description: Maximum zones displayed before oldest are removed. Balance clarity vs. history
✅ Best Use Cases
Identifying potential fakeout levels before entering trades
Confirming support/resistance quality by checking for liquidity traps
Avoiding stop-loss placement in trap zones where sweeps are likely
Timing entries after trap zones are cleared
Scalping opportunities when price approaches known trap zones
⚠️ Limitations
Requires volume data - less effective on instruments without reliable volume
May generate false signals during news events or genuine volume spikes
Not a standalone system - combine with price action and other indicators
Zone creation is based on historical data - future price behavior not guaranteed
💡 What Makes This Unique
First indicator to specifically target liquidity mirages using wick-to-volume analysis
Proprietary normalization ensures consistent performance across all markets
Visual gradient design makes trap zones immediately recognizable
Combines multiple volatility and volume metrics for robust detection
🔬 How It Works
1. Wick Analysis: Calculates upper and lower wicks for each bar. Normalizes by average bar size to ensure scale independence
2. Mirage Score Calculation: Divides total wick size by volume to identify thin liquidity. Applies EMA smoothing to reduce noise. Scales result for optimal visibility
3. Zone Creation: Triggers when smoothed score crosses threshold. Creates gradient boxes centered on trap bar. Sizes zones based on current ATR for market-appropriate scaling
💡 Note: Liquidity Trap Zones works best when combined with traditional support/resistance analysis and volume profile indicators. The zones highlight areas of deceptive liquidity but should not be the sole factor in trading decisions. Always use proper risk management and confirm signals with price action.
HMA Trend Line (Croc Signal Line)HMA Trend Line (Croc Signal Line) — The Ultimate Hull Moving Average Trend Indicator
Full English description here:
What is the HMA Trend Line (Croc Signal Line)?
The HMA Trend Line (Croc Signal Line) is a powerful, adaptive trend indicator for TradingView, based on the Hull Moving Average (HMA). This indicator is designed to help traders identify real market trends with less lag and reduced noise compared to traditional moving averages like SMA (Simple Moving Average) and EMA (Exponential Moving Average).
Why use the HMA Trend Line?
+ Faster Trend Detection: The Hull Moving Average (HMA) responds more quickly to price action, giving you earlier buy and sell signals.
+ Smoother and Cleaner: It provides a visually clean trend line that avoids the choppiness of classic EMAs and SMAs.
+ Reduced Lag: The HMA Trend Line follows the market closer, helping you avoid late entries or exits and spot trend reversals sooner.
+ Dynamic Support and Resistance: Use the line as a dynamic support or resistance to manage trades and identify pullbacks or breakouts.
What does “Croc Signal Line” mean?
The “Croc” in Croc Signal Line stands for:
+ Clean
+ Responsive
+ Optimized
+ Curve
This highlights the unique advantage of this indicator: a curve that is both fast-reacting and smooth, helping traders focus on real trends and filter out market noise.
How does the Hull Moving Average (HMA) work?
The HMA was developed by Alan Hull and uses weighted moving averages and a unique calculation to deliver both responsiveness and smoothness. Unlike standard moving averages, the HMA reacts faster to new price moves and avoids false signals in ranging or volatile markets.
How to use the HMA Trend Line (Croc Signal Line) on TradingView?
+ Watch for price crossing above the trend line for potential bullish signals, and below for bearish signals.
+ Use on any timeframe: from 1-minute scalping to daily, weekly, or even monthly charts.
+ Works with all asset classes: Forex, stocks, indices, cryptocurrencies, commodities, and futures.
+ Combine with other indicators (like Stochastics, RSI, or volume) for confirmation and to build your unique trading strategy.
+ Adjust the Signal Line Period for your market and style: shorter periods for faster markets, longer for smoother trends.
Who should use this indicator?
+ Day traders, swing traders, and long-term investors looking for reliable, actionable trend signals.
+ Anyone seeking a cleaner, more responsive alternative to the classic moving averages.
+ Traders who want a simple, visually clear way to filter out market noise and see real price direction.
Disclaimer:
This indicator is for educational and study purposes only. Please perform your own backtesting and analysis before using it in live trading. This script does not constitute financial advice. Use at your own risk.
--------
RSI Overbought/Oversold MTFRSI Overbought / Oversold MTF — Dashboard & Alerts
What it does
This script scans up to 13 symbols at once and shows their RSI readings on three lower‑time‑frames (1 min, 5 min, 15 min).
If all three RSIs for a symbol are simultaneously above the overbought threshold or below the oversold threshold, the script:
Prints the condition (“Overbought” / “Oversold”) in a color‑coded dashboard table.
Fires a one‑per‑bar alert so you never miss the move.
Key features
Feature Details
Multi‑symbol Default list includes BTC, ETH, SOL, BNB, XRP, ADA, AVAX, AVAAI, DOGE, VIRTUAL, SUI, ALCH, LAYER (all Binance pairs). Replace or reorder in the inputs.
Triple‑time‑frame check RSI is calculated on 1 m, 5 m, 15 m for each symbol.
Customizable thresholds Set your own RSI Period, Overbought and Oversold levels. Defaults: 14 / 70 / 30.
Color‑coded dashboard Top‑right table shows:
• Symbol name
• RSI 1 m / 5 m / 15 m (red = overbought, green = oversold, white = neutral)
• Overall Status column (“Overbought”, “Oversold”, “Mixed”).
Alerts built in Triggers once per bar whenever a symbol is overbought or oversold on all three time‑frames simultaneously.
Typical use cases
Scalp alignment — Enter when all short TFs agree on overbought/oversold extremes.
Mean‑reversion spotting — Identify stretched conditions across multiple coins without switching charts.
Quick sentiment scan — Glance at the dashboard to see where momentum is heating up or cooling down.
How to use
Add to chart (overlay = false; it sits in its own pane).
Adjust symbols & thresholds in the Settings panel.
Create alerts → choose “RSI Overbought/Oversold MTF” → “Any Alert() Function Call” to receive push, email, or webhook notifications.
Note: The script queries many symbols each bar; use on lower time‑frames only if your data limits allow.
For educational purposes only — not financial advice. Always test on paper before trading live.
VWAP Volume Profile [BigBeluga]🔵 OVERVIEW
VWAP Volume Profile is an advanced hybrid of the VWAP and volume profile concepts. It visualizes how volume accumulates relative to VWAP movement—separating rising (+VWAP) and declining (−VWAP) activity into two mirrored horizontal profiles. It highlights the dominant price bins (POCs) where volume peaked during each directional phase, helping traders spot hidden accumulation or distribution zones.
🔵 CONCEPTS
VWAP-Driven Profiling: Unlike standard volume profiles, this tool segments volume based on VWAP movement—accumulating positive or negative volume depending on VWAP slope.
Dual-Sided Profiles: Profiles expand horizontally to the right of price. Separate bins show rising (+) and falling (−) VWAP volume.
Bin Logic: Volume is accumulated into defined horizontal bins based on VWAP’s position relative to price ranges.
Gradient Coloring: Volume bars are colored with a dynamic gradient to emphasize intensity and direction.
POC Highlighting: The highest-volume bin in each profile type (+/-) is marked with a transparent box and label.
Contextual VWAP Line: VWAP is plotted and dynamically colored (green = rising, orange = falling) for instant trend context.
Candle Overlay: Price candles are recolored to match the VWAP slope for full visual integration.
🔵 FEATURES
Dual-sided horizontal volume profiles based on VWAP slope.
Supports rising VWAP , falling VWAP , or both simultaneously.
Customizable number of bins and lookback period.
Dynamically colored VWAP line to show rising/falling bias.
POC detection and labeling with volume values for +VWAP and −VWAP.
Candlesticks are recolored to match VWAP bias for intuitive momentum tracking.
Optional background boxes with customizable styling.
Adaptive volume scaling to normalize bar length across markets.
🔵 HOW TO USE
Use POC zones to identify high-volume consolidation areas and potential support/resistance levels.
Watch for shifts in VWAP direction and observe how volume builds differently during uptrends and downtrends.
Use the gradient profile shape to detect accumulation (widening volume below price) or distribution (above price).
Use candle coloring for real-time confirmation of VWAP bias.
Adjust the profile period or bin count to fit your trading style (e.g., intraday scalping or swing trading).
🔵 CONCLUSION
VWAP Volume Profile merges two essential concepts—volume and VWAP—into a single, high-precision tool. By visualizing how volume behaves in relation to VWAP movement, it uncovers hidden dynamics often missed by traditional profiles. Perfect for intraday and swing traders who want a more nuanced read on market structure, trend strength, and volume flow.
Micro Lion Trend Start Signal Micro Trend Start Signal is a lightweight trend-following indicator using EMA crossovers and RSI filters to catch early trend shifts. It shows clear Buy and Sell labels when momentum aligns with direction. Ideal for scalping or intraday trading. Clean, responsive, and designed for fast market entries.
Sweep & Reclaim Indicator with Time, EMA & ATR FilterCandlestick structure scalping
With this model, you are looking for a sweep of a bearish candle, then that bullish candle closes back inside the range of the bearish candle and you buystop the reclaimed candles high. Vice versa for bearish. I like to use the candle low as stop targeting 1R or higher.
You also only want to take trades between 9:30-11:30AM EST, you want an ATR above 10, and a LTF EMA, I like the 10. Those are all attached as filters with this indicator.
Quantum Dip Hunter | AlphaNattQuantum Dip Hunter | AlphaNatt
🎯 Overview
The Quantum Dip Hunter is an advanced technical indicator designed to identify high-probability buying opportunities when price temporarily dips below dynamic support levels. Unlike simple oversold indicators, this system uses a sophisticated quality scoring algorithm to filter out low-quality dips and highlight only the best entry points.
"Buy the dip" - but only the right dips. Not all dips are created equal.
⚡ Key Features
5 Detection Methods: Choose from Dynamic, Fibonacci, Volatility, Volume Profile, or Hybrid modes
Quality Scoring System: Each dip is scored from 0-100% based on multiple factors
Smart Filtering: Only signals above your quality threshold are displayed
Visual Effects: Glow, Pulse, and Wave animations for the support line
Risk Management: Automatic stop-loss and take-profit calculations
Real-time Statistics: Live dashboard showing current market conditions
📊 How It Works
The indicator calculates a dynamic support line using your selected method
When price dips below this line, it evaluates the dip quality
Quality score is calculated based on: trend alignment (30%), volume (20%), RSI (20%), momentum (15%), and dip depth (15%)
If the score exceeds your minimum threshold, a buy signal arrow appears
Stop-loss and take-profit levels are automatically calculated and displayed
🚀 Detection Methods Explained
Dynamic Support
Adapts to recent price action
Best for: Trending markets
Uses ATR-adjusted lowest points
Fibonacci Support
Based on 61.8% and 78.6% retracement levels
Best for: Pullbacks in strong trends
Automatically switches between fib levels
Volatility Support
Uses Bollinger Band methodology
Best for: Range-bound markets
Adapts to changing volatility
Volume Profile Support
Finds high-volume price levels
Best for: Identifying institutional support
Updates dynamically as volume accumulates
Hybrid Mode
Combines all methods for maximum accuracy
Best for: All market conditions
Takes the most conservative support level
⚙️ Key Settings
Dip Detection Engine
Detection Method: Choose your preferred support calculation
Sensitivity: Higher = more sensitive to price movements (0.5-3.0)
Lookback Period: How far back to analyze (20-200 bars)
Dip Depth %: Minimum dip size to consider (0.5-10%)
Quality Filters
Trend Filter: Only buy dips in uptrends when enabled
Minimum Dip Score: Quality threshold for signals (0-100%)
Trend Strength: Required trend score when filter is on
📈 Trading Strategies
Conservative Approach
Use Dynamic method with Trend Filter ON
Set minimum score to 80%
Risk:Reward ratio of 2:1 or higher
Best for: Swing trading
Aggressive Approach
Use Hybrid method with Trend Filter OFF
Set minimum score to 60%
Risk:Reward ratio of 1:1
Best for: Day trading
Scalping Setup
Use Volatility method
Set sensitivity to 2.0+
Focus on Target 1 only
Best for: Quick trades
🎨 Visual Customization
Color Themes:
Neon: Bright cyan/magenta for dark backgrounds
Ocean: Cool blues and teals
Solar: Warm yellows and oranges
Matrix: Classic green terminal look
Gradient: Smooth color transitions
Line Styles:
Solid: Clean, simple line
Glow: Adds depth with glow effect
Pulse: Animated breathing effect
Wave: Oscillating wave pattern
💡 Pro Tips
Start with the Trend Filter ON to avoid catching falling knives
Higher quality scores (80%+) have better win rates but fewer signals
Use Volume Profile method near major support/resistance levels
Combine with your favorite momentum indicator for confirmation
The pulse animation can help draw attention to key levels
⚠️ Important Notes
This indicator identifies potential entries, not guaranteed profits
Always use proper risk management
Works best on liquid instruments with good volume
Backtest your settings before live trading
Not financial advice - use at your own risk
📊 Statistics Panel
The live statistics panel shows:
Current detection method
Support level value
Trend direction
Distance from support
Current signal status
🤝 Support
Created by AlphaNatt
For questions or suggestions, please comment below!
Happy dip hunting! 🎯
Not financial advice, always do your own research
IB Breakout Strategy with Fib, CVD, and DivergenceEntry rules and signals- I wait for the 5min IB(initial balance) to form every session for eg-(first 5min candle of london session or ny session, marking top wick to bottom wick of first 5 min candle with a midpoint in that zone.Then look for CVD(cumulative volume delta) if it's alining with my analysis.I also mark previous session fib levels for scalp entries on .618 or .78 level.Also i do mark previous day VAH(value area high),VAL(value area low) and POC(point of control) for better understanding of direction.
Initial stop loss and take profit values-Initial stop loss varies from 200$ to 500$ and take profit varies from 250$ to 500$.
Number of contracts you plan to trade based on system stats and risk management-I plan to trade 1-2 contracts until i reach the safety net.Once safety net is achieved based on my entry level i decide the contract size which varies from 1-4 contracts.
Trade management and any trailing stop methods-I trail the stop once i feel like there's enough room for the trade.I manage the trade on the basis of strength of a candle, if its taking much time without strength i exit the trade.
🧭 Harmonic Pressure Grid v1.0Purpose:
The Harmonic Pressure Grid helps traders visually identify hidden pressure zones formed by harmonic swing ratios, filtered through RSI momentum and volume surges. These zones often act as powerful support or resistance levels, marking areas of potential price exhaustion or reversal.
🧩 Core Features:
✅ Automatic Swing Detection – Uses pivot highs/lows to map market structure
✅ Harmonic Ratio Matching – Highlights areas where price swings match common harmonic ratios (0.618, 1.0, 1.272, 1.618)
✅ RSI Slope Filter – Confirms upward or downward momentum during pressure formation
✅ Volume Spike Confluence – Validates the strength of pressure using abnormal volume
✅ Background Pressure Zones – Color intensity reflects confluence strength (green for potential support, red for resistance)
📈 How to Use:
Look for green or red background zones on the chart.
Green = Bullish pressure (potential support)
Red = Bearish pressure (potential resistance)
Zone strength is based on RSI direction + volume spike.
Stronger zones = more likely to influence price
Use zones for:
Entry timing: Watch for reversal behavior or confirmation candles inside zones
Exit planning: Use as target areas for partial or full take profit
Confluence stacking: Combine with trendlines, Fibonacci, or your own price action logic
🔍 Tips:
Works best in swing or positional setups, not scalping
Can be combined with other indicators for added confirmation
Use on any timeframe to reveal hidden structural pressure
Tweak swing length or ratio tolerance for more or fewer zones
Auto Intelligence Selective Moving Average(AI/MA)# 🤖 Auto Intelligence Moving Average Strategy (AI/MA)
**AI/MA** is a state-adaptive moving average crossover strategy designed to **maximize returns from golden cross / death cross logic** by intelligently switching between different MA types and parameters based on market conditions.
---
## 🎯 Objective
To build a moving average crossover strategy that:
- **Adapts dynamically** to market regimes (trend vs range, rising vs falling)
- **Switches intelligently** between SMA, EMA, RMA, and HMA
- **Maximizes cumulative return** under realistic backtesting
---
## 🧪 materials amd methods
- **MA Types Considered**: SMA, EMA, RMA, HMA
- **Parameter Ranges**: Periods from 5 to 40
- **Market Conditions Classification**:
- Based on the slope of a central SMA(20) line
- And the relative position of price to the central line
- Resulting in 4 regimes: A (Bull), B (Pullback), C (Rebound), D (Bear)
- **Optimization Dataset**:
- **Bybit BTCUSDT.P**
- **1-hour candles**
- **2024 full-year**
- **Search Process**:
- **Random search**: 200 parameter combinations
- Evaluated by:
- `Cumulative PnL`
- `Sharpe Ratio`
- `Max Drawdown`
- `R² of linear regression on cumulative PnL`
- **Implementation**:
- Optimization performed in **Python (Pandas + Matplotlib + Optuna-like logic)**
- Final parameters ported to **Pine Script (v5)** for TradingView backtesting
---
## 📈 Performance Highlights (on optimization set)
| Timeframe | Return (%) | Notes |
|-----------|------------|----------------------------|
| 6H | +1731% | Strongest performance |
| 1D | +1691% | Excellent trend capture |
| 12H | +1438% | Balance of trend/range |
| 5min | +27.3% | Even survives scalping |
| 1min | +9.34% | Robust against noise |
- Leverage: 100x
- Position size: 100%
- Fees: 0.055%
- Margin calls: **none** 🎯
---
## 🛠 Technology Stack
- `Python` for data handling and optimization
- `Pine Script v5` for implementation and visualization
- Fully state-aware strategy, modular and extendable
---
## ✨ Final Words
This strategy is **not curve-fitted**, **not over-parameterized**, and has been validated across multiple timeframes. If you're a fan of dynamic, intelligent technical systems, feel free to use and expand it.
💡 The future of simple-yet-smart trading begins here.
Price over VolumeVersion 0.1
Price over Volume Indicator
Description
The Price over Volume indicator calculates the ratio of the closing price to the trading volume (price / volume) for the current chart's symbol and displays it as a histogram in a separate pane. A horizontal zero line is included as a reference to highlight positive and negative values or periods of undefined data (e.g., zero volume). The indicator is designed to help traders analyze the relationship between price movements and trading volume.
Insights Provided
Price-Volume Dynamics: The indicator shows how price per unit of volume fluctuates, offering insights into market efficiency and liquidity. High ratios may indicate low volume relative to price, suggesting potential volatility or thin markets, while low ratios may reflect high volume supporting price stability.
Trend and Momentum Analysis: Spikes or trends in the price-to-volume ratio can signal significant market events, such as buying/selling pressure or low liquidity periods, helping traders identify potential reversals or continuations.
Zero Line Reference: The zero line helps identify periods where the ratio is undefined (e.g., zero volume) or negative (if applicable), aiding in the interpretation of market conditions.
Volume Sensitivity: By normalizing price by volume, the indicator highlights how volume influences price movements, which is useful for assessing the strength of trends or breakouts.
How to Use
Setup: Apply the indicator to any chart with price and volume data (e.g., stocks, cryptocurrencies like BINANCE:BTCUSDT). The histogram appears in a separate pane below the main chart.
Interpretation :
High Ratios: Indicate low trading volume relative to price, potentially signaling overbought conditions or low liquidity. Use with caution in thin markets.
Low Ratios: Suggest high volume supporting price levels, indicating stronger market participation or stability.
Spikes: Watch for sudden increases in the ratio, which may precede volatility or significant price moves.
Zero Line: Periods where the histogram is absent (due to zero volume) indicate no trading activity, useful for identifying illiquid periods.
Trading Applications:
Confirmation Tool: Combine with other indicators (e.g., RSI, MACD) to confirm trend strength. A rising price-to-volume ratio with a price uptrend may indicate weakening volume support, suggesting a potential reversal.
Volume Analysis: Use alongside volume-based indicators (e.g., OBV, VWAP) to assess whether price movements are backed by sufficient volume.
Scalping/Day Trading: Monitor intraday ratio changes to identify high-impact periods with low volume, which may offer short-term trading opportunities.
Customization: Adjust the histogram color or style (e.g., change to line plot) via the Pine Editor to suit your preferences. Consider adding smoothing (e.g., moving average) for cleaner signals.
Notes
Data Requirements: Ensure the chart’s symbol has valid volume data. Symbols with no volume (e.g., some forex pairs) will result in undefined (na) values.
Limitations: The indicator is sensitive to zero-volume periods, which may cause gaps in the histogram. Use on high-liquidity symbols for best results.
Performance: Lightweight and efficient, suitable for all timeframes.
This indicator is ideal for traders seeking to understand the interplay between price and volume, offering a unique perspective on market dynamics for informed trading decisions.
Drunken Bird Inspiration for the support and resistance plateau lines came from AnotherDAPTrader.
The TSL Drunken Bird is an enhanced technical analysis tool for swing traders on TradingView, based on the original Accurate Swing Trading System by ceyhun. It generates buy and sell signals when price crosses a dynamic Trailing Stop Loss (TSL) level derived from recent highs and lows. This version introduces plateau detection for support and resistance lines, dynamic label expiration to reduce clutter, customizable line styles and decay, and improved HTF confluence for trend-aligned trading. Visual elements include signal labels, horizontal lines, a colored TSL plot, and optional bar/background coloring. Alerts are available for buy/sell crossovers, making it suitable for assets like NASDAQ E-mini futures, stocks, forex, and more.
This script adapts and expands upon ceyhun's original codetradingview.com, adding significant features such as tolerance-based plateau identification for support/resistance, label management with timeframe-aware expiration (~7 days), cross-count decay for lines, and expanded customization options. Inspiration for the support and resistance plateau lines came from AnotherDAPTrader. Released under the Mozilla Public License 2.0.Key
Features
Swing Signals: "BUY" and "SELL" labels on price crossovers/crossunders of the TSL, with a user-defined lookback (default 3).
HTF Confluence: Filters signals based on higher timeframe trend (e.g., "EXIT LONG" instead of "SELL" if HTF is bullish); toggleable.
HTF Options: Select from 5m, 15m, 30m, 1h, 4h, Daily, Weekly, or Monthly.
Plateau Detection: Identifies flat highs/lows (with tolerance) for resistance/support lines, plotted as dotted/solid/dashed with customizable colors, thickness, and decay after crosses (default 2).
Horizontal Lines: Green (buy) and red (sell) lines at signal closes, extending right until crossed; toggle between short (no extension limit) or long visualization.
TSL Visualization: Colored line (green if close >= TSL, red otherwise) for dynamic levels.
Bar/Background Coloring: Optional green/red coloring based on price vs. TSL.
Label Expiration: All labels (signals and plateaus) auto-delete after ~7 days (timeframe-adjusted, default 1008 bars).
Alerts: Triggers for "Buy Signal" and "Sell Signal" on crossovers.
How to Use
Add to Chart: Paste the Pine Script into TradingView's editor and add to your chart.
Configure Settings:
Swing: Lookback for highs/lows (min 1).
Plateau Tolerance: Flatness allowance (default 0.0).
Use HTF Confluence: Enable for trend filtering.
Higher Time Frame: Choose timeframe string.
Barcolor/Bgcolor: Toggle coloring.
Show Plateau Lines: Enable support/resistance.
Line Styles/Colors/Thickness: Customize buy/sell and plateau visuals.
Plateau Line Decay: Crosses before stopping extension.
Label Expiration: Bars for auto-deletion (~7 days).
Interpret Elements:
Labels: "BUY"/"SELL" (green/red), "EXIT SHORT"/"EXIT LONG" (orange) on signals; "Res"/"Sup" on plateaus.
Lines: Extend right until conditions met (cross for buy/sell, decay threshold for plateaus).
TSL Plot: Monitors trend shifts.
Set Alerts: Use "Buy Signal" or "Sell Signal" conditions for notifications.
Testing: Apply to volatile assets; adjust Swing for signal frequency, tolerance for plateau sensitivity.
Ideal Use Cases
Swing trading on 1m–1h charts for entries/exits aligned with HTF trends.
Identifying support/resistance in ranging markets via plateaus.
Scalping with short lookbacks or longer swings with HTF enabled.
Manual or alert-based trading on futures, stocks, or forex.
Why It's Valuable
This indicator builds on ceyhun's core TSL logic with practical enhancements for modern trading: clutter reduction via expiration/decay, visual customization, and plateau-based S/R for better context. It promotes disciplined, trend-aware decisions while maintaining simplicity.
Note: Optimized for any timeframe/asset; test in demo. Not financial advice—use with risk management.
KIORI - VWAP mit StdDev + 0,25 Bändern🎯 VWAP Enhanced - Professional Standard Deviation Bands with Precision Zones
This advanced VWAP indicator provides comprehensive price movement analysis through multi-layered standard deviation bands with additional 0.25 precision zones.
🔥 Key Features:
VWAP core line (blue) - Volume Weighted Average Price
3-tier standard deviation bands (1x, 2x, 3x) with individual color coding
0.25 precision zones around EVERY standard deviation line (above/below)
Complete band filling for better visual orientation
Flexible anchor periods (Session, Week, Month, Quarter, Year, Earnings, Dividends, Splits)
📊 Color Coding:
🔵 VWAP + 0.25 zones (Light Blue)
🟢 1x StdDev + 0.25 zones (Green/Light Green)
🟡 2x StdDev + 0.25 zones (Yellow/Light Yellow)
🔴 3x StdDev + 0.25 zones (Red/Light Red)
⚡ Trading Applications:
Support/Resistance at standard deviation lines
Precise entry/exit points through 0.25 zones
Volatility measurement across multiple levels
Mean-reversion strategies with clear target areas
Breakout detection when exceeding outer bands
🎨 Optimized for:
Day trading and scalping
Swing trading strategies
Volatility-based positioning
Multi-timeframe analysis
This indicator combines proven VWAP methodology with high-precision standard deviation zones, providing traders with a professional tool for precise market analysis and positioning
Buy Dip Multiple Positions🎯 Objective
This strategy aims to capture aggressive dip-buying opportunities during volume-confirmed price reversals in short term downtrending markets. It is optimized for multi-entry precision, adaptive stop management, and real-time trade monitoring.
It allows traders to execute multiple long entries and dynamically trail stops to maximize gains while capping risk. Designed with modular inputs, this strategy is ideal for intraday momentum scalping and swing trading alike.
🔧 How It Operates
The strategy triggers buy entries when three conditions align:
Reversal Candle: Current close < prior low × 0.998
Volume Confirmation: Current volume exceeds average of prior 2 bars × 1.2
Price Surge Threshold: Current close below user-defined % of close from N bars ago
Once a reversal candle is confirmed, the strategy:
Calculates position size based on user-defined risk parameters
Allows up to a max number of simultaneous trades
Trailing Stop kicks in 2 bars after entry, climbing by a user-defined % each bar
Exit occurs when price hits either the trailing stop or target price
🛠️ Inputs
Users can customize all major aspects of the strategy:
Max Simultaneous Trades: Default 20
Trailing Stop Increase per Bar (%): Default 1%
Initial Stop (% of Reversal Low): Default 85%
Target Price (% Above Reversal Low): Default 60%
Price Surge Threshold (% of Past Close): Default 89%
Surge Lookback Bars: Default 14
Show Active Trade Dot: Toggle to display green trade status dot
📊 Visual Overlays
The chart displays the following:
Marker Description
🟢 Green Dot Active trade (toggleable)
🔴 Red Dot Max trades reached
📈 Trailing Stop Applied internally but not plotted (can be added)
📊 Metrics Plots of win rate, winning/losing trade counts
📎 Notes
Strategy uses strategy.cash allocation logic
Entry size adapts to account equity and risk per trade
All parameters are accessible via the settings panel
Built entirely in Pine Script v5
This strategy balances flexibility and precision, giving traders control over entry timing, capital allocation, and stop behavior. Ideal for those looking to automate dip-buy setups with tactical overlays and visual alerts.
RAA Buy Sell[RanaAlgo]Overview
The RAA (RanaAlgo Adaptive Average) Buy Sell indicator is a trend-following tool that helps identify potential buy and sell signals based on price deviation from an adaptive moving average. It uses a combination of:
(Fractal Adaptive Moving Average) – Adjusts its sensitivity based on market volatility.
RAA Bands – Dynamic upper/lower bands calculated using a multiplier applied to the average deviation.
🔹 Key Features
Trend Identification
Bullish Trend →
Bearish Trend →
Signal Generation
Visual Enhancements
Colored candles (green for bullish, red for bearish).
Dynamic bands to visualize trend strength.
Alerts
Customizable buy/sell alerts for real-time notifications.
🔹 Usefulness in Trading
✅ Trend Confirmation – Helps confirm trend direction before entering trades.
✅ Reduces False Signals – Uses adaptive bands to filter out noise.
✅ Works Across Timeframes – Effective on intraday, swing, and long-term trading.
✅ Customizable – Adjustable length and multiplier for different market conditions.
🔹 Best Used For
Trend-following strategies (riding strong trends).
Breakout trading (entering when price confirms momentum).
Avoiding choppy markets (since the adaptive bands widen in volatility).
Gabriel's Relative Strength IndexGabriel’s RSI—The Reinvention of Relative Strength
Not your average RSI.
This is a fully reengineered Relative Strength Index that merges the power of advanced signal processing, adaptive smoothing, volume dynamics, and intelligent divergence detection into a single, modular toolkit designed for precision trading across all markets.
Whether you’re scalping crypto, swing trading equities, or dissecting futures contracts—Gabriel’s RSI adapts to your strategy with unrivaled control and clarity.
⚙️ 1. RSI Settings
RSI Length (Jurik): Set to 51 by default to mimic a 21-period standard RSI when Jurik smoothing is applied. Adjust lower (e.g., 22) to mimic a 9-period RSI. 32 would be almost ~14, 13.33 RSI.
RSI Source: The default is hlc3 for smoother RSI. Can be changed to any price-based series (close, open, etc.) for customization.
📡 VIX-Aware: Automatically switches to high/low/close during VIX spikes using a custom Z-score model if toggled. (I backtested it, and it catches bottoms better.) 📡
🎯 2. RSI Smoothing Options
MA Type: Smoothing applies to both RSI and its MA overlay simultaneously. I used to use the 56 EMA RSI, and it works well too.
Options: JMA, T3, Kalman, Laguerre, Super Smoother, ALMA, VWMA, LSMA, etc.
JMA: Best for adaptive recursive smoothing. A power of 2 and a phase of 50 are used.
T3: Smooth and lag-reduced, suitable for trend detection. The alpha is 0.7.
SMA + Bollinger Bands: Adds deviation-based envelopes for volatility spotting. BB StdDev: Only relevant if BBs are used. Controls bandwidth for overbought/oversold zones.
MA Length: Affects how smooth or reactive the RSI signal is.
📉 3. MACD Settings
Fast/Slow Length: Defaults (21/81) optimized for smoother MACD with SMA or T3. For Algo trading, EMA/JMA is best.
Signal Length: Shorter (e.g., 2) gives more reactive crossover signals; it can be increased.
Source: Default is close. Close works best for the settings I input. I also tuned some of the other MA types that worked for it.
MA Types: JMA and EMA reduce noise and increase signal generation. Select SMA for simplicity or T3 for trend-following.
Histogram: Bar colors signal strength and trend of MACD directly on your chart.
🔀 4. Directional Movement Index (DMI)
ADX Smoothing: High values (e.g., 100) offer strong trend confirmation with Hann Window smoothing 12, or 14 for either regular RMA or double smoothed.
DI Length: Affects DI+/- sensitivity. 100 ADX - 12/14 DI or 15 ADX - 35 DI are suggested, the latter for quicker boot time, as 100 bars is quite long.
Smoothing Type: Choose Hann Window for refined smoothing; RMA (SMMA) for simplicity. Double-smoothing is RMA -> Hann window, best of both types.
Volatility Type: ATR includes gaps for a full-range volatility; ADR is useful for gapless strategies, particularly OTC markets and intraday.
Plotted as area fills, 0 to 100 scaled.
Color-coded as Red (ADX), Orange (DI-), Blue (DI+).
📊 5. Volume Z-Score
%R Length: Normalizes volume to percentile range (73 swing, 112 exhaustion).
Z-Score Lengths: Compares short-term and long-term volume trends with Z-scores of volume.
Fast Z-Score < Slow Z-Score = Gives a Volume Squeeze.
Fast MA > Slow MA = Bullish Volume Divergence; volume has been fired. Not via Z-score, but instead via SMA, ALMA, and RMA of volume.
WPR Volume: Weighted %R used to highlight exhaustion/pivot points.
Plot volume bars after a volume squeeze has been fired; if bars aren't plotted, then it's under squeeze. Backtest on ES1! Prove it's good for catching bottoms below 15 minutes as well.
🧠 6. Divergence Engine
Pivot Settings: Pivot Period (12), Divergence minval Lookback (5), and max Lookback Bars (100) control sensitivity. Works well on any asset class; these are the optimal settings for the RSI.
Source Options: RSI, MACD, ADX, DI difference, or Volume %R.
Divergence Types: Regular (Mean Reversal), Hidden (Trend Continuation).
Heikin Ashi Mode: Enables use of HA candles on normal charts for smoother pivots. May distort values if your chart is H.A. so leave it unchecked then.
💥 7. Squeeze Momentum System (SQZMOM PRO)
Squeeze Types:
⚫ Wide (Black) — Regular Compression
🔴 Normal (Red) — Standard squeeze
🟡 Narrow (Yellow) — Golden squeeze
🟣 Very Narrow (Purple) — Extreme compression
🟢 Fired (Green) — Fired Squeeze = Breakout
Plotted on the very bottom of my indicator.
Momentum Bars:
🔷 Cyan = Rising
🔵 Blue = Pullback
🔴 Red = Falling
🟡 Yellow = Corrective
Plotted on the top of my indicator.
Reversal Signals: Dashed lines on momentum–JMA crossovers (DM-style pivot logic) ploted directly on the chart.
📈 8. Rate of Change (RoC)
RoC of Momentum: EMA-smoothed RoC on momentum for leading signals. Double smoothed, once and then another time for smoother signals.
RoC of Momentum → EMA → EMA → JMA Signal.
Signal Line: JMA used to filter noise and generate reversal signals.
Crossovers: Bullish/bearish signals based on RoC vs. signal line are plotted as triangles directly on your chart.
Optimized: Backtested for short-term setups like 1H or faster. Works on Daily timeframes as well for Futures and 24/7 Markets.
🕰️ 9. Multi-Timeframe Squeeze Settings
Each timeframe (Hourly, 4H, Daily, Weekly, Monthly) has:
Reversal Toggle: Enables dashed line DM-style pivots on crossovers.
MA Length: For Jurik MA smoothing on momentum.
BB/KC Thresholds: Define squeeze sensitivity per timeframe. A shorter BB/KC length, 17-14-12, responds better on lower timeframes.
Momentum Length: Tailors oscillator responsiveness; 20 is ideal.
🧮 10. BB Std. Deviation Scaling
Low-Pass Super Smoother : Smooths noise for BBs.
High-Pass Butterworth : Extracts cycles for BB Stdv. blend.
Root Mean Squared : Dynamic BB width adjustment based on market activity. True-range-based.
LP -> HP -> RMS -> Bollinger Band Multiplier (2.0)
Optional Intensify: Increases the squeeze rate * 4. Can be used for some option pricing strategies.
🧵 11. Moving Average Ribbon
4 optional MAs with full customization:
Choose from 13 MA types (incl. Kalman, Laguerre, T3, ALMA)
Color-coded for trend analysis (MA1–MA4 mimicking 9/21/50/200 periods)
Optional crossover alerts
🔔12. Alerts
RSI: Overbought/oversold reversals. Several types. (🦅 / 🕊️)
MACD: Histogram shift through zero line. (🐘 / 🐴)
DMI/ADX: Crossovers and strength conditions. The key level is the level where if DI/ADX is past this threshold, then it's considered to be trending. (🐬 / 🐋 / 🛡️)
Volume: Smart Money alerts on low-volume zones. May concentrate on ICT sessions. (🚨)
Squeeze: Alerts on all 5 squeeze states. (⚫, 🔴, 🟡, 🟣, 🟢)
Momentum: Momentum / JMA crosses and reversals. (🐂 / 🐻)
RoC: Bullish and bearish crosses. (📈 / 📉)
Divergences: Regular, hidden, and combined. (🐂 / 🐻 / 🐾 / 🐼)
MA Ribbon: Cross alert (⚔️)
VIX: VIX Z-Score past 2.0 (🏴☠️)
📊 13. Visual Output Summary
RSI Line + MA + Optional BB
MACD Histogram (Color Adaptive)
DMI/ADX Area Fills
%R Volume Bars (Smart Money)
Squeeze Dots (Circles)
Momentum Bars (Squares)
RoC Arrows (Cross Signals)
Pivot Break Lines (Dashed)
Auto-Divergence Lines & Labels
MA Ribbon Overlay (Optional)
✅ Best Practices ✅
Watch the slope of the RSI for pullbacks on a strong trend. Combine it with squeeze for exit timing.
Combine RSI Divergence with MACD histogram cross and Squeeze firing for precise entry.
Use Volume Z-Score to filter for institutional activity, and enter Long. Watch for reversals as well.
Watch RoC crossovers for fast, leading signals.
Enable Reversal Lines on 1H+ charts for breakout or breakdown pivots.
Use multi-timeframe thresholds for swing confirmation. The TFs I use the most are 2-5-15 minutes for futures and swinging with 1 hour daily and weekly. Those are the TFs I backtested.
An optional MA Ribbon is here as well; it supports 13 MA types.
🌎 Asset-Agnostic
MACD Automatically adjusts for Crypto, Forex, Stocks, Commodities, and Indices.
Custom ALMA, T3, Kalman, and Laguerre filters optimized per asset class and timeframe.
📚 Tech Highlights
Over 15,000 lines of modular, structured Pine Script v6 code.
Integration of Ehlers Cycle Theory and various other filters, one for each indicator.
Designed for visual clarity, multi-dimensional signal stacking, and low lag/high accuracy.
🌀 All 64 outputs are filled, so there might not be any more future updates. It's also a bit slow to load due to that.
Rally/Drop Market Structure (Multi-Timeframe)Rally/Drop Market Structure
Supply and Demand Zones from Bullish/Bearish Breaks
Overview:
The Rally/Drop Market Structure indicator is a powerful price action tool that identifies key structural turning points in the market by detecting bullish and bearish breaks . After each confirmed break, it plots either a demand zone (following a bullish break or rally) or a supply zone (following a bearish break or drop). These zones represent institutional footprints — areas where price is likely to react due to imbalance or unfilled orders.
The indicator is based on synthetic higher timeframe (HTF) candles to provide a more stable and smoothed structural map, improving clarity and signal quality over raw candles.
How It Works:
- A bullish break is defined when price makes a higher high and a higher low (or closes above the previous high depending on your selected mode).
- A bearish break is defined when price makes a lower high and a lower low (or closes below the previous low).
- After a bullish break, the indicator plots a demand zone based on the low and high of the most recent bearish candle — representing where demand stepped in.
- After a bearish break, the indicator plots a supply zone from the most recent bullish candle — indicating where supply took control.
- Optional mitigation logic marks zones as mitigated (or deletes them) once price trades into the opposing side.
- Internal shift detection highlights swing highs and lows , labels structural points (HH, HL, LH, LL), and identifies potential liquidity sweeps .
Features:
- Dynamic plotting of rally-based demand zones and drop-based supply zones
- Toggle to use Highs/Lows or Close-based breaks for structure
- Support for LTF, MTF, and HTF analysis (with selectable timeframe)
- Zone mitigation logic with optional automatic cleanup
- Labeling of key swing points: HH , HL , LH , LL , and LS (Liquidity Sweep)
- Zigzag visualization for structure flow
- Alert-ready for internal shifts, BoS, and zone creation
- Separate styling options for BoS lines, internal shift shapes, and zone colors
How to Use:
- Set your desired HTF candle source (e.g., 1H or 4H) depending on your trading style.
- Use Highs/Lows mode for pure price action structure or Close mode for more conservative signals.
- Observe when a bullish break occurs — a demand zone will form where price previously dropped before rallying. Look for long opportunities if price revisits this zone.
- After a bearish break , a supply zone forms where the rally failed — use this to scout short entries on retests.
- Use BoS lines to confirm structure shifts and validate entry triggers or trend direction.
- Monitor mitigated zones for reduced reliability or avoid them completely by enabling automatic deletion.
- Use alerts to stay notified about key changes without watching the chart constantly.
Recommended Strategies:
- Smart money or ICT-style trading : identify institutional footprints and mitigation setups
- Reversal trading : catch price rejecting off unmitigated zones after structure break
- Trend continuation : enter in the direction of internal structure after pullbacks into zones
- Liquidity sweep confirmation : filter out false breaks using HH/LL with LS detection
Tips:
- Combine this indicator with a higher timeframe bias tool (e.g., moving average, higher timeframe market structure).
- For scalping, use tighter HTFs and reduce the zone duration.
- For swing trading, use larger HTFs (1H, 4H, Daily) and increase zone persistence.
Summary:
The Rally/Drop Market Structure indicator gives you an actionable framework for understanding price structure, market intent, and supply/demand imbalances. Whether you're looking for precision entries, trend confirmation, or smart money concepts, this tool helps simplify complex price behavior into clean, usable structure and zones.
NY Open ATR System - Tick Range Filter### **New York Open ATR System - Brief Overview**
#### **🎯 Core Purpose**
Identifies **high-potential breakout setups** at the New York open (13:30 UTC) by combining:
1. **Volatility filters** (dual ATR periods)
2. **Tick-based range analysis**
3. **Time-specific triggers**
---
### **⚙️ Key Components**
| **Feature** | **Function** |
|---------------------------|-----------------------------------------------------------------------------|
| **ATR Filters** | Dual volatility checks (short + long periods) at 13:25 UTC |
| **Tick Range Limit** | Highlights candles with range < user-defined ticks (default: 150) |
| **Time Precision** | Focuses exclusively on 13:30 UTC weekday candles |
| **Visual Markers** | Yellow highlight + tick count label (e.g., "147/150 ticks") |
| **Info Panel** | Real-time display of settings and current tick count |
---
### **📊 How It Works**
1. **Pre-Open Check (13:25 UTC)**
- Verifies market volatility using 2 ATR values
- Requires both to exceed user-defined thresholds
2. **Open Analysis (13:30 UTC)**
- Measures exact tick count: `(high - low) / instrument_mintick`
- Compares against your max tick limit (adjustable 1-5000)
3. **Visual Trigger**
- Highlights candle yellow if:
```tick_count < your_set_limit```
- Labels show exact performance vs limit (e.g., "142/150 ticks")
---
### **⚡ Trading Signals**
| **Condition** | **Visual Feedback** |
|----------------------------|---------------------------------------------|
| High volatility + tight range | Yellow candle + tick count label |
| All other scenarios | No marking |
---
### **🛠️ Customization**
```pine
// Key Adjustable Parameters:
maxTicks = input.int(150) // Set 1-5000 ticks
atrPeriod1 = input.int(14) // Short ATR (2-5000)
atrPeriod2 = input.int(161) // Long ATR (2-5000)
candleColor = input.color(color.yellow) // Highlight color
```
---
### **💡 Practical Use Cases**
1. **Breakout Anticipation**
- Tight ranges after volatility spikes often precede strong moves
2. **Session Scalping**
- Identify low-range opens for mean-reversion plays
3. **Volatility Filtering**
- Avoid trading when ATR thresholds aren't met
---
### **📈 Suggested Settings**
| **Market** | **Max Ticks** | **ATR Periods** |
|------------------|--------------|----------------|
| Forex (EUR/USD) | 100-200 | 14/161 |
| Stocks (SPY) | 50-120 | 10/200 |
| Crypto (BTC) | 300-500 | 20/100 |
---
### **✅ Benefits**
- **Precision Timing**: Focused on NY open liquidity surge
- **Quantitative Filtering**: Exact tick measurement + volatility thresholds
- **Clean Visuals**: No chart clutter - only marks qualifying candles
- **Adaptable**: Works across all markets and timeframes
This system helps traders spot high-probability breakout setups by combining volatility anticipation with precise range measurement at the market's most liquid opening window.
Initial Balance Wave MapThis indicator visualizes the Initial Balance (IB) range for any session, marking the first hour's high and low. It includes optional midpoints, extensions (e.g. 1.5x IB, 2x IB), and customizable time windows. Additional features allow users to display session open, high, low, close, and VWAP reference points. Designed to support price action and session structure analysis, it adapts to various global futures and FX market opens. All display elements are optional and fully configurable.
This updated indicator builds upon the open-source foundation by @noop-noop with enhancements and user-facing labels tailored for Auction Market Theory, scalping, and structure-based trade setups.
Key updated Featured: Multiple previous day's IB levels carry forward into the current day's chart, as opposed to just the previous day's levels carrying forward to the new IB time.
🙌 Credits:
This script builds upon the excellent open-source work by @noop-noop. Original script available here .