飞狐清醒买卖副图指标
源码
Var1:="SLOWKD.K";
Var2:="SLOWKD.D";
Var3:=IF(YEAR>=2004 AND MONTH>1,0,1);
Var4:=REF(CLOSE-OPEN,2);
Var5:=REF(CLOSE,1);
Var6:=REF(CLOSE,2);
Var7:=REF(CLOSE,3);
Var8:=REF(CLOSE,4);
Var9:=MAX(MAX(MAX(CLOSE,Var5),Var6),Var7);
VarA:=MIN(MIN(MIN(CLOSE,Var5),Var6),Var7);
VarB:=SAR(5,1,5);
VarC:=EMA(CLOSE,30);
VarD:=IF(CLOSE>450,8,IF(CLOSE>=20 AND CLOSE<150,0.2,IF(CLOSE<20 AND CLOSE>=10,0.07,IF(CLOSE<10,0.03,0.07))));
VarE:=FORCAST(CLOSE,30)*Var3;
CROSS(CLOSE,VarE) AND CROSS(Var1,Var2) AND Var1<35 AND Var2<30 AND CLOSE>=OPEN AND VOL/REF(VOL,1)>2;