在线检测未来函数

通达信突破排序指标公式

来源:Internet,编辑:股旁网,2024-03-08

{4突破排序}
{TY:=C;
HD:=FILTER(BACKSET(FILTER(REF(TY,10)=HHV(TY,2*10+1),10),10+1),10);
LD:=FILTER(BACKSET(FILTER(REF(TY,10)=LLV(TY,2*10+1),10),10+1),10);
A:=REF(C,BARSLAST(HD));
B:=REF(C,BARSLAST(LD));
T1:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD) ;
T2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);
顶:=IF(T1,A,A),COLORYELLOW,LINETHICK1;}
Z:=EMA(EMA(C,1),5),COLOR00FFFF,LINETHICK3;
BB:=EMA(HHV(Z,5),1),COLORMAGENTA,LINETHICK3;
J:=EMA(HHV(BB,21),1),COLOR0089FF,LINETHICK2;
W:=EMA(HHV(J,21),2),COLORDB89FF,COLOR00FF00,LINETHICK2;
T:=EMA(HHV(W,21),3),COLOR8916FF,LINETHICK2;
S:=EMA(HHV(T,21),4),COLORFFCC62,LINETHICK2;
JJ:=EMA(HHV(S,21),5),COLORFF9D52,LINETHICK2;
M:=EMA(HHV(JJ,21),6),COLORFF5B5E,LINETHICK2;
M1:=(-( HHV(EMA(C,5),14)-C)/C*5000);
M2:=(CLOSE+LOW+3*OPEN+HIGH)/6;
M3:=(20*M2+19*REF(M2,1)+18*REF(M2,2)+17*REF(M2,3)+16*REF(M2,4)+15*REF(M2,5)+14*REF(M2,6)+13*REF(M2,7)
+12*REF(M2,8)+11*REF(M2,9)+10*REF(M2,10)+9*REF(M2,11)+8*REF(M2,12)+7*REF(M2,13)+6*REF(M2,14)
+5*REF(M2,15)+4*REF(M2,16)+3*REF(M2,17)+2*REF(M2,18)+REF(M2,20))/210;
M4:=MA(M3,6);
M5:=(M3-M4)*1.2;
M6:=(O*2+H+L)/4*10;
M7:=EMA(M6,6)-EMA(M6,55);
M8:=EMA(M7,6);
M9:=(M7-M8)*0.06;
M10:=M5+M9;
M11:=M10>0;
M12:=MA(O,3),COLORRED,LINETHICK;
M13:=MA(O,13),COLORRED,LINETHICK;
M14:=MA(O,34),COLORRED,LINETHICK;
M15:=M12>=M13 AND M14>=REF(M14,1);
M16:=EMA(O,12);
M17:=EMA(O,50);
M18:=M16-M17>0;
M19:=C/REF(C,1)-1;
M20:=IF(M15,2,0)+IF(M11,2,0)+IF(M18,2,0)+M19;
M21:=(M20/10+M1/1000)*100+25,COLORWHITE;
ZF:=C/REF(C,1)*100-100;
突破排序:IF(crOSS(C,M) {AND CROSS(C,顶)},ZF,0);

通达信突破排序指标公式

相关文章