通达信1选股指标源码08
VAR8:=EMA(VAR6,5);
VAR9:=EMA(0.667*REF(VAR8,1)+0.333*VAR8,2);
A:=CROSS(K,D);
B:=CROSS(K,VAR9);
P:=CROSS(D,VAR9);
E:=A AND B AND P;
E1:=REF(A,1) AND B AND P;
E2:=REF(A,2) AND B AND P;
E3:=REF(A,1) AND REF(B,1) AND P;
E4:=REF(A,2) AND REF(B,1) AND P;
E5:=REF(A,2) AND REF(B,2) AND P;
XG:E OR E1 OR E2 OR E3 OR E4 OR E5;
======================================================
{筹码空间选股}
VAR1:=LLV(LOW,21);
VAR2:=HHV(HIGH,21);
K:= EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,8),COLORYELLOW ;
D:= EMA(0.667*REF(K,1)+0.333*K,2),COLORWHITE;
VAR3:=LLV(LOW,55);
VAR4:=HHV(HIGH,34);
VAR5:=EMA((CLOSE-VAR3)/(VAR4-VAR3)*100,3);
VAR6:=(K+VAR5)/2;
VAR7:=EMA(0.667*REF(VAR5,1)+0.333*K,2);
VAR8:=EMA(VAR6,5);
VAR9:=EMA(0.667*REF(VAR8,1)+0.333*VAR8,2);
A:CROSS(K,D);
======================================================
★★ 含DATA等句需作修改 ★★
- 上一篇公式:通达信1选股指标(01)
- 下一篇公式:通达信大盘风控指标副图不是一般的准