A reversal indicator Priliv.mq4 Indicator For MT4
El A reversal indicator Priliv.mq4 Indicator For MT4 dibuja cuatro líneas importantes en los gráficos de precios. La línea while se dibuja en función de la EMA 8 y brinda a los operadores una pista clara sobre la dirección de la tendencia. Y las tres líneas restantes muestran la fuerza de la tendencia, el objetivo cerrado y más grande para ciertas configuraciones comerciales.
Instalar la A reversal indicator Priliv.mq4 Indicator For MT4
Después de descargar el indicador a través del formulario anterior, debe descomprimir el archivo zip. Luego, debe copiar el archivo Priliv.mq4 en la carpeta MQL4Indicators de su instalación MT4 . Después de eso, reinicie MT4 y luego podrá ver el indicador en la lista de indicadores.
Parámetros de la A reversal indicator Priliv.mq4 Indicator For MT4
A reversal indicator Priliv.mq4 Indicator For MT4 tiene parámetros 0 para configurar.
Buffers of the A reversal indicator Priliv.mq4 Indicator For MT4
A reversal indicator Priliv.mq4 Indicator For MT4 proporciona buffers 4 .
SetIndexBuffer(0,Buf_1);
SetIndexBuffer(1,Buf_2);
SetIndexBuffer(2,Buf_3);
SetIndexBuffer(3,Buf_4);
Partes principales del código
int start()
{
int counted_bars=IndicatorCounted();
if(counted_bars lt 0) return(-1);
if(counted_bars gt 0) counted_bars--;
int limit=Bars-counted_bars;
if(counted_bars==0) limit--;
i=limit;
//--------------------------------------------------------------------------------------------------------------------
for (n=2;n lt =Kol_Line;n++)
{
k=n-1;
Polzun_1[n]=Polzun_1[k]/KK;
Polzun_2[n]=Polzun_2[k]/KK;
Polzun_3[n]=Polzun_3[k]/KK;
}
//====================================================================================================================
while(i gt =0)
{
//--------------------------------------------------------------------------------------------------------------------
MA_0 = iMA( NULL, 0, Period_MA_0, 0, MODE_LWMA, PRICE_TYPICAL, i );
Buf_1[i]=MA_0; // Îïîðíàÿ ÌÀ
//--------------------------------------------------------------------------------------------------------------------
Buf_2[i]= 0;
MA_11 = iMA( NULL, 0, Period_MA_1, 0, MODE_LWMA, PRICE_TYPICAL, i );
for (n=1;n lt =Kol_Line;n++)
{
MA_12 = iMA( NULL, 0, Period_MA_1, 0, MODE_LWMA, PRICE_TYPICAL, i +Polzun_1[n]);
Line[n] = MA_11-MA_12;
Buf_2[i] = Buf_2[i]+Line[n];
}
Buf_2[i]= MA_0 + K*Buf_2[i]/Kol_Line;
//--------------------------------------------------------------------------------------------------------------------
Buf_3[i]= 0;
MA_11 = iMA( NULL, 0, Period_MA_2, 0, MODE_LWMA, PRICE_TYPICAL, i );
for (n=1;n lt =Kol_Line;n++)
{
MA_12 = iMA( NULL, 0, Period_MA_2, 0, MODE_LWMA, PRICE_TYPICAL, i +Polzun_2[n]);
Line[n] = MA_11-MA_12;
Buf_3[i] = Buf_3[i]+Line[n];
}
Buf_3[i]= iMA( NULL, 0, Period_MA_0*K2, 0, MODE_LWMA, PRICE_TYPICAL, i) + K*Buf_3[i]/Kol_Line;
if (K2==0)Buf_3[i]=0;
//--------------------------------------------------------------------------------------------------------------------
Buf_4[i]= 0;
MA_11 = iMA( NULL, 0, Period_MA_3, 0, MODE_LWMA, PRICE_TYPICAL, i );
for (n=1;n lt =Kol_Line;n++)
{
MA_12 = iMA( NULL, 0, Period_MA_3, 0, MODE_LWMA, PRICE_TYPICAL, i +Polzun_3[n]);
Line[n] = MA_11-MA_12;
Buf_4[i] = Buf_4[i]+Line[n];
}
Buf_4[i]= iMA( NULL, 0, Period_MA_0*K3, 0, MODE_LWMA, PRICE_TYPICAL, i) + K*Buf_4[i]/Kol_Line;
if (K3==0)Buf_4[i]=0;
//--------------------------------------------------------------------------------------------------------------------
i--;
}
//====================================================================================================================
return(0);
}
//ææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææ
int deinit()
{
return(0);
}
//ææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææææ