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.
نص برمجي محمي
تم نشر هذا النص البرمجي بمصدر غير مفتوح ويمكنك استخدامه بحرية. يمكنك جعله مفضلاً لاستخدامه على الرسم البياني. لا يمكنك مشاهدة أو تعديل كود المصدر الخاص به.
إخلاء المسؤولية

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.

هل تريد استخدام هذا النص البرمجي على الرسم البياني؟