OPEN-SOURCE SCRIPT

Display Trade Volume with MA Angle and Price Velocity

Atualizado
This Pine Script indicator is designed to provide traders with a visual representation of trade volume, moving average (MA) angle, and price velocity on a chart. The primary components of this indicator are:

Trade Volume: The indicator compares the current bar's trade volume with the average volume over a user-defined lookback period. The volume is displayed as either "Low" or "Trade" in a table, with red or green background color, respectively, to indicate whether it's below or above the average volume.

MA Angle: The indicator calculates the angle of the moving average (either Simple, Exponential, or Hull) over a user-defined length. A positive angle is shown in green, while a negative angle is shown in red. The angle is displayed in degrees in the table.

Price Velocity: This component calculates the velocity of price movement by comparing the difference between high and low prices over a user-defined lookback period. It then displays the velocity as either "Slow" or "Fast" in the table, with red or green background color, respectively, depending on whether it's below or above the average difference.

The indicator also includes alert conditions for high and low volume situations, notifying the trader when the current bar's volume is significantly higher or lower than the average volume.
Notas de Lançamento
Summary of Improvements:

- Efficiency Enhancements: The script now runs more efficiently by leveraging built-in functions and eliminating unnecessary computations.

- Accuracy Improvements: Calculations have been refined to provide more accurate and meaningful results, especially in the MA angle and velocity computations.

- Readability and Maintainability: The code is cleaner and more organized, which simplifies debugging and future development.
anglesdashboardHull Moving Average (HMA)moving_averagesSimple Moving Average (SMA)velocityvolumeanalysisVolume

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?

Aviso legal