muratm82

Vwma Oscillator [MMD]

muratm82 Atualizado   
This line calculates the exponential moving average (EMA) of the product of the close price and volume, divided by the EMA of the volume. The EMA is calculated over a period of 4 bars.
This line calculates the difference between the value of a1 and the volume-weighted moving average (VWMA) of the close price. The VWMA is calculated over a period of 8 bars.
This line calculates a3 as twice the VWMA of a2 over a period of 8 bars, minus the VWMA of a2 over a period of 16 bars.
This line plots the value of a3 on the chart. The color of the plot is determined by the condition inside the color argument. If a3 is within 20% of its previous value (a3) in either direction, the color is set to silver. Otherwise, if a3 is greater than 0, the color is set to green; otherwise, it is set to red. The linewidth parameter sets the thickness of the plot, and the style parameter specifies that circles should be used to plot the values.
These lines plot two horizontal lines on the chart, one at 80% of the previous a3 value (a3*0.8) and the other at 120% of the previous a3 value (a3*1.2). The transp=100 parameter makes the lines transparent. The fill function is then used to fill the area between these lines with either a red or green color, depending on whether a3 at the current bar is greater or smaller than the corresponding values.
This line plots a horizontal line at a value of 0 on the chart. The color is set to gray, and the line width is set to 2.

Overall, this indicator calculates the values of a1, a2, and a3 based on moving averages and
Notas de Lançamento:
Added Sar Ema Columns
Script de código aberto

Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Quer usar esse script no gráfico?