VolumeMACD M5 Devis'So1. Inputs and Parameters:
Fast and Slow Lengths: These define the moving averages used for calculating the MACD.
Source: The volume data is used as the primary source.
Signal Smoothing: The signal line is smoothed with the specified length.
Oscillator and Signal MA Types: The user can select between SMA (Simple Moving Average) and EMA (Exponential Moving Average).
2. MACD Calculation:
Fast and Slow MA: The script computes fast and slow moving averages of the volume data using the selected type (SMA or EMA).
MACD: The difference between the fast and slow moving averages is calculated, and the RSI of this difference is further modified with a change function.
Signal Line: A smoothed version of the MACD using either SMA or EMA.
Top Line: The midpoint average between the MACD and the Signal Line.
3. Signal Generation:
Long Signals (Green Candles Only):
The script identifies potential buy signals when:
The MACD, Signal Line, or Top Line crosses above specific thresholds (2, 3, 4, or 5).
The candle is green (close price > open price).
Short Signals (Red Candles Only):
It identifies potential sell signals when:
The MACD, Signal Line, or Top Line crosses below specific thresholds (-2, -3, -4, or -5).
The candle is red (close price < open price).
Each signal is categorized by its strength (M2, M3, M4, M5), depending on the threshold level.
4. Visualization:
Long Signals: Represented as upward triangles of different sizes and colors based on their strength.
Short Signals: Represented as downward triangles of different sizes and colors based on their strength.
5. Pullback Levels:
The script calculates pullback levels based on the low (for long signals) and high (for short signals) of the candles where the signals occur:
Long Pullback Level: Updated to the low of the candle when a long signal is detected.
Short Pullback Level: Updated to the high of the candle when a short signal is detected.
These pullback levels are plotted as step lines:
Green Line: Represents the Long Pullback Level.
Red Line: Represents the Short Pullback Level.
6. Average Pullback Level (Topk):
The average of the Long Pullback Level and the Short Pullback Level is calculated and plotted:
Pink Line: Represents the midpoint of the pullback levels, providing an additional reference for market movement.
Overall Purpose:
This script is designed to identify potential entry and exit points in the market based on volume-based MACD signals, categorized by strength, and complemented with pullback levels for better decision-making and visualization.
حجم التداول
Scalping 3-Min Forecast This is a multi-feature strategy that combines technical analysis, volume tracking, and dynamic visual elements on the chart. Its purpose is to generate buy/sell signals, plot near-future price forecasts, and display important support/resistance zones. Additionally, it monitors buying versus selling volume to add further insight into potential market bias. Below is a detailed explanation of each component:
1. Technical Indicators & Signals
- RSI (Relative Strength Index)
- Stochastic Oscillator
- Moving Average Cross
When RSI, Stoch, and MA-cross conditions align for bullish or bearish signals, the strategy triggers long or short entries accordingly.
2. Price Forecast Projection
It draws forecast lines and a forecast label on the chart to visualize where price might head over the next bars.
The script ensures the forecast lines have reduced opacity for clarity and color-coded based on trend direction (green for bullish, red for bearish).
3. Support & Resistance
- Important S/R (Last 100 Bars)
- Less Important S/R (Last 50 Bars)
4. Volume Tracking & Label
The script sums buy volume (on up-close bars) and sell volume (on down-close bars) starting from the most recent time price touches an important S/R level (100-bar).
Whenever price hits either the 100-bar support or 100-bar resistance, the cumulative volumes reset to 0 and start summing again.
Near the forecast label, the script displays a single additional label indicating “BUY” or “SELL” based on which volume sum (buy vs. sell) is larger:
If sumBuyVol > sumSellVol, the label is green with text “BUY.”
Otherwise, it is red with text “SELL.”
This gives quick insight into whether bulls or bears have dominated since the last major support/resistance touch.
Market Profile with TPO by DaRealsVision25Key Components of TPO Charts:
TPO Blocks: Each letter or symbol represents a specific time period during which the price traded at a particular level. For example, in a 30-minute timeframe, each TPO block might represent 30 minutes of trading at that price level.
Point of Control (POC): The price level where the most TPO blocks are concentrated, indicating the price at which the market spent the most time during the session. This level is often considered the fairest price.
Value Area: The range of prices where a significant portion of trading occurred, typically encompassing 70% of the total trading volume. This area helps identify the price range where the market found consensus.
Benefits of Using TPO Charts:
Market Structure Analysis: TPO charts help traders understand market structure by identifying areas of balance and imbalance, which can indicate potential support and resistance levels.
Trend Identification: By observing the distribution of TPO blocks, traders can identify trends and reversals, aiding in making informed trading decisions.
Enhanced Decision-Making: The visual representation of time spent at various price levels allows traders to assess market sentiment and potential price movements more effectively.
Abnormal Delta Volume HistogramThis indicator can help traders spot potential turning points or heightened volatility and provides a dynamic measure of unusual market behavior by focusing on shifts in “delta volume.” Delta volume is approximated by assigning all of a bar’s volume to the bullish side if the close is higher than the open and to the bearish side if the close is lower. The result is a net volume measure that can hint at which side—buyers or sellers—has the upper hand. By comparing this delta volume to its historical averages and measuring how far current readings deviate in terms of standard deviations, the indicator can highlight bars that reflect significantly stronger than normal buying or selling pressure.
A histogram visualizes these delta volume values on a bar-by-bar basis, while additional reference lines for the mean and threshold boundaries allow traders to quickly identify abnormal conditions. When the histogram bars extend beyond the threshold lines, and are colored differently to signal abnormality, it can draw the trader’s eye to periods when market participation or sentiment may be shifting rapidly. This can be used as an early warning signal, prompting further investigation into price action, external news, or significant events that may be driving unusual volume patterns.
Important Notice:
Trading financial markets involves significant risk and may not be suitable for all investors. The use of technical indicators like this one does not guarantee profitable results. This indicator should not be used as a standalone analysis tool. It is essential to combine it with other forms of analysis, such as fundamental analysis, risk management strategies, and awareness of current market conditions. Always conduct thorough research or consult with a qualified financial advisor before making trading decisions. Past performance is not indicative of future results.
Disclaimer:
Trading financial instruments involves substantial risk and may not be suitable for all investors. Past performance is not indicative of future results. This indicator is provided for informational and educational purposes only and should not be considered investment advice. Always conduct your own research and consult with a licensed financial professional before making any trading decisions.
Note: The effectiveness of any technical indicator can vary based on market conditions and individual trading styles. It's crucial to test indicators thoroughly using historical data and possibly paper trading before applying them in live trading scenarios.
Chaikin Oscillator with StdDev MarkersJust a Chaikin Oscillator slightly tuned to show extreme changes in A/D momentum.
- Red histogram means the fast EMA is way above the slow EMA (strong distribution).
- Green histogram means the fast EMA is way below the slow EMA (strong accumulation).
Divergences are also easy to identify. When the price pushes more than the histogram, hidden selling could be taking place near tops, and when the price drops but the histogram doesn't follow, accumulation could be taking place.
This, coupled with VSA analysis, is all you'll ever need to understand price action.
Premium & Discount Delta Volume With RSI SupportPremium & Discount Delta Volume
This indicator combine positive and negative volume delta and take long and short trade respectively with active RSI mapping less than 30 for Long trade and above 70 for short trade
signal buy javad/time/15mThis indicator is designed to give a buy signal on a 15-minute time frame by specifying a profit limit and a loss limit.
Where is Bottom [ZARMEN]An enhancement of my RSI Bottom Indicator.
This one finds you Tops & Bottoms.
This indicator uses the RSI and prints you top & bottom warnings directly on the price chart.
The other special thing about this is that the RSI pulls the data from the weekly chart no matter on what timeframe you are on.
The preferred timeframe can, of course, be changed in the settings as well as any thresholds for tops and bottoms.
The default settings are very good for btc, but be free to try and test this indicator with different settings on different charts.
Breadth of Volatility The Breadth of Volatility (BoV) is an indicator designed to help traders understand the activity and volatility of the market. It focuses on analyzing how fast prices are moving and how much trading volume is driving those movements. By combining these two factors—price speed and volume strength—the BoV provides a single value that reflects the current level of market activity. This can help traders identify when the market is particularly active or calm, which is useful for planning trading strategies.
The speed component of the BoV measures how quickly prices are moving compared to their recent average. This is done by using a metric called the Average True Range (ATR), which calculates the typical size of price movements over a specific period. The BoV compares the current price change to this average, showing whether the market is moving faster or slower than usual. Faster price movements generally indicate higher volatility, which might signal opportunities for active traders.
The strength component focuses on the role of trading volume in price changes. It multiplies the trading volume by the size of the price movement to create a value called volume strength. This value is then compared to the highest volume strength seen over a recent period, which helps gauge whether the current price action is being strongly supported by trading activity. When the strength value is high, it suggests that market participants are actively trading and supporting the price movement.
These two components—speed and strength—are averaged to calculate the Breadth of Volatility value. While the formula also includes a placeholder for a third component (related to fundamental analysis), it is currently inactive and does not influence the final value. The BoV is displayed as a line on a chart, with a zero line for reference. Positive BoV values indicate heightened market activity and volatility, while values near zero suggest a quieter market. This indicator is particularly helpful for new traders to monitor market conditions and adjust their strategies accordingly, whether they’re focusing on trend-following or waiting for calmer periods for more conservative trades.
Important Notice:
Trading financial markets involves significant risk and may not be suitable for all investors. The use of technical indicators like this one does not guarantee profitable results. This indicator should not be used as a standalone analysis tool. It is essential to combine it with other forms of analysis, such as fundamental analysis, risk management strategies, and awareness of current market conditions. Always conduct thorough research or consult with a qualified financial advisor before making trading decisions. Past performance is not indicative of future results.
Disclaimer:
Trading financial instruments involves substantial risk and may not be suitable for all investors. Past performance is not indicative of future results. This indicator is provided for informational and educational purposes only and should not be considered investment advice. Always conduct your own research and consult with a licensed financial professional before making any trading decisions.
Note: The effectiveness of any technical indicator can vary based on market conditions and individual trading styles. It's crucial to test indicators thoroughly using historical data and possibly paper trading before applying them in live trading scenarios.
Buy-Sell-rVolume [BSR] IndicatorBSR is a combination of buy and sell volumes with various length relative volumes of different ranges which is used as a relative volume crossover, indicating incoming volatility of buy or sell direction. BSR offers different options for monitoring buy or sell volumes and relative volume.
Multi SMA EMA VWAP1. Moving Average Crossover
This is one of the most common strategies with moving averages, and it involves observing crossovers between EMAs and SMAs to determine buy or sell signals.
Buy signal: When a faster EMA (like a short-term EMA) crosses above a slower SMA, it can indicate a potential upward movement.
Sell signal: When a faster EMA crosses below a slower SMA, it can indicate a potential downward movement.
With 4 EMAs and 5 SMAs, you can set up crossovers between different combinations, such as:
EMA(9) crosses above SMA(50) → buy.
EMA(9) crosses below SMA(50) → sell.
2. Divergence Confirmation Between EMAs and SMAs
Divergence between the EMAs and SMAs can offer additional confirmation. If the EMAs are pointing in one direction and the SMAs are still in the opposite direction, it is a sign that the movement could be stronger and continue in the same direction.
Positive divergence: If the EMAs are making new highs while the SMAs are still below, it could be a sign that the market is in a strong trend.
Negative divergence: If the EMAs are making new lows and the SMAs are still above, you might consider that the market is in a downtrend or correction.
3. Using EMAs as Dynamic Support and Resistance
EMAs can act as dynamic support and resistance in strong trends. If the price approaches a faster EMA from above and doesn’t break it, it could be a good entry point for a long position (buy). If the price approaches a slower EMA from below and doesn't break it, it could be a good point to sell (short).
Buy: If the price is above all EMAs and approaches the fastest EMA (e.g., EMA(9)), it could be a good buy point if the price bounces upward.
Sell: If the price is below all EMAs and approaches the fastest EMA, it could be a good sell point if the price bounces downward.
4. Combining SMAs and EMAs to Filter Signals
SMAs can serve as a trend filter to avoid trading in sideways markets. For example:
Bullish trend condition: If the longer-term SMAs (such as SMA(100) or SMA(200)) are below the price, and the shorter EMAs are aligned upward, you can look for buy signals.
Bearish trend condition: If the longer-term SMAs are above the price and the shorter EMAs are aligned downward, you can look for sell signals.
5. Consolidation Zone Between EMAs and SMAs
When the price moves between EMAs and SMAs without a clear trend (consolidation zone), you can expect a breakout. In this case, you can use the EMAs and SMAs to identify the direction of the breakout:
If the price is in a narrow range between the EMAs and SMAs and then breaks above the fastest EMA, it’s a sign that an upward trend may begin.
If the price breaks below the fastest EMA, it could indicate a potential downward trend.
6. "Golden Cross" and "Death Cross" Strategy
These are classic strategies based on crossovers between moving averages of different periods.
Golden Cross: Occurs when a faster EMA (e.g., EMA(50)) crosses above a slower SMA (e.g., SMA(200)), which suggests a potential bullish trend.
Death Cross: Occurs when a faster EMA crosses below a slower SMA, which suggests a potential bearish trend.
Additional Recommendations:
Combining with other indicators: You can combine EMA and SMA signals with other indicators like the RSI (Relative Strength Index) or MACD (Moving Average Convergence/Divergence) for confirmation and to avoid false signals.
Risk management: Always use stop-loss and take-profit orders to protect your capital. Moving averages are trend-following indicators but don’t guarantee that the price will move in the same direction.
Timeframe analysis: It’s recommended to use different timeframes to confirm the trend (e.g., use EMAs on hourly charts along with SMAs on daily charts).
VWAP
1. VWAP + EMAs for Trend Confirmation
VWAP can act as a trend filter, confirming the direction provided by the EMAs.
Buy Signal: If the price is above the VWAP and the EMAs are aligned in an uptrend (e.g., short-term EMAs are above longer-term EMAs), this indicates that the trend is bullish and you can look for buy opportunities.
Sell Signal: If the price is below the VWAP and the EMAs are aligned in a downtrend (e.g., short-term EMAs are below longer-term EMAs), this suggests a bearish trend and you can look for sell opportunities.
In this case, VWAP is used to confirm the overall trend. For example:
Bullish: Price above VWAP, EMAs aligned to the upside (e.g., EMA(9) > EMA(50) > EMA(200)), buy.
Bearish: Price below VWAP, EMAs aligned to the downside (e.g., EMA(9) < EMA(50) < EMA(200)), sell.
2. VWAP as Dynamic Support and Resistance
VWAP can act as a dynamic support or resistance level during the day. Combining this with EMAs and SMAs helps you refine your entry and exit points.
Support: If the price is above VWAP and starts pulling back to VWAP, it could act as support. If the price bounces off the VWAP and aligns with bullish EMAs (e.g., EMA(9) crossing above EMA(50)), you can consider entering a buy position.
Resistance: If the price is below VWAP and approaches VWAP from below, it can act as resistance. If the price fails to break through VWAP and aligns with bearish EMAs (e.g., EMA(9) crossing below EMA(50)), it could be a good signal for a sell.
JohnScriptЗміни, які
Додано дві нові лінії EMA (72 та 89) :
Лінія EMA 72:ema72 = ta.ema(close, 72)
Лінія EMA 89:ema89 = ta.ema(close, 89)
Візуалізація нових ліній EMA :
Лінія EMA 72 відображається синім кольором:plot(ema72, color=color.new(color.blue, 0), linewidth=2, title='EMA 72')
Лінія EMA 89 відображається фіолетовим кольором:plot(ema89, color=color.new(color.purple, 0), linewidth=2, title='EMA 89')
Цей скрипт тепер має три лінії EMA: одну з періодом 50, іншу з періодом
Hold Time With Percentage Drop Catastrophic ExitThis is a trading strategy developed for volatile markets. The system will look for breakouts in any market conditions with solid risk management in place. It incorporates a number of time-tested indicators that help it effectively balance capturing profit potential and controlling downside risk.
Key Features:
Breakout Detection Using Bands and Momentum Indicators:
Bollinger Bands: Finds possible breakout conditions where the price closes above the upper band amid periods of increased volatility.
MACD: This is for confirmation of momentum and trend alignment to increase the chances of successful breakouts. VWAP: This acts as an important level that ensures the price action is in the right intraday sentiment. Volatility and Volume Filters:
This strategy incorporates ATR for measuring market volatility and filtering out the strength of breakouts.
A relative volume filter ensures entry signals are well participated in by the market and filters low liquidity setups. Risk Management:
Minimum Holding Period: This prevents the strategy from prematurely exiting trades on minor pullbacks, allowing trends to form. The holding period is user-adjustable.
ATR-Based Emergency Exit: If the price falls by a certain percentage-a user input, such as 5%-from the entry price, calculated as a function of ATR, the position is immediately exited. This override prevents disastrous losses during turmoil.
Customizability:
Users can modify all the key parameters: Bollinger Band settings, holding periods, MACD configurations, ATR multipliers, and the percentage drop threshold. It also makes the strategy very versatile for different trading styles, instruments, and timeframes.
How It Works:
Entry Signals:
The strategy identifies a buy opportunity when the price breaks above the upper Bollinger Band with increasing ATR and volume, and MACD confirms bullish momentum. VWAP ensures that the price is above the average market sentiment level.
Minimum Holding Period:
Once a position is entered, the strategy enforces a minimum number of bars to hold before evaluating normal sell conditions. This rule prevents the strategy from prematurely exiting and ensures that trades have enough time to develop.
Emergency Exit:
If the price drops sharply-defined as a user-set percentage of the entry price, scaled by ATR-the strategy immediately exits, bypassing the minimum hold rule. This is protection against sudden and extreme losses under volatile conditions.
Exit Signals:
It further has a minimum holding period, after which it exits on its conditions under two indicators: MACD and VWAP, checking for loss of momentum or bearish conditions.
Use Case:
This will be a good approach for traders operating in volatile markets, focusing on breakout opportunities with strong risk management incorporated. It works well on intraday time frames but can be adapted to swing trading or longer-term strategies simply by adjusting the parameters.
Backtesting and Results:
Default settings are meant to return very realistic results in backtesting. Users should always test with the appropriate slippage, commission, and position sizing in relation to their actual trading environment.
Note:
This is an open-source script; for educational use only. Past performance is not indicative of future results. Traders should backtest/forward-test this idea before using it in live markets.
Candle Volume LabelsProvides real time volume labels, like volume candles, for your charts. Allows you to find volume more quickly when analyzing trade possibilities.
ADX Range FilterThis indicator calculates the ADX with customizable smoothing and DI lengths. The ADX is plotted as an area chart that changes color based on a user-defined midline:
Orange Area: Strong trend (ADX above midline).
Blue Area: Weak trend or range (ADX below midline).
A white midline is also plotted for easy reference.
Key Features:
Adjustable ADX Smoothing, DI Length, and Midline.
Clear area chart visualization of ADX.
Dynamic color coding for quick trend assessment.
Uses for Traders:
Filter Trades: Avoid trend-following trades in ranging markets (ADX below midline) and focus on stronger trends (ADX above midline).
Confirm Trend Strength: Use ADX to confirm trend strength before entering trades, especially when combined with other indicators.
Adapt to Market Conditions: Adjust trading strategies based on the ADX reading (trend-following in strong trends, range-bound in weak trends).
Identify Actively Traded Assets: The default DI of 10 is better suited to identifying trends in actively traded assets.
Disclaimer:
The ADX Range Filter is a tool to aid in trading decisions, not a standalone solution. Combine it with other analysis methods, risk management, and a solid trading plan. Past performance does not guarantee future results.
Volume-Weighted Delta Strategy V1 [Kopottaja]Volume-Weighted Delta Strategy V1
Key Features:
Volume-Weighted Delta:
The strategy calculates a custom delta value based on the difference between the close and open prices, weighted by trading volume. This helps identify strong buying or selling activity.
ATR Channels:
The ATR channels are adjusted dynamically based on the delta value, which adds flexibility to the strategy by accounting for market volatility.
Moving Averages:
The strategy includes moving averages (SMA and EMA) for trend detection and signal confirmation. The 20-period EMA changes color based on the relationship between the delta value and its moving average.
Signal Logic:
Bullish Signals: Generated when the delta moving average crosses above the delta value, and the price crosses above the upper ATR band.
Bearish Signals: Generated when the delta moving average crosses below the delta value, and the price crosses below the lower ATR band.
Exit Conditions: Positions are closed based on reverse crossovers or specific ATR band thresholds.
Customizable Parameters:
Delta length, moving average length, ATR period, and volume thresholds are adjustable to suit various trading styles and instruments.
Optimized for Bitcoin on a 5-Minute Timeframe:
This strategy is particularly effective for trading Bitcoin on a 5-minute timeframe, where its sensitivity to volume and volatility helps capture short-term price movements and breakout opportunities.
Visual Outputs:
EMA plotted with dynamic colors indicating bullish (green) or bearish (red) conditions.
ATR channels (upper and lower bands) plotted in green to outline volatility zones.
Signals are logged in the strategy to automate buy/sell decisions.
This strategy is ideal for traders seeking to incorporate volume and volatility dynamics into their decision-making process, especially for short-term Bitcoin trading. It excels at identifying potential trend reversals and breakout opportunities in both trending and range-bound markets.
PPO/ADX Pinch Strategy CobyTweak 2 This tool can help analyze the momentum and trend strength of an asset to identify:
Periods of Strong Trends: Indicated by a high ADX.
Potential Reversals or Breakouts: Highlighted during "pinch zones."
Momentum Shifts: Tracked using the PPO Line, Signal Line, and histogram.
The script uses the asset's closing price to calculate all indicators, providing actionable insights for both short-term and long-term trading strategies.\This Pine Script plots two technical indicators, the Percentage Price Oscillator (PPO) and the Average Directional Index (ADX), for the underlying asset (e.g., stock, forex pair, or cryptocurrency). It helps identify periods of trend strength and potential price "pinch" zones, which can signal consolidations or reversals.
cci superrrCCI (Commodity Channel Index), finansal piyasalarda aşırı alım veya aşırı satım seviyelerini belirlemek için kullanılan popüler bir teknik analiz göstergesidir. 500, 100 ve 200 periyotluk CCI ile işlem yapmak, farklı zaman dilimlerinde piyasa trendlerini daha iyi anlamaya yönelik bir stratejidir.
CobynRushs PPO/ADX Pinch StrategyThis tool can help analyze the momentum and trend strength of an asset to identify:
Periods of Strong Trends: Indicated by a high ADX.
Potential Reversals or Breakouts: Highlighted during "pinch zones."
Momentum Shifts: Tracked using the PPO Line, Signal Line, and histogram.
The script uses the asset's closing price to calculate all indicators, providing actionable insights for both short-term and long-term trading strategies.\This Pine Script plots two technical indicators, the Percentage Price Oscillator (PPO) and the Average Directional Index (ADX), for the underlying asset (e.g., stock, forex pair, or cryptocurrency). It helps identify periods of trend strength and potential price "pinch" zones, which can signal consolidations or reversals.
Swing-Based VWAPSwing-Based VWAP
Summary:
The "Swing-Based VWAP" indicator enhances traditional VWAP calculations by incorporating swing-based logic. It dynamically adapts to market conditions by identifying key swing highs and lows and calculating VWAP levels around these pivot points. This makes it a versatile tool for traders seeking actionable price insights.
Explanation:
What is Swing-Based VWAP?
The Swing-Based VWAP is a modified version of the Volume-Weighted Average Price (VWAP). It calculates VWAP not only for a chosen timeframe (e.g., session, week) but also adapts dynamically to market swings. By identifying swing highs and lows, it offers more precise levels for potential price action.
Unique Features:
1. Dynamic Swing Integration:
- Uses pivot points to determine significant price levels.
- Calculates VWAP based on these points to adapt to market trends.
2. User-Friendly Settings:
- Includes options to hide VWAP on higher timeframes for chart clarity.
- Flexible swing size input for adjusting sensitivity.
How to Use:
1. Configuring Swing Settings:
- Use the "Swing Setting" input to determine the sensitivity of swing detection.
- Higher values identify broader swings, while smaller values capture more granular movements.
2. Enabling/Disabling VWAP:
- Toggle VWAP visibility using the "Use VWAP" option.
- The "Hide VWAP on 1D or Above" setting lets you control visibility on higher timeframes.
3. Anchor Period:
- Select your preferred anchoring period (e.g., session, week) to match your trading style.
4. Adjusting the Data Source:
- Use the "Source" input to select the price source (default: HLC3).
5. Visualizing Swing-Based VWAP:
- The script plots a dynamic VWAP line based on detected swing points.
- This line highlights average price levels weighted by volume and swing pivots.
Directional Volume IndexDirectional Volume Index (DVI) (buying/selling pressure)
This index is adapted from the Directional Movement Index (DMI), but based on volume instead of price movements. The idea is to detect building directional volume indicating a growing amount of orders that will eventually cause the price to follow. (DVI is not displayed by default)
The rough algorithm for the Positive Directional Volume Index (green bar):
calculate the delta to the previous green bar's volume
if the delta is positive (growing buying pressure) add it to an SMA, else add 0 (also for red bars)
divide these average deltas by the average volume
the result is the Positive Directional Volume Index (DVI+) (vice versa for DVI-)
Differential Directional Volume Index (DDVI) (relative pressure)
Creating the difference of both Directional Volume Indexes (DVI+ - DVI-) creates the Differential Directional Volume Index (DDVI) with rising values indicating a growing buying pressure, falling values a growing selling pressure. (DDVI is displayed by default, smoothed by a custom moving average)
Average Directional Volume Index (ADVX) (pressure strength)
Putting the relative pressure (DDVI) in relation to the total pressure (DVI+ + DVI-) we can determine the strength and duration of the currently building volume change / trend. For the DMI/ADX usually 20 is an indicator for a strong trend, values above 50 suggesting exhaustion and approaching reversals. (ADVX is not displayed by default, smoothed by a custom moving average)
Divergences of the Differential Directional Volume Index (DDVI) (imbalances)
By detecting divergences we can detect situations where e.g. bullish volume starts to build while price is in a downtrend, suggesting that there is growing buying pressure indicating an imminent bullish pullback/order block or reversal. (strong and hidden divergences are displayed by default)
Divergences Overview:
strong bull: higher lows on volume, lower lows on price
medium bull: higher lows on volume, equal lows on price
weak bull: equal lows on volume, lower lows on price
hidden bull: lower lows on volume, higher lows on price
strong bear: lower highs on volume, higher highs on price
medium bear: lower highs on volume, equal highs on price
weak bear: equal highs on volume, higher highs on price
hidden bear: higher highs on volume, lower highs on price
DDVI Bands (dynamic overbought/oversold levels)
Using Bollinger Bands with DDVI as source we receive an averaged relative pressure with stdev band offsets. This can be used as dynamic overbought/oversold levels indicating reversals on sharp crossovers.
Alerts
As of now there are no alerts built in, but all internal data is exposed via plot and plotshape functions, so it can be used for custom crossover conditions in the alert dialog. This is still a personal research project, so if you find good setups, please let me know.
Enhanced Effort vs Result Analysis V.2How to Use in Trading
A. Confirm Breakouts
Check if the Effort-Result Ratio or Z-Score spikes above the Upper Band or Z > +2:
Suggests a strong, efficient price move.
Supports breakout continuation.
B. Identify Reversal or Exhaustion
Look for Effort-Result Ratio or Z-Score dropping below the Lower Band or Z < -2:
Indicates high effort but low price movement (inefficiency).
Often signals potential trend reversal or consolidation.
C. Assess Efficiency of Trends
Use Relative Efficiency Index (REI):
REI near 1 during a trend → Confirms strength (efficient movement).
REI near 0 → Weak or inefficient movement, likely signaling exhaustion.
D. Evaluate Volume-Price Relationship
Monitor the Volume-Price Correlation:
Positive correlation (+1): Confirms price is driven by volume.
Negative correlation (-1): Indicates divergence; price moves independently of volume (potential warning signal).
3. Example Scenarios
Scenario 1: Breakout Confirmation
Effort-Result Ratio spikes above the Upper Band.
Z-Score exceeds +2.
REI approaches 1.
Volume-Price Correlation is positive (near +1).
Action: Strong breakout confirmation → Trend continuation likely.
Scenario 2: Reversal or Exhaustion
Effort-Result Ratio drops below the Lower Band.
Z-Score is below -2.
REI approaches 0.
Volume-Price Correlation weakens or turns negative.
Action: Signals trend exhaustion → Watch for reversal or consolidation.
Scenario 3: Range-Bound Market
Effort-Result Ratio stays within the Bollinger Bands.
Z-Score remains between -1 and +1.
REI fluctuates around 0.5 (neutral efficiency).
Volume-Price Correlation hovers near 0.
Action: Normal conditions → Look for breakout signals before acting.
*IMPORTANT*
There is a problem with the overlay ... How to fix some of it
The Standard Deviation bands dont work while the other variable activated so Id suggest deselecting them. The fix for this is to make sure you have the background selected and by doing this it will highlight on the chart ( you may need to increase the opacity ) when the bands ( Second standard deviation) are touched.
- Also you can use them all at once if you can but you do not need to