OPEN-SOURCE SCRIPT

BX-Volume Trend and Oscillator

Updated
BX-Volume Trend and Oscillator (VTO)
This is my second indicator. I created this indicator for myself. I was inspired by the indicators created by Bjorgum, Duyck and QuantTherapy and decided to create multiple indicators that either work well combined with their indicators or something new that applies some of their indicator concepts. I decided to share this because I believe in learning and earing together as a community. I will later share the rest of the indicators I have created. If you guys have any questions or suggestions write them.

The BX-Volume Trend and Oscillator (VTO) is a comprehensive trading indicator designed to help traders identify trends, momentum shifts, and potential reversals by analyzing volume and price action through various metrics. This indicator combines relative volume analysis with custom Xtrender oscillators and moving averages to provide valuable insights into market behavior.

snapshot
Image: BX-Volume Trend and Oscillator (VTO)

Features:
Relative Volume Analysis: Measures the current volume relative to the average volume over a specified period, helping traders understand if the current trading activity is unusually high or low.

Short-Term Xtrender Oscillator: This oscillator analyzes the difference between two short-term Exponential Moving Averages (EMAs) and smooths it with a custom RSI, highlighting short-term trends and potential reversal points.

Long-Term Xtrender Oscillator: Similar to the short-term oscillator but uses longer-term EMAs and RSI for identifying more sustained trends and shifts.
T3 Moving Average: A smoothed version of the Xtrender oscillator that helps in detecting trend changes more clearly.

Volume Trend Plot: Shows the smoothed relative volume to understand how trading activity aligns with the trend.

Visual Indicators: Uses colors and shapes to highlight significant changes and trends, such as circles to mark potential reversal points.

How to Use the Indicator

Analyze Relative Volume:
Relative Volume Plot: The smoothed relative volume is displayed in white, helping you assess if current trading volumes are above or below the historical average.

High Relative Volume: Indicates strong trading interest, which could support or contradict the prevailing trend.

snapshot
Image above: is set to daily timeframe

Monitor Short-Term Xtrender Oscillator

Short-Term Xtrender: Plotted as a column histogram with colors changing from green to red based on the oscillator's movement and momentum. Green and lime colors indicate bullish trends, while maroon and red suggest bearish conditions.

Smoothed Short-Term Xtrender (T3): Plotted as a line that adjusts color based on the short-term Xtrender's trend. The line changes color to match the histogram's color, providing a clearer view of momentum shifts.

Reversal Markers: Small circles indicate potential short-term trend reversals, where changes in the T3 moving average suggest shifts in momentum.

Assess Long-Term Xtrender Oscillator:
Long-Term Xtrender: Plotted as a histogram, with color changes similar to the short-term Xtrender. It shows longer-term trends and shifts.

Color Indicators: Lime and green colors suggest an uptrend, while red and maroon indicate a downtrend.

Look for Zero Line Crossings:
The zero line serves as a reference point. Crossings above the zero line may indicate bullish trends, while crossings below may signal bearish trends.

snapshot
Image above: is set to daily timeframe, and it showcases the Short-Term Xtrender (T3) applied.

snapshot
Image above: is set to 8hr timeframe: Using the lower timeframe you can spot better details of pullbacks and potential reversals.


Example of Use:
Identify Trend and Momentum: Use the combination of the short-term and long-term Xtrender oscillators to gauge the prevailing market trend. For instance, if both oscillators are above zero and showing upward momentum, it suggests a strong bullish trend.
Spot Reversals: Observe the short-term Xtrender and its smoothed T3 version. If the T3 line changes direction and crosses through previous peaks and troughs, it could signal a potential reversal.

Volume Confirmation: Check the relative volume and its smoothed version to confirm the strength of price movements. Significant changes in volume can validate the trends indicated by the Xtrender oscillators.
By combining these elements, the BX-Volume Trend and Oscillator (VTO) provides a holistic view of market dynamics, helping traders make more informed decisions based on trend strength, potential reversals, and volume activity.
Lastly, my Scripts/Indicators/Ideas /Systems that I share are only for educational purposes!

Release Notes
Added Bar color

Explanation of Changes:
Bar Color Logic:

  • Bullish in both short and long term: Bar color is set to lime.
  • Bullish short term, bearish long term: Bar color is set to green.
  • Bearish short term, bullish long term: Bar color is set to red.
  • Bearish in both short and long term: Bar color is set to maroon.

snapshot
Image above: Showcases the new added bar color update

Bar Coloring: The barcolor function is used to set the color of the bars on the chart based on the combined conditions of the short-term and long-term Xtrender indicators. Write if there is any problems with this update
Release Notes
Update:

New Feature: Timeframe Selection

The primary update to the VTO indicator is the introduction of a timeframe selection feature. This feature enables traders to specify a different timeframe for the indicator's calculations, independent of the chart's current timeframe. This flexibility is particularly useful for those who wish to analyze higher or lower timeframes without switching charts.

Implications for Trading:
Enhanced Flexibility: Traders can now analyze the indicator across different timeframes without needing to switch their entire chart view. For instance, a trader might keep their chart on a 1-hour timeframe but use the indicator to track daily trends.

Improved Strategy Adaptation: The ability to adjust the timeframe makes the VTO indicator more adaptable to various trading strategies, whether short-term or long-term. This update empowers traders to fine-tune their approach based on current market conditions.
Release Notes
UPDATE-BAR COLOR

Explanation of Changes

Short-Term and Long-Term Xtrender Coloring:

  • The short-term and long-term Xtrender plots now use four colors: lime, green, orange, and red, depending on the trend strength and direction.


Bar Coloring Based on Selection:

  • If Short-Term Xtrender is selected, the bar color follows the short-term trend.


snapshot
Image above: Showcases when Short-Term Xtrender is selected

  • If Long-Term Xtrender is selected, the bar color follows the long-term trend.


snapshot
Image above: Showcases when Long-Term Xtrender is selected

  • If Both is selected, the bar color adjusts to show the interaction between the short-term and long-term trends, indicating potential reversals or pullbacks.


snapshot
Image above: Showcases when "both" - the Long-Term Xtrender and Short-Term Xtrender is selected


Custom Colors for Combined Trends:

When the trends overlap (e.g., long-term bullish but short-term bearish), a new color is generated with some transparency to show potential pullbacks or reversals.
This update will make the bar color more responsive to both short-term and long-term trend changes, highlighting potential reversals or pullbacks more clearly.

Price Volume Trend (PVT)Trend Analysis

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Also on:

Disclaimer