Red de conocimiento informático - Conocimiento sistemático - Código fuente del indicador flexible

Código fuente del indicador flexible

MA01:=MA(CERRAR,5);

MA02:=MA(CERRAR,8);

P01:=SI(CRUZ(MA01,MA02),1,0) ;

P02:=SI(CRUZ(MA02,MA01),-1,0);

P0:= p 01 P02;

MA11:= MA(CIERRE, 8);

MA12:=MA(Cierre, 21);

p 11:= SI(CRUZ(ma 11, MA12), 1, 0);

P12: =SI(CRUZ(MA12, MA11), -1, 0

p 1: = p 11 p 12; =(CLOSE-LLV(bajo, 6))/(HHV(alto, 6)-LLV(bajo, 6))* 100;

K:=SMA(RSV, 12, 1);

D:=SMA(K,24,1);

j:= 3 * K-2 * D

P21:=SI(CRUZ( K, D) Y D lt; 20, 1, 0);

P22: =SI (CRUZ (D, K) Y K gt; 80, -1, 0); p>P23:=SI(CRUZ(J,0),0.5,0);

P24:=SI(CRUZ(100,J),-0.5,0);

P2:= p 21 P22 P23 P24;

DIFF:= EMA(Cerca, 12) - EMA(Cerca, 26);

DEA:= EMA(DIFF, 9) ;

MACD:= 2 *(DIFF-DEA);

P31:=IF(CROSS(DIFF,DEA)AND DEA lt;0,1,0);

p>

P32:=IF(CROSS(DEA, DIFF)AND DIFF gt; 0, -1, 0

P3: = p 31 P32; >

WR1 :=100*(HHV(alto,13)-cierre)/(HHV(alto,13)-LLV(bajo,113));

p 41:= IF(wr 1 gt;80, 1, 0);

p42: = SI(wr 1 lt; 20, -1, 0);

P4: = p 41 P42; p>

OB:= SUM(IF(CLOSE gt;REF(CLOSE,1),VOL,IF(CLOSE lt;REF(CLOSE,1),-VOL,0)),0);

p 51 := SI(OBV gt; REF(EMA(OBV, 24), 1), 1.5, 0

p52: = SI(OBV lt; REF(EMA(OBV, 24), 1) , -1.5, 0);

P5: = p 51 P52;

BR: =SUM(MAX(0, HIGH-REF(CLOSE, 1) ), 26)/ SUM(MAX(0, REF(CLOSE, 1)-LOW), 26)* 100;

AR:=SUM(Apertura alta, 26)/SUM(Apertura baja, 26 )* 100;

p 61: = SI(BR gt; 350, 3, 0);

p62: = SI (BR lt; 45, -3, 0);

p63:= SI(AR gt; 180, 3, 0

p64:= SI);

(AR lt; 45, -3, 0);

P6: = p 61 P62 P63 P64;

TH: = SUMA(SI(CERRAR gt; REF(CERRAR, 1) ), VOL, 0), 26);

TL:= SUM(IF(CLOSE lt; REF(CLOSE, 1), VOL, 0),

TQ); :=SUM(IF(CLOSE=REF(CLOSE,1),VOL,0),26);

VR:= 100 *(TH * 2 TQ)/(TL * 2 TQ);

p 71: = SI(VR gt; 350, 3, 0

p72: = SI (VR lt; 45, -3, 0); p>p7: = p 71 P72;

MASA: =SUM(MA(ALTO, BAJO, 9)/MA(MA(ALTO, BAJO, 9), 9),

MAMASA:=MA(masa, 6);

p 81:= SI(MASA lt; 27 y cruz(masa, 26.5), 2, 0);

p82:= IF(MASS gt; 27 y Cross(Calidad, 26.5), -2, 0);

P8: = p 81 P82

WVAD: =SUM( (Cerrar-Abrir)/(ALTO BAJO)*VOL, 24)/10000

maw VAD: = MA(, 6);

p 91: = IF(WVAD gt); ; 0, 1, 0);

p92:= SI(WVAD lt;0,-1,0);

P9:= p 91 P92;

Volumen de operaciones: =MA(VOL, 10)/VOL;

MEDIO: =100*(HIGH-LOW-REF(HIGH-LOW, 1))/(HIGH-LOW); p>

EMV: =MA(Medio *Volumen*(Alto-Bajo)/MA(Alto-Bajo, 14), 14);

q 11: = IF(EMV gt; 0, 1.5, 0);

q 12: = SI(EMV lt; 0, -1.5, 0);

q 1: = q 11 q 12; p>TR0: =EMA(EMA(EMA( Cierre, 13), 13), 13);

TRIX:=(TR0-REF(TR0, 1))/REF(TR0, 1)* 100;

P21: =SI(CRUZ(TRIX,TR0),1.5,0);

P22:=SI(CRUZ(TR0,TRIX),-1.5,0) ;

Q2:= q 21 Q22;

LC: =REF(Cierre, 1

RSI: =SMA(MAX(CLOSE-LC, 0), 13, 1)/SMA(ABS (CLOSE-LC), 13, 1) * 100;

q 31: = SI(RSI gt; 80, 1, 0

q32: = IF(RSI lt ;20,-1,0);

Q3:= q 31 Q32;

OSC:=100*(CLOSE-MA (CLOSE,20));

MAOSC:=EXPMEMA(OSC,6);

P41:=IF(CROSS(OSC,MAOSC),1,0);

Q42:=IF(CROSS (MAOSC, OSC), -1, 0);

Q4: = q 41 Q42;

TIPO: = (alto, bajo, cerca

)/3;

CCI:=(TYP-马(TYP,13))/(0.015 * AVEDEV(TYP,13));

q 51:= IF(CCI gt; 180, 2, 0);

q52: = SI(CCI lt; -180, -2, 0);

q5: = q 51 Q52; >

TR1:=EXPMEMA(MAX(MAX(HIGH-LOW, ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW),14);

HD:=HIGH-REF(Alto,1);

LD:=REF(BAJO,1)-Bajo;

DMP:= exp mema(IF(HD gt ;0 ampHD gtLD, HD, 0),

DMM: = exp mema(IF(LD gt; 0 ampLD gtHD, LD, 0),

<); p>PDI: = DMP * 100/tr 1;

MDI: = DMM * 100/tr 1;

ADX: =EXPMEMA(ABS(inhalador de dosis medida-PDI)/ (inhalador dosificador PDI)*100, 6);

ADXR:=EXPMEMA(ADX,6);

Q61:=IF(CROSS(PDI,MDI),2, 0);

Q62:=SI(CROSS(DMI,PDI),-2,0);

q6:= q 61 Q62;

DPO :=CLOSE-REF(MA(CLOSE, 21), 21/2 1);

Ma Duobo: = MA(, 6);

q 71: = SI( DPO); gt; 0, 1, 0);

q72: = SI(DPO lt; 0, -1, 0);

Q7: = q 71 Q72;

MTM: CERRAR-REF(CERRAR, 12);

MAMTM: =MA(MTM, 6

P81: =SI(CRUZ(MTM, MAM ), 1, 0);

Q82: =SI(CRUZ(MAMTM, MTM), -1, 0

q8: = q 81 Q82; >medio 1:= SUM(VOL *(2 *cierre-alto-bajo)/(alto-bajo), 0);

CHO:=MA(MID, 10)-MA(MID, 20

Macho Man: = Caballo (CHO, 6)

q 91: = SI ((CERRAR gt; MA (Cerrar, 90)) y CRUZ (Cerrar, 0). ), 1.5, 0);

q92:= IF((CLOSE lt; MA(cierre, 90)) y CROSS(0, cierre), -1.5, 0); >q9:= q 91 Q92;

PSY:= COUNT(CLOSE gt; REF(CLOSE, 1), 12)/12 * 100;

PSYMA:=MA( , 6);

r 11: = SI (PSY gt; 75, 1.5, 0);

r 12: = SI (PSY lt; 25, -1.5, 0);

r 1:= r 11 r 12;

MEDIO2:= MA(cerrar, 20);

SUPERIOR:= MEDIO2 2*STD(CERRAR , 20);

BAJO

ER:=MEDIO2-2*STD(CERRAR,20);

R21:=SI(CRUZ(CERRAR,BAJO),2,0);

R22:=SI( Cruz (superior, cierre), -2, 0);

R2: = r 21 R22;

TYP1: = (cierre alto y bajo)/3;

v 1:= SUM(IF(tipo 1 gt; REF(TYP1, 1), TYP1*VOL, 0), 14)/SUM(IF(tipo 1 lt; REF (tipo 1, 1),

TYP1*VOL, 0), 14);

IMF:= 100-(100/(1 v 1));

r 31:= SI( IMF gt ; 80, 1, 0);

R32: = IF(IMF lt; 20, -1, 0);

R3: = r 31 R32; >

Vara: = r 1 R2 R3 q 1 Q2 Q3 Q4 Q5 Q6 Q7 Q8 Q9 P0 p 1 P2 P3 P4 P5 P6 P7 P8 P9;

Curva de Decisión: VARA