通达信坚决买入指标公式
2020/6/1 18:53:52
高卖:80, COLORRED;
低吸:20, COLORGREEN;
VAR1l:=LLV(LOW,5);
VAR2l:=HHV(HIGH,5);
K:EMA((CLOSE-VAR1l)/(VAR2l-VAR1l)*100,4),COLORRED,LINETHICK2;
D:EMA(0.667*REF(K,1)+0.333*K,2),COLORGREEN,LINETHICK2;
坚决买入:IF(CROSS(K,D) and d<20,60,0),COLOR0099FF;
DRAWTEXT(坚决买入 AND REF(坚决买入,1)=0,60,'买入'),COLORRED;
Var2:=(CLOSE>OPEN OR CLOSE>REF(CLOSE,1)) AND VOL>REF(VOL,1);
Var3:=COUNT(Var2,3)=3;
Var4:=LLV(LOW,5)=LLV(LOW,120);
Var5:=Var3 AND Var4;
Var6:=COUNT(CROSS(MA(CLOSE,10),MA(CLOSE,5)),2)=1 AND COUNT(CROSS(MA(CLOSE,5),MA(CLOSE,20)),2)=1;
Var7:=COUNT(Var5,3)>0 AND COUNT(Var6,3)>0;
Var8:=Var7 AND COUNT(Var7,20)=1;
Var9:=(INDEXC-LLV(INDEXL,7))/(HHV(INDEXH,89)-LLV(INDEXL,5))*100;
VarA:=SMA(Var9,8,1);
VarB:=SMA(VarA,10,1);
VarC:=VarA>REF(VarA,1) AND VarA>VarB AND BARSLAST(CROSS(VarA,VarB))<=21;
VarD:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100;
VarE:=SMA(VarD,8,1);
VarF:=SMA(VarE,10,1);
Var10:=VarE>REF(VarE,1) AND VarE>VarF AND BARSLAST(CROSS(VarE,VarF))<=34;
Var11:=REF(INDEXC,1);
Var12:=SMA(MAX(INDEXC-Var11,0),6,1)/SMA(ABS(INDEXC-Var11),6,1)*100;
Var13:=Var12>=75 AND Var12<90;
股市高手:Var10 AND VarC AND Var13 AND DATE>961230 AND DATE<1341231;
买入:IF(股市高手,100,0),COLOR0099FF;
DRAWTEXT(买入 AND REF(买入,1)=0,100,'买入'),COLORRED;
投股票 网 www.tou18.c n
股市公式下载推荐