Volume Speed Widget [D4A]INTRODUCTION
This is a fork of popular Trading View script made by MUQWISHI .
This version offers several changes and new additions which are not available in original script.
Key changes:
- smaller widget size, which makes it more convenient for smaller screens and resolutions (laptop or smartphone), main reason for this fork
- toned down the graphics to make it less distracting
- toned down the flash effect (can be turned off as well)
- Speed Volume (AVG) which is probably the most useful part of the widget has background color changing with increasing or decreasing speed
- added Relative Speed (REL) which is more meaningful metrics (able to compare speeds across different assets)
- added 2 types of CVD (cumulative volume delta) to help gauge market short-time volume trend.
- CVD background color changes depending on positive or negative value (3 CVD display modes are available)
- When large orders are displayed, along with their numerical values there are also direction colored circles displayed
- Small rectangle markers are added to indicate increasing or decreasing values throughout the available metrics
- Volume can be displayed as % of total instead of only raw value
The Purpose of the script , as per original author:
The “Volume Dynamic Scale Bar” is a method for determining the dominance of volume flow over a selected length and timeframe, indicating whether buyers or sellers are in control. In addition, it detects the average speed of volume flow over a specified period
Who is this script for?
- short term traders who want to use more accurate volume data when making trading decision, eg. scalpers, day traders
- best used on 1m or 5m charts
- this script can help when deciding to enter or exit position, eg. volume speed increase may indicate institutional participation and volume decrease may indicate low interest from major players
IMPORTANT
To use full potential of the script, you need the following:
- access to 1 second volume chart data which is available through Trading view subscription plans (Premium, Ultimate), 30 days free trial is available (no TV relationship, just friendly advice)
- trade an asset with real volume data through dependable broker (often additional paid option), or through a prop firm account (paid option as well)
If you don't have the above you can still use the script in a limited way, eg. on 5m or higher timeframe using 1m as your lower timeframe source of volume data.
SETTINGS
- Lower Timeframe - the timeframe from which volume data is pulled from, recommended 1 second (if you have access)
- Length - how much data is pulled at once (also used for LTF CVD computation)
- Widget location - location of the widget on the chart
- Size - the size of text in the majority of values displayed (apart from Speed, which has separate variable)
- Volume Up / Down - main colors for positive and negative volume
- Accent - additional colors used for various indicators in the widget
- Background & Text - background and text colors respectively
- AVG Vol. Threshold and BG Color Dials - thresholds and corresponding colors are provided to customize Speed display
- Text - text size variable for Speed AVG and REL
- Volume Speed Multipliers - multipliers for various markets to customize displayed raw Speed values so they are meaningful to the trader
- Enable Relative Speed - useful to see what's the ratio of current raw speed to average speed over the Baseline Period
- Baseline Period - choose which period should be used to calculate relative volume speed
- Make the Volume Scale Bar Spaced - toggles different version of volume bar display
- Display Volume as Percent of Total - display percent instead of raw number
- Enable 3-Second Flash When Volume is Greater Than Average by X Times - when enabled, the widget "flashes" when large orders are discovered
- Enable CVD (Cumulative Volume Delta) - enables display of chart CVD and LTF CVD
- Cumulation Type - three methods of calculating CVD are provided: SUM, EMA (default) and SMA
- Length - how many chart bars are used to calculate chart CVD
- CVD Source - which CVD type to display in the widget
- CVD BG Color Based On - which CVD should the background color of CVD (bottom row) be based on (LTF or chart)
Default settings of the script have been tuned using the asset of MNQ1! and dark theme in TV. You may tune the widget accordingly to your asset and preferred color scheme. Indicator

