PROTECTED SOURCE SCRIPT

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.
MADMGLmovingMoving Averagesperu

Protected script

This script is published closed-source and you may privately use it freely.

Want to use this script on a chart?

Disclaimer