muratm82

Vwma Oscillator [MMD]

muratm82 已更新   
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
發布通知:
Added Sar Ema Columns
開源腳本

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?