大智慧新一代全推预警指标,集合竞价预警,开盘9.30分前有效,选择分笔预警周期,集合股性及当前热点参考买入。
源码
a1:=((BUYVOL+SELLVOL)/CLOSE)/3;
a2:=SUM((IF(((a1>40) AND (CLOSE>(REF(CLOSE,1)))),a1,0)),0);
a3:=SUM((IF(((a1>40) AND (CLOSE<(REF(CLOSE,1)))),a1,0)),0);
a4:=SUM((IF(((a1<40) AND (CLOSE>(REF(CLOSE,1)))),a1,0)),0);
a5:=SUM((IF(((a1<40) AND (CLOSE<(REF(CLOSE,1)))),a1,0)),0);
mr:(a2>a3 AND a2>a5) OR (a4>a5 AND a4>a3)AND( COUNT(C/REF(C,1)>1.099,16)>0 );