3C JRSX H Indicator For MT4
L' 3C JRSX H Indicator For MT4 è un oscillatore molto avanzato, utilizzato principalmente per filtrare le configurazioni commerciali brevi e lunghe. Quando la curva dell'oscillatore stampa le barre dell'istogramma sul lato positivo, dovresti prepararti a gestire le transazioni lunghe. Al contrario, quando stampa le barre dell'istogramma sul lato negativo, preparati a vedere qualche azione ribassista. Cerca di fare affidamento sui segnali di conferma dell'azione del prezzo quando usi questo indicatore per quanto riguarda i tuoi strumenti di filtro commerciale.
Installazione della 3C JRSX H Indicator For MT4
Dopo aver scaricato l'indicatore tramite il modulo sopra è necessario decomprimere il file zip. Quindi è necessario copiare il file 3c_JRSX_H.mq4 nella cartella MQL4Indicators dell'installazione di MT4 . Dopodiché, riavvia MT4 e sarai in grado di vedere l'indicatore nell'elenco degli indicatori.
Parametri della 3C JRSX H Indicator For MT4
3C JRSX H Indicator For MT4 ha i parametri 2 da configurare.
extern int Lengh=14;
extern int CountBars=300;
Buffer della 3C JRSX H Indicator For MT4
3C JRSX H Indicator For MT4 fornisce buffer 3 .
SetIndexBuffer(0,JRSX_Up);
SetIndexBuffer(1,JRSX_Down);
SetIndexBuffer(2,JRSX_St);
Parti principali del codice
int start()
{
counted_bars=IndicatorCounted();
if (counted_bars lt 0) return(-1);
if (counted_bars gt Lengh) shift=Bars-counted_bars-1;
else shift=Bars-Lengh-1;
//----
Tnew=Time[shift+1];
//--- âîññòàíîâëåíèå ïåðåìåííûõ ----------
if((Tnew!=T0)&&(shift lt Bars-Lengh-1))
{
if (Tnew==T1)
{
f28=F28; f30=F30; f38=F38; f40=F40; f48=F48; f50=F50;
f58=F58; f60=F60; f68=F68; f70=F70; f78=F78; f80=F80;
} else return(-1);
}
//-------------------------
if (Lengh-1 gt =5)w=Lengh-1;else w=5; Kg=3/(Lengh+2.0); Hg=1.0-Kg;
while(shift gt =0)
{
//-------------------
if (r==0){r=1; k=0;}
else
{
//-----------------------
if (r gt =w) r=w+1; else r=r+1;
//----
v8=Close[shift]-Close[shift+1]; v8A=MathAbs(v8);
//---- âû÷èñëåíèå V14 ------
f28=Hg * f28 + Kg * v8;
f30=Kg * f28 + Hg * f30;
v0C=1.5 * f28 - 0.5 * f30;
f38=Hg * f38 + Kg * v0C;
f40=Kg * f38 + Hg * f40;
v10=1.5 * f38 - 0.5 * f40;
f48=Hg * f48 + Kg * v10;
f50=Kg * f48 + Hg * f50;
v14=1.5 * f48 - 0.5 * f50;
//---- âû÷èñëåíèå V20 ------
f58=Hg * f58 + Kg * v8A;
f60=Kg * f58 + Hg * f60;
v18=1.5 * f58 - 0.5 * f60;
f68=Hg * f68 + Kg * v18;
f70=Kg * f68 + Hg * f70;
v1C=1.5 * f68 - 0.5 * f70;
f78=Hg * f78 + Kg * v1C;
f80=Kg * f78 + Hg * f80;
v20=1.5 * f78 - 0.5 * f80;
//-------wwwwwwwwww---------
if ((r lt =w) && (v8!= 0)) k=1;
if ((r==w) && (k==0)) r=0;
}
//----------------------
if ((r gt w)&&(v20 gt 0.0000000001)){v4=(v14/v20+1.0)*50.0;if(v4 gt 100.0)v4=100.0;if(v4 lt 0.0)v4=0.0;}else v4=50.0;
//----
JRSX=(v4/50)-1;
//--- Ñîõðàíåíèå ïåðåìåííûõ -----------------
if (shift==1)
{
T1=Time[1];T0=Time[0];
F28=f28; F30=f30; F38=f38; F40=f40; F48=f48; F50=f50;
F58=f58; F60=f60; F68=f68; F70=f70; F78=f78; F80=f80;
}
//--------------------------------------------
minuse=JRSX - JRSX_Up[shift+1]-JRSX_Down[shift+1]-JRSX_St[shift+1];
JRSX_Up[shift]=0.0;JRSX_Down[shift]=0.0;JRSX_St[shift]=0.0;
if (minuse gt 0.0)JRSX_Up[shift]=JRSX;else{if (minuse lt 0.0)JRSX_Down[shift]=JRSX;else JRSX_St[shift]=JRSX;}
//---------------------------------------------------------------------------------------------------
shift--;
}
//-------------------
return(0);
}
//+------------------------------------------------------------------+