CVD Trend IndikatorCVD Trend Indicator (Cumulative Volume Delta)
This Pine Script indicator is designed to help traders visualize the underlying buying and selling pressure in the market by analyzing the Cumulative Volume Delta (CVD). It provides insights into whether buyers or sellers are more aggressive over time, aiding in trend confirmation and potential reversal identification.
How it Works:
The indicator calculates the Cumulative Volume Delta for each candlestick.
If the candle closes higher than it opened (close > open), its entire volume is considered buying volume (positive delta).
If the candle closes lower than it opened (close < open), its entire volume is considered selling volume (negative delta).
If the candle closes at the same price it opened (close == open), its delta is considered zero.
These individual candle deltas are then cumulatively summed up over time, creating the CVD line. A rising CVD indicates increasing buying pressure, while a falling CVD suggests growing selling pressure.
The indicator also features an optional Simple Moving Average (SMA) of the CVD, which helps smooth out the CVD line and identify the prevailing trend in buying/selling pressure more clearly.
Key Features:
Cumulative Volume Delta (CVD) Line:
Rising CVD (Blue Line): Indicates aggressive buying pressure is dominant, supporting bullish price action.
Falling CVD (Blue Line): Suggests aggressive selling pressure is dominant, supporting bearish price action.
CVD Moving Average (Red Line, optional):
A user-defined SMA of the CVD, which acts as a trend filter for the volume delta.
When the CVD crosses above its MA, it can signal increasing buying momentum.
When the CVD crosses below its MA, it can signal increasing selling momentum.
Session Reset:
The CVD automatically resets at the beginning of each new trading session (daily by default). This provides a fresh perspective on the day's accumulated buying or selling pressure, which is particularly useful for day traders.
Background Color Visuals:
The indicator panel's background changes color to visually represent periods of dominant buying pressure (green background when CVD > CVD MA) or selling pressure (red background when CVD < CVD MA), offering a quick glance at the market's underlying bias.
Trading Insights:
Trend Confirmation: Use a rising CVD (and its MA) to confirm an uptrend, or a falling CVD (and its MA) to confirm a downtrend.
Divergences: Look for CVD Divergences as potential reversal signals:
Bullish Divergence: Price makes a lower low, but CVD makes a higher low (suggests selling pressure is weakening).
Bearish Divergence: Price makes a higher high, but CVD makes a lower high (suggests buying pressure is weakening).
Momentum Shifts: Sudden, sharp changes in the CVD's direction or its cross over/under its MA can signal shifts in market momentum.
Support/Resistance Confirmation: Observe CVD behavior around key price levels. Weakening buying pressure at resistance or weakening selling pressure at support can confirm the strength of these levels.
Customization:
showMA: Toggle the visibility of the CVD's Moving Average.
maLength: Adjust the period for the CVD's Moving Average to control its sensitivity to recent price action. A shorter length makes it more reactive, while a longer length makes it smoother.
Disclaimer: No indicator is foolproof. Always use the CVD Trend Indicator in conjunction with other technical analysis tools, price action, and robust risk management strategies. Backtesting and forward testing are crucial for understanding its effectiveness in different market conditions and timeframes.
Volumedelta
CVD Divergence & Volume ProfileThis Pine Script indicator, named "CVD Divergence & Volume Profile," is designed to identify potential trading opportunities by combining Cumulative Volume Delta (CVD) divergence with Volume Profile levels and an optional Simple Moving Average (SMA) trend filter. It plots signals directly on the price chart.
Here's a breakdown of what each component does and how to potentially trade with it:
1. Cumulative Volume Delta (CVD) Divergence
What it does: CVD measures the cumulative difference between buying and selling volume. A rising CVD indicates more buying pressure, while a falling CVD indicates more selling pressure. Divergence occurs when the price action contradicts the CVD's direction, suggesting a potential shift in momentum or trend reversal.
Bearish Divergence: The price makes a higher high, but the CVD makes a lower high (or fails to make a new high). This suggests that despite the price increasing, the underlying buying pressure is weakening.
Bullish Divergence: The price makes a lower low, but the CVD makes a higher low (or fails to make a new low). This suggests that despite the price decreasing, the underlying selling pressure is weakening.
Visualization:
Red triangle pointing down on the chart indicates a Bearish Divergence signal.
Green triangle pointing up on the chart indicates a Bullish Divergence signal.
2. Volume Profile Levels (VAH, VAL, POC)
What it does: The indicator calculates simplified Volume Profile levels over a user-defined vp_range (number of candles). These levels represent areas where significant trading activity has occurred:
VAH (Value Area High): The upper boundary of the "Value Area," where 70% of the volume traded.
VAL (Value Area Low): The lower boundary of the "Value Area," where 70% of the volume traded.
POC (Point of Control): The price level within the vp_range where the most volume was traded.
Significance: These levels often act as significant support and resistance zones.
Visualization:
Orange lines for VAH and VAL.
Yellow line for POC.
Zone Proximity (zone_thresh): The indicator only generates divergence signals if the current close price is within a specified percentage zone_thresh of either VAH, VAL, or POC. This filters signals to areas of high liquidity and potential turning points.
3. Trend Filter (SMA)
What it does: This is an optional filter (use_trend_filter) that uses a Simple Moving Average (sma_period, default 200).
Significance: It helps ensure that divergence signals are traded in alignment with the broader market trend, potentially increasing their reliability.
For long signals (bullish divergence), the price (close) must be above the SMA (indicating an uptrend).
For short signals (bearish divergence), the price (close) must be below the SMA (indicating a downtrend).
Visualization: A blue line on the chart representing the SMA.
How to Trade with It (Potential Strategies)
The indicator aims to provide high-probability entry points by combining multiple confirming factors. Here's how you might interpret and trade the signals:
Identify Divergence: Look for the triangle signals on your chart (red for bearish, green for bullish).
Confirm Proximity to Volume Profile Levels: The signal itself confirms that the price is near a significant Volume Profile level (VAH, VAL, or POC). These are areas where price often reacts.
Bullish Signal (Green Triangle): This suggests buying momentum is returning after a price decline, especially when the price is near VAL or POC, which might act as support.
Bearish Signal (Red Triangle): This suggests selling momentum is increasing after a price rally, especially when the price is near VAH or POC, which might act as resistance.
Check Trend Alignment (SMA Filter):
For a long trade: You would ideally want to see a green triangle (bullish divergence) while the price is above the blue SMA line. This indicates a bullish divergence confirming a potential bounce within an existing uptrend.
For a short trade: You would ideally want to see a red triangle (bearish divergence) while the price is below the blue SMA line. This indicates a bearish divergence confirming a potential rejection within an existing downtrend.
Entry and Exit Considerations:
Entry: Consider entering a trade on the candle where the signal appears, or on the subsequent candle for confirmation.
Stop Loss: For a long trade, a logical stop-loss could be placed below the lowest point of the divergence, or below the VAL/POC if the signal occurred near it. For a short trade, above the highest point of the divergence or VAH/POC.
Take Profit: Targets could be set at the opposite Volume Profile level, previous swing highs/lows, or using a fixed risk-reward ratio.
Example Trading Scenario:
Long Trade: You see a green triangle (bullish divergence) printed on the chart. You notice the price is currently at the VAL (orange line). You check the blue SMA line and confirm that the price is above it (uptrend). This confluence of factors (bullish divergence, support at VAL, and uptrend) provides a strong potential long entry signal. You might enter, place your stop loss just below VAL, and target VAH or the next resistance level.
Short Trade: You see a red triangle (bearish divergence). The price is at the VAH (orange line). The price is also below the blue SMA line (downtrend). This suggests a potential short entry. You might enter, place your stop loss just above VAH, and target VAL or the next support level.
Absorption with CVD vs Price Divergence [by Oberlunar]Dear Traders, let me walk you through what this indicator really does — and why you should care. I call it “Absorption with CVD vs Price Divergence”, and it’s designed to help you spot those moments when the market is saying one thing… but doing another.
What I’m looking for here are zones of absorption — those sneaky areas where aggressive buying or selling appears to be happening, but price just won’t budge like it should. Ever seen price slowly climbing, yet it feels like it’s dragging its feet? Or dropping like a rock, but with buyers quietly piling in underneath? That’s absorption — and it’s the fingerprint of big players doing business without making too much noise.
Now here’s the twist: I combine that with CVD — cumulative volume delta — which is like a lie detector for price action. CVD tells us whether market orders are truly pushing in a direction, or if the move is all smoke and no fire. When price goes up but CVD diverges and starts dropping? That’s a bearish divergence. And when price dips but CVD quietly climbs? Bullish divergence.
But I don’t stop there. I also measure absorption intensity using a standardized score — good ol’ σ (sigma). The higher the sigma, the more unusual and aggressive the absorption. When this sigma score is high and we’ve got divergence between price and CVD? Boom — we’ve found a potential absorption zone.
These zones are drawn right on the chart as colorful rectangles — purple for bearish, yellow for bullish — and you can customize the colors and transparency to fit your aesthetic (because yes, trading should look good too). They’re not just signals, they’re areas to watch — spots where the market may be gearing up for a reversal, or hiding accumulation/distribution in plain sight.
If you want, I’ve also added a live signal table and alert conditions, so you won’t miss a thing — whether you’re scalping, swing trading, or just enjoying the show.
Bottom line? This tool doesn’t tell you what to do — it tells you where to look. Think of it as your market microscope.
Happy trading, and may your entries be tight and your exits legendary.
— Oberlunar 👁️✨
======================= Some specifics...
Absorption (σ) is calculated by taking the volume of a candle and dividing it by the absolute body size of the candle (open-close), then normalizing it over the price to account for scale. This gives us a crude measure of volume per unit of price movement. That value is then standardized using a 50-bar rolling standard deviation, turning it into a sigma score — a measure of how statistically “unusual” the current absorption is compared to recent behavior.
CVD is calculated in a simplified way by summing the volume of up-close candles and subtracting the volume of down-close candles — effectively:
CVD = cumulative sum of (volume if close > close ) - (volume if close < close )
Divergence detection uses a rolling window to compare price highs/lows with CVD highs/lows. A bullish divergence occurs when price makes a new low within the window but CVD does not; a bearish divergence occurs when price makes a new high but CVD fails to confirm it. A tolerance value is used to handle small differences in wick precision.
If and only if a divergence is detected and the sigma score is above your defined threshold, the algorithm will draw a box on the chart to visually represent this potential absorption zone.
🔧 Input Parameters (all adjustable from the settings panel):
Minimum Sigma Absorption — the minimum σ value required to validate absorption (default: 1)
Divergence Window — how far back to look for price/CVD highs and lows (default: 37 bars)
Divergence Price Tolerance — how close current price must be to high/low to count (default: 0.2)
Area Size — number of bars the absorption box should last (default: 500 bars)
Area Bearish Absorption Color — color for bearish absorption zones (default: purple)
Area Bullish Absorption Color — color for bullish absorption zones (default: yellow)
Area Bearish Transparency — from 0 (solid) to 100 (invisible), default: 80
Area Bullish Transparency — same, default: 80
Show Absorption Boxes — toggle zone rendering on/off
Show Signal Table — toggle table showing latest signals
Show Sigma Value — toggle display of σ labels inside the boxes
Max Signals — how many lines to display in the signal table (default: 5)
Delta Magnet Zone LiteDelta Magnet Zone Lite is exactly what it sounds like. It is areas where price cold potentially act as a magnet zone for price. Delta Magnet Zone Lite is a lightweight yet powerful visual tool that highlights potential liquidity traps and high-probability reversal zones based on volume spikes and wick imbalances. Designed for precision traders, this indicator visually marks key “magnet” zones where price may react, reverse, or consolidate due to prior aggressive buying or selling activity.
🔹 Core Logic:
Volume Spike Detection
Identifies candles with significantly higher volume than the moving average (customizable). These are likely areas of institutional interest or stop-hunt events.
Wick Ratio Analysis
Measures the size of the upper or lower wick relative to the total candle range. When combined with volume spikes, this helps detect:
Bullish Traps: Large lower wicks with strong buying volume
Bearish Traps: Large upper wicks with strong selling volume
Smart Zone Marking
When trap conditions are met, the script draws a semi-transparent colored box (green for bullish, red for bearish) that extends forward in time, highlighting a magnet zone—a price area likely to be retested or respected by future price action.
🛠 Customization Options:
Volume Spike Threshold
Adjust the multiplier for defining what qualifies as "high volume" relative to the average.
Wick Ratio Sensitivity
Fine-tune how extreme the wick size must be to qualify as a trap.
Zone Lifetime (Lookback)
Control how many bars each zone remains active on the chart.
Toggle Visibility
Turn bullish or bearish zones on/off independently for clean charting.
Ideal Use Cases:
Spotting hidden liquidity zones
Identifying exhaustion points in fast markets
Tracking institutional order imbalances
Enhancing confirmation for entry/exit signals
Whether you're trading intraday breakouts or swing-level reversals, Delta Magnet Zone Lite brings clarity to key reaction levels derived from raw price and volume behavior.
Project SynthIntroducing Project Synth !
Inspired by Pace of Tape and Cumulative Delta I created Project Synth in order to aggregate volume flow data across multiple marketsfor two primary reasions:
Traditional orderflow tools are not available on Tradingview. My script attempts to bring an original; calculus-based approach to creating not only an alternative for traditional orderflow tools, but also a more accurate one.
In order to detect genuine buying and selling pressure that cannot be easily manipulated. I did this because while I've always enjoyed concept behind both of those tools, I did not think they captured enough data to be useful. By analyzing assets that move together (positive correlation) and assets that move inversely (negative correlation), my system aims to fix the fundamental problems with those indicators and create an objective view of market sentiment based on aggregate orderflow.
Some more detailed explanations (using QQQ and SQQQ as an example):
Inverse Market Dynamics (QQQ vs SQQQ):
In an inverse market like SQQQ, aggressive buyers hit the ask when they expect the underlying (QQQ) to fall, while passive buyers wait on the bid hoping for cheaper inverse exposure. When QQQ rallies, SQQQ sees aggressive selling (people dumping their bearish bets) hitting bids, while passive sellers sit on the ask hoping to exit at better prices. The aggression flows opposite to the underlying market direction.
Why Utilizing Both Markets Provides A More Accurate Delta:
Watching both QQQ and SQQQ gives cross-validation - real buying pressure in QQQ should coincide with selling pressure in SQQQ. If you see buying in QQQ but also buying in SQQQ, that's a conflicting signal suggesting the move might be artificial or driven by other factors. The inverse relationship acts as a confirmation filter, making false signals much harder to generate.
Multiple Markets = Authentic Pressure:
The more unique, important markets you track, the harder it becomes to create fake delta moves. Real institutional buying/selling pressure affects multiple correlated assets simultaneously in predictable patterns - you can't easily manipulate tech stocks, treasury bonds, VIX, and currency pairs all at once to create a false signal. Each additional market acts as a fraud detection layer, ensuring the delta measurement reflects genuine ecosystem-wide buying and selling pressure rather than isolated manipulation or noise.
My Suggestions For Usage:
In order to keep the explanation simple and short for now, I suggest using it just like a cumulative delta indicator. For example: let's say you were watching CME_MINI:ES1! , and you had a resistance level at 6000. When the price reaches your resistance level, you would be looking for a significant divergence between price and Delta. Price : rising, Delta : falling. This means that even though the price was going up, strong and aggressive sellers are jumping in more and more, this can be used as a confirmation tool for a resistance level.
Notes For Moderators, Authors and Users:
Firstly, to the best of my knowledge, I have not been able to find many tools built around the concept of cumulative delta or pace of tape. While I know there are a couple projects, none to the magnitude of synthetically recreating these tools via an algorithm designed around basic calculus principles. While tools like Volume Delta are built in, they do not attempt to capture an accurate picture of aggregated orderflow from what I understand.
Secondly, it needs to be noted that tool aims to create an approximation of buying and selling pressure. To my knowledge it is not possible to create an accurate full picture, at least not within the limitations of Tradingview.
Malama's 3 AmigosThe "Malama's 3 Amigos" is an original script that combines several well-known technical indicators, including MACD, RSI, and wave trend analysis, to create a robust trading signal generator. The integration of these components allows for a more nuanced understanding of market dynamics:
MACD and RSI: These indicators provide insights into momentum and trend direction, helping to identify potential reversals or continuations.
Wave Trend Analysis: This component adds a layer of volatility assessment, allowing traders to gauge overbought and oversold conditions.
Volume Filtering: By incorporating volume analysis, the script ensures that signals are validated by market participation, reducing the likelihood of false signals.
This script stands out from public open-source alternatives by offering a unique combination of trend meters and wave trend analysis, tailored for traders seeking a comprehensive dashboard for market analysis.
Detailed Methodology ("How It Works")
Core Logic
Wave Trend Calculation: The script employs a wave trend calculation that utilizes exponential moving averages (EMAs) to assess price momentum. The wave trend indicator generates two lines, which are used to identify potential bullish and bearish conditions based on crossovers and overbought/oversold levels.
Trend Meter Signals: The script features three customizable trend meters that can be set to various configurations (e.g., MACD crossovers, RSI conditions). Each trend meter evaluates market conditions and provides a bullish or bearish signal based on the selected method.
Signal Generation:
Long Entry Signal: A long signal is generated when all three trend meters indicate bullish conditions, the wave trend shows a bullish crossover, the RSI delta is above a specified threshold, and the price is above a defined moving average.
Short Entry Signal: Conversely, a short signal is triggered when all trend meters indicate bearish conditions, the wave trend shows a bearish crossover, the RSI delta is below a specified threshold, and the price is below a defined moving average.
Signal Strength Calculation: The script calculates the strength of the generated signals by summing the number of bullish or bearish conditions met. This provides traders with a clear indication of the reliability of the signal.
Backtesting and Probability Features
The script does not include built-in backtesting features; however, traders can manually backtest the signals generated by the indicator. It is recommended to consider realistic trading conditions, including commission, slippage, and risk management parameters, when evaluating the effectiveness of the signals.
Strategy Results and Risk Management
The "Malama's 3 Amigos" indicator does not inherently include backtesting capabilities, but traders are encouraged to apply the following assumptions for effective risk management:
Commission and Slippage: Traders should account for realistic trading costs when evaluating performance.
Account Sizing: It is advisable to limit risk to 5-10% of equity per trade.
Trade Frequency: A sufficient number of trades should be executed to validate the strategy's effectiveness.
Default Settings
The default settings are designed to provide a balanced approach to trading. Traders can customize parameters such as lookback periods for moving averages and volume filters to suit their trading style.
User Settings and Customization
The script includes several user-customizable inputs:
Trend Meter Selections: Traders can choose from various trend meter configurations to tailor the indicator to their preferences.
Volume Filter: Users can enable or disable volume filtering and set the lookback period for volume analysis.
RSI Delta Threshold: This parameter allows traders to define the sensitivity of the RSI delta condition for signal generation.
Moving Average Types and Lengths: Traders can select between Simple Moving Averages (SMA) and Exponential Moving Averages (EMA) and adjust their lengths.
These settings influence the behavior of the indicator and the signals generated, allowing for a personalized trading experience.
Visualizations and Chart Setup
The "Malama's 3 Amigos" indicator plots several key elements on the chart:
Wave Trend Lines: Two wave trend lines are displayed, with color coding to indicate bullish (green) and bearish (red) conditions.
Signal Markers: Buy (green triangle) and sell (red triangle) signals are plotted on the chart to indicate potential entry points.
Info Panel: An information panel can be displayed on the chart, providing real-time updates on the status of trend meters, wave trend conditions, and entry signals.
The visual elements are designed to be clear and concise, ensuring that traders can quickly interpret the information presented.
Bullish Volume AnomalyAnomaly is designed to spot hidden bullish accumulation before price actually breaks out, by blending a trend-aware volume measure with a volatility-adjusted price channel. Here’s how it works:
First, it runs a simple ATR-based zigzag to identify the current swing direction. Volume is then signed (+ for up-trends, – for down-trends) and cumulatively summed. By converting that cumulative signed volume into a z-score over the past 480 bars, we get a sense of when buying or selling pressure is unusually strong relative to its own history.
At the same time, price itself is normalized into a z-score over the same 480-bar window, and its change over that period is also tracked. These two measures—volume z-score (s) and price z-score (p)—are compared, and the indicator looks for moments when s outpaces p by at least two standard deviations (s – p > 2), while price momentum change remains low (c < 1) and the net volume is positive (s > 0). That combination flags instances where heavy buying is taking place but price hasn’t yet reacted.
To define a dynamic trading zone, it plots a 288-bar EMA of price as the middle band (t2), and builds upper and lower bands around it using the average close-to-open range multiplied by a user-set factor. The lower band (t1) sits beneath the EMA by that volatility-based margin. A signal fires only when the bar’s high stays below t1—meaning price is still “sleeping” under the lower volatility boundary even as bullish volume builds up.
Together, these filters home in on anomalies: strong, trend-aligned volume surges that outstrip price movement, occurring while price sits below its lower volatility band. In practice, that often marks early accumulation before a breakout. You can tweak the ATR length and multiplier for the zigzag, as well as the channel period and range factor, to suit different markets or timeframes.
Footprint BoxesThe Footprint Boxes indicator takes each higher-timeframe candle and builds a mini “footprint” map of where buying and selling happened within that bar’s range. You choose how many price bins to split the candle into and which lower timeframe to sample. For each small interval it grabs the signed volume (positive when the close is above the open, negative when below) and distributes that volume evenly across every bin touched by the price move in that interval.
Once the bar closes , the script finds the true high and low of all the lower-timeframe candles that make up the parent bar, divides that span into your chosen number of bins, and sums up the signed volume in each bin. It then draws a row of colored boxes beside the bar: green-tinted boxes for net buying and red-tinted ones for net selling, with shade intensity proportional to the percentage of total volume in that bin . Each box is labeled with its percentage of the bar’s total volume delta.
Finally, it draws one extra box with a bold white border showing the bar’s overall delta (net buying minus selling) as an absolute number. This gives you both a granular view of intra-bar activity and a quick glance at whether the buyers or sellers dominated the entire candle.
Trailing Cumulative Volume DeltaShort Description:
A dynamic volume delta indicator that calculates a trailing sum of net buying/selling pressure over a user-defined number of recent bars, offering a more adaptive view of order flow momentum compared to fixed-anchor CVD.
Overview:
The Trailing Cumulative Volume Delta (TCVD) indicator provides a powerful way to analyze market sentiment by tracking the net difference between buying and selling volume. Unlike traditional Cumulative Volume Delta (CVD) indicators that typically reset at fixed intervals (e.g., daily, weekly), the TCVD calculates a rolling sum of volume delta over a specified number of recent bars. This "trailing" approach offers a more fluid and responsive measure of recent order flow dynamics.
How it Works:
Per-Bar Delta Calculation: For each bar on your chart, the indicator first calculates the net Volume Delta. This is done by looking at a finer, user-configurable Lower Timeframe (e.g., 1-minute data for a 15-minute chart bar) to determine the aggressive buying vs. selling volume within that bar.
Trailing Sum: The indicator then sums these individual per-bar net deltas over a user-defined Trailing Bars lookback period. For example, if "Trailing Bars" is set to 20, the TCVD value will represent the cumulative net delta of the last 20 bars.
Visualization:
The TCVD is plotted in a "MACD-Columns-Style" in a separate pane.
Teal: When the TCVD value is increasing (suggesting growing net buying pressure or diminishing net selling pressure over the trailing period).
Red: When the TCVD value is decreasing (suggesting growing net selling pressure or diminishing net buying pressure over the trailing period).
White: When it is returning to the mean.
How to Interpret and Use TCVD:
Trend Strength & Momentum:
A rising TCVD suggests that, on average over the trailing period, buying pressure is dominant or strengthening. This can confirm bullish price action or indicate underlying strength.
A falling TCVD suggests that selling pressure is dominant or strengthening, potentially confirming bearish price action or indicating weakness.
Divergences:
Unlike other Divergences, the CVD has two different types of Divergences: a) Absorption and b) Exhaustion. You only want to trade the Absorption pattern.
Zero Line Crossovers:
TCVD crossing above the zero line can indicate a shift towards net positive buying pressure over the lookback period.
TCVD crossing below the zero line can indicate a shift towards net positive selling pressure.
Confirmation: Use TCVD to confirm breakouts or breakdowns. A price breakout accompanied by a strongly rising TCVD is generally more reliable.
Key Settings:
Trailing Bars: (Default: 10)
Determines the number of recent bars to include in the cumulative delta sum.
Shorter periods make the TCVD more responsive to immediate changes.
Longer periods provide a smoother, longer-term view of order flow.
Use custom timeframe: (Checkbox, Default: false)
Allows you to override the automatic selection of the lower timeframe for delta calculation.
Timeframe for Delta Calculation: (Default: "1" - 1 minute)
Specifies the lower timeframe data used to calculate the volume delta for each individual chart bar.
Choosing a very fine timeframe (e.g., seconds) can provide high precision but may be limited by data availability or processing load.
If "Use custom timeframe" is unchecked, the script attempts to choose a sensible default based on your chart's timeframe (e.g., "1S" for second charts, "1" for intraday, "5" for daily, "60" for weekly+).
Examples:
Confirming Breakout Strength:
Price breaks out above a significant resistance level.
If the TCVD is also sharply rising and has perhaps crossed above its zero line, it provides confirmation that strong buying interest is fueling the breakout, increasing confidence in its validity.
Important Notes:
This indicator requires reliable volume data from your broker/data feed to function correctly. If your chart does not have volume, or if the volume data is unreliable, the TCVD will not be accurate.
Like all indicators, TCVD is best used as part of a comprehensive trading strategy, in conjunction with price action analysis and other indicators or tools.
Experiment with the Trailing Bars and Timeframe for Delta Calculation settings to find what best suits your trading style, the asset you are analyzing, and the chart timeframe you are using.
Feel free to modify this, add your personal touch, or include specific screenshots when you publish!
CVD Divergenz System – modular with Exchange + LabelsA smart volume-based strategy tool using CVD divergence, ATR-based risk management, and Open Interest filters — now with visual chart labels and exchange switching.
Designed for crypto traders who want precise entry signals, volume insight, and a clean UI.
🔍 Key Features:
✅ CVD Divergence Detection
Automatically detects bullish or bearish divergences between price and cumulative delta (CVD)
✅ Open Interest Logic (Simulated)
Signals are only valid when OI is rising – otherwise a warning is issued
✅ ATR-Based Entry, Stop & Target Zones
Auto-calculated based on your chosen R multiple (e.g., 1.5R), plotted in the chart
✅ Visual Dashboard Panel (table)
Compact panel with CVD, OI change, ATR, signal status, and selected exchange — always visible in top-right
✅ Exchange Selector + Fallback to Binance
Choose between Binance, Bybit, Bitget, or Coinbase — if data is unavailable, Binance is used automatically
✅ Modular Chart Labels
Optionally display 📈 LONG, 📉 SHORT or ⚠️ WARNING labels directly on the chart with a toggle
✅ Alerts Built-In
Get notified instantly when a setup triggers (long, short, or warning) — works with app, popup, or webhook
✅ Fully Modular Controls
Enable or disable the dashboard, trade zones, and labels via simple checkboxes
⚠️ Technical Notes:
CVD is calculated from delta volume (volume * sign(close - open)) — not true order flow
Open Interest is simulated using volume as a placeholder (due to Pine Script limitations)
Best suited for 5–30min timeframes on crypto futures pairs like BTCUSDT, ETHUSDT, etc.
💡 Pro Tips:
Use near key support/resistance zones or liquidity levels
Combine with price action and higher timeframe confluence
Alerts work best with "Once Per Bar Close" trigger setting
📈 Built to support faster decisions, cleaner setups, and institutional-level insights — all in one tool.
TrueDelta Candles📖 Description:
TrueDelta Candles is a precision tool for traders who want deeper insight into market sentiment through real-time volume delta analysis. Rather than using traditional volume bars, this indicator colors each chart candle based on the net volume delta—the difference between buying and selling volume—fetched from a lower timeframe.
🚀 Key Features:
🎯 Real Candle Coloring: Colors actual price candles based on delta volume—green (buying pressure), red (selling pressure).
⏱️ Multi-Timeframe Volume Analysis: Automatically selects the appropriate lower timeframe for better delta approximation, or lets you set a custom one.
🔬 Order Flow Insight: Visualizes the tug-of-war between buyers and sellers within each candle.
⚡ Lightweight & Non-Intrusive: No clutter—just clean color overlays on your chart candles.
🔄 Live Updating: Responds instantly as new data arrives.
🧠 Ideal For:
Intraday and scalping strategies.
Momentum and breakout traders.
Order flow enthusiasts looking for a visual edge.
🛠️ How It Works:
Behind the scenes, the script uses ta.requestVolumeDelta() to retrieve granular buy/sell volume data from a lower timeframe. The net delta volume then determines whether the candle is colored green (positive delta) or red (negative delta). This makes it easy to spot when market pressure aligns or diverges from price action.
⚙️ Settings:
Use Custom Timeframe: Manually select the lower timeframe used for delta calculation (e.g., "1", "5").
Default Auto Mode: Automatically adapts to your current chart resolution for optimal data balance.
If you're serious about understanding the real dynamics behind every candle, TrueDelta Candles adds an essential layer of volume-based context that price alone can't offer.
Approx. Footprint: Volume DeltaThis indicator brings you a simplified “footprint” view by charting the volume delta—the imbalance between bullish and bearish volume—alongside total bar volume.
Delta Bars: Green/red columns show where buyers (close > open) or sellers (close < open) dominated each bar.
Total Volume: Semi-transparent gray columns in the background give you overall context.
No Hidden Data: Works on any symbol/timeframe without tick-by-tick or bid/ask feeds.
Use it to quickly spot bars with strong buying or selling pressure, identify momentum shifts, and confirm breakouts or reversals—all within TradingView’s standard volume streams.
Multi-Layer Volume Profile [BigBeluga]A powerful multi-resolution volume analysis tool that stacks multiple profiles of historical trading activity to reveal true market structure.
This indicator breaks down total and delta volume distribution across time at four adjustable depths — enabling traders to spot major POCs, volume shelves, and zones of price acceptance or rejection with unmatched clarity.
🔵 KEY FEATURES
Multi-Layer Volume Profiles:
Up to 4 separate volume profiles are stacked on the chart:
- Profile 1: Full period
- Profile 2: Half-length
- Profile 3: Quarter-length
- Profile 4: One-eighth-length
This layering helps traders assess confluence across different time horizons.
Custom Bin Resolution:
Each profile uses a customizable number of bins to control visual precision.
More bins = higher granularity, fewer bins = smoother profile.
Precise POC Highlighting:
The price level with the maximum traded volume in each profile is highlighted with a thick blue POC line.
This key level shows the most accepted price for each period.
Total and Delta Volume Labels:
- Total Volume: Displays cumulative volume over the profile period at the top of the profile box.
- Delta Volume: The difference between bullish and bearish volume is labeled at the base, showing directional pressure.
Positive delta = buyer dominance, negative delta = seller dominance.
Range Levels:
Each profile includes horizontal reference lines showing its high, low, bounds.
These edges often align with price reaction zones and become future resistance/support.
🔵 HOW IT WORKS
For each active profile, the indicator:
- Collects price range (highs/lows) across the selected `length`
- Divides this range into equal bins
- Assigns volume into bins based on candle close location
- Aggregates volume per bin to form the profile (polylines)
Separately tracks:
- Total volume (sum of all candles in range)
- Delta volume (sum of candle volumes: positive for bullish, negative for bearish closes)
Highlights the bin with maximum volume (POC)
and marks it with a thick blue line.
Adds auxiliary lines for high/low of each profile box
and total/delta volume tags with tooltips.
🔵 USAGE
Spot Acceptance Zones:
Thick, flat areas on the profile show where price stayed longest — ideal for building positions.
Identify Rejection Zones:
Thin volume areas signal price rejection and are often used for stop placement or entries.
Delta Confirmation:
Use strong positive/negative delta readings as directional bias confirmation for breakout trades.
Confluence Detection:
Watch for overlapping POCs between layers to identify extremely strong support/resistance zones.
🔵 CONCLUSION
Multi-Layer Volume Profile equips traders with a deeply layered market structure view.
Whether you're scalping intraday levels or analyzing macro support zones, the ability to stack volume perspectives, visualize directional delta, and anchor POCs provides an edge in anticipating market moves.
Use this tool to validate entries, confirm structure, and make more informed, volume-aware trading decisions.
SwingTrade VWAP Strategy[TiamatCrypto]V1.1This Pine Script® code creates a trading strategy called "SwingTrade VWAP Strategy V1.1." This strategy incorporates various trading tools, such as VWAP (Volume Weighted Average Price), ADX (Average Directional Index), and volume signals. Below is an explanation of the components and logic within the script:
### Overview of Features
- **VWAP:** A volume-weighted moving average that assesses price trends relative to the VWAP level.
- **ADX:** A trend strength indicator that helps confirm the strength of bullish or bearish trends.
- **Volume Analysis:** Leverages volume data to gauge momentum and identify volume-weighted buy/sell conditions.
- **Dynamic Entry/Exit Signals:** Combines the above indicators to produce actionable buy/sell or exit signals.
- **Customizable Inputs:** Inputs for tuning parameters like VWAP period, ADX thresholds, and volume sensitivity.
---
### **Code Breakdown**
#### **Input Parameters**
The script begins by defining several user-configurable variables under groups. These include indicators' on/off switches (`showVWAP`, `enableADX`, `enableVolume`) and input parameters for VWAP, ADX thresholds, and volume sensitivity:
- **VWAP Period and Threshold:** Controls sensitivity for VWAP signal generation.
- **ADX Settings:** Allows users to configure the ADX period and strength threshold.
- **Volume Ratio:** Detects bullish/bearish conditions based on relative volume patterns.
---
#### **VWAP Calculation**
The script calculates VWAP using the formula:
\
Where `P` is the typical price (`(high + low + close)/3`) and `V` is the volume.
- It resets cumulative values (`sumPV` and `sumV`) at the start of each day.
- Delta percentage (`deltaPercent`) is calculated as the percentage difference between the close price and the VWAP.
---
#### **Indicators and Signals**
1. **VWAP Trend Signals:**
- Identifies bullish/bearish conditions based on price movement (`aboveVWAP`, `belowVWAP`) and whether the price is crossing the VWAP level (`crossingUp`, `crossingDown`).
- Also detects rising/falling delta changes based on the VWAP threshold.
2. **ADX Calculation:**
- Calculates the directional movement (`PlusDM`, `MinusDM`) and smoothed values for `PlusDI`, `MinusDI`, and `ADX`.
- Confirms strong bullish/bearish trends when ADX crosses the defined threshold.
3. **Volume-Based Signals:**
- Evaluates the ratio of bullish volume (when `close > VWAP`) to bearish volume (when `close < VWAP`) over a specified lookback period.
---
#### **Trade Signals**
The buy and sell signals are determined by combining conditions from the VWAP, ADX, and volume signals:
- **Buy Signal:** Triggered when price upward crossover VWAP, delta rises above the threshold, ADX indicates a strong bullish trend, and volume confirms bullish momentum.
- **Sell Signal:** Triggered under inverse conditions.
- Additionally, exit conditions (`exitLong` and `exitShort`) are based on VWAP crossovers combined with the reversal of delta values.
---
#### **Plotting and Display**
The strategy plots VWAP on the chart and adds signal markers for:
- **Buy/Long Entry:** Green triangle below bars.
- **Sell/Short Entry:** Red triangle above bars.
- **Exit Signals:** Lime or orange "X" shapes for exits from long/short positions.
- Additionally, optional text labels are displayed to indicate the type of signal.
---
#### **Trading Logic**
The script's trading logic executes as follows:
- **Entries:**
- Executes long trades when the `buySignal` condition is true.
- Executes short trades when the `sellSignal` condition is true.
- **Exits:**
- Closes long positions upon `exitLong` conditions.
- Closes short positions upon `exitShort` conditions.
- The strategy calculates profits and visualizes the trade entry, exit, and running profit within the chart.
---
#### **Alerts**
Alerts are set up to notify traders via custom signals for buy and sell trades.
---
### **Use Case**
This script is suitable for day traders, swing traders, or algorithmic traders who rely on confluence signals from VWAP, ADX, and volume momentum. Its modular structure (e.g., the ability to enable/disable specific indicators) makes it highly customizable for various trading styles and financial instruments.
#### **Customizability**
- Adjust VWAP, ADX, and volume sensitivity levels to fit unique market conditions or asset classes.
- Turn off specific criteria to focus only on VWAP or ADX signals if desired.
#### **Caution**
As with all trading strategies, this script should be used for backtesting and analysis before live implementation. It's essential to validate its performance on historical data while considering factors like slippage and transaction costs.
Hidden Gap`s VSA Volume Auto-TimeframeHidden Gap's VSA Volume with Auto-Timeframe Adaptation
Enhanced Version of Classic Volume Spread Analysis Indicator
Description:
This evolved version of the original "Hidden Gap's VSA Volume" indicator introduces intelligent timeframe adaptation while preserving its core Volume Spread Analysis (VSA) logic. The key enhancement automatically synchronizes volume calculations with your chart's current timeframe, eliminating manual resolution adjustments.
New Features:
✅ Auto-Timeframe Detection
Dynamically adjusts to any chart timeframe (1M/5M/1H/4H/D/W/M)
✅ Smart Resolution Switching
Seamlessly works across multiple timeframes without parameter changes
✅ Manual Override Option
Retains custom resolution input for multi-timeframe analysis (e.g., view weekly volume on daily charts)
✅ Modernized Engine
Upgraded to Pine Script v6 for optimal TradingView performance
Core Functionality Preserved:
• Multi-layer volume analysis using 40/20/2-period comparisons
• Color-coded histogram detecting:
Black: 40-period high volume
Gray: 20-period low volume
Purple: 2-period volume contraction
Blue/Red: Immediate volume changes
• Integrated 20-period SMA reference line
Usage Scenarios:
Intraday Trading: Auto-adjusts from 1-minute to 4-hour charts
Multi-Timeframe Analysis: Compare current volume against higher timeframe patterns
Swing Trading: Maintain consistent analysis across D/W/M timeframes
OFC - Position Clusters🧭 OFC – Position Clusters ATS-edition
Visualize where traders are positioning — and where they’re unwinding.
The OFC – Position Clusters indicator is a precision profiling tool for crypto markets, designed to highlight zones of potential position buildup and liquidation based on Open Interest Delta and a proportional model of Volume Delta.
This script reveals directional intent at key price levels by tracking where open interest and volume converge.
It offers an intuitive histogram-based view to expose:
📈 Long Open Clusters (green): zones where aggressive buying and new long positions dominate
📉 Short Open Clusters (red): areas of dominant short interest
📤 Long Close Clusters (purple): long-side liquidation zones
📥 Short Close Clusters (aqua): short unwinds or short squeeze exits
🔍 Use Cases: See the Story Behind the Price
🪤 Detect Trapped Traders: Spot clusters where aggressive longs/shorts built positions — only to have price reverse. These zones often lead to squeezes or forced exits.
📊 Identify Passive Accumulation: Long clusters near range lows (without price breakout) may signal stealth accumulation ahead of a move.
📈 Confirm Breakouts with Position Flow: Watch for open clusters shifting with price to validate directional conviction.
🧨 Fade Exhaustion Moves: Dense closing clusters into key resistance/support may signal end-of-move behavior or late chasers.
🛠 Key Features:
🕒 Time Window Control – Analyze any custom period, from minutes to weeks
📊 Histogram Resolution Selector – Choose your level of detail
🔄 Live vs Static Mode – Toggle real-time updates for intraday or historical reviews
📐 Profile Offset Slider – Shift the visualization away from price bars for clarity
🪲 Built-in Debug Panel – View parameters and time diagnostics in one place
Use this indicator to uncover market footprints left by large participants — not just where price moved, but how traders positioned within it.
Aggressive Volume 📊 Indicator: Aggressive Volume – Simulated Buy/Sell Pressure
Aggressive Volume estimates delta volume using candle data to simulate the market’s internal buy/sell pressure. It helps visualize how aggressive buyers or sellers are moving the price without needing full order flow access.
⚙️ How It Works:
Calculates simulated delta volume based on candle direction and volume.
Bullish candles (close > open) suggest dominance by buyers.
Bearish candles (close < open) suggest dominance by sellers.
Delta is the difference between simulated buying and selling pressure.
🔍 Key Features:
Visual bars showing aggressive buyer vs seller dominance
Helps spot trend strength, momentum bursts, and potential reversals
Simple, effective, and compatible with any timeframe
Lightweight and ideal for scalping, day trading, and swing trading
💡 How to Use:
Look for strong positive delta during bullish trends for confirmation.
Watch for delta weakening or divergence as potential reversal signals.
Combine with trend indicators or price action for enhanced accuracy.
📊 Indicador: Volume Agressivo – Pressão de Compra/Venda Simulada
Volume Agressivo estima o delta de volume utilizando dados dos candles para simular a pressão interna de compra/venda do mercado. Ele ajuda a visualizar como os compradores ou vendedores agressivos estão movendo o preço, sem precisar de acesso completo ao fluxo de ordens.
⚙️ Como Funciona:
Calcula o delta de volume simulado com base na direção do candle e no volume.
Candles de alta (fechamento > abertura) indicam predominância de compradores.
Candles de baixa (fechamento < abertura) indicam predominância de vendedores.
O delta é a diferença entre a pressão de compra e venda simulada.
🔍 Principais Funcionalidades:
Barras visuais mostrando a dominância de compradores vs vendedores agressivos
Ajuda a identificar a força da tendência, explosões de momentum e possíveis reversões
Simples, eficaz e compatível com qualquer período de tempo
Leve e ideal para scalping, day trading e swing trading
💡 Como Usar:
Procure por delta positivo forte durante tendências de alta para confirmação.
Observe o delta enfraquecendo ou divergências como sinais de possível reversão.
Combine com indicadores de tendência ou price action para maior precisão.
Advanced Cumulative Delta & VolumeAdvanced Cumulative Delta & Volume (Heuristic-Based)
This offers a powerful cumulative delta visualization based on price action heuristics—perfect for traders without access to real bid/ask volume data.
Features
Cumulative Delta Calculation
Built using estimated delta (based on close position and volume).
Includes a moving average-based surge detection system.
Surge Detection
Highlights candles where delta exceeds a multiple of its average.
Detects sustained surges across multiple bars for trend confirmation.
Visual Enhancements
Smoothed line and area chart for delta flow
Alternate background shading (light blue) for each timeframe interval—great for visual structure (e.g., every 30 minutes).
Color-coded:
Yellow for bullish surges
Black for bearish surges
Green for positive delta /red for negative delta
Customizable Inputs
Timeframe (for resampling logic)
Surge thresholds
Delta moving average length
Volume weight adjustment
Sustained bar count
Ideal For:
Order flow enthusiasts without premium data feeds
Scalpers & intraday traders
Anyone wanting a visual edge on volume-driven moves
Radonezh Kir-Mary Beauty editionOverview
Dedicated to rev. Kirill and Mary of Radonezh.
This indicator uniquely combines Cumulative Volume Delta (CVD) and price momentum with dynamic normalization to identify trend strength, reversals, supported by a combination of more traditional signal logic. Unlike traditional momentum oscillators, it integrates volume dynamics and advanced directional index to filter false signals and adapts to market volatility through automated scaling, offering a holistic view of price-action reliability.
Core Innovations
Adapive Signals: Uses a proprietary correlation algorithm to weight momentum values, reducing noise in choppy markets.
Lower timeframe entry points: (currently 1 minute only) and HTF line statuses for timeframe synchronisation (currently only 15 minutes and 1 hour status) for super-precise entry points
Automatic drawing of resistance and support lines based on the proprietary algorithm for detecting volume/price synchronization and desynchronization levels.
"Victor-predictor": price chart pointing line that shows where the price supposedly goes based on the machine-learning simulation with pine script based on the main 3 traditional classical indicators. Works independently from the rest of the indicator. Developed by @Skorcez (same team).
Automatic recognition of possible long and short stop order placement levels. I do not filter them so use only within the general context of the indicator.
Key Features
Volume-Price Correlation: CVD reflects institutional order flow, while price momentum quantifies trend acceleration.
Auto-Scaling: Adjusts output range based on recent volatility (ATR), preventing overbought/oversold false positives.
Visual Alerts: Marks divergence zones with colored trendlines and labels (regular/hidden bullish/bearish).
Unique Value
By fusing volume delta dynamics with momentum filtering, this script addresses a critical gap in traditional indicators that treat price and volume in isolation. The closed-source logic focuses on institutional accumulation/distribution patterns, providing actionable signals without repainting.
Compatible with all assets and timeframes. No promotional content or external links included.
============================================
Trading strategy
============================================
Position Signals via DEMA Momentum Line Coloration
The main indicator line (orange/black) determines entry/exits based on its color intensity, which reflects trend strength and confirmation from filtered signals. Here's how it works:
Long Positions (Green/Teal)
Weak Long:
Dark Green = Price momentum rising without volume/Machine Learning (ML) confirmation.
Example: main line turns green but lacks volume spikes or ML buy signals.
Strong Long:
Bright Green = Momentum confirmed by:
Volume Surge: Volume exceeds 1.5x 20-period average.
ML Confirmation: ML score > 0.7 with price above EMA20.
Post-Drop Recovery: Price rebounds after a >1% drop on high volume. (not active as of now, will add a bit later, still working on it)
Short Positions (Red/Orange)
Weak Short:
Orange = Momentum declines without bearish confirmation.
Strong Short:
Bright Red = Confirmed by:
Volume Divergence: Rising price with falling CVD momentum.
ML Bearish: ML score > 0.7 + price below EMA20.
Overextension: RSI > 70 + price above upper Bollinger Band.
Neutral (Gray)
Flat Momentum:
Gray = Momentum near zero (±0.05) + low volatility (ATR < 1% of price).
Action: Avoid trades until color intensifies or stay in a position with a trailing stoploss until it's clear where the market goes (use HTF signal colour table to know what to expect).
Key Features
Adaptive Confirmation:
Colors brighten when signals align across:
Volume acceleration
RSI and a few other extremes (oversold/overbought)
Machine Learning predictions
Dynamic Risk Zones:
Gray areas highlight low-confidence periods, while bright colors mark high-probability entries.
Usage: Enter longs when the line turns bright green and exits when it fades to dark green/gray. Reverse for shorts. Combine with the built-in Victor-Predictor signals for optimal accuracy
============================================
Plans to add soon:
============================================
Dynamic Normalization: Scales CVD and price momentum to a fixed range (default: -20 to +20) using volatility-adjusted multipliers, ensuring consistent interpretation across assets/timeframes.
Divergence Detection: Flags discrepancies between volume-driven momentum (CVD) and price trends, highlighting potential reversals.
Adding 2 nearest psychological support and resistance levels.
Puts vs Longs vs Price Oscillator SwiftEdgeWhat is this Indicator?
The "Low-Latency Puts vs Longs vs Price Oscillator" is a custom technical indicator built for TradingView to help traders visualize buying and selling activity in a market without access to order book data. It displays three lines in an oscillator below the price chart:
Green Line (Longs): Represents the strength of buying activity (bullish pressure).
Red Line (Puts): Represents the strength of selling activity (bearish pressure).
Yellow Line (Price): Shows the asset’s price in a scaled format for direct comparison.
The indicator uses price movements, volume, and momentum to estimate when buyers or sellers are active, providing a quick snapshot of market dynamics. It’s optimized for fast response to price changes (low latency), making it useful for both short-term and longer-term trading strategies.
How Does it Work?
Since TradingView doesn’t provide direct access to order book data (which shows real-time buy and sell orders), this indicator approximates buying and selling pressure using commonly available data: price, volume, and a momentum measure called Rate of Change (ROC). Here’s how it combines these elements:
Price Movement: The indicator checks if the price is rising or falling compared to the previous candlestick. A rising price suggests buying (longs), while a falling price suggests selling (puts).
Volume: Volume acts as a "weight" to measure the strength of these price moves. Higher volume during a price increase boosts the green line, while higher volume during a price decrease boosts the red line. This mimics how large orders in an order book would influence the market.
Rate of Change (ROC): ROC measures how fast the price is changing over a set period (e.g., 5 candlesticks). It adds a momentum filter—strong upward momentum reinforces buying signals, while strong downward momentum reinforces selling signals.
These components are calculated for each candlestick and summed over a short lookback period (e.g., 5 candlesticks) to create the green and red lines. The yellow line is simply the asset’s closing price scaled down to fit the oscillator’s range, allowing you to compare buying/selling strength directly with price action.
Why Combine These Elements?
The combination of price, volume, and ROC is intentional and synergistic:
Price alone isn’t enough—it tells you what happened but not how strong the move was.
Volume adds context by showing the intensity behind price changes, much like how order book volume indicates real buying or selling interest.
ROC ensures the indicator captures momentum, filtering out weak or random price moves and focusing on significant trends, similar to how aggressive order execution might appear in an order book.
Together, they create a balanced picture of market activity that’s more reliable than any single factor alone. The goal is to simulate the insights you’d get from an order book—where you’d see buy/sell imbalances—using data available in TradingView.
How to Use It
Setup:
Add the indicator to your chart via TradingView’s Pine Editor by copying and pasting the script.
Adjust the inputs to suit your trading style:
Lookback Period: Number of candlesticks (default 5) to sum buying/selling activity. Shorter = more responsive; longer = smoother.
Price Scale Factor: Scales the yellow price line (default 0.001). Increase for high-priced assets (e.g., 0.01 for indices like DAX) or decrease for low-priced ones (e.g., 0.0001 for crypto).
ROC Period: Candlesticks for momentum calculation (default 5). Shorter = faster response.
ROC Weight: How much momentum affects the signal (default 0.5). Higher = stronger momentum influence.
Volume Threshold: Minimum volume multiplier (default 1.5) to boost signals during high activity.
Reading the Oscillator:
Green Line Above Yellow: Strong buying pressure—price is rising with volume and momentum support. Consider this a bullish signal.
Red Line Above Yellow: Strong selling pressure—price is falling with volume and momentum support. Consider this a bearish signal.
Green/Red Crossovers: When the green line crosses above the red, it suggests buyers are taking control. When the red crosses above the green, sellers may be dominating.
Yellow Line Context: Compare green/red lines to the yellow price line to see if buying/selling strength aligns with price trends.
Trading Examples:
Bullish Setup: Green line spikes above yellow after a price breakout with high volume (e.g., DAX opening jump). Enter a long position if confirmed by other indicators.
Bearish Setup: Red line rises above yellow during a price drop with increasing volume. Look for a short opportunity.
Reversal Warning: If the green line stays high while price (yellow) flattens or drops, it could signal overbought conditions—be cautious.
What Makes It Unique?
Unlike traditional oscillators like RSI or MACD, which focus solely on price momentum or trends, this indicator blends price, volume, and momentum into a three-line system that mimics order book dynamics. Its low-latency design (short lookback and no heavy smoothing) makes it react quickly to market shifts, ideal for volatile markets like DAX or forex. The visual separation of buying (green) and selling (red) against price (yellow) offers a clear, intuitive way to spot imbalances without needing complex data.
Tips and Customization
Volatile Markets: Use a shorter lookback (e.g., 3) and ROC period (e.g., 3) for faster signals.
Stable Markets: Increase lookback (e.g., 10) for smoother, less noisy lines.
Scaling: If the green/red lines dwarf the yellow, adjust Price Scale Factor up (e.g., 0.01) to balance them.
Experiment: Test on your asset (stocks, crypto, indices) and tweak inputs to match its behavior.
Intraday Macro & Flow Indicator# IntraMacroFlow Indicator
## Introduction
IntraMacroFlow is a volume and delta-based indicator that identifies significant price movements within trading sessions. It generates signals when volume spikes coincide with quality price movement, filtered by RSI to avoid overbought/oversold conditions.
> **Note:** This indicator provides multiple signals and should be combined with additional analysis methods such as support/resistance, trend direction, and price action patterns.
## Inputs
### Volume Settings
* **Volume Lookback Period** (14) - Number of bars for volume moving average calculation
* **Volume Threshold Multiplier** (1.5) - Required volume increase over average to generate signals
* **Delta Threshold** (0.3) - Required close-to-open movement relative to bar range (higher = stronger movement)
### Session Configuration
* **Use Dynamic Session Detection** (true) - Automatically determine session times
* **Highlight Market Open Period** (true) - Highlight first third of trading session
* **Highlight Mid-Session Period** (true) - Highlight middle portion of trading session
* **Detect Signals Throughout Whole Session** (true) - Find signals in entire session
* **Session Time** ("0930-1600") - Trading hours in HHMM-HHMM format
* **Session Type** ("Regular") - Select Regular, Extended, or Custom session
### Manual Session Settings
Used when dynamic detection is disabled:
* **Manual Session Open Hour** (9)
* **Manual Session Open Minute** (30)
* **Manual Session Open Duration** (60)
* **Manual Mid-Session Start Hour** (12)
* **Manual Mid-Session End Hour** (14)
## How It Works
The indicator analyzes each bar using three primary conditions:
1. **Volume Condition**: Current volume > Average volume × Threshold
2. **Delta Condition**: |Close-Open|/Range > Delta threshold
3. **Time Condition**: Bar falls within configured session times
When all conditions are met:
* Bullish signals appear when close > open and RSI < 70
* Bearish signals appear when close < open and RSI > 30
## Display Elements
### Shapes and Colors
* Green triangles below bars - Bullish signals
* Red triangles above bars - Bearish signals
* Blue background - Market open period
* Purple background - Mid-session period
* Bar coloring - Green (bullish), Red (bearish), or unchanged
### Information Panel
A dynamic label shows:
* Current volume relative to average (Vol)
* Delta value for current bar (Delta)
* RSI value (RSI)
* Session status (Active/Closed)
## Calculation Method
```
// Volume Condition
volumeMA = ta.sma(volume, lookbackPeriod)
volumeCondition = volume > volumeMA * volumeThreshold
// Delta Calculation (price movement quality)
priceRange = high - low
delta = math.abs(close - open) / priceRange
deltaCondition = delta > deltaThreshold
// Direction and RSI Filter
bullishBias = close > open and entrySignal and not (rsi > 70)
bearishBias = close < open and entrySignal and not (rsi < 30)
```
## Usage Recommendations
### Suitable Markets
* Equities during regular trading hours
* Futures markets
* Forex during active sessions
* Cryptocurrencies with defined volume patterns
### Recommended Timeframes
* 1-minute to 1-hour (optimal: 5 or 15-minute)
### Parameter Adjustments
* For fewer but stronger signals: increase Volume Threshold (2.0+) and Delta Threshold (0.4-0.6)
* For more signals: decrease Volume Threshold (1.2-1.5) and Delta Threshold (0.2-0.3)
### Usage Tips
* Combine with trend analysis for higher-probability entries
* Focus on signals occurring at session boundaries and mid-session
* Use opposite signals as potential exit points
* Configure alerts to receive notifications when signals occur
## Additional Notes
* RSI parameters are fixed at 14 periods with 70/30 thresholds
* The indicator handles overnight sessions correctly
* Fully compatible with TradingView alerts
* Customizable visual elements
## Release Notes
Initial release: This is a template indicator that should be customized to suit your specific trading strategies and preferences.
Order Block Candle [TradeWithRon]Order Block Candle
This indicator is designed to help traders identify and visualize key movements within the market. These order blocks are areas where significant buying or selling has occurred, often leading to a strong price reaction. This script detects both bullish and bearish order blocks (with volume spike), marking them directly on your chart, and offers a variety of customization options to enhance your trading experience.
Features:
Bullish and Bearish Candles: Bullish Order Block: Identified when the current price creates a higher high and closes above the previous price, indicating a zone of potential buying activity by institutional traders.
Bearish Order Block: Identified when the current price creates a lower low and closes below the previous price, suggesting strong institutional selling.
Volume-Weighted Analysis: The indicator allows traders to incorporate volume into the order block detection. When a volume pivot (a significant change in volume) is detected, it strengthens the validity of the identified order block.
Customizable Visuals:
- Users can adjust the color and style of order block lines, including solid, dashed, or dotted styles, to suit personal preferences.
- Bullish Order Block Color: Choose from a range of colors to highlight bullish order blocks (default is green).
- Bearish Order Block Color: Choose a color for bearish order blocks (default is red).
- Users can also customize the color and style of the lines representing order blocks, helping traders visually track key levels.
Candle Body or. Wick: The indicator provides flexibility in defining the price range of the order block. Traders can choose whether to calculate the order block using the candle body (open and close) or the full wick (high and low) to suit their trading strategy.
Dynamic Line Extensions: Order block lines are dynamically extended to provide ongoing support and resistance levels. When a price breaks an order block line, the line changes to a dotted style, marking it as "broken." This allows traders to easily spot when the market invalidates an order block.
Alerts:
- Alert for Bullish Order Block: Get notified when a new bullish order block is detected.
- Alert for Bearish Order Block: Receive alerts when a bearish order block is identified.
- Alert for Broken Lines: Set up alerts to be notified when a bullish or bearish order block line is broken, giving traders a signal for potential market shifts.
Zone Management:
- The indicator tracks upper and lower zone information, marking significant price levels where institutional buying or selling might occur. Traders can adjust settings to define how many previous lines should be displayed on the chart for reference.
Optional Mitigated Order Blocks:
- A feature that highlights mitigated (neutralized) order blocks with a specific color and line style, offering additional insight into market behavior.
Input Settings:
- Length: The number of bars to the left and right of a pivot point for it to be considered a high or low.
- Candle Body: Option to use the candle body for calculations (as opposed to the wick).
- Bullish and Bearish Candle Color: Customizable colors for bullish and bearish order blocks.
- Open Line Style: Choose between solid, dashed, or dotted line styles for order block visualization.
- Removed Old Lines: Control the number of broken lines shown on the chart.
- Mitigated Line Style: Select line style for mitigated order blocks.
- Volume Use: Enable volume-based detection for stronger order block validation.
How to Use:
This indicator is ideal for traders looking to trade around institutional support and resistance levels. The bullish and bearish order blocks can serve as key entry or exit points, while broken lines offer dynamic support/resistance that adapt to market changes. Use the alerts to stay informed of critical market developments and adjust your trading strategy accordingly.
🔶 Disclaimer
Use with Caution: This indicator is provided for educational and informational purposes only and should not be considered as financial advice. Users should exercise caution and perform their own analysis before making trading decisions based on the indicator's signals.
Not Financial Advice: The information provided by this indicator does not constitute financial advice, and the creator (Tradewithron) shall not be held responsible for any trading losses incurred as a result of using this indicator.
Backtesting Recommended: Traders are encouraged to backtest the indicator thoroughly on historical data before using it in live trading to assess its performance and suitability for their trading strategies.
Risk Management: Trading involves inherent risks, and users should implement proper risk management strategies, including but not limited to stop-loss orders and position sizing, to mitigate potential losses.
No Guarantees: The accuracy and reliability of the indicator's signals cannot be guaranteed, as they are based on historical price data and past performance may not be indicative of future
Volume Delta DashboardHow It Works:
This script creates a Volume Delta Dashboard on TradingView, which helps traders visualize the balance between buying and selling volume (Volume Delta) directly on the chart. Here's a breakdown of the key components:
Volume Delta Calculation:
The script calculates the Volume Delta by comparing the volume of bars where the price closed higher (buying pressure) to those where the price closed lower (selling pressure).
Positive Volume Delta (green background) indicates more buying activity than selling, suggesting upward price movement. Negative Volume Delta (red background) indicates more selling than buying, signaling a potential downward move.
Smoothing with EMA:
To make the volume delta trend smoother and more consistent, an Exponential Moving Average (EMA) of the Volume Delta is used. This helps to reduce noise and highlight the prevailing buying or selling pressure over a 14-period.
Dynamic Position Selection:
The user can choose where the Volume Delta dashboard table will appear on the chart by selecting a position: top-left, top-right, bottom-left, or bottom-right. This makes the indicator adaptable to different chart setups.
Coloring:
The background of the table changes color based on the value of the Volume Delta. Green indicates a positive delta (more buyers), and Red indicates a negative delta (more sellers).
Use of This Strategy:
This Volume Delta Dashboard strategy is particularly useful for traders who want to:
Monitor Market Sentiment:
By observing the volume delta, traders can get a sense of whether there is more buying or selling pressure in the market. Positive volume delta can indicate a bullish sentiment, while negative delta can point to bearish sentiment.
Confirm Price Action:
The Volume Delta can be used alongside price action to confirm the strength of a price move. For example, if the price is moving up and the volume delta is positive, it suggests that the price increase is supported by buying pressure.
Identify Divergences:
Volume delta can help traders spot divergences between price and volume. For example, if the price is moving higher but the volume delta is negative, it may suggest a weakening trend and a potential reversal.
Optimize Entry/Exit Points:
By understanding the relationship between price movement and volume, traders can make more informed decisions about entering or exiting positions. For instance, a sudden increase in buying volume (positive delta) may indicate a good entry point for a long position.
Overall, the Volume Delta Dashboard can serve as a powerful tool for improving decision-making, by providing real-time insights into market dynamics and trading sentiment.