通达信搜寻活跃股指标 震幅 震数 震率 副图源码

HSL:=V/CAPITAL*100;
 K:="KDJ.K"(21,3,3);
 V1:=C>MA(C,5) AND MA(C,5)>MA(C,10) AND MA(C,5)>MA(C,10) AND
 MA(C,5)>REF(MA(C,5),1) AND MA(C,10)>REF(MA(C,10),1) AND
 C>REF(C,1);
 XG:IF(V1 AND HSL>3 AND K<80,1,0);
震幅:=100*(HIGH-LOW)/REF(CLOSE,1);
震数:=COUNT(震幅>=5,40);
震率:震数>18;