源码
期:=5;
过滤:=8;
选股:=-26;
抄底:=-40;
Var1:=MA(CLOSE,5);
Var2:=MA(CLOSE,10);
Var3:=MA(CLOSE,20);
Var4:=MA(CLOSE,30);
Var5:=(Var1+Var2+Var3+Var4)/4;
Var6:=(Var5-REF(Var5,周期))/REF(Var5,周期)*100;
Var7:=(Var5-REF(Var5,周期))/REF(Var5,周期)*100;
Var8:=EMA(Var6,过滤);
底部注意: STICKLINE(Var6>REF(Var6,1) AND Var6<0 AND Var6<Var8,Var6,0,5,0);
低位转强: STICKLINE(Var8>REF(Var8,1) AND Var6<0 AND Var6>Var8,Var8,0,5,0);
买点: STICKLINE(Var6>REF(Var6,1) AND Var6>0 AND Var8<0,Var6,Var8,10,0);
坚定持股: STICKLINE(Var8>REF(Var8,1) AND Var8>0,Var6,0,5,0);
谨慎观望: STICKLINE(Var6<REF(Var6,1) AND Var8>REF(Var8,1) AND Var6>0,Var6,Var8,10,0);
果断持币: STICKLINE(Var6<REF(Var6,1) AND Var6<Var8,Var6,Var8,5,1);
Var9:=(CLOSE-MA(CLOSE,58))/MA(CLOSE,58)*100;
VarA:=Var9>1*REF(Var9,1) AND Var9<选股 AND Var9>抄底*1.5;
VarB:=VOL/CAPITAL*100;
VarC:=LLVBARS(LOW,50);
VarD:=SUM(VOL,VarC);
VarE:=HHVBARS(HIGH,50);
VarF:=SUM(VOL,VarE);
Var10:=(CLOSE-REF(OPEN,VarE))/REF(OPEN,VarE)*100;
Var11:=VarF/CAPITAL*100;
Var12:=(CLOSE-REF(OPEN,VarC))/REF(OPEN,VarC)*100;
Var13:=VarD/CAPITAL*100;
Var14:=MA(CLOSE,3);
Var15:=REF(CLOSE,2)*0.865;
Var16:=REF(CLOSE,13)*0.772;
Var17:=MIN(Var15,Var16);
Var18:=MA(CLOSE,13);
超跌: IF((CLOSE-Var17)/CLOSE<0.03 AND Var10<-35 AND SUM(VarB,5)/5<1.8,1,0)*10;
DRAWTEXT(超跌,超跌,’ 抄底 ‘);
Var19:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
Var1A:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100;
Var1B:=EMA(Var1A,9);
Var1C:=2*(Var1A-Var1B);
DRAWTEXT(Var1A<-50 AND Var19>7 AND Var1A<Var1B,-10,’底’);
DRAWTEXT(Var1A<-50 AND Var19>7 AND Var1A>=Var1B,5,’追’);
STICKLINE(Var1A<-50 AND Var19>7,0,-10,5,0);
评论(0)