把下面这个公式中的红太阳和黑太阳编个选股预警公式
2020/1/21 18:43:27
公式编写说明:
倍量:((VOL/REF(VOL,1)>2 AND COUNT(CLOSE>=REF(CLOSE,1),1)) OR (LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>2)),STICK,COLORBLUE,LINETHICK3;DRAWTEXT(倍量,0.80,'倍'),COLORBLUE;高倍量:V=HHV(V,55) AND V/REF(VOL,1)>=3 AND C>REF(C,1),COLORRED,LINETHICK1;DRAWTEXT(高倍量,0.95,'高'),COLORRED;百日地量:(LLV(VOL,100)=VOL),STICK,COLORRED,LINETHICK3;DRAWTEXT(百日地量,0.8,'地'),COLORRED;梯量柱(3天):(COUNT(VOL>REF(VOL,1),3)=3 AND COUNT(CLOSE>OPEN,3)=3),COLORGREEN,STICK,LINETHICK1;DRAWTEXT(梯量柱(3天),0.65,'梯'),COLORGREEN;平量柱:(V/REF(V,1)>0.97 AND V/REF(V,1)<1.05 AND COUNT(CLOSE>OPEN,2)=2),STICK,LINETHICK2;DRAWTEXT(平量柱,0.55,'平'),COLORWHITE;倍缩量:(COUNT((VOL/REF(VOL,1)<=0.5),1)=1 AND COUNT(CLOSE>OPEN,1)=1),STICK,COLORFF00FF,LINETHICK1;DRAWTEXT(倍缩量,0.45,'倍缩'),COLORFF00FF;缩量涨:(COUNT(C>REF(C,1),2)=2 AND COUNT(VOL<REF(VOL,1),2)=2),COLORYELLOW,STICK,LINETHICK1;DRAWTEXT(缩量涨,0.3,'缩涨'),COLORYELLOW;红太阳:(IF(LOW>REF(HIGH,1) AND COUNT(OPEN<CLOSE,1),0.5,0)),STICK,COLORRED,LINETHICK5;DRAWTEXT(红太阳,0.15,'红'),COLORRED;黑太阳:(IF(LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1),0.5,0)),STICK,COLORWHITE,LINETHICK5;DRAWTEXT(黑太阳,0.15,'黑'),COLORWHITE;
公式源码示例:
红太阳:LOW>REF(HIGH,1) AND COUNT(OPEN<CLOSE,1);
=====================================================
黑太阳:LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1);
看股 吧公式 www.kangub a.com
其它股票公式列表