Shiva Zone Indicator (True Consolidation Detection)---
# ⭐ **1. Script Title**
**Shiva Zone Indicator — True Consolidation Detection**
This will appear in the indicator marketplace and search.
---
# ⭐ **2. Short Description (shown in search list)**
**Automatically detects true consolidation zones using shrinking-range logic, avoiding oversized ranges and highlighting high-probability breakout zones.**
---
# ⭐ **3. Full Description (for the Publishing Page)**
Copy–paste the entire block below into the “Description” section while publishing:
---
## 🔱 **Shiva Zone Indicator — True Consolidation Detection**
The **Shiva Zone Indicator** identifies true consolidation phases in any market using a powerful shrinking-range algorithm. Instead of relying on fixed ranges or ATR compression alone, this model detects **micro-consolidation** by comparing tightening volatility windows, ensuring only **high-quality, compact zones** are plotted.
Most consolidation indicators produce long, extended boxes.
**Shiva Zone does not.**
It only marks consolidation when price tightens *locally*, making it ideal for breakout traders.
---
## 🔍 **How the Indicator Works**
A *Shiva Zone* is detected when:
* The recent price range is **shrinking** compared to the previous one
* Volatility compresses naturally
* Price stays within a narrow percentage threshold
* Expansion stops the zone (no endless boxes)
This ensures consolidation is identified **precisely where traders need it**, not over hundreds of candles.
When consolidation ends, volatility expansion triggers a zone closure.
Breakouts above or below the box can lead to explosive moves.
---
## ⚡ **Included Alerts**
The indicator includes 4 powerful, actionable alerts:
1. **Shiva Zone Started** – A new consolidation zone is forming
2. **Shiva Zone Ended** – Volatility begins expanding
3. **Bullish Breakout** – Price breaks above the Shiva Zone
4. **Bearish Breakout** – Price breaks below the Shiva Zone
These alerts make it easy to automate breakout entries or monitor compression zones across markets.
---
## 🎯 **Best Use Cases**
* Breakout Trading
* Scalping
* Intraday Structure Trading
* Swing Breakout Analysis
* Compression / Expansion Mapping
* Multi-Timeframe Structure Tracking
Works perfectly on **Forex, Indices, Crypto, Commodities, and Stocks**.
---
## 📌 **Recommended Settings**
* Lookback: **8–20**
* Max % Range: **0.4–0.8**
* Minimum Bars Inside Zone: **4–6**
Shorter settings → more sensitive
Longer settings → stronger zones
---
## 🧠 **Why It's Called “Shiva Zone”**
In market mythology:
* **Brahma** = Creation of momentum
* **Vishnu** = Sustaining the trend
* **Shiva** = Compression before transformation
The **Shiva Zone** is the phase where the market contracts its energy before a structural shift or breakout.
---
## ⚠️ **Disclaimer**
This indicator is for educational purposes only and not financial advice.
Always conduct your own analysis.
---
# ⭐ **4. Suggested Tags**
Use these exact tags on TradingView for best reach:
```
consolidation
price-action
volatility
range
breakout
compression
supply-and-demand
forex
scalping
trend-analysis
```
---
# ⭐ **5. Script Category**
Choose one:
### Recommended:
➡ **Technical Indicators → Volatility**
or
➡ **Technical Indicators → Price Action**
---
# ⭐ **6. Icon / Cover Image Suggestions**
(Create or upload manually — TradingView requires an image)
Theme suggestions:
* Clean minimalistic yellow/orange box with text **“Shiva Zone Indicator”**
* A sample chart screenshot showing a tight consolidation zone
* A symbolic icon of contraction/expansion inspired by Shiva (simple geometry, not religious imagery)
---
# ⭐ **7. Developer Credits (Optional)**
Created by **Dr. Sudhir Khollam**
Astrologer & Market Analyst
Creator of the SALSA© Method
---
애버리지 트루 레인지 (ATR)
Brahma Creation Field (SALSA Edition)
# ⭐ **1. INDICATOR TITLE**
Use a clear, branded, professional name:
### **Brahma Creation Field (BCF) — SALSA© Market Imbalance Indicator**
---
# ⭐ **2. SHORT DESCRIPTION (appears in search results)**
**Identifies Brahma Creation Fields (BCFs) using SALSA© Market Logic. A rewritten, original imbalance tool inspired by displacement zones, with Creation Strength Line (CSL), integrity breaks, and optional actionable alerts.**
---
# ⭐ **3. FULL DESCRIPTION (for the script page)**
### **TradingView-Ready**
---
## **Brahma Creation Field (BCF) — SALSA© Edition**
The **Brahma Creation Field (BCF)** Indicator is an *original* SALSA©-based imbalance model designed to identify areas where price rapidly expands with strong intent and leaves behind a “Creation Field.”
This indicator is an entirely proprietary rewrite based on **Vedic + SALSA© Interpretation of Market Birth**, and does **not reuse or copy** any external code. It is not affiliated with or derived from any other indicator.
---
## 🔱 **What Is a Brahma Creation Field (BCF)?**
In SALSA© Market Dynamics:
* **Brahma** = Creation
* **Vishnu** = Continuation
* **Shiva** = Transformation (destruction/reset)
A **BCF** is the *birth moment* of a new price narrative —
a zone created when price displaces strongly enough to leave a gap between the candle and the candle two bars earlier.
This is interpreted as:
* **Bullish BCF** → A strong upward creation event
* **Bearish BCF** → A strong downward creation event
These “Creation Fields” often act as **reaction points, continuation areas, or reversal zones**.
---
## 🔰 **Key Features**
### **✔ Automatic Detection of Brahma Creation Fields**
Identifies both bullish and bearish creation zones using clean imbalance structure.
### **✔ Creation Strength Line (CSL)**
A midline through the BCF used to confirm strength, bias, and equilibrium.
### **✔ Integrity Break Logic**
When price invalidates the BCF, the zone fades and becomes inactive.
### **✔ Real-Time Updates**
BCFs extend automatically as long as they are active.
### **✔ Alerts Included**
* Bullish BCF Formed
* Bearish BCF Formed
* BCF Integrity Broken
* Price Inside Active BCF
* CSL Cross (Midline Cross)
### **✔ 100% Original Codebase**
Fresh, clean Pine Script v6 logic reflecting SALSA© philosophy.
---
## 🔬 **Use Cases**
* Forecasting continuation after displacement
* Identifying strong zones of liquidity imbalance
* Spotting trend birth points
* Assessing whether narrative pressure is bullish or bearish
* Establishing intraday bias
* Creating entry/exit signals
* Building automated strategies
---
## ⚠ **License Notice**
This indicator is an **original work** created for TradingView,
based on **SALSA© Market Theory**.
You may NOT resell or rehost the code without explicit permission.
If you adapt this script, please give proper credit.
---
## 🙏 **Credits / Attribution**
The concepts here are influenced by general imbalance and displacement theory in trading.
The code itself is **100% original**, written entirely from scratch.
---
# ⭐ **4. TAGS TO USE (Very Important for Visibility)**
Add exactly these tags in TradingView:
* **imbalance**
* **fvg**
* **liquidity**
* **supplydemand**
* **trend**
* **intraday**
* **bias**
* **zones**
* **supportresistance**
* **marketstructure**
* **smartmoney**
These tags rank extremely well.
---
# ⭐ **5. CATEGORIES**
Choose:
✔ **“Technical”**
✔ **“Indicators”**
✔ **“Price Action”** (optional but recommended)
---
# ⭐ **6. LICENSE**
Choose:
### **© Copyright — Open for Personal Use**
or
### **Custom License**
Recommended text:
> This script is © protected.
>
> You may use it freely on TradingView for personal analysis,
> but you may NOT redistribute, publish variations, or sell this code.
---
# ⭐ **7. OPTIONAL – AUTHOR BIO**
Include:
> Dr. Sudhir Khollam
> SALSA© Market Dynamics • Vedic + Financial Astrology
> Creator of the SALSA© Method, Astro SALSA© Pro, and SALSA© Prediction Cards
---
# ⭐ **8. WHAT TO PUT IN “EXTERNAL SOURCE” SECTION**
This is optional, but if you want to be completely transparent:
```
This indicator is a fresh, original rewrite created from scratch.
It does not contain or reuse code from any third-party indicator.
Conceptually inspired by classical imbalance/displacement logic,
translated into a SALSA© creation-phase model.
```
---
# ⭐ **9. SCREENSHOT GUIDELINES (Important for Approval)**
Use a chart showing:
✔ At least one Bullish BCF
✔ At least one Bearish BCF
✔ CSL line clearly visible
✔ Integrity break (if possible)
✔ Clean chart (no clutter)
✔ Label arrows added manually (optional)
Upload **3 screenshots**, TradingView always prefers multi-angle examples.
---
# ⭐ **10. SEO-OPTIMIZED SUMMARY (for search engines)**
**SALSA© BCF Indicator is an imbalance-based price action tool that highlights Brahma Creation Fields — the birth of market intent. Featuring CSL midlines, integrity break detection, real-time zone extension, and a full alert suite. Ideal for traders using smart money concepts, FVGs, SMC, or Vedic-based price analysis.**
---
# ⭐ **11. PUBLISHING CHECKLIST**
### ✔ Code compiles
### ✔ Description added
### ✔ Screenshot added
### ✔ Tags added
### ✔ License selected
### ✔ Public or Protected selected
### ✔ Test alerts
### ✔ Save + Publish
---
ATR Volatility RegimeATR Volatility Regime
A volatility classification indicator that uses ATR (Average True Range) percentile ranking to identify LOW , NORMAL , HIGH , or EXTREME volatility conditions.
Displayed as a separate pane oscillator (0–100 scale) with colored zones.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 WHY THIS INDICATOR?
Most volatility indicators show raw ATR — a number without context. Is ATR = 50 high or low? Depends on the asset and recent history.
This indicator answers: "Is current volatility high or low for THIS asset, right now?"
What it adds over standard ATR:
Percentile context — Compares current ATR to its own history
Regime classification — Actionable labels instead of raw numbers
Visual zones — Instant read without interpretation
Optional MTF — Lock to a fixed timeframe while viewing another
Auto-adapts — Works on any asset without manual threshold tuning
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📐 CORE CONCEPTS
ATR (Average True Range)
Measures volatility in price units — how much an asset typically moves per bar. Directionless (magnitude only, not direction).
Calculation:
True Range = the greatest of:
High − Low (current bar's range)
|High − Previous Close| (gap up captured)
|Low − Previous Close| (gap down captured)
ATR = Moving average of True Range over N bars (default: 14)
Percentile Rank (Pctl)
Answers: "What percentage of historical values is the current value greater than?"
Pctl = 0% → Lowest ATR in lookback period (extreme compression)
Pctl = 50% → Median ATR (typical volatility)
Pctl = 100% → Highest ATR in lookback period (extreme expansion)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 WHAT IT DOES
Classifies current volatility into four regimes:
LOW (< 25th percentile) — Compression, breakout likely brewing
NORMAL (25th–50th percentile) — Typical market conditions
HIGH (50th–75th percentile) — Elevated volatility, use caution
EXTREME (> 75th percentile) — Rare expansion, tighten stops or stay flat
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 DISPLAY COMPONENTS
Oscillator Line (0–100)
ATR percentile rank over time. Color matches regime:
Blue = LOW
Gray = NORMAL
Orange = HIGH
Red = EXTREME
Zone Backgrounds
Colored bands at threshold levels for instant visual reference.
Status Label
VOL — Current regime
ATR — Raw ATR value (for stop sizing)
Pctl — Percentile rank (0–100%)
TF — Active timeframe (chart or fixed)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 HOW TO USE
LOW Volatility (Pctl < 25%):
Market compressed — "calm before the storm"
Watch for breakout setups
Pctl = 0% often precedes significant moves
NORMAL Volatility (Pctl 25–50%):
Typical conditions
Standard position sizing and stops
HIGH Volatility (Pctl 50–75%):
Elevated movement — reduce size
Widen stops to avoid noise
EXTREME Volatility (Pctl > 75%):
Rare, intense conditions
Avoid new entries or tighten risk
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ SETTINGS
ATR Settings:
ATR Length (default: 14) — Period for ATR calculation
Percentile Lookback (default: 100) — Bars for percentile ranking
Timeframe:
Use Fixed Timeframe (default: off) — Lock calculation to specific TF
Fixed Timeframe (default: D) — TF to use when fixed mode enabled
Thresholds:
Low Threshold (default: 25)
High Threshold (default: 50)
Extreme Threshold (default: 75)
Display:
Show Zone Background — Toggle colored fills
Show Status Label — Toggle info label
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📋 SUGGESTED LOOKBACK BY ASSET
Crypto — 100 bars (fast regime shifts)
Stocks — 252 bars (one trading year)
Forex — 100–150 bars
Commodities — 150–200 bars (seasonal patterns)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 ALERTS
Vol → EXTREME
Vol → HIGH
Vol → LOW
Vol exits HIGH
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 PRACTICAL APPLICATIONS
Stop-Loss Sizing:
Use raw ATR for stops. Example: Stop = Entry − (1.5 × ATR)
Position Sizing:
Reduce size when percentile is HIGH or EXTREME.
Entry Filtering:
LOW regime = prepare for breakout
EXTREME regime = avoid new entries
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 NOTES
Works on any timeframe — adapts to chart or locks to fixed TF
ATR is non-directional — magnitude only
Percentile auto-adapts to each asset's volatility profile
Not a standalone signal — combine with trend/regime filters
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🏷️ TAGS
volatility, ATR, average-true-range, percentile, regime, risk-management, position-sizing, swing-trading, MTF
TX Ultra Zone Consolidation Detector## TX Ultra Zone Consolidation Detector ##
Overview TX Ultra Zone is an advanced market structure utility designed to automatically detect periods of consolidation, indecision, and sideways movement. By isolating ranging markets, it helps traders avoid "choppy" conditions and prepare for high-probability breakouts.
What It Does
Automatic Detection: Draws visual boxes around price action when volatility compresses.
Breakout Projection: Once price breaks the box, it projects a "Shadow Zone" forward. This shadow serves as a key reference for Support-becomes-Resistance (or vice versa) retests.
Noise Filtering: Helps you stay out of the market when no clear trend exists.
How It Works (Conceptual) The script uses a multi-layer detection engine:
Regime Detection: It analyzes market efficiency and volatility (using adaptive logic) to determine if the market is trending or ranging.
Geometry Confinement: When a range is detected, the script locks the High and Low boundaries.
Expansion & Breakout: The box dynamically expands if price pushes the boundary slightly without a true breakout. A valid breakout closes the box and triggers the Shadow Extension.
How to Use
Add to Chart: Works best on volatility-sensitive assets (Forex, Crypto, Indices).
Wait for the Box: When a Purple Box appears, the market is resting. Do not trade trends inside the box.
Trade the Breakout: Wait for a candle close outside the box.
Use the Shadow: The Grey Shadow Extension indicates where price might return to "retest" the breakout level. This is often a prime entry zone.
Settings & Tuning
Detection Engine: Switch between Adaptive Volatility (Standard) or Momentum Compression (Alternative).
Zone Threshold:
45-50: Sensitive (More boxes, catches micro-ranges).
55-60: Strict (Only catches very clear, tight consolidation).
Shadow Extension: Adjust how far into the future the support/resistance zone is projected.
Disclaimer This tool is for educational and analytical purposes only. Past performance does not guarantee future results. Always use proper risk management.
ATR Stop LinesATR Stop Lines
Plots dynamic stop-loss levels on the price chart based on ATR (Average True Range). Optionally adjusts stop distance based on volatility regime.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 WHAT IT DOES
Green line — Long stop (Close − ATR × multiplier)
Red line — Short stop (Close + ATR × multiplier)
Lines move with price and volatility. When regime-adjust is enabled, stop distance widens in high volatility and tightens in low volatility.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📐 REGIME-ADJUSTED MULTIPLIERS
When enabled, the multiplier auto-adjusts based on the ATR percentile:
LOW (< 25th pctl) — 1.0× ATR — Tight stops, small moves expected
NORMAL (25–50th pctl) — 1.5× ATR — Standard distance
HIGH (50–75th pctl) — 2.0× ATR — Wider to avoid noise
EXTREME (> 75th pctl) — 2.5× ATR — Widest, or skip the trade
Disable regime-adjust to use a fixed multiplier for all conditions.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 HOW TO USE
Entry: Note stop line level when entering a trade. Set stop-loss at or beyond that level.
Trailing: Move stop to new line level as price advances in your favor.
Sizing: Wider stop = smaller position to maintain constant risk.
Example:
BTC Daily, ATR = \$2,000, Regime = HIGH (2.0×)
Entry: \$50,000 → Long stop: \$46,000 / Short stop: \$54,000
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 STATUS LABEL
VOL — Current regime (LOW / NORMAL / HIGH / EXTREME)
ATR — Raw ATR value in price units
Mult — Active multiplier
Stop Dist — Current stop distance in price units
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ SETTINGS
ATR Settings:
ATR Length (default: 14)
Percentile Lookback (default: 100)
Timeframe:
Use Fixed Timeframe — Lock to specific TF
Fixed Timeframe (default: D)
Stop Settings:
Regime-Adjusted Multiplier — Toggle auto-adjust on/off
Base ATR Multiplier — Used when regime-adjust is off
LOW/NORMAL/HIGH/EXTREME Multipliers — Customize per regime
Display:
Show Long Stop / Show Short Stop
Show Status Label
Long/Short Stop Colors
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 ALERTS
Vol → EXTREME
Vol → LOW
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 COMPANION INDICATOR
Use with ATR Volatility Regime (separate pane) for full context:
Pane indicator → percentile visualization, zone backgrounds
This indicator → actionable stop levels on price chart
Both use identical ATR/percentile logic and stay in sync.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 NOTES
Works on any timeframe
Stops are dynamic — recalculate each bar
Not a signal generator — use with your own entry logic
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🏷️ TAGS
ATR, stop-loss, volatility, risk-management, position-sizing, trailing-stop, swing-trading
srd786-Intraday VWAP Price Action IndicatorDISCLAIMER
This Pine Script indicator does not constitute financial advice; it is just intended for educational and informational purposes. It functions as a tool for technical analysis that could help traders spot possible trading opportunities. It is crucial to remember that participating in financial markets has a number of risks that might result in large losses and are not suitable for all investors.
Users are encouraged to conduct their own thorough investigation and analysis prior to using this indicator. Avoiding trading with money that one cannot afford to lose is essential. It is also advised to seek advice from a certified financial expert. Users must use suitable risk management techniques and recognize that past success does not guarantee future outcomes.
Any losses, damages, or other consequences resulting from the usage of this indicator are not the author's responsibility. The user is ultimately responsible for all trading decisions, therefore using this tool is at their own risk.
INTRODUCTION
The “srd786-Intraday VWAP Price Action Indicator” is a sophisticated Pine Script (version 6) trading tool designed for intraday traders who focus on New York session trading hours. This indicator combines multiple technical analysis concepts including Volume Weighted Average Price (VWAP), Average True Range (ATR) for risk management, swing point detection for support/resistance identification, and momentum analysis through RSI. The primary objective is to generate high-probability long and short signals based on price action confluence with trend, momentum, and key structural levels.
1.
VWAP (Volume Weighted Average Price): Shows the "fair" average price based on both price and trading volume.
2.
ATR (Average True Range): Measures how much the price typically moves each day.
3.
Trend Analysis: Identifies whether the market is going up, down, or sideways.
4.
Momentum Indicators: Shows how strong the current price movement is.
5.
Support & Resistance: Identifies key price levels where the price might stop or reverse.
6.
Swing Points: Finds significant turning points in the price.
This indicator is specifically optimized for the New York trading session (9:30 AM to 4:00 PM ET), making it particularly suitable for traders who focus on US market hours. It provides a complete trading framework that includes not only signal generation but also precise trade management levels including entry prices, stop-loss orders, and profit targets based on a configurable reward-to-risk ratio.
The philosophy behind this indicator is confluence-based trading. Rather than relying on a single indicator or condition, it requires multiple factors to align before generating a trade signal. This approach filters out lower-probability setups and focuses only on high-quality opportunities where price action, trend direction, momentum, and key technical levels all point in the same direction.
CORE CONCEPT AND METHODOLOGY
Volume Weighted Average Price (VWAP)
VWAP is the cornerstone of this indicator's trading methodology. Unlike a simple moving average that treats all price bars equally, VWAP incorporates volume data into its calculation, giving more weight to bars with higher trading volume. This makes VWAP a more accurate representation of the true average price where the most significant trading activity occurred.
The calculation of VWAP is performed using the built-in 'ta.vwap()' function, which computes the cumulative volume-weighted average price from the beginning of the session. For intraday traders, VWAP serves as a critical reference point that indicates whether the current price is trading at a premium (above VWAP) or discount (below VWAP) relative to the session's volume-weighted average.
In this indicator, the VWAP source is configurable through the 'vwapSource' parameter, with the default being HLC3 (High + Low + Close / 3). This source selection allows traders to experiment with different price types such as typical price, weighted close, or even custom sources to suit their trading style and market preferences.
Average True Range (ATR) for Risk Management
The Average True Range, calculated using 'ta.atr()', measures market volatility by decomposing the current range of price movement. ATR does not indicate price direction;
instead, it quantifies the degree of price movement or volatility over a specified period. In this indicator, ATR serves dual purposes: determining the distance for limit orders and calculating stop-loss levels.
The 'atrLength' parameter (default: 14) controls the lookback period for the ATR calculation. A shorter length makes the indicator more responsive to recent volatility, while a longer length provides a smoother average that may be more suitable for less volatile markets. The 'atrMultiplier' (default: 1.5) determines how many ATR units away the stop-loss is placed from the entry price, allowing traders to adjust their risk exposure based on current market conditions.
Swing Detection and Support/Resistance
Swing points represent significant turning points in price action where the market has temporarily exhausted its directional momentum. This indicator uses pivot high and pivot low calculations to identify swing highs and swing lows, which then form the basis for dynamic support and resistance levels.
The 'swingLength' parameter (default: 5) defines how many bars to the left and right of a potential pivot point must be lower (for pivot highs) or higher (for pivot lows) to confirm the swing point. This lookback period helps filter out minor price fluctuations and focuses on more significant structural levels.
Support and resistance levels are stored in arrays ('swingHighArray' and 'SwingLowArray'), with the most recent swing points serving as the primary reference levels. The 'srLookback' parameter (default: 20) controls the overall lookback window and also determines how many
swing points to maintain in each array, ensuring that only relevant historical levels are considered.
Breakout Detection
When a price moves past a major support or resistance level, this is known as a price breakout. This price breakout suggests that there is a possibility of a new trend direction heading forward.Breakout detection eliminates noise, as little price fluctuations or volatility may momentarily drive prices past a threshold without authentic conviction.Detection of breakouts affirms robustness when the price above the threshold by 2%, indicating genuine market interest, and mitigates whipsaws to prevent placing trades based on transient price swings.
The Breakout Tolerance parameter, set by default to 2%, regulates the breakout tolerance for the indicator. A price closure above the current high plus a minor tolerance buffer (usually 2%) indicates a potential continuation of upward movement, classified as a Bullish Breakout. Conversely, when the price closes below the recent low plus a minor tolerance buffer (usually 2%), it suggests that the price may continue to decline, which is classified as a Bearish Breakout Down.
Trend Identification
Trend determination is accomplished through an Exponential Moving Average (EMA) with a configurable length ('trendMaLength', default: 9). The indicator classifies trend into three
states: BULLISH (price above EMA with confirmation from the previous bar), BEARISH (price below EMA with confirmation), and SIDEWAYS (price crossing or near the EMA).
The EMA is chosen over simple moving averages because it responds more quickly to recent price changes while still providing enough smoothing to filter out noise. The confirmation requirement (both current and previous bar must be on the same side of the EMA) reduces false signals during periods of choppy price action.
Momentum Analysis
Momentum is measured using the Relative Strength Index (RSI) with a configurable length ('momentumLength', default: 9). RSI values are categorized into five states to provide nuanced momentum readings: STRONG BULL (RSI above 70), BUILDING (RSI between 55 and 70), NEUTRAL (RSI between 45 and 55), WEAKENING (RSI below 45), and STRONG BEAR (RSI below 30).
This momentum categorization allows traders to distinguish between strong trending conditions (STRONG BULL/BEAR) and transitions (BUILDING/WEAKENING), providing context for trade signals and helping to avoid entering positions during momentum divergences.
CONFIGURATION PARAMETERS
VWAP Settings
The 'vwapSource' parameter determines which price value is used in the VWAP calculation. The default value of 'hlc3' (High + Low + Close / 3) provides a balanced representation of each bar's price action. Traders can modify this to use typical price ('high + low + close / 3'), weighted close ('high + low + close + close / 4'), or other price types depending on their analytical preferences.
ATR Settings
The 'atrLength' parameter sets the lookback period for the Average True Range calculation. The default of 14 periods is standard across most trading platforms and timeframes, providing a good balance between responsiveness and smoothness. The 'atrMultiplier' parameter (default: 1.5) scales the ATR value to determine stop-loss distances. A multiplier of 1.5 means the stop-loss is placed 1.5 ATR units away from the entry price, providing enough buffer to accommodate normal volatility while limiting risk.
Trade Settings
The 'rrRatio' parameter (default: 3.0) establishes the reward-to-risk ratio for trade targets. A ratio of 2.0 means the profit target is twice the distance of the stop-loss from the entry price. The 'limitOrderDistance' parameter (default: 0.5) determines how far below (for long trades)
or above (for short trades) the current close the limit order is placed, measured in ATR units. This allows traders to enter positions at better prices while waiting for pullbacks.
Swing Detection Settings
The 'swingLength' parameter (default: 5) controls pivot identification sensitivity. Higher values identify more significant swing points but may miss shorter-term opportunities. The 'showSwings' boolean parameter toggles the visual display of swing high and low points on the chart.
Support & Resistance Settings
The 'srLookback' parameter (default: 20) defines how many bars back to search for swing points and support/resistance levels. The 'breakoutTolerance' parameter (default: 0.02 or 2%) adds a small buffer to breakout detection to account for minor penetration of support/resistance levels due to price spikes or slippage.
Trend & Momentum Settings
The 'trendMaLength' parameter (default: 9) sets the EMA length for trend determination, while 'momentumLength' (default: 9) sets the RSI lookback period. Both should be at least 5 periods for meaningful calculations.
Table Settings
The 'showTable' parameter (default: true) enables the display of two information tables that provide real-time data on Indicator values and trade levels.
SIGNAL GENERATION LOGIC
Long Signal Conditions
A long signal is generated when all the following conditions are simultaneously true:
1.
Session Filter: The trade must occur during New York session hours (9:30 AM - 4:00 PM ET).
2.
Trend Confirmation: The trend must be BULLISH (price above EMA with confirmation).
3.
Price Position: Current price must be above VWAP, indicating bullish price action.
4.
Breakout or No Resistance: Either price is breaking out above resistance level with tolerance, or there is no prior resistance level to overcome.
5.
Momentum Alignment: Momentum must be either STRONG BULL or BUILDING.
This confluence of conditions ensures that long trades are only taken when the market is trending higher, price is confirming strength by trading above VWAP, and momentum is supportive of continued upward movement.
Short Signal Conditions
A short signal is generated when all the following conditions are simultaneously true:
1.
Session Filter: The trade must occur during New York session hours
2.
Trend Confirmation: The trend must be BEARISH (price below EMA with confirmation)
3.
Price Position: Current price must be below VWAP, indicating bearish price action
4.
Breakout or No Support: Either price is breaking down below support level with tolerance, or there is no prior support level to overcome
5.
Momentum Alignment: Momentum must be either STRONG BEAR or WEAKENING
Similar to long signals, short trades require alignment across multiple timeframes and analytical approaches, filtering out counter-trend trades and focusing on high-probability setups.
TRADE MANAGEMENT FRAMEWORK
Entry Price Calculation
For long trades, the limit order price is calculated as: 'Close - (ATR Value × Limit Order Distance)'. This places the entry price below the current close, allowing traders to buy on dips while maintaining a favorable entry price. For short trades, the limit order is placed above the current close: 'Close + (ATR Value × Limit Order Distance)'.
The limit order distance is expressed in ATR units, making it adaptive to current volatility conditions. In more volatile markets, the limit order will be placed further from the current price, while in calmer markets, it will be closer.
Stop-Loss Placement
Stop-loss levels are calculated using the ATR multiplier to ensure adaptive risk management. For long trades: 'Entry Price - (ATR Value × ATR Multiplier)'. For short trades: 'Entry Price + (ATR Value × ATR Multiplier)'.
This adaptive approach to stop-loss placement means that in volatile markets, stops are wider to avoid being stopped out by normal price fluctuations, while in quieter markets, stops are tighter to limit potential losses. The default multiplier of 1.5 provides approximately 1.5 times the average true range of protection.
Target Price Calculation
Profit targets are determined by the reward-to-risk ratio: 'Entry Price + (ATR Stop Distance × RR Ratio)' for long trades and 'Entry Price - (ATR Stop Distance × RR Ratio)' for short trades. The default ratio of 2.0 means the target is twice the distance of the stop-loss, providing a favorable risk-reward profile.
New York Session Tracking
The indicator includes specialized logic for tracking the New York session open price. When a new NY session begins (determined by the 'isNewNySession' variable), the current open price is recorded and maintained throughout the session. This provides a reference point for measuring intraday directional bias from the session's starting level.
INFORMATION TABLES
Indicators Table
This table displays the current price, VWAP value, NY session open price, support level,resistance level, ATR, ATR-scaled stop distance, current trend classification, momentum state with RSI value, and breakout status. All values are color-coded based on their bullish or bearish implications. The VWAP cell is color-coded green if price is above VWAP (bullish) and red if below (bearish), providing instant visual confirmation of price's position relative to this critical level.
Trade Levels Table
This table shows current signal status (LONG, SHORT, or WAIT), limit order distance in ATR units, calculated limit order price, stop-loss level, and target price with the reward-to-risk ratio displayed. The signal cell is highlighted in green for long signals and red for short signals.
ALERT CONDITIONS
The indicator includes four alert conditions that can be configured in TradingView:
1.
LONG Signal: Triggers when a long signal is generated, providing entry price, stop-loss, and target information.
2.
SHORT Signal: Triggers when a short signal is generated with corresponding trade details.
3.
Breakout Up: Notifies when price breaks out above resistance level.
4.
Breakout Down: Notifies when price breaks down below support level.
These alerts enable traders to receive notifications via TradingView's alert system without continuously monitoring the charts.
USAGE EXAMPLES AND TRADING SCENARIOS
Strong Bullish Trend with VWAP Support
In this scenario, price has been trading above the 9-period EMA for multiple bars, confirming a bullish trend. The current price is above VWAP, indicating buyers are willing to pay a premium. A recent swing low has established a support level, and RSI is reading 65, indicating building momentum without being overextended. When price breaks above the recent swing high resistance with a 2% tolerance, the indicator generates a long signal. The trader places a limit order below the current bar's close (0.5 ATR units) and sets the stop-loss 1.5 ATR units below the entry, with a target 2.0 times the stop distance away.
Short Setup During Volatile Session
During a particularly volatile NY session, price gaps down below VWAP early in the day. The 9-period EMA is declining, and both current and previous bars are below it, confirming a bearish trend. The RSI has dropped to 28, indicating strong bearish momentum. A recent swing high serves as resistance, and when price breaks below the swing low support level, the indicator generates a short signal. The trader enters on a limit order placed 0.5 ATR units above the current price, with the stop-loss 1.5 ATR units above the entry and the target at a 2.0 reward-to-risk ratio.
Avoiding Counter-Trend Trades
Consider a scenario where price is above VWAP and the RSI reads 72 (overbought), but the price is below the 9-period EMA and the previous bar was also below the EMA. In this case, the trend is classified as BEARISH (or SIDEWAYS) despite the bullish price position relative to VWAP. The indicator will not generate a long signal because the trend condition is not met, protecting the trader from what could be a bear trap or continuation pattern.
No Prior Levels Scenario
At the beginning of a trading session or after significant volatility has cleared prior swing points, there may be no established support or resistance levels in the lookback window. In this case, the breakout condition 'or na(resistanceLevel)' allows long signals to be generated without requiring a resistance level to be broken, enabling traders to participate in emerging trends without waiting for prior levels to form.
BEST PRACTICES AND TIPS
Timeframe Selection
This indicator is optimized for intraday timeframes (1-minute to 60-minute charts) and specifically for NY session trading. Higher timeframes may produce more reliable signals but fewer opportunities, while lower timeframes will generate more signals but with potentially lower reliability. Traders should backtest on their preferred timeframe before trading live.
Market Conditions
The indicator performs best in trending markets with clear directional bias. During ranging or sideways markets, the trend condition may oscillate frequently, and VWAP may oscillate around price, reducing signal quality. Consider filtering signals or reducing position size during low-volatility, range-bound conditions.
Parameter Optimization
While the default parameters have been selected for general applicability, traders should consider optimizing certain parameters for specific markets or instruments. For highly volatile instruments like crude oil or natural gas, increasing the 'atrMultiplier' to 2.0 or 2.5 may provide more appropriate risk management. For less volatile instruments like certain forex pairs, reducing the multiplier to 1.0 or 1.2 may improve signal quality.
Multiple Timeframe Analysis
For enhanced performance, traders can analyze the trend on a higher timeframe (such as 15-minute or hourly) while taking signals on a lower timeframe (such as 5-minute or 1-minute). This multi-timeframe approach ensures that signals are aligned with the larger trend direction.
Risk Management
While the indicator provides calculated stop-loss levels, traders should consider their overall position sizing and portfolio risk. The ATR-based stops provide a market-adaptive approach, but individual risk tolerance and account size should ultimately determine position sizing. The 2.0 reward-to-risk ratio is fixed but can be adjusted based on personal preferences or the specific characteristics of the instrument being traded.
INTEGRATION WITH TRADINGVIEW
Adding the Indicator
To add this indicator to a TradingView chart, paste the code into the Pine Script editor and click "Add to Chart." The indicator will appear in the chart's sidebar and begin calculating immediately once sufficient historical data is available.
Configuring Alerts
To set up alerts, right-click on any of the alert conditions in the indicator's settings panel (long signal, short signal, breakout up, or breakout down) and select "Add Alert." Configure the alert frequency and notification methods (push notification, email, webhook, etc.) according to your preferences.
Customization
All input parameters can be adjusted through the indicator's settings panel without modifying the source code. Traders can experiment with different VWAP sources, ATR lengths and multipliers, swing detection parameters, and table display options to suit their trading style and market preferences.
LIMITATIONS AND CONSIDERATIONS
Session Dependency
The indicator is specifically designed for NY session trading and will not generate signals outside these hours. Traders focused on other sessions or 24-hour markets may need to modify the session string to match their trading hours.
Historical Data Requirements
The indicator requires sufficient historical data to accurately calculate swing points and support/resistance levels. On lower timeframe charts with limited history, the initial signals may be less reliable until adequate swing points are identified.
Lag in Swing Detection
By definition, swing points are confirmed after the price has moved away from them, introducing some lag into support/resistance identification. Traders should be aware that the most recent swing point may not be confirmed until several bars after it occurs.
Not Financial Advice
This indicator is a technical analysis tool and should not be construed as financial advice. Traders are responsible for their own research and risk management decisions. Past performance of any trading system does not guarantee future results.
SUMMARY
The code follows a logical flow:
•
Version and Declaration: Pine Script version 6 indicator declaration with overlay enabled
•
Input Parameters: All user-configurable settings grouped by category
•
Session Logic: New York session tracking and open price recording
•
Core Calculations: VWAP, ATR, EMA, RSI, swing points
•
Support/Resistance Logic: Array-based storage and retrieval of swing levels
•
Trend and Momentum Classification: Categorization of current market state
•
Signal Generation: Confluence-based long and short conditions
•
Trade Level Calculations: Entry, stop-loss, and target pricing
•
Visual Plots: Hidden plots for alert data access
•
Information Tables: Real-time display of key values
•
Alert Conditions: Four configurable alert triggers
This structured approach ensures clarity, maintainability, and extensibility for future modifications or enhancements.
Big Trend Catcher: Dual-Gate EMA & ATR Trailing Swing TraderThe Big Trend Catcher: Long-Only Progressive Swing System
OVERVIEW
The Big Trend Catcher is a high-conviction, long-only swing trading strategy designed to identify and ride sustained market moves. Unlike traditional trend-following systems that often get "chopped out" during sideways consolidation, this strategy utilizes a Dual-Gate Filter to ensure you only enter when short-term momentum and the long-term trend are in total alignment.
It is specifically tuned for high-growth stocks and ETFs where capturing the lion’s share of a multi-week or multi-month move is the primary objective.
CORE LOGIC: THE DUAL-GATE SYSTEM
To maintain a high quality of entries, the strategy requires a "confirmed launch" through two distinct filters:
The Momentum Gate (20 EMA): Identifies immediate price acceleration and volume-backed impulse.
The Long-Term Gate (100 EMA): Acts as the ultimate trend filter. The script utilizes a "Signal Memory" logic—if an impulse happens while price is still below the 100 EMA, the trade is held in a "Pending" state. The entry only triggers once the price closes firmly above the 100 EMA.
Goal: This prevents "bottom fishing" in established downtrends and keeps you in cash during sideways "death loops" when the long-term direction is unclear.
KEY FEATURES
1. Progressive Pyramiding (Scale-In)
The biggest profits in swing trading are often made by adding to winners. This system features two automated scale-in triggers:
Velocity Adds (VOLC): Adds to the position if the stock is up >10% and moving with rising momentum, allowing you to build a larger position as the trend proves its strength.
Pullback Adds: Adds to the position when the price tests the 20 EMA and holds, allowing you to buy the "dip" within a healthy uptrend.
2. The Phoenix Re-Entry
This logic is designed to catch "V-shaped" recoveries. If the strategy exits on a trend break but the price aggressively reclaims the 20 EMA on massive volume shortly after, it re-enters the trade. This ensures you aren't left behind during the second leg of a major run after a temporary shakeout.
3. Iron-Floor ATR Exit
We use a 3.5x ATR Trailing Stop combined with the 100 EMA. This wider-than-average "breathing room" is designed to keep you in for significant gains while ignoring the minor daily volatility that often shakes out traders with tighter stops.
HOW TO USE
Best Timeframes: Daily (D) is recommended for identifying major cycles, but it can be applied to the 4-Hour (4H) for more active swing trading.
Settings:
* 20 EMA: Your short-term momentum guide.
* 100 EMA: Your long-term trend guide.
* ATR Multiplier: Set to 3.5 for maximum "trend hugging."
SUMMARY OF VISUALS
Blue Line (100 EMA): The Long-Term Trend.
Yellow Line (20 EMA): The Short-Term Momentum.
Red Stepped Line: Your ATR Trailing Floor (The "Iron Floor").
Lime Triangle: Initial Trade Entry.
Blue/Orange Shapes: Progressive Scale-in points.
ATR RangeATR Range is a minimal, clean volatility context indicator designed to show how much of the Daily and Weekly ATR has already been used — without cluttering your chart.
Instead of plotting multiple lines or tables, this indicator displays two simple, highly-informative lines:
• Day Range (X) is Y% of ATR (Z)
• Week Range (X) is Y% of ATR (Z)
These lines update intraday and give you immediate awareness of whether price has already made an average move or still has room to expand.
⸻
🔍 What It Shows
• Daily range vs Daily ATR
• Weekly range vs Weekly ATR
• Percentage of ATR already consumed
⸻
🎯 Why This Is Useful
• Helps avoid chasing extended moves
• Adds volatility context to entries and exits
• Ideal for futures, options, and index trading
ADR% / ATR / LoD dist. Table - V2ADR% / ATR / LoD Distance Table (V2) + ATR Range Lines is a simple “daily volatility dashboard” that helps you quickly judge how extended a stock is during the day and where “normal” daily movement zones sit relative to price.
It’s designed to help you answer:
“Has this stock already made most of its usual daily move?”
“Am I chasing too late?”
“Where are typical +ATR / −ATR stretch and pullback zones?”
What you’ll see
ADR% (Average Daily Range %)
Shows the stock’s typical daily travel (low → high) as a percentage.
Example: ADR% = 4% means the stock often swings ~4% in a normal day.
ATR (Average True Range)
Shows the stock’s typical daily movement in price units ($ / points).
Example: ATR = 2.50 means it often moves about $2.50 per day.
LoD dist. (Low of Day distance)
Shows how far price is from today’s Low of Day, measured relative to ATR (as a %).
Higher % = more extended away from the day’s low.
Optional: ATR Range Lines (added in this version)
You can enable two guide lines that extend to the right:
ATR Up Line = Price + ATR
ATR Down Line = Price − ATR
These act like volatility guardrails to visualize “typical daily stretch” and “typical pullback” zones.
ATR “Live vs Locked” option (important)
Lock ATR to last completed day (no intraday updates):
ON (Locked): Uses the last completed daily ATR (yesterday’s finished value).
✅ ATR stays constant all day while the market is live.
OFF (Live): ATR can update intraday as today’s daily candle expands.
✅ ATR may change during the session.
Either way, ATR is still based on your chosen ATR Length (lookback period). Locking simply prevents the ATR from drifting intraday.
How to use it (Kullamägi-style principle)
Kristjan Kullamägi’s momentum style emphasizes pressing strength when conditions are right, but also respecting extension and risk/reward. This tool helps you quantify that:
If ADR%/ATR suggests the stock already moved near its usual daily range, chasing can be lower reward.
The ATR lines help you visualize when price is in a “normal stretch zone” vs a better risk area.
Locking ATR gives you stable intraday reference levels for cleaner execution.
Tips
Use ADR% to understand whether there’s likely “room” left in today’s move.
Use LoD dist. to quickly gauge if price is already far from the day’s low (extended).
Use ATR Up/Down Lines as a simple volatility framework for entries, add-ons, and risk planning.
Keep Lock ATR ON if you prefer stable levels throughout the session.
Credits
Original indicator concept & script: ArmerSchlucker
ADR% formula credit: MikeC / TheScrutiniser and GlinckEastwoot
Modifications (V2): TradersPod
Added optional ATR Up/Down lines extending to the right
Added “Lock ATR to last completed day” option for stable intraday ATR reference
Kept the original logic and purpose intact
KAMA Momentum Extension WarningKAMA Momentum Extension Warning (Parabolic Exit)
Description This indicator is designed for Momentum & Trend Following strategies. Its primary goal is to identify "Parabolic Blow-Off" tops—moments where price moves vertically away from the trend, creating an unsustainable "rubber band" effect.
While standard trend-following tools (like moving averages) tell you when to enter or hold, this tool tells you exactly when to take profit into strength before a likely crash.
Visual Signals
Blue Line (KAMA 21): The "Floor." This represents the sustainable trend. In a healthy move, price should hug this line.
Orange Line (Extension Limit): The "Ceiling." This is calculated as KAMA + (ATR * Multiplier). It represents the mathematical limit of a normal move.
Yellow Candles: The "Climax Signal."
This triggers when the High of the day pierces the Orange Extension Limit.
It indicates the price is statistically over-extended (vertical).
How to Trade It
Trend Following: As long as candles are "Normal" colored and above the Blue Line, hold the position.
The Warning: If a candle paints Yellow, the stock has gone parabolic.
The Execution:
Sell 50% of the position immediately (do not wait for the close).
Tighten the stop loss on the remaining shares to the Low of the Previous Day.
Settings / Inputs
KAMA Length (Default: 21): Controls the baseline trend. Increase for longer-term trends, decrease for faster entries.
ATR Length (Default: 21): The volatility lookback period (usually matches the KAMA length).
Extension Multiplier (Default: 3.5): The "Sensitivity."
3.5 - 4.0: Best for volatile "Super Stocks" (Crypto, Biotech, Tech).
2.5 - 3.0: Best for slower, large-cap stocks.
Tip: Adjust in 0.1 increments to fit the specific stock's personality.
ATR Table (Top Right) - Multi Rangejust your friendly atr table to multiple ranges and for the sense of what is brewing
Volatility Trend Score [BackQuant]Volatility Trend Score
Overview
Volatility Trend Score is a trend-strength and regime-evaluation indicator built to measure directional persistence, not just direction. Most trend tools answer “up or down” using slope, crossovers, or a single condition. This indicator answers a more useful question for real trading: “How consistently is trend structure holding up once volatility is accounted for?”
It does this by building a volatility-scaled trailing structure (ATR-based) and then scoring how that structure evolves over a configurable lookback range. The output is a continuous score that rises when trend is persistent and decays when price action becomes noisy, mean-reverting, or unstable.
What it is measuring (the real goal)
This indicator is not trying to predict reversals. It is trying to quantify whether the market is behaving like a trend market or a chop market. It focuses on:
Persistence: does structure keep pushing in one direction bar after bar?
Stability: are pullbacks being absorbed without breaking the trailing structure?
Regime: is the market trending strongly enough to justify directional bias?
If you already have entries from other systems, this becomes a high-quality trend filter and trade management layer.
Core idea
At its foundation, the indicator combines two parts:
A volatility-adjusted trailing level derived from ATR and a user-defined factor.
A rolling persistence score that compares the current trail to prior trail values over a configurable loop window.
The trailing structure adapts to volatility and enforces one-sided movement, while the scoring logic converts that behavior into a numeric measure of trend quality.
Inputs and what they actually control
Average True Range Period (calc_p)
Defines the ATR window used to estimate volatility. A higher value smooths the volatility estimate and makes the trailing structure less reactive.
Factor (atr_factor)
Scales the ATR band size. Higher values widen the trailing band, filtering more noise, reducing flip frequency, and generally producing slower but more stable regimes.
For Loop Start/End (start/end)
Defines the comparison window used to build the score. It effectively sets how many historical trail values the current trail is compared against.
Shorter ranges produce a faster, more responsive score.
Longer ranges produce a slower, more “confidence-based” score that only climbs when trend persistence is sustained.
Long/Short Thresholds (thresL/thresS)
Convert a continuous score into regime thresholds.
Long threshold is a “trend quality requirement” for bullish bias.
Short threshold is used as a deterioration / breakdown trigger via crossunder logic.
Volatility-adjusted trailing structure
The trailing line is built from ATR bands around price:
up = close + ATR * factor
dn = close - ATR * factor
Then a trailing value is maintained with one-sided ratcheting behavior:
If dn rises above the previous trail, the trail steps up (ratchets upward).
If up drops below the previous trail, the trail steps down (ratchets downward).
This “ratchet” behavior is important. It prevents the trail from oscillating with small countertrend moves, forcing the trail to represent meaningful structure rather than micro-noise. On-chart, this trail often behaves like dynamic support/resistance in trends.
Why the trail is a better base than raw price
Price itself is noisy, and volatility changes the meaning of “big move” vs “small move.” By anchoring structure to ATR:
A move is interpreted relative to current volatility, not in absolute points.
High-volatility chop is less likely to be misread as a trend.
Trend structure is normalized across assets and timeframes more reliably.
This is why the score remains usable even when switching from low-vol assets to high-vol crypto pairs.
Trend scoring logic
The score is built by repeatedly comparing the current trailing value to trailing values from prior bars across a loop window:
If current trail > trail , add +1
If current trail < trail , add -1
This is a persistence test, not a momentum calculation. In a strong trend, the trail should generally keep stepping in the trend direction, so current values will be greater than many past values (bullish) or lower than many past values (bearish). In chop, the trail fails to progress meaningfully, so the score compresses, oscillates, or bleeds out.
How to interpret the score
Think of the score as a “trend conviction meter”:
High positive values: bullish persistence, structure is advancing consistently.
Low positive values: bullish bias may exist, but trend quality is weak or unstable.
Near zero: indecision, range behavior, or frequent structure challenges.
Negative values: bearish dominance or sustained deterioration in structure.
The speed of score change matters too:
Fast expansion suggests a fresh regime gaining traction.
Slow grind suggests mature trend continuation.
Rapid compression often signals consolidation, exhaustion, or a transition phase.
Signals and regime transitions
This script uses two different styles of conditions (important detail):
Long condition: score > long threshold (state-based, persistent while true).
Short condition: crossunder(score, short threshold) (event-based trigger).
That means:
Long bias can remain active as long as score stays above the long threshold.
Short regime flips are triggered at the moment the score breaks down through the short threshold.
On the chart, long/short shapes are only plotted when the regime flips (first bar of the change), not on every bar, using:
Long shape when signal becomes 1 and previous signal was -1
Short shape when signal becomes -1 and previous signal was 1
This keeps signals clean and avoids spam, making it usable for alerts and regime tagging.
Visual presentation
The indicator is designed to work both as a panel oscillator and as an on-chart overlay:
Score plot (oscillator): color reflects active regime state.
Optional trail on price: volatility-scaled structure line on chart.
Optional threshold reference lines: clear regime boundaries.
Optional candle coloring: makes regime obvious without reading the panel.
Optional background shading: useful for quick scanning and backtesting visually.
You can use only the score, only the trail, or both together depending on your workflow.
Practical use cases
1) Trend filter for systems
Use the score as a regime gate:
Allow long entries only when score is above the long threshold.
Avoid longs when score compresses toward zero or loses the threshold.
Treat the short threshold break as “trend is no longer healthy.”
This often improves system expectancy by reducing exposure during low-conviction conditions.
2) Trend quality grading
Instead of treating all uptrends as equal:
Higher score = higher persistence, better continuation odds.
Score plateau = trend losing pressure, continuation becomes less reliable.
Score decay while price rises = trend is getting weaker under the hood.
This is useful for position sizing or deciding whether to add to winners.
3) Trade management and exits
Two complementary tools exist here:
Trail line can act as a dynamic stop reference or structure invalidation level.
Score behavior can be used to scale out when persistence fades (before a full flip).
Many traders use the trail for “hard structure” and the score for “soft deterioration.”
4) Breakout confirmation vs fakeouts
A breakout that immediately fails to build score is often low quality.
Healthy breakouts usually come with score expansion as structure advances.
Fakeouts often revert quickly, score fails to climb, and regime stays unstable.
Tuning guidelines
These are general behaviors you can expect when adjusting settings:
Higher ATR period and factor: slower regimes, fewer flips, cleaner structure.
Lower ATR period and factor: faster reaction, more sensitivity, more noise risk.
Longer loop range: score becomes more “confidence-based,” slower to change.
Shorter loop range: score becomes more “tactical,” faster but more jittery.
A good way to tune is to pick the trail behavior first (ATR period and factor), then tune the score window (loop) to match how quickly you want “trend conviction” to build.
Market behavior focus
Volatility Trend Score is most valuable in markets where volatility shifts frequently and fake trends are common, especially crypto. It is designed to:
Stay out of low-quality chop where most indicators whipsaw.
Quantify when volatility is being expressed directionally (constructive trend).
Provide a clean regime framework for filtering, alignment, and management.
Summary
Volatility Trend Score converts volatility-adjusted structure into a quantified measure of trend persistence. By combining an ATR-based trailing mechanism with a rolling comparison score, it provides a more reliable read on trend quality than single-condition indicators. It is best used as a regime filter, a trend strength gauge, and a trade management layer, helping you stay aligned with strong directional phases while avoiding low-conviction envir
Zero-Lag ATR Trend [BackQuant]Zero-Lag ATR Trend
Overview
Zero-Lag ATR Trend is a volatility-adaptive trend-following overlay designed to identify directional market regimes with minimal delay while preserving structural clarity. The indicator combines a zero-lag moving average framework with a zero-lag volatility model to produce a trailing trend line that reacts quickly to meaningful price changes without becoming unstable or overly sensitive.
Unlike conventional ATR-based trend tools that rely on lagging averages and delayed volatility estimates, this indicator applies zero-lag logic to both the trend centerline and the volatility calculation. The result is a trend structure that aligns more closely with real-time price action while still maintaining the discipline required for trend continuation trading.
Core design philosophy
The core idea behind Zero-Lag ATR Trend is simple:
Reduce signal delay without sacrificing trend integrity.
Adapt dynamically to changing volatility regimes.
Provide a single, clean structure that defines trend direction, continuation, and invalidation.
Instead of stacking multiple indicators, the script builds a complete trend framework from two tightly integrated components: a zero-lag trend spine and a zero-lag ATR trailing mechanism.
Zero-lag trend spine
The trend spine is constructed using a zero-lag moving average (ZLMA). This is achieved by applying a corrective step to a traditional moving average, effectively compensating for smoothing delay.
Conceptually, the process works as follows:
A base moving average is calculated from the selected price source.
That moving average is then passed through a zero-lag correction.
The correction pulls the line closer to current price without introducing noise.
This produces a trend line that reacts faster than standard EMA, SMA, or HMA signals, particularly during early trend acceleration phases. Multiple moving-average types can be used inside the zero-lag framework, allowing traders to fine-tune responsiveness based on asset behavior and timeframe.
Zero-lag volatility model
Volatility is measured using True Range, but instead of applying classic ATR smoothing, the indicator uses a zero-lag smoothing pass on the True Range itself.
This approach offers several advantages:
Volatility expands more quickly during impulse moves.
Volatility contracts faster during consolidations.
Band width adjusts in near real-time to changing conditions.
The smoothed zero-lag ATR is multiplied by a user-defined factor to create adaptive upper and lower boundaries around the trend spine. These boundaries define how much counter-movement price is allowed before the trend structure is invalidated.
Volatility-aware trailing structure
The trailing output is the defining feature of the indicator. It behaves as a one-directional trailing structure:
In bullish conditions, the trailing line can only move upward.
In bearish conditions, the trailing line can only move downward.
Minor pullbacks inside the volatility envelope do not flip the trend.
This logic prevents the indicator from reacting to shallow retracements and focuses instead on structural trend changes. Because the trailing behavior is volatility-scaled, the indicator remains stable during high volatility while still responding promptly during regime shifts.
Trend flips and regime transitions
Trend direction is determined by changes in the trailing structure itself rather than raw price crosses. A trend flip occurs only when price movement is strong enough, relative to current volatility, to force the trailing line to reverse direction.
This means:
Bullish flips represent genuine transitions into upward regimes.
Bearish flips represent genuine transitions into downward regimes.
Sideways noise is largely filtered out.
As a result, the indicator is well suited for identifying medium-to-long trend phases rather than short-term oscillations.
Visual structure and chart clarity
The visual design is intentionally minimal and functional:
The main trailing line is color-coded by trend direction.
An optional ribbon or cloud reinforces directional bias.
Optional candle coloring aligns price bars with the active trend.
These elements allow traders to assess trend state instantly without interpreting multiple signals or overlays.
How to use for trend following
Trend bias
Maintain a bullish bias while price holds above the trailing line.
Maintain a bearish bias while price holds below the trailing line.
Entries
Trend flips can be used as initial directional entries.
Pullbacks toward the trailing line often act as continuation opportunities.
Momentum confirmation can be layered on top for additional confluence.
Trend management
The trailing line naturally functions as a dynamic stop reference.
As long as price respects the trailing structure, the trend remains valid.
A flip in direction signals a full regime transition rather than a minor correction.
Why zero-lag matters for trend trading
Traditional trend indicators often react late, especially during fast expansions, resulting in delayed entries and early exits. By reducing lag in both the trend calculation and the volatility model, Zero-Lag ATR Trend aims to capture a larger portion of directional moves while maintaining consistency and discipline.
This makes it particularly effective for momentum-based trend following, breakout continuation strategies, and traders who prioritize staying aligned with dominant market structure rather than predicting reversals.
Summary
Zero-Lag ATR Trend is a complete trend-following framework built around responsiveness, adaptability, and clarity. Its zero-lag architecture allows it to respond earlier to meaningful price changes, while its volatility-aware trailing logic ensures that trends are only invalidated when structure truly breaks. The result is a clean, intuitive tool that supports disciplined trend participation across assets and timeframes.
Purra Buy Sell Signalsindicator.lk's purra buy sell is a precision-tuned indicator designed specifically for XAU/USD (Gold) 5-minute scalping. It combines a smoothed trend-filter (based on a multi-stage EMA cascade with adaptive smoothing) and an ATR-based trailing stop logic to generate high-confidence Buy and Sell signals directly on the price chart.
Ideal for short-term traders seeking clean, responsive entries with minimal lag, this tool helps you:
Catch early trend reversals
Avoid choppy false signals
Execute fast scalps during active gold sessions (London & Asian overlap)
Built with risk-aware logic and visual clarity in mind—green labels = long opportunities, red labels = short setups. Fully compatible with alerts for automated trade execution.
Optimized for XAUUSD on the 5-minute timeframe. Works best during high-liquidity hours.
🛠️ How to Use (for Gold 5-Minute Scalping)
Apply to Chart: Add the indicator to XAU/USD (Gold) on the 5-minute timeframe.
Signal Interpretation:
Green "Buy" label below bar: Strong bullish momentum—consider long entry.
Red "Sell" label above bar: Strong bearish momentum—consider short entry.
Confirmation Tips:
Trade only when the background ribbon or trend line (if enabled) aligns with the signal direction (green = uptrend, red = downtrend).
Avoid signals during major news events or low volatility (e.g., late NY session).
For higher accuracy, combine with price action (e.g., rejection candles, break of micro structure).
Risk Management:
Use tight stop-losses just beyond recent swing points.
Target 1:1 or 1:2 risk-reward; gold moves fast on 5M!
Alerts: Enable TradingView alerts on “Purra Long” / “Purra Short” conditions for real-time notifications.
ATR Units + % (Watermark)A clean and simple indicator for displaying ATR (Average True Range) volatility directly on the chart, without any lines, panels, or visual clutter.
The indicator shows:
ATR in price units (how much the asset moves in absolute terms)
ATR as a percentage (%) of the current price
The values are displayed as a text watermark on the chart, allowing you to quickly see the volatility level at a glance without interfering with price analysis.
Customization Options:
Set ATR length
Choose text size
Choose text color
Control transparency (for a true watermark look)
Choose full chart position:
Vertical: Top / Middle / Bottom
Horizontal: Left / Center / Right
Disclaimer
This indicator is provided for educational and informational purposes only.
It does not constitute financial advice, investment advice, or a recommendation to buy or sell any financial instrument.
The ATR values shown (both units and percentage) reflect historical price volatility only and do not predict future market behavior.
All trading decisions are the sole responsibility of the user.
Trading involves risk. Always use proper risk management, and consult a licensed financial professional if needed before making trading decisions.
Pro Minimalist ATR (Black)The script I provided is a tool that automatically calculates and displays volatility "zones" around the average price. Here is the plain English explanation of what it is doing and why:
1. The Anchor: 20 DMA (The "Fair Value")
The script starts by calculating the 20-Day Moving Average (20 DMA).
What it represents: Think of this as the "fair price" or the "center of gravity" for the market over the last month.
In the script: It looks at the closing price of the last 20 candles, adds them up, and divides by 20. This is your baseline.
2. The Ruler: ATR (The "Volatility")
Next, it measures the Average True Range (ATR) over the last 14 days.
What it represents: This measures the "energy" or "noise" of the market. If candles are huge, the ATR is high. If candles are tiny, the ATR is low.
Why we use it: Using a fixed number (like $50) doesn't work because stocks move differently. ATR adapts to the current market mood.
3. The Zones: +1, +2, -1, -2
The script then takes that "center" (20 DMA) and adds/subtracts the "ruler" (ATR) to create four distinct levels:
+1 ATR: This is the "Upper Normal" limit. Price hanging here is bullish but normal.
+2 ATR: This is the "Extreme" limit. Statistically, price rarely stays above this line for long without snapping back. This is often an overbought signal.
-1 ATR: This is the "Lower Normal" limit.
-2 ATR: This is the "Extreme" discount. If price hits this, it is statistically stretched far below its average.
4. The Visuals: "Clean" Labeling
Finally, the script focuses on presentation:
No Lines: It specifically avoids drawing lines all over your history to keep your chart clean.
Dynamic Labels: It creates text labels only on the very last bar (the current moment). It constantly deletes the old label and draws a new one as the price moves, so it looks like the text is "floating" next to the current price.
Axis Marking: It forces marks onto the right-hand price scale (display=display.price_scale) so you can see the exact price levels (e.g., 154.20) without having to guess.
Lakshmi - Low Volatility Range Breakout (LVRB)⚡️ Overview
The Low Volatility Range Breakout (LVRB) indicator is designed to identify consolidation phases characterized by suppressed volatility and generate actionable signals when price breaks out of these ranges. The underlying premise is rooted in the market principle that periods of low volatility often precede significant directional moves—volatility contraction leads to expansion.
Important Note on Optimization: The default parameter settings of this indicator have been specifically optimized for BTCUSDT on the 2-hour (2H) timeframe. While the indicator can be applied to other instruments and timeframes, users are encouraged to adjust the parameters accordingly to suit different trading conditions and asset characteristics.
This indicator automates the detection of "quiet" accumulation/distribution zones and provides clear visual cues and alerts when a breakout occurs.
⚡️ How to Use
1. Add the indicator to your chart. Default settings are optimized for BTCUSDT 2H.
2. Wait for a gray box to appear—this indicates a qualified low-volatility range is forming.
3. Monitor for breakout signals:
• LONG (green triangle below bar): Price broke above the range. Consider entering a long position.
• SHORT (red triangle above bar): Price broke below the range. Consider entering a short position.
4. Set alerts using "LVRB LONG" or "LVRB SHORT" to receive notifications on confirmed breakouts.
5. Adjust parameters as needed for different instruments or timeframes.
Tip: Combine with volume analysis or trend filters for higher-probability setups.
⚡️ How It Works
1. Low Volatility Bar Detection
A bar is classified as "low volatility" when it meets the following criteria:
• True Range (TR) is at or below the average TR (Simple Moving Average) multiplied by a user-defined threshold.
• (Optional) Candle Body is at or below the average body size multiplied by a separate threshold.
This dual-filter approach helps isolate bars that exhibit genuine compression in both range and directional commitment.
2. Range Box Formation
When consecutive low-volatility bars are detected, the indicator begins constructing a consolidation box:
• The box expands to encompass the high and low of qualifying bars.
• A minimum number of bars and a minimum fraction of low-volatility bars are required for the box to become "qualified" (active).
• A configurable tolerance allows for a limited number of consecutive non-low-vol bars within the sequence, accommodating minor noise without invalidating the range.
• If the box height exceeds a maximum threshold (defined as a multiple of the base ATR at sequence start), the range is invalidated.
3. Breakout Detection
Once a qualified range is established, the indicator monitors for breakouts:
• Wick Mode: Requires both a wick pierce beyond the range boundary AND a close outside the range.
• Close Mode: Requires only a close beyond the range boundary.
• (Optional) Breakout Body Filter: The breakout candle's body must exceed a multiple of the average body size at range formation.
• (Optional) Candle Direction Filter: Bullish breakouts require a green candle; bearish breakouts require a red candle.
Signals are displayed in real-time and confirmed upon bar close.
⚡️ Inputs & Parameters
• Volatility Window: Lookback period for calculating average TR and average body size.
• TR Multiplier: A bar's TR must be ≤ avgTR × this value to qualify as low-vol.
• Body Multiplier: A bar's body must be ≤ avgBody × this value (if body filter is enabled).
• Use Body Filter: Toggle the body size filter on/off.
• Min Bars in Box: Minimum number of bars required for a range to become qualified.
• Min Low-Vol Fraction: Minimum proportion of bars in the sequence that must be low-vol.
• Allowed Consecutive Non-Low-Vol Bars: Tolerance for consecutive bars that do not meet low-vol criteria.
• Max Box Height: Maximum allowed range height as a multiple of the base ATR.
• Breakout Mode: Choose between "Wick" (pierce + close) or "Close" (close only).
• Breakout Body Multiplier: Require breakout candle body ≥ avgBody × this value (1.0 = OFF).
• Require Candle Direction: Enforce green candle for LONG, red candle for SHORT.
⚡️ Visual Features
• Consolidation Boxes: Displayed in neutral (gray) color during formation. Upon a confirmed breakout, the box is colored green for bullish breakouts or red for bearish breakouts.
• Breakout Signals:
• LONG: Green upward triangle displayed below the price bar with "LONG" label.
• SHORT: Red downward triangle displayed above the price bar with "SHORT" label.
• Range Levels: Optional horizontal plots for the active range's high and low.
• Invalidated Boxes: Optionally retained in neutral (gray) color or deleted from the chart.
• Full Customization: Colors, transparency, and border width are all adjustable.
⚡️ Alerts
Two alert conditions are available:
• LVRB LONG: Triggered on a confirmed bullish breakout (bar close).
• LVRB SHORT: Triggered on a confirmed bearish breakout (bar close).
⚡️ Use Cases
• Breakout Trading: Enter positions when price escapes a well-defined low-volatility range.
• Volatility Expansion Plays: Anticipate increased volatility following periods of compression.
• Filtering Choppy Markets: Avoid trading during extended consolidation; wait for confirmed breakouts.
• Multi-Timeframe Analysis: Use on higher timeframes to identify major consolidation zones.
⚡️ Notes
• Best used in conjunction with volume analysis, trend context, or support/resistance levels for confirmation.
• Performance varies across instruments and timeframes; backtesting and parameter optimization are recommended.
⚡️ Credits
Developed by Lakshmi. Inspired by volatility contraction principles and range breakout methodologies.
⚡️ Disclaimer
This indicator is provided for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a guarantee of profits. Trading financial instruments involves substantial risk, and you may lose more than your initial investment. Past performance, whether indicated by backtesting or historical analysis, does not guarantee future results. The use of this indicator does not ensure or promise any profits or protection against losses. Users are solely responsible for their own trading decisions and should conduct their own research and/or consult with a qualified financial advisor before making any investment decisions. By using this indicator, you acknowledge and accept that you bear full responsibility for any trading outcomes.
Dynamic ATR-based Renko Overlay - Non repaintingDaily ATR-Based Renko Overlay
Overview
This Pine Script v5 indicator creates a dynamic Renko overlay on your time-based charts (optimized for 1-minute timeframes), using the previous period's ATR from a user-specified higher timeframe (default: 1-hour) to determine brick sizes. Unlike traditional Renko charts, this is an overlay that draws Renko bricks directly on top of your existing candles, allowing you to combine the noise-filtering power of Renko with the full features of time-based charts.
It's designed for traders who want Renko's trend-clarity benefits without switching chart types, especially useful for intraday trading in volatile markets like forex, stocks, or crypto.
Key Features
- Adaptive Brick Sizing: Brick size is calculated as a percentage (default 40%) of the previous period's ATR (Average True Range, default length 14) from the selected higher timeframe (default: 1-hour). This makes bricks volatility-adjusted—larger in high-vol periods to reduce noise, smaller in low-vol for more detail.
- Periodic Recalculation: Resets brick size at the start of each new period based on the user-specified reset timeframe (default: daily), using the prior period's ATR from the chosen timeframe. This ensures relevance without unwanted disruptions.
- Traditional Renko Logic: Uses 1-box reversal (a full brick against the trend to reverse). Bricks form based on closing prices, ignoring time and minor fluctuations.
- Visual Style: Stepped lines with green (up) and red (down) fills for a box-like appearance. Semi-transparent for easy overlay on candles.
- Customizable Inputs:
- ATR Length: Adjust the ATR period (default: 14).
- Percentage of ATR: Fine-tune brick sensitivity (default: 0.4 or 40%; range 0-1).
- ATR Timeframe: Specify the timeframe for ATR calculation (default: "60" for 1-hour; enter as a string like "240" for 4-hour, "D" for daily, etc.).
- Reset Timeframe: Specify the period for recalculating the brick size (default: "D" for daily; enter as a string like "W" for weekly, "M" for monthly, etc.).
How It Works
1. Fetches ATR from the user-specified timeframe via `request.security` for higher-timeframe volatility data.
2. On new periods based on the reset timeframe (or first load), sets brick size to `percent * ATR_HTF`.
3. Tracks Renko "close" and "previous close" to calculate bricks:
- Upward moves add green bricks in multiples of the size.
- Downward moves add red bricks.
- Reversals require a full brick against the direction.
4. Plots and fills create the overlay, updating on each 1-min bar close.
Add it to a 1-minute chart for best results—bricks will adapt periodically while you retain full candle visibility.
Why This Indicator is Helpful
TradingView's native Renko charts are powerful but come with limitations that can frustrate serious traders:
- No Bar Replay: Native Renko doesn't support TradingView's bar replay feature, making it hard to simulate historical trading sessions.
- Inaccurate/Repainting Strategy Testing: Strategies on native Renko can repaint or lack precision due to the non-time-based nature, leading to unreliable backtests.
- Limited Data History: Fast Renko timeframes (e.g., small bricks) often load very little historical data, restricting long-term analysis.
This overlay solves these by building Renko on a time-based chart:
- Full Bar Replay Support: Replay sessions as usual on your 1-min chart—the Renko follows along.
- Accurate, Non-Repainting Testing: Test strategies on the underlying time chart without repainting issues, as Renko is derived from closes.
- Unlimited Data Depth: Access TradingView's full historical data for 1-min charts (up to years of bars), not limited by Renko's data constraints.
- Hybrid Analysis: Overlay Renko on candles to spot trends while using volume, indicators (e.g., RSI, MAs), or drawing tools that don't work well on native Renko.
It's a game-changer for trend-following, breakout strategies, or filtering noise in short-term trades. No more switching charts—get the best of both worlds!
Usage Tips
- Best on 1-min charts for intraday precision, but experiment with others.
- Tune the percentage lower (e.g., 0.3) for more bricks/sensitivity, higher (e.g., 0.5) for fewer/false-signal reduction.
- Adjust the ATR timeframe to match your strategy—e.g., "240" for longer-term volatility or "15" for shorter.
- Customize the reset timeframe for different recalculation frequencies—e.g., "W" for weekly resets to capture broader market shifts, or "240" for every 4 hours.
- Combine with alerts: right now I am experimenting with 90 period EMA and the Renko brick pullbacks to find some EDGE
If you find this useful, give it a thumbs up or share your tweaks in the comments. Feedback welcome—happy trading! 🚀
Daily ATR (Shown on All Timeframes)Daily ATR (Shown on All Timeframes) displays the Daily timeframe ATR on any chart you’re viewing, so you always know the current day’s average range without switching timeframes.
True Daily ATR (not chart ATR): The script pulls ATR from the Daily chart using request.security() and shows that value on every timeframe.
On-chart table (top-right): A clean 2-row table shows:
The label: Daily ATR (Length)
The ATR value, with an optional ATR-as-% of price readout.
Custom display controls:
ATR Length input (default 14)
Toggle to show ATR % of current price
Toggle to show/hide the table
Choose table text color
Choose table text size (Tiny → Huge)
Data Window output: The Daily ATR value is also plotted invisibly so it appears in TradingView’s Data Window for quick reference.
This is useful for gauging daily volatility, setting risk/position sizing, and comparing intraday movement to the stock’s typical daily range.
Daily ATR (Shown on All Timeframes)Daily ATR (Shown on All Timeframes) displays the Daily timeframe ATR on any chart you’re viewing, so you always know the current day’s average range without switching timeframes.
True Daily ATR (not chart ATR): The script pulls ATR from the Daily chart using request.security() and shows that value on every timeframe.
On-chart table (top-right): A clean 2-row table shows:
The label: Daily ATR (Length)
The ATR value, with an optional ATR-as-% of price readout.
Custom display controls:
ATR Length input (default 14)
Toggle to show ATR % of current price
Toggle to show/hide the table
Choose table text color
Choose table text size (Tiny → Huge)
Data Window output: The Daily ATR value is also plotted invisibly so it appears in TradingView’s Data Window for quick reference.
This is useful for gauging daily volatility, setting risk/position sizing, and comparing intraday movement to the stock’s typical daily range.
STOP_TRADING_MODE📘 Release Notes
STOP_TRADING_MODE — Stable Release
Version: 1.0.0
Status: Stable / Production-ready
⸻
🎯 Purpose
This indicator is designed to identify market regimes, not to generate constant trade signals.
Its primary goal is to protect the trader from low-quality environments and highlight rare, high-quality interaction points with equilibrium.
⸻
🧠 Core Concepts
• STOP Mode — identifies impulsive, dangerous, or one-sided market conditions
• Equilibrium (MID / EQ) — represents the auction balance, not a trend level
• MAGNET vs SPRING — distinguishes range behavior from trend behavior
• EQ_HOLD — highlights valid reactions at equilibrium only in a range-friendly environment
⸻
✅ What’s Included
🔴 STOP Mode (Background Only)
• Red background marks:
• volatility spikes (ATR expansion)
• impulsive candles
• one-directional movement
• No entry signals
• Used strictly as a risk-environment filter
🟨 MID (Equilibrium Line)
• Calculated as SMA of HL2
• Acts as:
• Magnet in ranging markets
• Spring in trending markets
• Not a trade trigger by itself
🔁 MAGNET / SPRING Regime Detection
• Based on:
• frequency of MID crossings
• time spent near equilibrium
• market “trendiness” ratio
• Regime labels appear only when the regime changes
• Prevents constant label repainting or noise
🟢 EQ_HOLD Signal (Rare by Design)
• Triggered only when:
• STOP mode is OFF
• MID behaves as MAGNET
• price reacts cleanly at equilibrium
• Designed for micro-scaling / position management, not aggressive entries
• Low frequency = high informational value
⸻
🚫 What Was Removed (By Design)
• No STOP / STOP_OFF labels on chart (alerts only)
• No constant signal spam
• No reliance on trend prediction
• No “buy/sell” prompts
⸻
🎛 UI & Usability Improvements
• Clean, minimal visual layout
• Color logic aligned with meaning:
• 🔴 Risk / danger
• 🟨 Balance / structure
• 🟢 Action-permitted condition
• Optional toggles for regime and EQ_HOLD labels
⸻
🧪 Known Behavior (Not Bugs)
• MID crossing does not immediately change regime
• STOP may activate after entry — this signals risk management mode, not exit
• EQ_HOLD appears infrequently by intention
⸻
🧩 Intended Usage
• Best suited for:
• range-aware traders
• scale-in / scale-out strategies
• discretionary decision support
• Not intended for:
• high-frequency trading
• signal-following automation
• prediction-based entries
⸻
🧠 Design Philosophy
“Silence is a feature.”
If the indicator does nothing —
the market likely offers nothing worth doing.
Volume-Weighted Hybrid Channel [Capitalize Labs]Volume-Weighted Hybrid Channel (VWHC) is a channel-only indicator designed to visualise mean and volatility structure using a blended framework. It combines a configurable mean engine (SuperSmoother, EMA, SMA, or RMA) with an anchored VWAP component, then builds a four-level band ladder around a hybrid mean using a hybrid width that blends a range engine (ATR or true range variants) with anchored, volume-weighted standard deviation. The result is a smooth, adaptive channel intended to help us contextualise price location and volatility expansion or contraction relative to the hybrid mean.
The indicator supports Weekly or Session anchoring for the VWAP and sigma components, and includes optional transition smoothing after anchor resets to reduce visual stepping. Band levels are user-defined (with automatic ordering enforcement), and optional gradient fills can be enabled for clearer zone recognition. An optional Band Occupancy Table is included to show how frequently price closes inside each zone, either over a rolling lookback or since the most recent anchor reset. This table is informational only and does not generate signals.
This script is an indicator, not a strategy. It does not place trades, generate alerts, or provide entry or exit instructions. Outputs depend on chart symbol, timeframe, and data quality, including volume availability. The channel is designed to be non-repainting in the sense that it uses confirmed bar data and does not use forward-looking logic; however, like all indicators, the current bar can update until it closes.
Risk Warning
This material is educational research only and does not constitute financial advice, investment recommendation, or a solicitation to buy or sell any instrument. Foreign exchange and CFDs are complex, leveraged products that carry a high risk of rapid losses; leverage amplifies both gains and losses, and you should not trade with funds you cannot afford to lose. Market conditions can change without notice, and news or illiquidity may cause gaps and slippage; stop-loss orders are not guaranteed.
The analysis presented does not take into account your objectives, financial situation, or risk tolerance. Before acting, assess suitability in light of your circumstances and consider seeking advice from a licensed professional. Past performance and back-tested or hypothetical scenarios are not reliable indicators of future results, and no outcome or level mentioned here is assured. You are solely responsible for all trading decisions, including position sizing and risk management. No external links, promotions, or contact details are provided, in line with TradingView House Rules.
Disclaimer
Use of this indicator is at our own discretion and risk. It is a visual analysis tool and should be validated through independent testing and a documented trading plan before being used in live decision-making.
The BLUE Red Candle Swing w AlertsThe script is for high probability swing entries based on a extremely strong bearish candles which typically come right before a green push up.
When a bearish candle has a higher than average ATR, it is a sign that there could be a large reversal coming next.
Use this indicator to help you set the stop loss and take profit based on the range of the highlighted Red candle.
*So if the ATR of this candle is $3.00 then set a $3.00 stop loss and take profit.
There is also a sc
Rules for the ATR RED/Blue Impulse candle
*Use the 50% line or midline of the candle to help refine your entries
*Use the range of the Blue candle as your stop loss range and for your 1st take profit target!
*Add more positions if there is a clear trend after the candle






















