刘铮夫 发表于 2013-1-30 17:33
闹着玩的~~~~~~
A:C>EMA(H,5)*1.025 AND EMA(C,5)>EMA(C,20);
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; |