通达信神奇的预警公式-摇钱树 聚宝盆 抓涨停
抓涨停源码:
JGMR:=SUM(IF(AMOUNT>1000000 AND CLOSE>REF(CLOSE,1),AMOUNT,0),0);
JGMC:=SUM(IF(AMOUNT>1000000 AND CLOSE<REF(CLOSE,1),AMOUNT,0),0);
SHMR:=SUM(IF(AMOUNT<1000000 AND CLOSE>REF(CLOSE,1),AMOUNT,0),0);
SHMC:=SUM(IF(AMOUNT<1000000 AND CLOSE<REF(CLOSE,1),AMOUNT,0),0);
JGZF:=(JGMR/REF(JGMR,1)-1)*100;
SHZF:=(SHMR/REF(SHMR,1)-1)*100;
JGZF>REF(JGZF,1) AND SHZF>REF(SHZF,1) AND
(JGMR+SHMR)/(JGMR+SHMR+JGMC+SHMC)*100>70 AND
DYnaINFO(17)>3;
摇钱树源码:
(DYNAINFO(7)/DYNAINFO(11)<0.958 AND DYNAINFO(110)<-0.02)
OR (DYNAINFO(110)<-0.05 AND DYNAINFO(112)<-0.04 AND DYNAINFO(114)<-0.03);
聚宝盆源码:
DYNAINFO(7)/(ma(AMOUNT/(vol*100),3))<0.91 AND
DYNAINFO(110)<-0.009 AND DYNAINFO(4);