Marcos Ruiz :Price Change Speed Descripción:
Este indicador en Pine Script está diseñado para analizar y visualizar dinámicamente la velocidad de los cambios de precio en un gráfico de PulseWire. El indicador permite a los usuarios seleccionar diferentes tipos de medias móviles y fuentes de precios para calcular y mostrar el cambio porcentual en el precio durante un período especificado
Características:
Selección de Fuente de Precio: Elige entre cierre, apertura, alto, o bajo para los cálculos de precios
Tipos de Media Móvil: Selecciona entre SMA, WMA, EMA, HMA, o VWMA para determinar la media móvil utilizada en el cálculo de la velocidad promedio
Coloreado Dinámico: El color de la línea de la media móvil cambia según la velocidad de cambio de precio
Aumento de Velocidad: Cuando la velocidad del cambio de precio está aumentando, la media móvil se colorea según upColor definido por el usuario
Disminución de Velocidad: Cuando la velocidad está disminuyendo, la media móvil se colorea según downColor definido por el usuario
Posición Neutral: Coloreado adicional para escenarios donde el precio está por encima o por debajo de la media móvil, pero no cumple con las condiciones de aumento/disminución
Factor de Refuerzo: Ajusta la sensibilidad del cálculo del cambio de velocidad
Uso:
Parámetros de Entrada:
Define el Período para establecer la ventana de retroceso para calcular la velocidad
Elige la Fuente de Precio para determinar qué datos de precios usar
Selecciona el Tipo de Media Móvil y ajusta la Longitud de EMA para la comparación
Interpretación:
El indicador traza la media móvil seleccionada con colores dinámicos basados en la velocidad calculada del cambio de precio
Los cambios positivos y negativos en la velocidad se indican con diferentes colores, proporcionando una representación visual del momento y la fuerza de la tendencia del precio
Nota: Este script es el resultado de un desarrollo y pruebas extensivas. Se agradecen mucho sus comentarios y contribuciones
Description:
This Pine Script indicator is designed to dynamically analyze and visualize the speed of price changes on a PulseWire chart. The indicator allows users to select different moving average types and price sources to compute and display the percentage change in price over a specified period
Features:
Price Source Selection: Choose from close, open, high, or low for price calculations
Moving Average Types: Select from SMA, WMA, EMA, HMA, or VWMA to determine the moving average used for computing average speed
Dynamic Coloring: The moving average line's color changes based on the speed of price change
Increasing Speed: When the price change speed is increasing, the moving average is colored according to the user-defined upColor
Decreasing Speed: When the speed is decreasing, the moving average is colored according to the user-defined downColor
Neutral Position: Additional coloring for scenarios where the price is above or below the moving average but not meeting the increase/decrease conditions
Reinforcement Factor: Adjusts the sensitivity of the speed change calculation
Usage:
Input Parameters:
Set the Period to define the lookback window for calculating speed
Choose the Price Source to determine which price data to use
Select the Moving Average Type and adjust the EMA Length for comparison
Interpretation:
The indicator plots the selected moving average with dynamic colors based on the calculated speed of price change
Positive and negative changes in speed are indicated by different colors, providing a visual representation of price momentum and trend strength
Note: This script is the result of extensive development and testing. Your feedback and contributions are highly appreciated
Indicator

