20 Day Range High/Low (Turtle Soup)This indicator identifies the Highest High and Lowest Low of the last 20 periods (customizable) and projects horizontal support/resistance lines to the right.
Unlike standard Donchian Channels or other High/Low indicators that clutter the chart with historical "steps" or extend lines infinitely to the left, this script focuses on chart cleanliness.
Key Features:
Pivot-Point Start: The lines do not span the whole chart. They start exactly at the candle where the High or Low occurred.
Right Extension: Lines extend only to the future, providing a clear visual for potential breakouts or support levels.
No Historical Clutter: It does not draw the past movement of the High/Low, keeping your chart clean for price action analysis.
Dynamic: As new Highs or Lows are made, the lines instantly update to the new positions.
How to Use:
Trend Identification: Use the High line as a resistance/breakout level (similar to Turtle Trading strategies).
Stop Loss Placement: The Low line of the last 20 days often acts as a trailing stop location for long-term trends.
Timeframes: While designed for the classic "20-Day" lookback on the Daily chart, this script works on any timeframe (e.g., finding the 20-hour range on a 1H chart).
Settings:
Length: Default is 20 bars. You can change this in the settings to any lookback period you prefer (e.g., 50, 100).
Göstergeler ve stratejiler
Bollinger Bands Regression Forecast [BigBeluga]🔵 OVERVIEW
The Bollinger Bands Regression Forecast combines volatility envelopes from Bollinger Bands with a linear regression-based projection model .
It visualizes both current and future price zones by extrapolating the Bollinger channel forward in time, giving traders a statistical forecast of probable support and resistance behavior.
🔵 CONCEPTS
Classic Bollinger Bands use a moving average (basis) and standard deviation (deviation) to form dynamic envelopes around price.
This indicator enhances them with linear regression slope detection , allowing it to forecast how the band may expand or contract in the future.
Regression is applied to both the band’s basis and deviation components to predict their trajectory for a user-defined number of Forecast Bars .
The resulting forecast creates a smoothed, funnel-shaped projection that dynamically adapts to volatility.
▲ and ▼ markers highlight potential mean reversion points when price crosses the outer bounds of the bands.
🔵 FEATURES
Forecast Engine : Uses linear regression to project Bollinger Band movement into the future.
Dynamic Channel Width : Adapts standard deviation and slope for realistic volatility modeling.
Auto-Labeled Levels : Displays live upper and lower forecast values for quick reference.
Cross Signals : Marks potential overbought and oversold zones with ▲/▼ signals when price exits the band.
Trend-Adaptive Basis Color : Basis line automatically switches color to represent short-term trend direction.
Customizable Colors and Widths for complete visual control.
🔵 HOW TO USE
Apply the indicator to visualize both current Bollinger structure and its forward projection.
Use ▲/▼ breakout markers to identify short-term reversals or volatility shifts.
When price consistently rides the upper band forecast, the trend is strong and likely continuing.
When regression shows narrowing bands ahead, expect a volatility contraction or consolidation period.
For range traders, outer projected bands can be used as potential mean reversion entry points .
Combine with volume or momentum filters to confirm whether breakouts are genuine or fading.
🔵 CONCLUSION
Bollinger Bands Regression Forecast transforms classic Bollinger analysis into a predictive forecasting model .
By merging volatility dynamics with regression-based extrapolation, it provides traders with a forward-looking visualization of likely price boundaries — revealing not only where volatility is but also where it’s heading next.
Fibonacci Bands 33 — Pro (auto+fix EMA/ATR + HTF panel)Fibonacci Bands 33 — Pro (auto+fix EMA/ATR + HTF panel)
Jace's Raff ChannelJust a basic, no-frills, Raff Regression channel. You can adjust the regression length and provide a starting point offset.
Average Price BUY-SELL_Bulent-V2Tracking prices that you have defined and trigger the crossing of them
Smoothed VWAP Bands + EMAsSmoothed VWAP bands
With my script, you take the raw standard deviation and apply an EMA (exponential moving
Advantages:
1. Less noise:
* The bands don’t jump around with every tiny price spike.
* Makes it easier to judge real price extremes.
2. Better zone visualization:
* Inner and outer bands are smoother and more visually “stable.”
* Easier to see meaningful trends, support/resistance, and breakout zones.
3. Fewer fakeouts:
* Traders can filter out small false signals because smoothed bands only move when volatility actually changes.
4. Dynamic to volatility:
* EMA smoothing keeps the bands adaptive:
* In quiet periods, bands tighten.
* In volatile periods, bands expand.
* But it avoids extreme jitter caused by every micro-move.
Safe Zone Rules
1. Long entries (green zone):
* Price above VWAP (trend bullish).
* Price inside inner band ±1σ (not touching outer extremes).
* Optional: candle close confirmation (price fully above inner band).
2. Short entries (red zone):
* Price below VWAP (trend bearish).
* Price inside inner band ±1σ.
* Optional: candle close confirmation.
3. Outer bands (±2σ):
* Considered overextended zones → avoid entries to reduce fakeouts.
4. Visual cues:
* Safe zones shaded lightly green/red inside inner band.
* Outer bands remain unshaded (for context).
Here’s a cheat sheet for trading the Smoothed VWAP Bands + EMAs that shows safe entry zones and trend alignment clearly.
Smoothed VWAP Bands + EMAs Cheat Sheet
Price Action Relative to Bands & EMAs
+2σ (Outer Upper Band)
----------------
Extreme volatility zone
Avoid entries here
+1σ (Inner Upper Band)
----------------
Safe zone limit for longs
Consider profit taking here
VWAP Line (Green = Bullish, Red = Bearish)
==================
Core trend indicator
Only trade in VWAP trend direction
-1σ (Inner Lower Band)
----------------
Safe zone limit for shorts
Good for entries in trend direction
-2σ (Outer Lower Band)
----------------
Extreme volatility zone
Avoid entries here
1️⃣ Trend Direction with VWAP & EMAs
* VWAP → shows the overall session trend.
* Price above VWAP → bullish
* Price below VWAP → bearish
* EMA 5 (blue) → short-term momentum
* EMA 20 (orange) → medium-term trend
Rule: Only take trades in the direction of the trend:
* Long trades → price > VWAP and EMA 5 > EMA 20
* Short trades → price < VWAP and EMA 5 < EMA 20
This prevents chasing trades against the trend and reduces fakeouts.
2️⃣ Entry Zones Using Smoothed VWAP Bands
* Inner band (±1σ) → “safe entry zone”
* Outer band (±2σ) → volatility extremes → avoid entries here
Rule: Enter longs inside the inner band above VWAP and shorts inside the inner band below VWAP.
Best used on intraday timeframes.
15, 5, 2, 1 min charts.
Normalised Volume Oscillator [BackQuant]Normalised Volume Oscillator
A refined evolution of the Klinger Volume Oscillator, rebuilt for clarity, precision, and adaptability. This tool normalizes volume-driven momentum into a bounded scale so you can easily identify shifts in accumulation and distribution across any asset or timeframe, while keeping readings comparable between markets.
What this indicator does
The Normalised Volume Oscillator quantifies the balance between buying and selling pressure using the Klinger Volume Oscillator (KVO) as its base, then rescales it dynamically into a normalized range between -0.5 and +0.5. This normalization allows traders to interpret relative strength and exhaustion in volume flow, rather than dealing with raw unbounded values that differ across symbols.
It is a momentum-volume hybrid that reveals the strength of trend participation: when buyers dominate, normalized readings rise toward +0.5; when sellers dominate, they fall toward -0.5. The midline (0) acts as an equilibrium between accumulation and distribution.
Core components
Klinger Volume Oscillator: The foundation of this indicator, combining volume with price trend direction to measure long-term money flow relative to short-term movement.
Normalization process: The raw KVO is scaled over a user-defined Normalisation Period , computing `(KVO - lowest) / (highest - lowest) - 0.5`. This centers all readings around zero, allowing overbought/oversold detection independent of asset volatility or volume magnitude.
Signal moving average: The normalized KVO is smoothed with a user-selectable moving average type—SMA, EMA, DEMA, TEMA, HMA, ALMA, and others. This becomes the signal line for confirmation of trend direction or mean-reversion setups.
How it works conceptually
1. The KVO detects when volume supports price movement (bullish) or diverges from it (bearish).
2. The script normalizes the raw KVO so that relative magnitude is consistent—what is “strong buying pressure” looks the same on BTCUSD as it does on AAPL.
3. Overbought and oversold regions are derived statistically, rather than from arbitrary values, based on percentile zones around ±0.4 and ±0.5.
4. The oscillator is optionally combined with a moving average to help identify crossovers, momentum shifts, and divergence confirmation.
How to interpret it
Above 0: Indicates dominant buying pressure and likely continuation of upward momentum.
Below 0: Suggests dominant selling pressure and potential continuation of downward movement.
Crosses of 0: Often mark transitions between accumulation and distribution phases.
+0.4 to +0.5 zone: Overbought region where buying intensity is stretched; watch for deceleration or divergence.
[-0.4 to -0.5 zone: Oversold region indicating panic or exhaustion in selling.
Signal-line crossover: A traditional momentum confirmation method; when the normalized KVO crosses above its moving average, buyers regain control, and vice versa.
Why normalization matters
Typical volume oscillators are asset-specific—what is considered “high” volume for one symbol is not the same for another. By dynamically normalizing KVO values within a rolling lookback, this version transforms raw amplitude into a standardized scale. This means you can:
Compare multiple assets objectively.
Set consistent alert thresholds for overbought/oversold regions.
Avoid misleading interpretations from absolute oscillator values.
Customization and UI
Moving Average Type & Period: Select your preferred smoothing method (SMA, EMA, TEMA, etc.) and adjust its period to tune sensitivity.
Normalisation Period: Defines how many bars the KVO range is measured over; shorter periods adapt faster, longer ones smooth more.
Visual Toggles:
* Show Oscillator : enables or hides the core histogram.
* Show Moving Average : adds a smoothed overlay for signal confirmation.
* Paint Candles : optional color overlay for chart candles based on oscillator direction.
* Show Static Levels : displays ±0.4 and ±0.5 zones for overbought/oversold boundaries.
How to use it
Trend confirmation: Use midline (0) crossovers as confirmation of emerging trend shifts—cross above 0 suggests a new bullish phase, cross below 0 a bearish one.
Reversal spotting: Look for normalized readings reaching ±0.5 and flattening, or diverging against price extremes.
Divergence analysis: When price makes a new high but the normalized oscillator fails to, it signals waning buying conviction (and vice versa for lows).
Multi-timeframe integration: Works best alongside higher timeframe trend filters or moving averages; normalization makes this consistent.
Alerts
Prebuilt alert conditions allow quick automation:
Midline crossovers (0): transition between accumulation and distribution.
Overbought (+0.4) and Oversold (-0.4) triggers for potential exhaustion.
Signal moving-average crosses for confirmation entries.
Tips for use
Combine with price structure—don’t fade every overbought/oversold reading; confirm with break of structure or candle patterns.
Use longer normalization periods for position trading, shorter for intraday analysis.
In choppy markets, treat 0-line oscillations as noise filters, not trade triggers.
Summary
The Normalised Volume Oscillator modernizes the classic Klinger Volume Oscillator by normalizing its readings into a standardized range. This makes it more adaptive across assets and timeframes, improves interpretability, and provides intuitive, data-driven overbought/oversold levels. Whether used standalone or as a confirmation layer, it offers a clearer view of volume dynamics—revealing when markets are truly being accumulated, distributed, or stretched beyond their sustainable extremes.
ICS🏛️ Institutional Confluence Suite (ICS) Indicator
The Institutional Confluence Suite is a powerful and highly customizable TradingView indicator built to help traders identify key institutional trading concepts across multiple timeframes. It visualizes essential market components like Market Structures (MS), Order Blocks (OB)/Breaker Blocks (BB), Liquidity Zones, and Volume Profile, providing a confluence of institutional price action data.
📈 Key Features & Components
1. Market Structures (MS)
Purpose: Automatically identifies and labels shifts in market trends (Market Structure Shift, MSS) and continuations (Break of Structure, BOS).
Timeframe Detection: You can select detection across Short Term, Intermediate Term, or Long Term swings to match your trading horizon.
Visualization: Plots colored lines (Bullish: Teal, Bearish: Red) to mark the structures and optional text labels (BOS/MSS) for clear identification.
2. Order & Breaker Blocks (OB/BB)
Purpose: Detects and projects potential Supply and Demand zones based on recent price action that led to a swing high or low.
Block Types: Distinguishes between standard Order Blocks and Breaker Blocks (OBs that fail to hold and are traded through, often serving as support/resistance in the opposite direction).
Customization:
Detection Term: Adjusts sensitivity (Short, Intermediate, Long Term).
Display Limit: Sets the maximum number of recent Bullish and Bearish blocks to display.
Price Reference: Option to use the Candle Body (Open/Close) or Candle Wicks (High/Low) to define the block boundaries.
Visualization: Displays blocks as colored boxes (Bullish: Green, Bearish: Red) extending into the future, with a dotted line marking the 50% equilibrium level. Breaker Blocks are indicated by a change in color/line style upon being broken.
3. Buyside & Sellside Liquidity (BSL/SSL)
Purpose: Highlights areas where retail stops/limit orders are likely clustered, often represented by a series of relatively equal highs (Buyside Liquidity) or lows (Sellside Liquidity).
Detection Term: Adjustable sensitivity (Short, Intermediate, Long Term).
Margin: Uses a margin (derived from ATR) to group similar swing points into a single liquidity zone.
Visualization: Plots a line and text label marking the swing point, and a box indicating the clustered liquidity zone.
4. Liquidity Voids (LV) / Fair Value Gaps (FVG)
Purpose: Identifies areas where price moved sharply and inefficiency was created, often referred to as Fair Value Gaps or Imbalances. These are price ranges where minimal trading volume occurred.
Threshold: Uses a multiplier applied to the 200-period ATR to filter for significant gaps.
Mode: Can be set to Present (only show voids near the current price) or Historical (show all detected voids).
Visualization: Fills the price gap with colored boxes (Bullish/Bearish zones), often segmented to represent the price delivery across the gap.
5. Enhanced Liquidity Detection
Purpose: A complementary feature that uses volume and price action to highlight areas of high liquidity turnover, potentially indicating stronger Support and Resistance zones.
Calculation: Utilizes a volume-weighted approach to color-grade liquidity zones based on their significance.
Visualization: Plots shaded boxes (gradient-colored) around swing highs/lows, with text displaying the normalized volume strength.
6. Swing Highs/Lows
Purpose: Directly marks the price points identified as Swing Highs and Swing Lows based on the lookback periods.
Timeframe Detection: Can be enabled for Short Term, Intermediate Term, or Long Term swings.
Visualization: Plots a small colored dot/label (e.g., "⦁") at the swing point.
This indicator is an invaluable tool for traders employing ICT (Inner Circle Trader), Smart Money Concepts (SMC), or general price action strategies, as it automatically aggregates and displays these critical structural and liquidity elements.
Previous Day Levels @darshaksscThis indicator provides intraday traders and analysts with immediate visual reference to the previous day's high, low, and close. These historical price levels are frequently watched by market participants for potential reaction, context, and session structure.
How to Add the Indicator:
Open any chart on TradingView.
Click the Indicators button at the top.
Search for “Previous Day Levels @darshakssc” in the Public Library.
Click the ★ Favorite icon if you wish to save it for quick access in the future.
Click the indicator’s name to add it to your chart.
The lines and labels will appear automatically on any intraday timeframe.
What You Will See:
Previous day’s High (red line and label: “Previous High”).
Previous day’s Low (green line and label: “Previous Low”).
Previous day’s Close (blue line and label: “Previous Close”).
These are drawn automatically at each new session and remain visible throughout today’s trading.
Usage:
Use these levels as reference points for context, risk placement, or understanding shifts in session structure.
Watch for price interactions, rejections, or consolidations around these lines—they often act as support/resistance for many trading strategies.
No signals or trade advice are provided by this tool. All decisions are made manually by the trader.
Features:
Persistent, color-coded horizontal lines and clear, small labels.
No alerts, buy/sell arrows, or any indication of trading performance.
Fully automated for each new session—no action required from the user after adding.
Disclaimer:
This indicator is intended for informational and charting purposes only. It is not financial advice or a buy/sell recommendation. Always perform your own due diligence before making trading decisions.
Mean Reversion Signals (v6.4) – VWAP ±SD use with "support and resistence levels with breaks {lux algo} " at 5m tf for better results
Engulf After 2 Same-Dir – Dashed → finished alertdrgdrgedrget drgrgrh fbrdtgrth fgbthg rthrthrthrt rthethbetdb rtgtrhyvdfd
2-Stage Dashboard (SQZPRO Wide + EMA)Dashboard for Darvas Box EMA momentum traders, located in the bottom right, mostly for quickly screening if a setup is viable.
- EMAs are 9 & 21
- SQZPRO set to wide squeezes
Long setup:
- Green SQZPRO row
- Green EMA row
Short setup:
- Green SQZPRO row
- Red EMA row
Auto Box Custom Pre SessionAuto Box Custom WIB Pre Session Asia (09.00 morning), London(14.00 evening), New York(19.00 night) M30 Area, M5 entry (winter session late 1 hour)
Intraday Master Levels + ORB Suite (ARJO)Intraday Master Levels + ORB Suite (ARJO)
This toolkit is designed for intraday traders.
It focuses on key reference levels used by professional traders— Previous Day High/Low, CPR, Opening Range Breakout (ORB) , dynamic ORB box visualization, and a dedicated Morning Session VWAP.
This indicator provides objective reference zones to help traders understand market context, volatility, and intraday bias .
Key Features
1. Previous Day Levels (PDH / PDL)
Automatically plots Previous Day High, Previous Day Low , and optional labels.
These levels often act as natural support/resistance and help identify breakout traps or reversals.
2. Full CPR (Central Pivot Range)
The indicator draws:
Top Central (TC)
Pivot (PP)
Bottom Central (BC)
These levels help traders interpret range, trend, expansion, contraction, and potential intraday direction.
3. Opening Range (OR) Levels
You can select 5 / 10 / 15 / 30 / 60 minutes OR duration.
The script automatically calculates:
Opening Range High (ORH)
Opening Range Low (ORL)
Works in all markets and follows your chosen timezone.
4. ORB Highlight Box
A dynamic Opening Range Box is plotted during the OR window, showing:
Real-time OR expansion
Volatility
Initial auction imbalance
This helps visually track early market participation and breakout attempts.
5. Used Smoother Function (Ehlers SuperSmoother)
A refined trend ribbon based on:
EMA-based secondary smoothing
Adaptive up/down color gradients
Useful for understanding short-term trend strength around OR, CPR, and PDH/PDL zones.
6. Morning Session VWAP (Custom Session VWAP)
A unique feature in this script.
The indicator computes a dedicated VWAP only for the Morning Session (09:15–09:30)(customizable) to help evaluate:
Early-session pressure
Liquidity transition
Opening volatility absorption
This helps track where the market is accepting or rejecting price during the opening phase.
Inputs & Customization
Custom timezone selection
Toggle for PDH/PDL, CPR, OR, ORB Box, Labels
Color customization for each level
Trend color settings
Adjustable opening range duration
VWAP session toggle
All features can be enabled/disabled to make it user-friendly.
Disclaimer:
This indicator does not provide buy or sell signals .
It is a visual analysis tool meant to assist traders in studying intraday behavior.
Past performance does not guarantee future results.
Always combine these levels with risk management and your own market analysis.
Happy Trading (ARJO)
Hourly ORB Boxes v2 (5/15min/custom min)Draws ORB on 9.30am open and every hour from 11am to 3pm so you can enjoy multiple ORB entries throughout the day with a custom time
Choose 5 min or 10 min or 15 min for ORB.
All open source written from scratch with help of chatgpt lol
HK Premarket RangeIndicates Highs and lows in the premarket for Hong Kong futures. Could be used for Chinese futures too.
Multitime ATRMulti-Timeframe Supertrend (Multitime ATR) Indicator Description
This indicator, written in Pine Script v5, is a Multi-Timeframe (MTF) Supertrend tool. It provides a multi-faceted market analysis by simultaneously displaying the Supertrend lines from the current chart timeframe and three higher timeframes: the 1-Hour (1H), 4-Hour (4H), and 1-Day (1D).
📌 Key Features and Characteristics
Multi-Timeframe Display:
It overlays the Supertrend lines from the current timeframe, 1H, 4H, and 1D onto a single chart, totaling four timeframes.
By visualizing the higher timeframe trend lines (uptrends as support, downtrends as resistance), traders can determine where the price action on the current chart stands within the context of the larger, dominant trends.
Supertrend Logic:
The Supertrend calculation utilizes the Average True Range (ATR), based on a user-specified ATR Period and ATR Multiplier.
The Change ATR Calculation Method? input allows switching the ATR calculation between the standard ta.atr (EMA-based/smoothed) and ta.sma(ta.tr, Periods) (SMA-based) methods.
Visual Aids:
Trend Lines: Uptrend lines (support) and downtrend lines (resistance) for each timeframe are plotted with different colors and line weights (e.g., Main: Green/Red, 1H: Blue tones, 4H: Purple tones, 1D: Green/Dark Red tones).
Highlighter: A background coloring feature visually highlights the area between the price and the Supertrend lines according to the trend direction for each timeframe, making the trend immediately obvious. This can be controlled collectively by the Master Highlighter setting.
Trend Change Marks: Small circle plots (●) indicate the exact points of trend reversal for each higher timeframe, clearly signaling a shift.
Warning and Break Signals:
The indicator plots signal labels on the chart when the current price breaks (or nearly breaks) a higher timeframe trend line.
Warning (⚠️): Plotted when the price closes below an uptrend line.
Break (⚡): Plotted when the price closes above a downtrend line.
These signals are designed to reset after a certain period (coded as 3,600,000 milliseconds = 1 hour) to prevent continuous noise from repetitive breaks.
Alert Functionality:
In addition to the current timeframe's Buy/Sell signals, the indicator features robust alerts for the Warning/Break signals across the 1H, 4H, and 1D timeframes, ensuring that critical trend changes are not missed.
🛠️ Customization Options
The indicator's settings allow for detailed customization of the following parameters for each timeframe (Main, 1H, 4H, 1D) individually:
ATR Period (ATR Period)
ATR Multiplier (ATR Multiplier)
Visibility toggles for trend lines, signals, and highlighters.
Furthermore, the Master Control section enables simultaneous control over the display of the Highlighter, Signals, Up Trend Lines, and Down Trend Lines across all timeframes.
This indicator serves as a powerful tool for finding more reliable entry and exit points by integrating multi-timeframe trend analysis, which helps reduce false signals often encountered in single-timeframe trading.
Would you like me to elaborate on a specific section of the code, such as the request.security function or the signal logic?
Multitime ATRMulti-Timeframe Supertrend (Multitime ATR) Indicator Description
This indicator, written in Pine Script v5, is a Multi-Timeframe (MTF) Supertrend tool. It provides a multi-faceted market analysis by simultaneously displaying the Supertrend lines from the current chart timeframe and three higher timeframes: the 1-Hour (1H), 4-Hour (4H), and 1-Day (1D).
📌 Key Features and Characteristics
Multi-Timeframe Display:
It overlays the Supertrend lines from the current timeframe, 1H, 4H, and 1D onto a single chart, totaling four timeframes.
By visualizing the higher timeframe trend lines (uptrends as support, downtrends as resistance), traders can determine where the price action on the current chart stands within the context of the larger, dominant trends.
Supertrend Logic:
The Supertrend calculation utilizes the Average True Range (ATR), based on a user-specified ATR Period and ATR Multiplier.
The Change ATR Calculation Method? input allows switching the ATR calculation between the standard ta.atr (EMA-based/smoothed) and ta.sma(ta.tr, Periods) (SMA-based) methods.
Visual Aids:
Trend Lines: Uptrend lines (support) and downtrend lines (resistance) for each timeframe are plotted with different colors and line weights (e.g., Main: Green/Red, 1H: Blue tones, 4H: Purple tones, 1D: Green/Dark Red tones).
Highlighter: A background coloring feature visually highlights the area between the price and the Supertrend lines according to the trend direction for each timeframe, making the trend immediately obvious. This can be controlled collectively by the Master Highlighter setting.
Trend Change Marks: Small circle plots (●) indicate the exact points of trend reversal for each higher timeframe, clearly signaling a shift.
Warning and Break Signals:
The indicator plots signal labels on the chart when the current price breaks (or nearly breaks) a higher timeframe trend line.
Warning (⚠️): Plotted when the price closes below an uptrend line.
Break (⚡): Plotted when the price closes above a downtrend line.
These signals are designed to reset after a certain period (coded as 3,600,000 milliseconds = 1 hour) to prevent continuous noise from repetitive breaks.
Alert Functionality:
In addition to the current timeframe's Buy/Sell signals, the indicator features robust alerts for the Warning/Break signals across the 1H, 4H, and 1D timeframes, ensuring that critical trend changes are not missed.
🛠️ Customization Options
The indicator's settings allow for detailed customization of the following parameters for each timeframe (Main, 1H, 4H, 1D) individually:
ATR Period (ATR Period)
ATR Multiplier (ATR Multiplier)
Visibility toggles for trend lines, signals, and highlighters.
Furthermore, the Master Control section enables simultaneous control over the display of the Highlighter, Signals, Up Trend Lines, and Down Trend Lines across all timeframes.
This indicator serves as a powerful tool for finding more reliable entry and exit points by integrating multi-timeframe trend analysis, which helps reduce false signals often encountered in single-timeframe trading.
Would you like me to elaborate on a specific section of the code, such as the request.security function or the signal logic?
Price Drop CounterThe Price Drop Counter is a very basic statistical indicator.
See it as an analytical tool that tracks how many times an asset's price has dropped by a specified percentage from its recent peak within a defined date range.
The indicator monitors the highest price reached and counts each occurrence when the price falls by your chosen threshold, then resets its peak tracking point after each drop is registered.
Uses
Volatility Assessment: Measure how frequently significant price corrections occur during specific periods
Market Behavior Analysis: Compare drop frequency across different timeframes or market conditions
Risk Evaluation: Identify assets or periods with higher downside volatility
Historical Pattern Recognition: Study how often major pullbacks happened during bull or bear markets
Backtesting Support: Analyze how your strategy would perform based on the frequency of drawdowns
How to use it
Add the indicator to your TradingView chart
Configure the Percent Drop (%) to define your threshold (default: 10%). The indicator will count each time price falls by this percentage from the most recent high
IMPORTANT Set your Start Date and End Date to analyze a specific period of interest
The blue step-line plot shows the cumulative count of drops within your date range
Adjust the percentage threshold based on your analysis needs - use smaller values (2-5%) for more frequent signals or larger values (15-20%) for major corrections only
The counter resets its high-water mark after each qualifying drop, allowing it to track multiple sequential drops within the same period.
Macro Range HighlighterThis Pine Script indicator creates visual boxes that highlight specific time-based price ranges throughout the trading day, operating in New York Eastern Time. It offers two distinct modes: a standard hourly range mode and a classic ICT (Inner Circle Trader) Macro mode.
Two Operating Modes
Mode 1: Standard Hourly 50-09 Ranges (Default)
This mode identifies and highlights the price range during the final 10 minutes of each hour (xx:50) through the first 9 minutes of the next hour (xx:09).
Examples of captured ranges:
08:50 - 09:09
09:50 - 10:09
10:50 - 11:09
11:50 - 12:09
12:50 - 13:09
13:50 - 14:09
14:50 - 15:09
And continues for each hour...
Excluded Time Periods:
The indicator excludes certain periods that cross into or occur during market close and the daily reset:
02:50 - 03:09 (excluded to avoid interference with overnight session)
15:50 - 18:09 (excluded to avoid end-of-regular-hours and the 18:00 ET trading day reset)
This means you will NOT see boxes during the 16:00 or 17:00 hours, as these fall within the excluded window.
Mode 2: Classic ICT Macro Times
When enabled, this mode shows ONLY four specific time windows that are significant in ICT methodology:
02:33 - 02:59 (London Midnight Macro)
04:03 - 04:29 (London Open Macro)
13:10 - 13:39 (New York Lunch Macro)
15:15 - 15:44 (New York Close Macro)
When this mode is active, all standard hourly ranges are disabled, including the 02:50-03:09 range.
Green Line - Open Price
Represents the open price of the first candle when the range begins
This line is static once set - it shows where price opened when entering the time window
Extends horizontally across the entire duration of the box
Example: If the range starts at 08:50 and that candle opens at 18,500, the green line will be drawn at 18,500
Blue Line - Evolving Midpoint
Represents the dynamic midpoint between the range high and range low
This line continuously recalculates as new highs or lows are made within the time window
Calculation: Midpoint = (Range High + Range Low) / 2
Evolution example:
At 08:50, range is 18,480 (low) to 18,520 (high), midpoint = 18,500
At 08:55, price makes new high of 18,540, midpoint updates to 18,510
At 09:02, price makes new low of 18,470, midpoint updates to 18,505
The line visually adjusts up and down as the range expands
Extension: The line extends horizontally from the start of the range to the current bar (or end of range)
This gives traders a visual reference for the "fair value" or equilibrium point of the range
Red Line - Close Price
Represents the close price of the most recent candle within the time window
This line updates continuously with each new bar's close price
Extends horizontally across the range
When the range completes (exits the time window), it shows the final close price of the last bar in the range
Example: As price moves from 08:50 to 09:09, the red line will track the close of each candle: 18,505 → 18,510 → 18,508 → 18,515, etc.
This indicator provides a sophisticated visual framework for analyzing specific time-based price behavior. The evolving midpoint (blue line and optional yellow plot) is particularly powerful because it gives you real-time feedback on where the "fair value" of the range is as it develops, allowing you to make informed decisions about whether price is extended or returning to equilibrium. The three-line system (open/mid/close) creates a complete picture of price action within each critical time window, whether you're using standard hourly analysis or focusing on ICT's specific macro times.






















