飞狐定海神针副图指标
源码
Var1:=REF(CLOSE,1);
Var2:=SMA(MAX(CLOSE-Var1,0),7,1)/SMA(ABS(CLOSE-Var1),7,1)*100;
Var3:=SMA(MAX(CLOSE-Var1,0),13,1)/SMA(ABS(CLOSE-Var1),13,1)*100;
Var4:=BARSCOUNT(CLOSE);
Var5:=Var2<20 AND Var3<23 AND Var4>35;
Var5 AND COUNT(Var5,30)=1;