股典钟炒股机器人的十个经典指标用法
{逆势买入}
Var1b:=DMA(CLOSE,VOL/MA(VOL,4)/4);
Var2b:=DMA(CLOSE,VOL/MA(VOL,32)/32);
Var3b:=(CLOSE-Var1b)/Var1b*100<-8;
Var4b:=(Var1b-Var2b)/Var2b*100<-21;
逆势买入:if(Var3b AND Var4b
drawtext(逆势买入,40,'逆势买入'),colorf0f000;
============================
{龙战四海:99%成功率,选股条件:龙战四海=65}
Var1c:=REF(OPEN,1)<REF(OPEN,2);
Var2c:=REF(CLOSE,1)<REF(CLOSE,2);
Var3c:=REF(LOW,1)<REF(LOW,2);
Var4c:=OPEN>REF(CLOSE,1) AND OPEN/REF(CLOSE,1)>=1.03;
Var5c:=CLOSE>OPEN AND CLOSE/OPEN>1.03;
Var6c:=Var1c AND Var2c AND Var3c AND Var4c AND Var5c;
Var7c:=CLOSE/MA(CLOSE,3)>=1.07 AND CLOSE=HHV(CLOSE,3) AND MA(VOL,2)/MA(VOL,40)>=3 AND MA(VOL,2)=HHV(MA(VOL,2),3) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
Var8c:=REF(CLOSE,1);
Var9c:=SMA(MAX(CLOSE-Var8c,0),5,1)/SMA(ABS(CLOSE-Var8c),5,1)*100;
VarA:=COUNT(Var9c<20,20)>=1;
VarB:=Var7c AND VarA;
龙战四海:if(VarB AND Var6c,65,0),colorf0f000;
drawtext(龙战四海,55,'龙战四海'),colorf00ff0;