Volatility SpeedometerThe Volatility Speedometer indicator provides a visual representation of the rate of change of volatility in the market. It helps traders identify periods of high or low volatility and potential trading opportunities. The indicator consists of a histogram that depicts the volatility speed and an average line that smoothes out the volatility changes.
The histogram displayed by the Volatility Speedometer represents the rate of change of volatility. Positive values indicate an increase in volatility, while negative values indicate a decrease. The height of the histogram bars represents the magnitude of the volatility change. A higher histogram bar suggests a more significant change in volatility.
Additionally, the Volatility Speedometer includes a customizable average line that smoothes out the volatility changes over the specified lookback period. This average line helps traders identify the overall trend of volatility and its direction.
To enhance the interpretation of the Volatility Speedometer, color zones are used to indicate different levels of volatility speed. These color zones are based on predefined threshold levels. For example, green may represent high volatility speed, yellow for moderate speed, and fuchsia for low speed. Traders can customize these threshold levels based on their preference and trading strategy.
By monitoring the Volatility Speedometer, traders can gain insights into changes in market volatility and adjust their trading strategies accordingly. For example, during periods of high volatility speed, traders may consider employing strategies that capitalize on price swings, while during low volatility speed, they may opt for strategies that focus on range-bound price action.
Adjusting the inputs of the Volatility Speedometer indicator can provide valuable insights and flexibility to traders. By modifying the inputs, traders can customize the indicator to suit their specific trading style and preferences.
One input that can be adjusted is the "Lookback Period." This parameter determines the number of periods considered when calculating the rate of change of volatility. Increasing the lookback period can provide a broader perspective of volatility changes over a longer time frame. This can be beneficial for swing traders or those focusing on longer-term trends. On the other hand, reducing the lookback period can provide more responsiveness to recent volatility changes, making it suitable for day traders or those looking for short-term opportunities.
Another adjustable input is the "Volatility Measure." In the provided code, the Average True Range (ATR) is used as the volatility measure. However, traders can choose other volatility indicators such as Bollinger Bands, Standard Deviation, or custom volatility measures. By experimenting with different volatility measures, traders can gain a deeper understanding of market dynamics and select the indicator that best aligns with their trading strategy.
Additionally, the "Thresholds" inputs allow traders to define specific levels of volatility speed that are considered significant. Modifying these thresholds enables traders to adapt the indicator to different market conditions and their risk tolerance. For instance, increasing the thresholds may highlight periods of extreme volatility and help identify potential breakout opportunities, while lowering the thresholds may focus on more moderate volatility shifts suitable for range trading or trend-following strategies.
Remember, it is essential to combine the Volatility Speedometer with other technical analysis tools and indicators to make informed trading decisions. Indicator

Indicator

Astro: Planetary SpeedPlanetary speed refers to the rate at which a planet moves along its orbit around the Sun. The speed of a planet can vary depending on its distance from the Sun, and is generally fastest at the point in its orbit where it is closest to the Sun (perihelion) and slowest at the point where it is farthest from the Sun (aphelion).
The significance of planetary speeds lies in their astrological interpretation. In astrology, the speed of a planet is thought to influence its energy and influence earthly affairs. Fast-moving planets, such as Mercury and Venus, are believed to have a more immediate and fleeting influence, while slower-moving planets, such as Jupiter and Saturn, are thought to have a more long-lasting and significant impact.
Astrologers use the speed of the planets, along with their positions, aspects, and other factors, to interpret their influence. By understanding the energy and symbolism associated with each planet, astrologers can provide insight and guidance to individuals seeking a greater understanding. Indicator

Indicator

Indicator

Speed IndicatorThe indicator showcases the Speed at which the prices change based on the set length. It does not show trend direction simply because Speed is a scalar quantity. It helps to identify when the prices are racing, slowing down, or in a range.
The formula used for calculation is Speed = Total Distance Travelled / Time.
Time is the period range that can be defined to set the lookback period.
The length is calculated by finding the absolute value of the difference between the current and closing prices one period ago. The lengths are added for the defined Time, and the Total Distance Travelled by the price is calculated. The formula of 'current price' - price 'Time' periods ago is not used, which calculates the displacement of the price used in figuring the velocity .
The Speed is then calculated using the defined formula.
For example, in the last 20 days, a stock price moved a total of 15000 points, then the Speed of the price would be 750 points per day. Therefore the price is expected to be moving around 750 points, either up or down.
There is also an application of the Donchian Channels to the calculated Speed. It helps to define a dynamic range of the Speed and easily visualize if the Speed is increasing, decreasing, or being stable. The range showcases a Speedometer , hence easing the interpretation of the Speed. Speed Range can also be customized for the Donchian channel. The contraction of the channels would occur when the Speed has been steady for some time, which would mean the price has not moved out from its range.
The importance of the indicator is to identify when the prices have slowed down to enter positions safely, since entering positions during higher speeds would be like jumping onto a fast-moving train. Although, it is up to the user's risk appetite if they wish to enter during low speeds or high speeds. The basic strategy is to enter during slow speeds, hold as speed increases, exit as Speed starts to slow down for its highs. That is the basic idea but can be customized as per the user. Indicator

Indicator

Indicator

Indicator

Indicator
