在线检测未来函数

通达信涨停量能分时指标公式

来源:Internet,编辑:股旁网,2023-04-07

量价:=(vol/CLOSE)/3,NODRAW;
统计主动大买量:=SUM(IF(量价>100 AND CLOSE>REF(CLOSE,1),量价,0),0);
统计主动大卖量:=SUM(IF(量价>100 AND CLOSE< REF(CLOSE,1),量价,0),0);
小买:=SUM(IF(量价< 100 AND CLOSE>REF(CLOSE,1),量价,0),0);
小卖:=SUM(IF(量价< 100 AND CLOSE< REF(CLOSE,1),量价,0),0);
合力度:=统计主动大买量+统计主动大卖量+小买+小卖;
主动大买量比:=(统计主动大买量/合力度)*100;
主动大卖量比:=(统计主动大卖量/合力度)*100;
涨停能量:= 主动大买量比-主动大卖量比;
SSA:=IF(C>REF(C,1),AMOUNT,0);
SSB:=IF(C< REF(C,1),AMOUNT,0);
攻击资金:=SUM(SSA,0)-SUM(SSB,0),COLORFFFFFF;
总额:=SUM(AMOUNT,0);
流入占比:(攻击资金)/总额*100,NODRAW COLORFF00FF;
涨停能量▇ :主动大买量比-主动大卖量比 ,NODRAW,COLORRED;
DRAWNUMBER_FIX(涨停能量 AND ISLASTBAR,0.04,0,0,涨停能量),LINETHICK8,COLORRED;
A1:=SUM(IF(CLOSE>REF(CLOSE,1),VOL/CAPITAL*100,IF(CLOSE< REF(CLOSE,1),-VOL/CAPITAL*100,0)),0);
成交额:=V*C/100,NODRAW;
A2:=SUM((IF(((成交额/8>20) AND (CLOSE>(REF(CLOSE,1)))),成交额,0)),0);
A3:=SUM((IF(((成交额/8>20) AND (CLOSE< (REF(CLOSE,1)))),成交额,0)),0);
A4:=SUM((IF(((成交额/8< 20) AND (CLOSE>(REF(CLOSE,1)))),成交额,0)),0);
A5:=SUM((IF(((成交额/8< 20) AND (CLOSE< (REF(CLOSE,1)))),成交额,0)),0);
A6:=((A2+A3)+A4)+A5;
A7:=IF((ISLASTBAR),((100*A2)/A6),0);
A8:=IF((ISLASTBAR),((100*A3)/A6),0);
A9:=IF((ISLASTBAR),((100*A4)/A6),0);
A10:=IF((ISLASTBAR),((100*A5)/A6),0);
机构买:(A2),LINETHICK6,COLORRED;
机构卖:(A3),LINETHICK6,COLORBLUE;
机构进出:机构买-机构卖,NODRAW;
散户买:(A4),COLORLIMAGENTA;
散户卖:(A5),COLORFF9900;
散户进出:散户买-散户卖,NODRAW;
强势:((100*A2)/A6>50);
STICKLINE(强势,机构买*1.02,机构买*1.1,1,0),COLORYELLOW;
拉升:=((100*A2)/A6-(100*A3)/A6)>18 AND (100*A2)/A6-(100*A5)/A6>18;
STICKLINE(拉升,机构买*1.1,机构买*1.2,1,0),COLORRED;
DRAWTEXT(ISLASTBAR=1,机构买*0.95,''),LINETHICK2,COLORRED;
DRAWTEXT(ISLASTBAR=1,机构卖*0.95,''),LINETHICK2,COLORFFFF55;
Q:=BETWEEN(C/(SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C))),1.05,0.95);
Q2:=IF(Q=0,MA(C,BARSCOUNT(C)),(SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C))));
DD1:=1;
AAA1:=STRCAT(STRCAT('机构买入',CON2STR((100*A2)/A6,0)),'%');
AAA2:=STRCAT(STRCAT('机构卖出',CON2STR((100*A3)/A6,0)),'%');
AAA0:=STRCAT(STRCAT('机构总买入',CON2STR((100*(A2-A3))/A6,0)),'%');
AAA3:=STRCAT(STRCAT('散户买入',CON2STR((100*A4)/A6,0)),'%');
AAA4:=STRCAT(STRCAT('散户卖出',CON2STR((100*A5)/A6,0)),'%');
AAA5:=STRCAT(STRCAT('散户总买入',CON2STR((100*(A4-A5))/A6,0)),'%');
抄底:=IF(crOSS(A2,A3),10,0);
统计主动买量:=SUM((IF(((量价>0.20) AND (CLOSE>(REF(CLOSE,1)))),量价,0)),0);
统计主动卖量:=SUM((IF(((量价>0.20) AND (CLOSE< (REF(CLOSE,1)))),量价,0)),0);
涨停量:((统计主动买量)/统计主动卖量)*10,NODRAW,COLORRED;
CN:=VOL/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
涨停量▇:=(统计主动买量/统计主动卖量)*40,LINETHICK2,NODRAW,COLORRED;
obv:=(expma(CLOSE,500)-REF(EXPMA(CLOSE,500),1))/REF(EXPMA(CLOSE,500),1)*100, COLORSTICK;
主力:=EXPMA( (EXPMA(CLOSE,500)-REF(EXPMA(CLOSE,500),1))/REF(EXPMA(CLOSE,500),1)*100,120)-0.0004,LINETHICK5,COLORMAGENTA;
散户:=EXPMA( (EXPMA(CLOSE,500)-REF(EXPMA(CLOSE,500),1))/REF(EXPMA(CLOSE,500),1)*100,200),LINETHICK5,COLORGREEN;
DRAWTEXT_FIX(1,0.04,0,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.05,0,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.06,0,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.07,0,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.04,0.1,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.05,0.1,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.06,0.1,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.07,0.1,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.04,0.2,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.05,0.2,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.06,0.2,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.07,0.2,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.04,0.3,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.05,0.3,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.06,0.3,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.07,0.3,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.04,0.4,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.05,0.4,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.06,0.4,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.07,0.4,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.04,0.5,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.05,0.5,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.06,0.5,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.07,0.5,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.04,0.6,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.05,0.6,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.06,0.6,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.07,0.6,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.04,0.7,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.05,0.7,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.06,0.7,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.07,0.7,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.04,0.8,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.05,0.8,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.06,0.8,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.07,0.8,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.04,0.9,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.05,0.9,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.06,0.9,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.07,0.9,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.04,1,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.05,1,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.06,1,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.07,1,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(涨停能量▇ >80,0.04,0,0,'▇'),COLORFF00FF;
DRAWTEXT_FIX(涨停能量▇ >80,0.05,0,0,'▇'),COLORFF00FF;
DRAWTEXT_FIX(涨停能量▇ >80,0.06,0,0,'▇'),COLORFF00FF;
DRAWTEXT_FIX(涨停能量▇ >80,0.07,0,0,'▇'),COLORFF00FF;
DRAWTEXT_FIX(涨停能量▇ >80,0.04,0.1,0,'▇'),COLORFF00FF;
DRAWTEXT_FIX(涨停能量▇ >80,0.05,0.1,0,'▇'),COLORFF00FF;
DRAWTEXT_FIX(涨停能量▇ >80,0.06,0.1,0,'▇'),COLORFF00FF;
DRAWTEXT_FIX(涨停能量▇ >80,0.07,0.1,0,'▇'),COLORFF00FF;
DRAWTEXT_FIX(涨停能量▇ >80,0.04,0.2,0,'▇'),COLORFF00FF;
DRAWTEXT_FIX(涨停能量▇ >80,0.05,0.2,0,'▇'),COLORFF00FF;
DRAWTEXT_FIX(涨停能量▇ >80,0.06,0.2,0,'▇'),COLORFF00FF;
DRAWTEXT_FIX(涨停能量▇ >80,0.07,0.2,0,'▇'),COLORFF00FF;
DRAWTEXT_FIX(涨停能量▇ >80,0.03,0.2,0,'●'),COLORFF00FF;
DRAWTEXT_FIX(涨停能量▇ >80,0.03,0.1,0,'●'),COLORFF00FF;
DRAWTEXT_FIX(涨停能量▇ >80,0.03,0,0,'●'),COLORFF00FF;
DRAWTEXT_FIX(70< 涨停能量▇ < 80,0.04,0.3,0,'▇'),COLORYELLOW;
DRAWTEXT_FIX(70< 涨停能量▇ < 80,0.05,0.3,0,'▇'),COLORYELLOW;
DRAWTEXT_FIX(70< 涨停能量▇ < 80,0.06,0.3,0,'▇'),COLORYELLOW;
DRAWTEXT_FIX(70< 涨停能量▇ < 80,0.07,0.3,0,'▇'),COLORYELLOW;
DRAWTEXT_FIX(70< 涨停能量▇ < 80,0.04,0.4,0,'▇'),COLORYELLOW;
DRAWTEXT_FIX(70< 涨停能量▇ < 80,0.05,0.4,0,'▇'),COLORYELLOW;
DRAWTEXT_FIX(70< 涨停能量▇ < 80,0.06,0.4,0,'▇'),COLORYELLOW;
DRAWTEXT_FIX(70< 涨停能量▇ < 80,0.07,0.4,0,'▇'),COLORYELLOW;
DRAWTEXT_FIX(70< 涨停能量▇ < 80,0.04,0.5,0,'▇'),COLORYELLOW;
DRAWTEXT_FIX(70< 涨停能量▇ < 80,0.05,0.5,0,'▇'),COLORYELLOW;
DRAWTEXT_FIX(70< 涨停能量▇ < 80,0.06,0.5,0,'▇'),COLORYELLOW;
DRAWTEXT_FIX(70< 涨停能量▇ < 80,0.07,0.5,0,'▇'),COLORYELLOW;
DRAWTEXT_FIX(涨停能量▇ >80,0.08,0,0,' ←买入值75~80以上'),COLORYELLOW;
DRAWTEXT_FIX(1,0.20,0.82,0,STRCAT(STRCAT('涨停能量:',CON2STR(涨停能量,2)),'(数值达到20以上,关注准备买入,达到30以上能保持10几分钟,今天涨停概率就很大,坚决买。)')),COLOR00FFFF;
DRAWICON(CROSS((C/Q2),1.03),机构买,5);
DRAWICON(CROSS(EXPMA(OBV,120)-0.0004,EXPMA(OBV,200)),机构买,34);

通达信涨停量能分时指标公式

相关文章