飞狐股价评分副图指标
源码
N:=10;
Var1:=IF(CLOSE>=HHV(CLOSE,10),10,0);
Var2:=IF(CLOSE>=HHV(CLOSE,30),10,0);
Var3:=IF(CLOSE>=HHV(CLOSE,60),10,0);
Var4:=COUNT(CLOSE>REF(CLOSE,1),10)*2;
Var5:=COUNT(VOL>REF(VOL,1) AND CLOSE>OPEN,10)*2;
Var6:=IF(MA(CLOSE,5)>REF(MA(CLOSE,5),1),5,IF(MA(CLOSE,5)
Var7:=IF(MA(CLOSE,10)>REF(MA(CLOSE,10),1),10,IF(MA(CLOSE,10)
Var8:=IF(MA(CLOSE,20)>REF(MA(CLOSE,20),1),10,IF(MA(CLOSE,20)
Var9:=IF(MA(VOL,5)>MA(VOL,10),5,0);
评比分数: Var1+Var2+Var3+Var4+Var5+Var6+Var7+Var8+Var9;
综合分数: EMA(评比分数,N);