byquan GP - SRSI Channel🔍 What Is It?
The GP – SRSI Channel is a momentum-based oscillator that measures the relative strength of price movements across multiple timeframes using the Stochastic RSI (SRSI) method.
Instead of using a single RSI line, this indicator analyzes four price inputs and four timeframes to create a dynamic channel that reflects the true market momentum — helping traders identify overbought and oversold zones with higher accuracy.
⚙️ How It Works
The indicator combines multiple layers of analysis to produce a smooth and reliable momentum channel.
1. Multi-Source RSI Calculation
It computes RSI and Stochastic RSI values for four different price sources:
Open
High
Low
Close
Each source generates its own SRSI value:
dsopen, dshigh, dslow, and dsclose
From these, it extracts:
starraymin: the lowest (most oversold) SRSI value
starraymax: the highest (most overbought) SRSI value
This forms a momentum range based on all price inputs.
2. Multi-Timeframe (MTF) Integration
To strengthen signal reliability, it repeats this SRSI analysis across four higher timeframes (configurable by user):
Parameter Default Value Meaning
Time 1 180 minutes 3-hour chart
Time 2 360 minutes 6-hour chart
Time 3 720 minutes 12-hour chart
Time 4 1D Daily chart
Each timeframe produces its own set of minimum, maximum, and close SRSI values.
These are then combined and normalized to a 0–100 scale.
3. Normalization and Channel Plot
The combined results create three main lines:
Min Line (Green–Red gradient) → represents oversold strength
Max Line (Green–Red gradient) → represents overbought strength
Close Line (White) → represents average SRSI value
The area between the Min and Max lines is filled with a color gradient to form the SRSI Channel, visually showing momentum strength and range.
4. Signal & Alerts
Two alert levels are defined:
Alert Min Level → Default = 5 (oversold)
Alert Max Level → Default = 95 (overbought)
When:
oranmin ≤ Alert Min Level → Market is in an oversold state (potential reversal up).
oranmax ≥ Alert Max Level → Market is in an overbought state (potential reversal down).
When either of these thresholds is crossed, the indicator triggers:
A white square marker on the chart.
A custom alert with the message:
“SRSI Channel reached alert threshold (oranmax ≥ MaxLevel or oranmin ≤ MinLevel)”
🧭 How to Use It
🪄 Step 1 — Add to Chart
Copy the code into a new Pine Script in TradingView.
Click Add to chart.
You’ll see three lines and a colored channel between them.
⚙️ Step 2 — Adjust Inputs
Core SRSI Settings
Setting Description
K, D Smoothing factors for Stochastic RSI.
RSI Length Number of bars for RSI calculation.
S Length Period used for %K in Stochastic RSI.
Alert Min/Max Level Defines oversold/overbought zones.
Multi-Timeframe Settings
Change Time 1 to Time 4 to suit your trading style:
Shorter timeframes → faster but more noise.
Longer timeframes → smoother, more reliable momentum.
📈 Step 3 — Interpret the Chart
Indicator Element Meaning
🟩 Lower Boundary (Min) Lowest SRSI reading → momentum weakness / possible rebound area
🟥 Upper Boundary (Max) Highest SRSI reading → strong momentum / possible exhaustion
⚪ Middle Line (Close) Average of all SRSI readings → overall momentum strength
🌈 Channel Fill Visualizes balance between overbought and oversold levels
When the channel widens → market volatility and strength increase.
When it narrows → consolidation or low-momentum phase.
🔔 Step 4 — Alerts
You can create alerts using:
Condition: SRSI Extreme
Message: SRSI Channel reached alert threshold
Use this to receive notifications when the market hits extreme momentum levels (great for reversal traders).
💡 Trading Tips
✅ Combine with Supertrend, MACD, or Moving Averages for confirmation.
✅ Look for SRSI extremes aligning with price support/resistance for stronger reversal entries.
✅ Use different timeframe combinations (e.g., 1H–4H–12H–1D) depending on your trading style.
✅ Treat it as a momentum filter — not a direct buy/sell signal tool.
⚖️ Summary
The GP – SRSI Channel is a sophisticated multi-timeframe momentum indicator that helps traders visualize market strength and identify overbought or oversold conditions with exceptional clarity.
Features:
4 price sources × 4 timeframes = deep momentum insight
Dynamic, color-coded SRSI channel
Built-in alert system for extreme conditions
Clean and intuitive visual design
Best suited for:
Swing and position traders
Traders who use RSI/Stoch indicators
Those seeking to confirm entries with multi-timeframe momentum data
🎯 Understand the market’s true momentum — before it moves.
차트 패턴
byquan GP maxmin+Supertrend🔍 Overview
The GP MaxMin + Supertrend indicator is an advanced trend-following tool that combines the power of the Supertrend indicator with a multi-timeframe Stochastic RSI (SRSI) filter.
It aims to generate high-confidence buy and sell signals by confirming Supertrend breakouts only when the market’s momentum (based on SRSI) supports them.
In other words:
Supertrend gives you trend direction,
and SRSI ensures you only trade when the market is ready to move.
⚙️ How It Works
The indicator operates in three main layers:
1. SRSI Channel Analysis
It calculates Stochastic RSI values on four price sources:
Open
High
Low
Close
From these, it extracts both minimum (oversold) and maximum (overbought) SRSI readings.
To make the signal more robust, the script collects SRSI data from four different timeframes:
3 hours (180 minutes)
6 hours (360 minutes)
12 hours (720 minutes)
1 day
These multi-timeframe readings are averaged and normalized between 0 and 100.
Key thresholds:
Below 5 → Oversold zone (potential BUY zone)
Above 95 → Overbought zone (potential SELL zone)
2. Supertrend Core
The indicator uses a standard Supertrend logic:
ATR Period: 10
ATR Multiplier: 3.0
It dynamically plots the Supertrend line that shifts between bullish and bearish zones.
When the price crosses the Supertrend line, a trend change is detected:
From bearish to bullish → Buy signal
From bullish to bearish → Sell signal
3. SRSI-Based Signal Filtering
To avoid false breakouts, the Supertrend signals are filtered through the SRSI logic.
Here’s how it works:
When the market becomes oversold, the script records that event.
If a Supertrend Buy signal appears within a certain number of bars (default = 30) after that oversold event → the signal is validated.
The same applies for Sell signals after an overbought event.
This creates a smart “confirmation window,” ensuring that only those Supertrend signals that align with market momentum are displayed.
🧭 How to Use It
✅ Step 1: Add to Your Chart
Copy and paste the script into a new Pine Script editor window in TradingView, then click “Add to chart.”
✅ Step 2: Configure Parameters
SRSI Settings
K, D, RSI Length, S Length: Standard SRSI parameters.
Alert Min Level and Alert Max Level: Define overbought/oversold zones (default 5 and 95).
Timeframes: You can adjust the four MTF levels if you want faster or slower momentum confirmation.
Supertrend Settings
ATR Period: A higher value smooths the trend.
ATR Multiplier: Controls signal sensitivity (lower = more signals, higher = fewer).
Filter Settings
Signal Filter Window: Defines how long after an overbought/oversold event a Supertrend signal remains valid (default = 30 bars).
✅ Step 3: Interpret Signals
Signal Type Condition Interpretation
Buy Supertrend flips to bullish and SRSI was recently oversold Start of an uptrend
Sell Supertrend flips to bearish and SRSI was recently overbought Start of a downtrend
Each signal is marked on the chart:
🟢 Green “Buy” label → potential long entry
🔴 Red “Sell” label → potential short entry
You can also enable or disable background highlighting to visually track bullish/bearish zones.
✅ Step 4: Set Alerts
You can create alerts using the built-in alert condition:
SRSI-Filtered SuperTrend Signal Triggered!
This triggers whenever a filtered Buy or Sell signal appears.
💡 Trading Tips
Combine this indicator with price action or volume confirmation for best results.
Adjust the filter window to fit your preferred timeframe (short-term vs swing trading).
Avoid trading against higher-timeframe Supertrend direction.
⚖️ Advantages
✅ Filters out false Supertrend signals
✅ Uses multi-timeframe momentum confirmation
✅ Clean visual layout with clear entry markers
✅ Supports alerts for automation or notifications
⚠️ Limitations
⚠️ The indicator is computationally heavy due to multi-timeframe requests.
⚠️ It’s a confirmation tool — not a standalone strategy.
⚠️ Results depend on correct parameter tuning for your market and timeframe.
📈 Summary
The GP MaxMin + Supertrend is a hybrid indicator that blends trend detection with momentum filtering.
It helps traders:
Avoid false breakouts
Enter trades at better timing
Stay aligned with both trend and momentum
Perfect for swing traders, crypto traders, and anyone who wants cleaner Supertrend signals with deeper confirmation logic.
Mark Minervini Trend Template & SEPAMark Minervini Trend Template & SEPA Pro
This Pine Script distills Mark Minervini’s SEPA methodology into an institutional‑grade toolkit. It scores every bar against the 8‑point Trend Template, Weinstein stage, VCP dynamics, market health, weekly alignment, relative strength, and accumulation, then surfaces only the setups Minervini actually trades. The dashboard table (dark/light themes) summarizes compliance with each checklist item, portfolio heat, risk metrics, sector leadership, and market status, while on-chart markers with hover tooltips highlight perfect breakouts, VCPs, cheat entries, follow-through days, and exit triggers (stop, trailing MA, distribution, failed breakout). Advanced modules include sector rotation gating, follow-through-day logic, VCP structural tests (upper-third action, prior advance, volume dry-up), weekly confirmation, risk-based position sizing, and portfolio heat controls—making this a turn-key “trade like a champion” assistant ready for desk use or signal automation.
Turtle Soup Multi Timeframe (D + 30m)
This indicator indicates when there is a turtle soup with a 30-minute timeframe aligned with a one-day timeframe.
Wick Size Detector (Upper + Lower, Active-Bar Lines)🧭 1. Understanding What the Indicator Tells You
Each signal means a potential shift in intent — a wick implies rejection of price at one extreme.
Upper Wick (red) → Sellers rejected higher prices → potential short setup.
Lower Wick (green) → Buyers rejected lower prices → potential long setup.
Dual Wick (both large) → Exhaustion / indecision → likely reversal or range start.
The wick is not a trade by itself — it’s a context clue telling you where liquidity was swept and which side failed.
🧩 2. Framework for Trading Wick Signals
Use a two-stage decision model: context → confirmation.
Stage 1: Context Filter
Before taking any wick, make sure the background aligns:
Higher timeframe (1H / 4H / Daily) bias using:
Market structure (higher highs/lows)
EMA slope or Fair Value Gap alignment
Key liquidity (PDH, PDL, Daily Open)
Example:
4H is bullish (higher lows + above 50 EMA) → focus only on green lower-wick signals.
4H is bearish → focus only on red upper-wick signals.
This avoids trading against momentum.
Stage 2: Confirmation & Entry
Once a valid wick signal appears in context:
✅ Entry Logic
Wait for candle with qualifying wick (per indicator).
On next candle:
For a lower wick (buy setup) →
Enter long near the midpoint or discount (50–62%) of the wick candle’s range.
For an upper wick (sell setup) →
Enter short near the midpoint or premium (50–62%) of the wick candle’s range.
🛑 Stop Loss
Below the wick low for buys.
Above the wick high for sells.
🎯 Take Profit
Target prior liquidity points:
For buys → previous highs or equilibrium.
For sells → previous lows or daily open.
Or use a fixed R:R (e.g., 2:1).
⚖️ Optional: Wait for Confirmation (Displacement / MSS)
If you combine this with your ICT-style workflow:
Wait for a market structure shift in direction of the wick.
Confirm the Change in State of Delivery (CISD) before entry.
🧠 3. Example Walkthrough
Setup:
You’re on the 15-minute chart, wickMultiplier = 1.2.
Price makes a big upper wick → indicator flashes red.
On 1H and 4H, you see price near a premium area or PDH.
Next candle opens → you short at the midpoint of that wick candle.
Stop above the wick high.
Take profit near the prior swing low or 2× risk distance.
If you see MSS confirmation → add confluence.
💡 4. Tips for Real Implementation
Multi-timeframe filter: Only take wick signals in alignment with HTF bias.
Session discipline: Limit signals to high-volume sessions (London / New York).
Avoid strong trend continuation candles (small wicks, big bodies).
Combine with displacement → your best trades come when a large wick forms into liquidity, then displacement confirms it.
Avoid every signal: Some wicks are just noise. Wait for those near obvious liquidity (previous highs/lows).
Nexus Breakout System💎 What Makes the Nexus Breakout System Special?
Many indicators can draw a box around a price range, but most are one-dimensional. The Nexus Breakout System (NBS) is different. Its edge comes from a sophisticated, multi-layered approach to analyzing market behavior.
Think of it as moving from a flat map to a 3D holographic view of the market.
1. A Deeper Understanding of "Consolidation"
Instead of just looking at highs and lows, the NBS engine analyzes three critical dimensions to qualify a true consolidation zone:
Price Range: Is the market truly range-bound?
Order Flow: Is there a balance between buying and selling pressure? (It looks at the engine of the market, not just the price).
Momentum: Is the market lacking directional energy?
By requiring all three conditions to be met, NBS identifies zones where significant energy is genuinely building up, leading to more reliable breakout signals.
2. The "Nexus Bias" — Anticipating the Next Move
This is the core of the engine. While price is consolidating, NBS is constantly analyzing the underlying currents of the market. It calculates a proprietary Bias Score by looking at:
Underlying Trend Structure: What is the "path of least resistance" on a micro-level?
Money Flow Dynamics: Who is winning the quiet battle inside the range—buyers or sellers?
This score is translated into a simple " Bullish Lean ," " Bearish Lean ," or " Neutral " reading right on your chart. It’s designed to give you an intelligent hint about the breakout's most likely direction before it happens.
3. Statistical Breakout Confirmation — Reducing False Signals
Most indicators signal a breakout on a simple price cross, which is why fakeouts are so common. NBS uses a statistical method known as CUSUM (Cumulative Sum Control Chart) to validate a breakout.
In simple terms, it waits for a true "change of character" in the price action. The signal is designed to trigger only when the market moves from a state of balance (consolidation) to a state of imbalance (trending), providing a much higher degree of confidence.
---
📜 How to Trade with the Nexus Edge: A Strategic Framework
Trading with NBS is about combining its signals into a coherent, high-probability strategy.
Step 1: Identify the Opportunity (The Zone & The Bias)
Wait for the script to draw a Nexus Box. This is your signal that a market is coiling for a potential move.
Check the intraday bias within the box. A zone showing a " Bullish Lean " in a larger uptrend is a higher-quality setup than one that is " Neutral ." This is your first clue.
Step 2: Consult the Strategist (The Analysis Panel)
This step is crucial. Always check the Strategic Analysis Panel before considering a trade. This panel acts as your personal market strategist.
Look for Alignment: The highest probability trades occur when the chart signal aligns with the panel's insight.
A+ Setup Example: The panel shows a " Dominant Bull Trend " for the 1H/4H, and your 15-minute chart forms a Nexus Box with a " Bullish Lean ." A breakout to the upside is a very strong, A+ signal.
Warning Signal: The panel warns of a " Major Trend Conflict " (e.g., Daily is bullish, 4H is bearish). You should be extremely cautious. Any breakout during this condition is lower probability and should be traded with smaller size or avoided entirely.
Step 3: Execute the Breakout (The Entry)
The classic entry is on the close of the candle that breaks out of the Nexus Box.
Confirmation: The box's border will change color (blue for bullish, pink for bearish), visually confirming the breakout is active.
Targets: Your initial profit targets (T1 and T2) are immediately plotted. T1 is often an excellent level to take partial profits and move your stop-loss to break even.
Step 4: Manage the Trade (The "Breakout Failure" Guard)
This is your safety net. After a breakout, the script monitors the health of the move.
If you receive a " Breakout Failure " alert, it is a critical warning that momentum is failing and the move may be a trap.
Actionable Signal: Use this alert to aggressively manage your trade. It could be a signal to:
Tighten your stop-loss immediately.
Close the trade to protect your capital.
Take profits if the price is hesitating near a key level.
Swing Breakout Strategy ver 1Overview
A multi-confirmation swing strategy that seeks trend breakouts and adds three optional confluence modules: candlestick patterns, RSI/MACD regular divergences, and simple chart patterns (double top/bottom). Built for clarity, fast testing, and togglable debug markers.
Core Logic
Trend filter: SMA(50) vs SMA(200) + price vs SMA(21).
Breakout engine: Close breaks prior N-bar high/low (lookback configurable).
Momentum: Stochastic cross (optional view), MACD cross/zone, RSI regime (>50 or <50).
Volume: Above SMA(volume) filter.
Optional Confluence Modules
Candlestick analysis (enable/disable):
Bull/Bear Engulfing, Hammer, Shooting Star, Inside Bar (bull/bear flavors).
Divergence (enable/disable):
Regular divergences on RSI and MACD histogram using confirmed pivots (HH/LH or LL/HL).
Chart patterns (enable/disable):
Double Bottom (two similar lows + neckline break).
Double Top (two similar highs + neckline break).
Tolerance and pivot width are configurable.
Entries & Exits
Entry Long: Any of (Base Breakout + Trend + Momentum + Volume) OR enabled confluences (candles / divergence / pattern).
Entry Short: Symmetric logic for downside.
Risk management: Optional ATR-based stop loss and take profit (configurable length & multipliers).
Note: If you prefer confluences to be filters (AND), change the final buySignal/sellSignal lines accordingly.
Inputs (key)
SMA lengths (21/50/200), RSI length, Stochastic lengths & smoothing, MACD (12/26/9).
Breakout lookback, Volume SMA.
ATR exits (on/off, ATR length, SL/TP multipliers).
Toggles for Candlesticks, Divergences, Patterns, plus per-module debug markers.
Plots & Markers
Plots SMA 21/50/200.
Buy/Sell arrows on chart.
Optional debug markers for each condition (global-scope safe).
Divergence/pattern markers offset to the actual pivot/neckline bars.
Good Practices
Test on multiple timeframes and instruments; tune lookbacks and ATR multipliers.
Consider using the modules as filters in trending markets to reduce whipsaws.
Always forward-test and combine with position sizing.
Disclaimer
For educational purposes only. This is not financial advice. Trading involves risk.
Version & Credits
Pine Script® v6 — Strategy.
Developed by: Mohammed Bedaiwi.
Swing Breakout Strategy — Candles + Divergences + Patterns (rev)Overview
A multi-confirmation swing strategy that seeks trend breakouts and adds three optional confluence modules: candlestick patterns, RSI/MACD regular divergences, and simple chart patterns (double top/bottom). Built for clarity, fast testing, and togglable debug markers.
Core Logic
Trend filter: SMA(50) vs SMA(200) + price vs SMA(21).
Breakout engine: Close breaks prior N-bar high/low (lookback configurable).
Momentum: Stochastic cross (optional view), MACD cross/zone, RSI regime (>50 or <50).
Volume: Above SMA(volume) filter.
Optional Confluence Modules
Candlestick analysis (enable/disable):
Bull/Bear Engulfing, Hammer, Shooting Star, Inside Bar (bull/bear flavors).
Divergence (enable/disable):
Regular divergences on RSI and MACD histogram using confirmed pivots (HH/LH or LL/HL).
Chart patterns (enable/disable):
Double Bottom (two similar lows + neckline break).
Double Top (two similar highs + neckline break).
Tolerance and pivot width are configurable.
Entries & Exits
Entry Long: Any of (Base Breakout + Trend + Momentum + Volume) OR enabled confluences (candles / divergence / pattern).
Entry Short: Symmetric logic for downside.
Risk management: Optional ATR-based stop loss and take profit (configurable length & multipliers).
Note: If you prefer confluences to be filters (AND), change the final buySignal/sellSignal lines accordingly.
Inputs (key)
SMA lengths (21/50/200), RSI length, Stochastic lengths & smoothing, MACD (12/26/9).
Breakout lookback, Volume SMA.
ATR exits (on/off, ATR length, SL/TP multipliers).
Toggles for Candlesticks, Divergences, Patterns, plus per-module debug markers.
Plots & Markers
Plots SMA 21/50/200.
Buy/Sell arrows on chart.
Optional debug markers for each condition (global-scope safe).
Divergence/pattern markers offset to the actual pivot/neckline bars.
Good Practices
Test on multiple timeframes and instruments; tune lookbacks and ATR multipliers.
Consider using the modules as filters in trending markets to reduce whipsaws.
Always forward-test and combine with position sizing.
Disclaimer
For educational purposes only. This is not financial advice. Trading involves risk.
Version & Credits
Pine Script® v6 — Strategy.
Developed by: Mohammed Bedaiwi.
Charaf's PSPPrecision Swing Pair (PSP) is a correlation-based swing indicator that identifies divergence moments between two or three related assets (a “triad”). A PSP signal occurs when one asset’s candle closes bullish while another closes bearish — revealing potential swing turning points or short-term inefficiencies between correlated instruments such as indices, commodities, or FX pairs.
What It Does
Detects candle direction mismatches between correlated assets.
Marks PSP signals directly on the chart of your main asset.
Optional filters for volume, ATR, or momentum confirmation.
Helps traders catch early reversals, strength shifts, or pair-trading setups.
Works seamlessly across timeframes and correlated markets.
How It Works
You select a primary symbol (main chart) and secondary (or two others for triad setups).
PSP compares each candle’s close-to-open relationship:
If one asset closes bullish and another closes bearish, a PSP signal triggers.
Repeated divergence clusters often mark exhaustion zones or swing reversals.
Optional volatility or momentum filters help remove noise and refine signals.
Typical Use Cases
Triad trading: e.g., NAS100 / S&P500 / Dow — when one diverges, the weaker or stronger one tends to “catch up.”
Commodity pairs: e.g., Crude Oil / Gasoline / Heating Oil for refining spreads.
FX correlation setups: e.g., EURUSD vs GBPUSD.
Gold pairs: XAUUSD vs XAUEUR or XAUGBP.
How to Use PSP
Add the indicator to your main asset chart.
In the settings, enter the tickers of correlated assets you want to compare.
Adjust detection type (strict opposite closes or soft mismatch tolerance).
Optional: enable filters for ATR, RSI, or momentum.
Look for PSP signals at key structure zones — they often precede reversals or short-term dislocations.
Alerts
PSP Bullish Divergence: Primary bearish, secondary bullish.
PSP Bearish Divergence: Primary bullish, secondary bearish.
Custom alert messages are supported with placeholders for symbol and timeframe.
Recommended Markets
Indices triads (NAS100, SPX, DJ30)
Commodities triads (USOIL, RB1!, HO1!)
Metals triads (XAUUSD, XAUEUR, XAUGBP)
FX pairs (EURUSD, GBPUSD, USDCHF)
Inputs
Secondary symbol
(Optional) Third symbol for triad setups
Detection mode: strict / soft
Use ATR filter (on/off)
Use momentum filter (on/off)
Show markers (color, size, opacity)
Alert mode (on signal / on candle close)
How to Interpret
A PSP signal indicates misalignment — one asset leads, the other lags.
Often, the lagging asset will “catch up” in direction soon after.
Combine PSP signals with support/resistance or structure to identify swing reversals and momentum shifts.
Notes
PSP is not a buy/sell signal on its own — it’s a context tool for reading correlation behavior.
Best used with assets that historically move together (correlation > 0.7).
Test different timeframe alignments for your specific triad.
Example Workflow
Use PSP to identify divergence between NAS100 and SPX.
Confirm with price structure or RSI divergence.
Trade the “catch-up” move on the lagging asset once alignment resumes.
Changelog
v1.0 — Core divergence logic, 2-asset mode
v1.1 — Triad comparison support
v1.2 — Added volatility & momentum filters
v1.3 — Alert system & visual improvements
Tags:
correlation, divergence, indices, pair trading, spread, volatility, price action, structure, PSP, trading tools
RSI DD – RSI Divergence DetectorRSI DD – RSI Divergence Detector (closed-source):
What it does:
Detects and plots regular and hidden RSI–price divergences using confirmed pivots on both series. Lines are drawn between the two most recent qualifying pivots; optional marks highlight OB/OS peaks at confirmation.
Detection method:
1. Compute RSI on a user-selected source and length. Optional EMA/SMA smoothing controls lag.
2. Build price and RSI pivot points with left/right lookbacks; a pivot confirms on the bar where right completes.
3. Pair the latest two pivots of the same type within a user-defined bar-distance window:
• Regular Bullish: price makes a lower low while RSI makes a higher low.
• Hidden Bullish: price makes a higher low while RSI makes a lower low.
• Regular Bearish: price makes a higher high while RSI makes a lower high.
• Hidden Bearish: price makes a lower high while RSI makes a higher high.
4. When a valid pair is found, draw a line on the RSI pane from the first RSI pivot to the second; color encodes divergence type.
5. Optional ticks mark RSI extremes when the confirming pivot is beyond OB/OS thresholds.
Inputs (key settings):
• RSI Period / Source: oscillator base.
• Pivot Lookback Left/Right: structure sensitivity; larger = fewer but stronger pivots.
• Min/Max Pairing Range: bars allowed between the two pivots; filters stale or too-tight pairs.
• Plot Toggles: enable/disable each divergence class.
• Signal Pair (visual): optional fast/slow MA pair and smoothing plotted as context; not used in detection.
• Levels: OB/OS and midline for visual regime.
Plots:
• RSI line.
• Optional RSI signal line.
• Midline (50), OB, OS levels.
• Colored divergence lines on RSI:
o Regular Bullish (aqua), Hidden Bullish (lime), Regular Bearish (yellow), Hidden Bearish (red).
• Optional OB/OS ticks at confirming pivots.
How to use:
• Works on any symbol and timeframe; higher timeframes reduce noise.
• Treat divergences as context. Combine with structure, trend, volume, and risk rules.
• Tighten stops or scale when divergence aligns with S/R and higher-TF bias.
• Increase right lookback and raise Min Range to reduce whipsaws; lower them to catch earlier turns.
Practical guidance:
• Swing trading: RSI 14, left=3/right=5, min=8/max=80, OB/OS 70/30.
• Intraday: RSI 14, left=2/right=3, min=4/max=40; consider slightly higher smoothing.
• If you see too many short lines, raise Min Range or increase right.
• If valid turns are missed, lower right or Min Range.
Limitations:
• Divergences can persist in strong trends.
• Pivot detection waits for confirmation, so signals are not predictive on the unconfirmed bar.
• OB/OS thresholds are conventional and not optimized to any asset.
Alerts (if you add alertcondition)
• Regular/Hidden Bullish/ Bearish detected on confirmation bar.
• Optional alert when RSI crosses back through midline after a divergence.
Version notes:
v2: pivot-pair range filter, optional OB/OS peak markers, object count management to prevent clutter, cosmetic controls, and visual signal pair.
Copyright © 2025 imaclone (Zen Silva). All rights reserved.
License: Private. No copying, sharing, or derivative works. Use limited to this TradingView script. Contact owner for access.
Key LevelsKey Levels Indicator
Description
The Key Levels indicator is a powerful tool for traders, displaying major institutional price levels from daily, weekly, and monthly timeframes on your chart. It plots horizontal lines for previous period highs, lows, and midpoints (50% levels), as well as current period opens, helping you identify critical support and resistance zones used by institutional traders. Labels are provided for the most recent levels, positioned at the rightmost bar for easy reference.
Features
Daily Levels: Plots Previous Day High, Previous Day Low, Day Open, and Previous Day 50% Level.
Weekly Levels: Plots Previous Week High, Previous Week Low, Week Open, and Previous Week 50% Level.
Monthly Levels: Plots Previous Month High, Previous Month Low, Month Open, and Previous Month 50% Level.
Customizable Colors: Adjust the color of each line via the settings panel to suit your chart preferences.
Customizable Labels: Enable/disable labels, adjust label size, and change the label background color for optimal visibility.
Clean Visualization: Lines are plotted with breaks at the start of each period, ensuring a clear and uncluttered display.
Settings
Show Labels: Toggle to show or hide all labels (default: enabled).
Label Size: Choose from "tiny," "small," "normal," "large," or "huge" to adjust label text size (default: normal).
Label Background Color: Customize the background color of labels to ensure text visibility (default: black).
Line Colors: Individual color pickers for each level (e.g., Previous Day High, Day Open), allowing full customization of line colors.
Usage
The Key Levels indicator is designed for futures markets, such as S&P 500 futures (ES), Nasdaq futures (NQ), or crude oil futures (CL), where institutional price levels like daily, weekly, and monthly highs, lows, and opens are key for getting into positions. For day trading, use these levels to identify short-term support and resistance for intraday entries and exits. For long-term trading, they provide context for swing positions or trend continuation, helping you align with institutional flow. Apply the indicator to a 1-hour or 15-minute timeframe to capture precise market structure. While optimized for futures, the indicator's key levels apply to every single thing that can be traded, including forex, stocks, and cryptocurrencies, making it versatile for all asset classes.
Notes
Labels are shown only for the current day, week, and month to focus on recent price action.
For best visibility, adjust the label background color if text blends into your chart background.
Ideal for traders analyzing major institutional levels for market structure and trading decisions.
GpPa - Φ Frames (V5.0.1)# GpPa — Φ Frames (V5.0.1)
**What it does**
This tool overlays nine “Phi Frames” on your chart. Each frame builds a dynamic price **box** from the **highest high** and **lowest low** over a user-defined lookback on a fixed timeframe. The boxes help you read structure, extremes, and balance zones across multiple scales in one view. No signals are generated.
**How it works (simple)**
* For every frame, the script requests data at a fixed resolution (e.g., 1D, 610m, 233m, 89m, etc.).
* It scans the last *N* bars at that resolution (your input).
* It draws a box from the start of that window to the current time, bounded by the window’s high and low.
* Optional “Re-Analysis Zone” guides project a vertical line into the future at a user-set offset, giving you a planning marker.
**Frames included**
* **M1** – 1D resolution (default length 258 bars)
* **M2** – 1D resolution (default length 160 bars)
* **M3** – 610-minute resolution (default length 233 bars)
* **M4** – 233-minute resolution (default length 377 bars)
* **M5** – 89-minute resolution (default length 610 bars)
* **M6** – 34-minute resolution (default length 987 bars)
* **M7** – 13-minute resolution (default length 1597 bars)
* **M8** – 5-minute resolution (default length 2584 bars)
* **M9** – 2-minute resolution (default length 4181 bars)
These durations follow a Fibonacci/Φ scheme. Using multiple frames together reveals confluence and nested ranges.
**Inputs & customization**
* **Per-frame controls:**
* *Length (bars)* — lookback window at the frame’s resolution.
* *Show/Hide* — toggle a frame on or off.
* *Color* — box border color.
* **Re-Analysis Zone (M4, M5, M6):**
* *Offset (bars)* — projects a future reference time from the right edge of the box.
* *Show/Hide* and *Color.*
* The line spans slightly above and below the box (+/-10% of its height) for visibility.
**Tips**
* Start with 2–3 frames to reduce clutter. Add more as needed.
* On lower chart resolutions, higher-timeframe boxes will “step” at their own closes.
* Use frames as context for your own entries, risk, and targets.
* Colors are semi-transparent by design so overlaps remain readable.
**Behavior & notes**
* Boxes update intrabar; values settle when the source timeframe closes.
* No alerts, signals, or strategy logic are included.
* Works on any symbol and timeframe.
* Overlay: **true**.
**Disclaimer**
This tool is for educational and informational purposes only. It is not financial advice. Always do your own research and manage risk.
**Credits**
Pine Script™ v6. © thewayofrichie.
Elliott Wave Supply-Demand Strategyelliot wave strategy in chart time frame: The updated Pine Script enhances the Elliott Wave Supply-Demand Strategy by adding lines connecting wave points (1-2-3-4-5 or A-B-C) for visual clarity. It detects impulse (5-point) and ABC (3-point) patterns using pivot highs/lows, storing swings in arrays. Lines are drawn between consecutive wave labels (e.g., 1→2, A→B) using a user-defined color and style (solid, dashed, dotted), with a new show_wave_lines input. A debug label displays swing count, wave detection status, and label count to troubleshoot issues. The visibility window for labels and lines is extended to 1000 bars to ensure recent patterns are shown. Supply/demand zones and Fibonacci extensions remain unchanged, supporting rejection-based trades. If lines don’t appear, check the debug label for low swing counts or adjust pivot_left/pivot_right. The script is optimized for liquid markets (e.g., EUR/USD) and customizable timeframes. Alerts and trading logic are preserved.
ORDER FLOW Professional & Delta LineThe ORDER FLOW Professional & Delta Line indicator provides a powerful visualization of buy and sell volume imbalances within each candle — offering traders a deeper view into market order flow dynamics.
Inspired by footprint charts, this tool estimates Up Volume, Down Volume, and their difference (Delta) to highlight whether buyers or sellers are in control. It’s designed for traders who want a clear and professional way to track volume-based momentum directly on their charts.
🔹 Key Features:
Accurate estimation of buy (Up) and sell (Down) volume per bar
Delta Line displaying the net order flow difference
Customizable delta color for personalized visualization
Optional numeric labels showing Up, Down, and Δ values
Footprint-style column display in a clean lower panel
Background color shading to reflect positive/negative delta
💡 Ideal For:
Professional traders and volume analysts seeking to confirm price action through order flow insights, detect absorption or exhaustion, and enhance decision-making with visual delta tracking.
USDJPY MA Zone Entry Strategy USD/JPY tested only.A consistent strategy that gives me alerts each time my conditions are met. I am a funded prop firm trader. this strategy gives 45-70% annual returns. the sequence for this strategy is: After 4 stop loss hits, place a trade on the NEXT ENTRY ALERT ONCE: (-.188) pips draw back towards the stop loss. (this turns the Strat from 1-3 RISK/REWARD to 1-7+ RISK/REWARD). keep the Stop Loss the same (-.300) away from your entry. Take Profit placed at (+1.488) from entry. if 3 losses in a row happens AFTER you've followed these instructions, don't trade again UNTIL the strategy has a TAKE PROFIT gain, then the sequence starts over again. that is this strategies losing streak. after that streak is over. the strategy will be back to give you profits.
IBD Market School [Professional]IBD Market School
- Institutional-grade implementation of William O’Neil’s Market School timing system tuned for global and Indian benchmarks. Tracks corrections, rally attempts, follow-through days, power trends,
distribution/stalling clusters, dynamic exposure, buy switch state, and a fully themed dashboard—everything you need to keep portfolio risk aligned with Big Picture guidance.
Buy Rules
- B1 Follow-Through Day: day 4–10 of rally, gain ≥ configured %, volume > prior day.
- B2 Reinforcing FTD: second qualifying surge within 25 sessions of B1.
- B3 First Low ≥ 21 EMA after FTD.
- B4 Power Trend Start: 10 lows above 21 EMA, 21 EMA > 50 DMA (5+ days), rising 21 EMA, index within top 25% of 52-week range.
- B5 Living Above 21 EMA: every 5 additional days that the low holds the 21 EMA.
- B6 First close back above 50 DMA after confirmation.
- B7 New 52-week high in confirmed uptrend.
- B8 2× volume accumulation day with ≥1% gain.
- B9 Gap-up on above-average volume with positive close.
- B10 Accumulation day: ≥0.5% gain, 1.5× volume, close in top 20% of range.
- Additional context: ED (Expired Distribution) and 6% Rise markers track distribution clearing events.
Sell Rules
- S1 Heavy Distribution: distribution+stalling count ≥ threshold (default 5).
- S2 FTD Failure: index undercuts the Day 1 rally low post-FTD.
- S3 First break below 50 DMA after FTD.
- S4 Power trend loss: prior bar was in power trend and new close < 21 EMA.
- S5 Circuit breaker: single-day decline ≥ configured %.
- S6 Two-day cumulative decline ≥5%.
- S7 Three or more stalling days.
- S8 Volume Dry-Up: five consecutive below-average sessions with <0.5% range while confirmed.
- S9 Climax top reversal (≥3% surge with volume, then ≥1.5% drop next day).
- S10 Rally attempt exceeds FTD window (day > ftdMaxDay) without confirmation.
- S11 Distribution on an up day: small gain (<0.3%) on heavy volume closing in bottom 40% of range.
- S12 Undercut of rally Day 1 low while uptrend is confirmed.
- S13 Five straight down days.
- S14 First break below 200 DMA after confirmation.
Perfect for traders who want the full Market School cadence—rally confirmation, power-trend monitoring, distribution risk, and exposure guidance—all in one polished, fund-ready package.
SMC pro trend
The PSK FX Structure Indicator (also known as SMC pro trend) is a complete Smart Money Concepts (SMC) toolkit designed for professional structure traders.
It detects and visualizes key price structure elements such as BoS (Break of Structure), CHoCH (Change of Character), HH/HL/LH/LL, IDM zones, SCOB, sweeps, inside bars, and EMA confluence — all with precise non-repainting logic.
This indicator helps traders read price action like an institution — identifying liquidity shifts, order flow direction, and possible reversal or continuation zones.
⸻
⚙️ Core Features
🧭 Structure Detection
• Automatic detection of major structure points:
• HH – Higher High
• HL – Higher Low
• LH – Lower High
• LL – Lower Low
• Confirms BoS (Break of Structure) and CHoCH (Change of Character) events in both bullish and bearish markets.
• Marks each structure change with labels and connecting lines for clarity.
🔁 BoS / CHoCH Logic
• Solid line = BoS
• Dashed line = CHoCH
• Colored by direction:
• 🟩 Bullish = Green
• 🟥 Bearish = Red
• Option to show live BoS/CHoCH lines extending forward for real-time updates.
🧱 IDM (Internal Displacement Model) Zones
• Detects previous and live IDM zones (premium/discount zones).
• Highlights IDM candles that cause structural displacement.
• Labels each detected IDM level automatically.
⚡ Sweeps (Liquidity Grab Detection)
• Detects when price sweeps previous highs/lows.
• Marks these zones with dotted lines and optional “X” markers.
🧩 SCOB Pattern (Smart Candle Order Block)
• Detects and colors special SMC candle structures:
• Bullish SCOB → Aqua
• Bearish SCOB → Fuchsia
• Option to color all bars by trend direction or only highlight SCOB bars.
🧭 Internal Structure & Pivots
• Marks minor highs/lows (internal structure) for better IDM leg visualization.
• Helps identify early momentum shifts before major structure breaks.
🎯 1.618 Target Projection
• Projects 1.618 Fibonacci targets dynamically after BoS or CHoCH confirmation.
• Displays target price level with text label:
• Bullish → Green Target Line
• Bearish → Red Target Line
🧱 Inside Bar Zones
• Highlights inside bar formations (compression zones).
• Draws colored boxes between high/low of inside bar clusters.
• Marks the first and consecutive inside bars with custom bar colors.
📊 EMA Filter
• Includes a toggleable Exponential Moving Average (EMA) for confluence with trend direction.
• Customizable EMA length (default: 50).
🎨 Monochrome Mode
• Toggle between normal color mode and a clean monochrome theme for minimalistic charting setups.
⸻
🧠 How to Use
1. Identify Market Context:
Wait for a confirmed CHoCH to spot potential reversals or structure shifts.
2. Follow Order Flow:
Confirm trend direction via BoS lines and IDM zones.
3. Entry Planning:
Combine sweep detection, inside bar zones, and IDM levels for sniper entries.
4. Take Profit Zones:
Use the 1.618 target projection line to set high-probability TP levels.
5. Trend Filtering:
Use EMA direction to confirm whether to follow continuation or counter-trend setups.
⸻
🧩 Inputs & Settings
Category
Key Settings
Structure
Equal H/L toggle, HH/LL labeling, internal structure
BoS/CHoCH
Enable/disable labels, custom label size, bull/bear colors
IDM
Show previous/live IDM, label size, color options
Sweeps
Show sweep lines, X-markers, sweep line color
Bar Coloring / SCOB
Toggle bar coloring and SCOB pattern
Inside Bars
Highlight and box compression zones
1.618 Targets
Enable Fibonacci target projection
EMA
Toggle EMA and adjust length
Monochrome Mode
Apply single-color chart theme
⚠️ Notes
• This indicator is built for non-repainting structure confirmation.
• Use it on higher timeframes for swing structure or lower timeframes for IDM entry precision.
• Works best with clean price action charts (no cluttered oscillators or extra visuals).
⸻
💡 Recommended Use Cases
✅ SMC traders
✅ ICT/Order Block strategy users
✅ Liquidity and market structure traders
✅ Scalpers and swing traders using BoS/CHoCH logic
⸻
✍️ Author
Developed by PURNA SAMPATH KALUARACHCHI (PSK FX)
Smart Money Concepts researcher and price structure developer.
⸻
Flag Breakout Bullish Daily TF by SidHemFlag Breakout Bullish Daily TF by SidHem
Overview:
This indicator helps analyze Bullish Flag Breakouts (Rectangle) on the Daily Time Frame, providing a clear visual and tabular summary of key levels, stop-loss zones, expected pattern target and metrics. Traders can quickly assess breakout validity, risk/reward, and target achievement without manual calculations.
Please Note:
Flags are not auto-detected. Traders input four key dates: Pole start, Pole high, Cloth bottom, and Breakout candle. The indicator then calculates and plots all essential levels—including Pole, Cloth, Breakout Open/Close/Mean, Stop Loss, and Expected Pattern Target prices. This allows users who understand flag patterns but are unsure how to calculate targets or SL to efficiently work with the pattern.
Features:
Visualization: Highlights Pole, Cloth, and Breakout candles with horizontal rays, optional diagonal Pole lines, V-Arms, and filled boxes for clarity.
Dynamic Table Summary:
Displays symbol, Pole Low/High, Cloth Bottom, Breakout Open/Close/Mean, Expected Pattern Target, Stop Loss (3 methods, preferably on closing basis), Pole Height, Risk/Reward Ratio, Bars to Breakout, Estimated Time Frame, Pattern Summary, Flag Breakout status, and Volume strength.
Target & SL Labels: Plots target and SL lines on the chart with Expected Pattern Target, Target Achieved, and SL labels.
Customizable Appearance: Adjustable table rows, label sizes, colors, styles, widths, and transparency.
Purpose:
Accurately analyzes Bullish Flag Breakouts by entering only the four required dates; all plotting, calculation, and table generation are automated.
Experimental Supertrend [CHE]Experimental Supertrend — Combines EMA crossovers for trend regime detection with an adaptive ATR-based hull that selects the narrowest band to contain recent highs and lows, minimizing false breaks in varying volatility.
Summary
This indicator overlays a dynamic supertrend boundary around a midline derived from dual EMAs, using EMA crossovers to switch between bullish and bearish regimes. The hull adapts by evaluating multiple ATR periods and selecting the tightest one that fully encloses price action over a specified window, which helps in creating more stable trend lines that hug price without excessive gaps or breaches. Fills between the midline and hull provide visual cues for trend strength, darkening temporarily after regime changes to highlight transitions. Alerts trigger on crossovers, and markers label entry points, making it suitable for trend-following setups where standard supertrends might whipsaw. Overall, it offers robustness through auto-adjustment, reducing sensitivity to noise while maintaining responsiveness to genuine shifts.
Motivation: Why this design?
Standard supertrend indicators often flip prematurely in choppy markets due to fixed multipliers that do not account for localized volatility patterns, leading to frequent false signals and eroded confidence in trends. This design addresses that by incorporating an EMA-based regime filter for directional bias and an auto-adaptive hull that dynamically tunes the band width based on recent price containment needs. By prioritizing the narrowest effective enclosure, it avoids over-wide bands in calm periods that cause lag or under-wide ones in volatility spikes that invite breaks, providing a more consistent trailing reference without manual tweaking.
What’s different vs. standard approaches?
- Reference baseline: Diverges from the classic ATR-multiplier supertrend, which uses a single fixed period and constant factor applied to close or high/low deviations.
- Architecture differences:
- Auto-selection from candidate ATR lengths to find the optimal period for current conditions.
- Dynamic multiplier clamped between floor and cap values, adjusted by padding to ensure reliable containment.
- Regime-gated rendering, where hull position flips based on EMA relative positioning.
- Post-transition visual fading to emphasize change points without altering core logic.
- Practical effect: Charts show tighter, more reactive bands that rarely breach during trends, reducing visual clutter from flips; the adaptive nature means less intervention across assets, as the hull self-adjusts to volatility clusters rather than applying a one-size-fits-all scale.
How it works (technical)
The indicator first computes two EMAs from close prices using lengths derived from a preset pair or manual inputs, establishing a midline as their average. This midline serves as the central reference for the hull. True range values are then smoothed into multiple ATR candidates using exponential weighting over the specified lengths. For each candidate, deviations of recent highs and lows from the midline are ratioed against the ATR to determine a required multiplier that would enclose all extremes in the containment window—the highest ratio plus padding sets the base, clamped to user-defined bounds. Among valid candidates (those with sufficient history), the one yielding the narrowest overall band width is selected. The hull boundaries are then offset from the midline by this multiplier times the chosen ATR, and further smoothed with a fixed EMA to reduce jitter. Regime direction from EMA comparison gates which boundary acts as support or resistance, with initialization seeding arrays on the first bar to handle state persistence. No higher timeframe data is used, so all logic runs on the chart's native bars without lookahead.
Parameter Guide
EMA Pair — Selects preset lengths for fast and slow EMAs, influencing regime sensitivity and midline stability. Default: "21/55". Trade-offs/Tips: Faster pairs like "9/21" increase cross frequency for scalping but raise false signals; slower like "50/200" smooths for swings, potentially missing early turns. Use Manual for fine control.
Manual Fast — Sets fast EMA length when Manual mode is active; shorter values make regime switches quicker. Default: 21. Trade-offs/Tips: Lower than 10 risks over-reactivity; pair with slow at least double for clear separation.
Manual Slow — Sets slow EMA length when Manual mode is active; longer values anchor the midline more firmly. Default: 55. Trade-offs/Tips: Above 100 adds lag in trends; balance with fast to avoid perpetual neutrality.
ATR Lengths (comma-separated) — Defines candidate periods for ATR smoothing; more options allow finer auto-selection. Default: "7,10,14,21,28,35". Trade-offs/Tips: Fewer candidates speed computation but may miss optimal fits; keep under 10 for efficiency.
Containment Window — Number of recent bars the hull must fully enclose highs/lows of; larger windows favor stability. Default: 50. Trade-offs/Tips: Shorter (under 20) adapts faster to breaks but increases breach risk; longer smooths but delays response.
Min Multiplier Floor — Lowest allowed multiplier for hull width; prevents overly tight bands in low volatility. Default: 0.5. Trade-offs/Tips: Raise to 0.75 for conservative enclosures; too low allows pinches that flip easily.
Max Multiplier Cap — Highest allowed multiplier; caps expansion in spikes to avoid wide, lagging bands. Default: 1.0. Trade-offs/Tips: Lower to 0.75 tightens overall; higher permits more room but risks detachment from price.
Padding (+) — Adds buffer to the auto-multiplier for safer containment without exact touches. Default: 0.05. Trade-offs/Tips: Increase to 0.10 in gappy markets; minimal values hug closer but may still breach on outliers.
Fill Between (Mid ↔ Supertrend) — Toggles shaded area between midline and active hull for trend visualization. Default: true. Trade-offs/Tips: Disable for cleaner charts; pairs well with transparency tweaks.
Base Fill Transparency (0..100) — Sets default opacity of fills; higher values make them subtler. Default: 80. Trade-offs/Tips: Under 50 overwhelms price action; adjust with darken boost for emphasis.
Darken on Trend Change — Enables temporary opacity increase after regime shifts to spotlight transitions. Default: true. Trade-offs/Tips: Off for steady visuals; on aids spotting reversals in real-time.
Darken Fade Bars — Duration in bars for the darken effect to ramp back to base; longer prolongs highlight. Default: 8. Trade-offs/Tips: Shorter (4-6) for fast-paced charts; longer holds attention on changes.
Darken Boost at Change (Δ transp) — Intensity of opacity reduction at crossover; higher values make shifts more prominent. Default: 50. Trade-offs/Tips: Cap at 70 to avoid blackout; tune down if fades obscure details.
Show Supertrend Line — Displays the active hull boundary as a line. Default: true. Trade-offs/Tips: Hide for fill-only views; linewidth fixed at 3 for visibility.
Show EMA Cross Markers — Places circles and labels at crossover points for entry cues. Default: true. Trade-offs/Tips: Disable in clutter; labels show "Buy"/"Sell" at absolute positions.
Alert: EMA Cross Up (Long) — Triggers notification on bullish crossover. Default: true. Trade-offs/Tips: Pair with filters; once-per-bar frequency.
Alert: EMA Cross Down (Short) — Triggers notification on bearish crossover. Default: true. Trade-offs/Tips: Use for exits; ensure broker integration.
Show Debug — Reveals internal diagnostics like selected ATR details (if implemented). Default: false. Trade-offs/Tips: Enable for troubleshooting selections; minimal overhead.
Reading & Interpretation
Bullish regime shows a green line below price as support, with upward fill from midline; bearish uses red line above as resistance, downward fill. Crossovers flip the active boundary, marked by tiny green/red circles and "Buy"/"Sell" labels at the hull level. Fills start at base transparency but darken sharply at changes, fading over the specified bars to signal fresh momentum. If the hull rarely breaches during trends, containment is effective; frequent touches without flips indicate tight adaptation. Debug mode (when enabled) overlays text or plots for selected length and multiplier, helping verify auto-choices.
Practical Workflows & Combinations
- Trend following: Enter long on green "Buy" label above prior low structure; confirm with higher high. Trail stops along the green hull line, tightening as fills stabilize post-fade.
- Exits/Stops: Conservative exit on opposite crossover or hull breach; aggressive hold until fade completes if volume supports. Use darken boost as a volatility cue—high delta suggests waiting for confirmation.
- Multi-asset/Multi-TF: Defaults suit forex/stocks on 15m-4h; for crypto, widen containment to 75 for gaps. Layer on volume oscillator for cross filters; avoid on low-liquidity assets where ATR candidates skew.
Behavior, Constraints & Performance
Closed-bar logic ensures signals confirm at bar end, with live bars updating hull adaptively but no repaints since no future data or security calls are used. Arrays persist ATR states across bars, initialized once with candidates parsed from string. Small fixed loops (over 6 lengths max, inner up to 50) run per bar, capped by max_bars_back=500 for history needs. Resources stay low with 500 labels/lines limits, but dense charts may hit on markers. Known limits include initial lag until containment history builds (50+ bars), potential wide bands on gaps, and suboptimal selections if candidates omit ideal lengths.
Sensible Defaults & Quick Tuning
Start with "21/55" pair, 50-window, 0.5-1.0 multipliers, and 80% transparency for balanced responsiveness on daily charts. For too many flips, raise min floor to 0.75 or add lengths like "42"; for sluggishness, shorten window to 30 or pick faster pair. In high-vol environments, boost padding to 0.10; for smoother visuals, extend fade bars to 12.
What this indicator is—and isn’t
This is a visualization and signal layer for trend regime and adaptive boundaries, aiding entry/exit timing in directional markets. It is not a standalone system—pair with price structure, risk sizing, and broader context. Not predictive of turns, just reactive to containment and crosses.
Disclaimer
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
Do not use this indicator on Heikin-Ashi, Renko, Kagi, Point-and-Figure, or Range charts, as these chart types can produce unrealistic results for signal markers and alerts.
Happy trading
Chervolino
Dollar Volume Ownership Gauge Dollar Volume Ownership Gauge (DVOG)
By: Mando4_27
Version: 1.0 — Pine Script® v6
Overview
The Dollar Volume Ownership Gauge (DVOG) is designed to measure the intensity of real money participation behind each price bar.
Instead of tracking raw share volume, this tool converts every bar’s trading activity into dollar volume (price × volume) and highlights the transition points where institutional capital begins to take control of a move.
DVOG’s mission is simple:
Show when the crowd is trading vs. when the institutions are buying control.
Core Concept
Most retail traders focus on share count (volume) — but institutions think in dollar exposure.
A small-cap printing a 1-million-share candle at $1 is very different from a 1-million-share candle at $10.
DVOG normalizes this by displaying total traded dollar value per bar, then color-codes and alerts when the volume of money crosses key thresholds.
This exposes the exact moments when ownership is shifting — often before major breakouts, reclaims, or exhaustion reversals.
How It Works
Dollar Volume Calculation
Each candle’s dollar volume is computed as close × volume.
Data is aggregated from the 5-minute timeframe regardless of your current chart, allowing consistent institutional-flow detection on any resolution.
Threshold Logic
Two customizable levels define interest zones:
$500K Threshold → Early or moderate institutional attention.
$1M Threshold → High-conviction or aggressive accumulation.
Both levels can be edited to fit different market caps or trading styles.
Bar Coloring Scheme
Red = Dollar Volume ≥ $1,000,000 → Significant institutional activity / control bar.
Green = Dollar Volume ≥ $500,000 and < $1,000,000 → Emerging accumulation / transition bar.
Black = Below $500,000 → Retail or low-interest zone.
(Colors are intentionally inverted from standard expectation: when volume intensity spikes, the bar turns hotter in tone.)
Plot Display
Histogram style plot displays 5-minute aggregated dollar volume per bar.
Dotted reference lines mark $500K and $1M levels, with live right-hand labels for quick reading.
Optional debug label shows current bar’s dollar value, closing price, and raw volume for transparency.
Alerts & Conditions
DVOG includes three alert triggers for hands-off monitoring:
Alert Name Trigger Message Purpose
Green Bar Alert – Dollar Volume ≥ $500K When dollar volume first crosses $500K “Institutional interest starting on ” Signals early money entering.
Dollar Volume ≥ $500K Same as above, configurable “Early institutional interest detected…” Broad alert option.
Dollar Volume ≥ $1M When dollar volume first crosses $1M “Significant money flow detected…” Indicates heavy institutional presence or ignition bar.
You can enable or disable alerts via checkbox inputs, allowing you to monitor just the levels that fit your style.
Interpretation & Use Cases
Identify Institutional “Ignition” Points:
Watch for sudden green or red DVOG bars after long low-volume consolidation — these often precede explosive continuation moves.
Confirm Breakouts & Reclaims:
If price reclaims a key level (HOD, neckline, or coil top) and DVOG flashes green/red, odds strongly favor follow-through.
Spot Trap Exhaustion:
After a flush or low-volume fade, the first strong green/red DVOG bar can mark the institutional reclaim — the moment retail control ends.
Filter Noise:
Ignore standard volume spikes. DVOG only reacts when dollar ownership materially changes hands, not when small traders churn shares.
Customization
Setting Default Description
$500K Threshold 500,000 Lower limit for “Green” institutional attention.
$1M Threshold 1,000,000 Upper limit for “Red” heavy institutional control.
Show Alerts ✅ Enable or disable global alerts.
Alert on Green Bars ✅ Toggle only the $500K crossover alerts.
Adjust thresholds to match the liquidity of your preferred tickers — for example, micro-caps may use $100K/$300K, while large-caps might use $5M/$20M.
Reading the Output
Black baseline = Noise / retail chop.
First Green bar = Smart money starts building position.
Red bar(s) = Ownership shift confirmed — institutions active.
Flat-to-rising pattern in DVOG = Sustained accumulation; often aligns with strong trend continuation.
Summary
DVOG transforms raw volume into actionable context — showing you when capital, not hype, is moving.
It’s particularly effective for:
Momentum and breakout traders
Liquidity trap reclaims (Kuiper-style setups)
Identifying early ignition bars before halts
Confirming frontside strength in micro-caps
Use DVOG as your ownership radar — the visual cue for when the market stops being retail and starts being real.
DM ziggy lines..Use on chart
1
0
Understand What ZigZag Shows
The ZigZag connects swing points:
Up move (Bull leg) → identifies higher swing lows (potential start of uptrend)
Down move (Bear leg) → identifies lower swing highs (potential start of downtrend)
It doesn’t repaint here (since you used a non-repainting logic), so signals are confirmed once the line appears.
Entry Logic (Trend-Following Style)
You can trade in the direction of the last confirmed ZigZag leg:
Long entry idea
Wait for the ZigZag to plot a bullish leg (green line in your script).
Confirm the higher low (price doesn’t break below the last swing low).
Enter when a candle closes above the recent swing high or with bullish momentum (e.g., a bullish engulfing candle).
📉 Short entry idea
Wait for the ZigZag to plot a bearish leg (red line).
Confirm the lower high (price doesn’t break above the last swing high).
Enter when a candle closes below the recent swing low or with bearish momentum.
. Exit or Stop-Loss
Stop-loss: Place just beyond the most recent swing point (ZigZag high/low).
Take-profit: Use risk/reward (e.g. 1:2 ratio) or next opposite ZigZag point.
Example:
Long trade after green ZigZag up-leg → stop below last swing low → exit near next swing high (red ZigZag reversal).
Optional Enhancements
You can combine the ZigZag logic with:
RSI or MACD → to confirm momentum.
Moving averages → to confirm overall trend.
Volume spikes → to confirm strong swing reversals.






















