mdelaroca

Moving Average Deviation by MGL

Moving Average Deviation indicates the deviation of the price from the moving average.

Basic settings:

Period: How many candles are taken into calculation. (Default 12)
Source: Default is close. Indicates that the closing price is taken to calculate the moving average.

The type of moving average is SMA (You cannot change this)

Calculations

The indicator bar is formed as a result of the moving average price substrating from the present price. If the value is positive, the bar will appear above the middle 0 line. If the value is negative, the bar will form below it.

The bars on the indicator histogram will appear above the 0 line when the price of the financial instrument plots over the moving average price.

You will see the bars below the 0 line when the price is beneath the MA price.

The bars will be green in colour when the asset‘s price is rising.

They will be red when the price is diminishing.



--- Español

Moving Average Deviation (o Desviación de la media móvil) indica la desviación del precio desde la media móvil.

Configuración básica:

Periodo: Cuántas velas serán tomadas en el cálculo (Por defecto aparecen 12)
Fuente: Por defecto es "close" o precio de cierre. Indica que el precio de cierre es lo que se toma como parte del cálculo para la media móvil.

El tipo de media móvil es el SMA (No puedes cambiar eso).

Cálculos:

Cada barra se forma de color verde (por defecto) si es superior a la anterior barra. Es roja (por defecto) si es de un precio inferior a la anterior.

Y si el valor es positivo, la barra aparecerá en la parte superior de la línea del cero. En caso sea negativo, la barra se formará por debajo.
Mã được bảo vệ
Tập lệnh này được xuất bản mã nguồn đóng và bạn có thể sử dụng một cách tự do. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ. Bạn không thể xem hoặc sửa đổi mã nguồn.
Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?