以下是通达信(重发)分时成交量见抓涨停(源码副图)无未来

昨天发过这个公式,没办法通过测试,给修改了以下,重发了。

VOL,VOLSTICK;

MM1:=0;

MM:=1;

流通盘:=CAPITAL-MM/100;

DBHS:IF(CAPITAL<2000000,V/CAPITAL*100,V/流通盘*100);

标准量:IF(COUNT(V>流通盘/1000,0)>0,流通盘/1000,0),COLORFF00FF;

STICKLINE(C<REF(C,1),0,VOL,5,0),COLORGREEN;

STICKLINE(C>REF(C,1),0,VOL,5,0),COLOR4040FF;

STICKLINE(C=REF(C,1),0,VOL,5,0),COLORWHITE;

总量:SUM(V,0),NODRAW,COLORCYAN;

最大量:=HHV(V,0),COLORWHITE;

最大换手:HHV(DBHS,240),COLORWHITE,NODRAW;

STICKLINE(C<REF(C,1) AND V>REF(最大量,1) AND TIME>94200,0,VOL,5,0),COLORGREEN,LINETHICK2;

STICKLINE(C>REF(C,1) AND V>REF(最大量,1) AND TIME>94200,0,VOL,5,0),COLORRED,LINETHICK2;

STICKLINE(C=REF(C,1) AND V>REF(最大量,1) AND TIME>94200,0,VOL,5,0),COLORWHITE,LINETHICK2;

STICKLINE(V>REF(最大量,1)*1.5 AND C>REF(C,1) AND DBHS>0.15 AND TIME>94500,0,VOL,5,0),COLORYELLOW,LINETHICK2;

STICKLINE(C>REF(C,1) AND DBHS>0.22 AND TIME<94200,0,VOL,5,0),COLOR66FFFF,LINETHICK2;

LXTP:=((V>REF(V,1) AND DBHS>=0.1 AND REF(V,1)>REF(最大量,2)) OR (V>REF(最大量,1) AND DBHS>=0.08 AND REF(V,2)>REF(最大量,3))) AND C>REF(C,1);

LXTP1:=((V>REF(V,1)*0.9 AND DBHS>=0.1 AND REF(V,1)>REF(最大量,2)) OR (V>REF(最大量,1)*0.9 AND DBHS>=0.1 AND REF(V,2)>REF(最大量,3))) AND C>REF(C,1);

DRAWTEXT(LXTP1,V*0.98,’★’),COLORDD22B8,LINETHICK3;

DRAWTEXT(LXTP,V*0.98,’★’),COLORRED,LINETHICK3;

N3:=BARSLAST(CROSS(LXTP,0));

踪3:IF(LXTP>0,N3+1,0),NODRAW;

时长:=TIME>=093000 AND TIME<=143000;

量数:SUM(踪3,时长),NODRAW;

XXX:COUNT(量数,5);

比例:=V/MA(V,10)*100;

 

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。