干货分享!通达信双向成交量(源码)比较实用

2022-05-13 17:32发布

大家好,我是超短屠龙,只做稳健票,不追高。后期会配置些波段票供大家学习参考


实际量:VOL,LINETHICK0;


VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;


STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,3,-1),COLOR00C0C0;


VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));


成交:=VOL,POINTDOT;


主动买盘:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE

主动卖盘:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE

主动买万:主动买盘/10000,COLORRED,NODRAW;


主动卖万:主动卖盘/10000,COLORCYAN,POINTDOT;


地量:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,VOL)

天量:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,VOL)/REF(V,1)>=2;


STICKLINE(主动买盘>0,0,VOL,2,1),COLORWHITE;


STICKLINE(主动买盘>V/2,0,V,2,1),COLOR3232FF;


STICKLINE(主动买盘<=V/2,0,V,2,1),COLORFFFF54;


STICKLINE(主动买盘>0,0,主动买盘,2,0),COLORRED;


STICKLINE(主动卖盘<0,0,主动卖盘,2,0),COLORGREEN;


STICKLINE(天量,0,主动买盘,0.5,1),COLORMAGENTA;


STICKLINE(地量>0,0,主动买盘,0.5,1),COLORYELLOW;


QJ0:=(HIGH+LOW+CLOSE)/3;


QJ1:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));


QJ2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-QJ0);


QJ3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);


QJ4:=IF(HIGH=LOW,1,QJ0-MIN(CLOSE,OPEN));


QJ5:=VOL/(IF(HIGH=LOW,4,HIGH-LOW));


特大:QJ4*QJ5,NODRAW;大单:QJ3*QJ5,NODRAW;


中单:QJ1*QJ5,NODRAW;小单:QJ2*QJ5,NODRAW;


差额:=主动买盘+主动卖盘,LINETHICK0;


五日净流入:SUM(差额,5),LINETHICK1,COLORFF8918;


【出入差】:SUM(差额,1),LINETHICK0;


流入:IF(五日净流入>REF(五日净流入,1),五日净流入,DRAWNULL),COLORMAGENTA,LINETHICK2;


N1:=20;


SAT:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20));


量能饱和:IF(SAT>1,1,SAT)*100,COLORYELLOW,NODRAW;


中点:=REFDATE(HHV(V,200)/2,DATE);


DRAWTEXT(CURRBARSCOUNT=42,中点*1.7,'量能饱和度:'),COLORYELLOW;


STICKLINE(CURRBARSCOUNT=N1,中点*1.9,中点*1.5,100,1),COLOR00DDDD;


STICKLINE(CURRBARSCOUNT=N1,中点*1.88,中点*1.52,量能饱和,0),COLOR0033FF;


STICKLINE(CURRBARSCOUNT=N1,中点*1.82,中点*1.58,量能饱和,0),COLOR0077FF;


STICKLINE(CURRBARSCOUNT=N1,中点*1.76,中点*1.64,量能饱和,0),COLOR0099FF;


STICKLINE(CURRBARSCOUNT=N1,中点*1.7,中点*1.7,量能饱和,0),COLOR00DDFF;


AA:=V/CAPITAL<(LLV(V,134)/CAPITAL)*1.35 ;


XG:COUNT(AA,15)>10 AND V/CAPITAL>1.8*(REF(V,1)/CAPITAL) AND V/CAPITAL<3.5*(REF(V,1)/CAPITAL) AND (LLV(L,134)+HHV(H,134))*0.5>C AND FINANCE(7)>80000000;


DRAWTEXT(XG,C,'突破买入');



超短屠龙文章更新说明:


周一至周五:早8:50-9:15 更新当日的早盘观点,并附加个人看好的自选股票池。


周一至周五:中午12:00-12-20 进行上午盘面总结,个股跟踪报告。


周一至周五:16:30-17:30 更新复盘报告,当日龙虎榜妖股点评。


周一至周五:晚间(时间不一定) 更新两只个人看好的潜力股。


周末时间:更新一些选股逻辑、技巧、指标公式、战法等,帮助大家提高自我炒股水平!


以上是特定时间会发特定的内容,其余时间,如果屠龙有空会更新一些其他类型的文章,粉丝朋友不要嫌烦,想看可以点开,打扰可以无视!