以下是通达信涨停量能分时指标公式源码和使用说明

使用说明

   涨停量能指标可以用于判断市场的买卖氛围和资金流向。当涨停量能较高时,表示市场上涨停股票的交易量较大,可能意味着投资者情绪较高,市场买气较旺,有可能是短期内的炒作行情。当涨停量能较低时,表示市场上涨停股票的交易量较小,可能意味着投资者情绪较冷淡,市场卖气较强,有可能是短期内的调整或者回调行情。

   当涨停量能指标连续多日上涨,或者出现较高峰值时,可能意味着市场短期内的投机性炒作行情即将结束,投资者应保持警惕,注意市场风险。

   当涨停量能指标连续多日下降,或者出现较低谷值时,可能意味着市场短期内的调整或者回调行情即将结束,投资者可以适当考虑低位介入或者加仓。

   涨停量能指标应结合其他技术指标和基本面因素进行综合分析和判断,单一指标不能作为独立的买卖依据。

   在使用涨停量能指标时,应注意样本选择和时间跨度的合理性。较小的样本数量和短时间跨度可能会导致指标的不准确性,建议结合长期数据进行综合分析。

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

   ZT:=C/REF(C,1)>1.0975ANDC=HANDC/O>1.051;

   TS:=BArslAst(ZT);

   AA:=REF((H+L)/2,TS);

   板底:=REF(OPEN+(C-O)*0.05,TS);

   均价线:=AMOUNT/V/100,COLORRED;

   均价A:=REF(均价线,TS),COLORRED;

   HH:=COUNT(ZT,10)>=1;

   回调均价:=C>均价AANDL<均价A

   ANDREF(C,1)>均价AANDREF(C,2)>均价A

   ANDHHANDTS<9ANDTS>4;

   回敲板底:C>REF(OPEN,TS)ANDL<板底

   ANDREF(C,1)>板底ANDREF(C,2)>板底

   ANDHHANDTS<15ANDTS>=2;

   量价:=(vol/CLOSE)/3,NODRAW;

   统计主动大买量:=SUM(IF(量价>100ANDCLOSE>REF(CLOSE,1),量价,0),0);

   统计主动大卖量:=SUM(IF(量价>100ANDCLOSE<REF(CLOSE,1),量价,0),0);

   小买:=SUM(IF(量价<100ANDCLOSE>REF(CLOSE,1),量价,0),0);

   小卖:=SUM(IF(量价<100ANDCLOSE<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,NODRAWCOLORFF00FF;

   涨停能量▇:主动大买量比-主动大卖量比,NODRAW,COLORRED;

   DRAWNUMBER_FIX(涨停能量ANDISLASTBAR,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)>18AND(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);

   DI3:=DYNAINFO(3);

   DI11:=DYNAINFO(11);

   DI17:=DYNAINFO(17);

   DI37:=DYNAINFO(37);

   HQV1:=(COUNT(C>0,FROMOPEN)-1-MOD(COUNT(C>0,FROMOPEN)-1,10))/10+1;

   HQV2:=LOG(SMA(SUM(DI37,FROMOPEN)*2400000/HQV1,3,1))-1;

   LRV1:=IF(DI17>10,35,IF(DI17>5,25,IF(DI17>2.5,17,IF(DI17>1.5,11,IF(DI17>0.8,7,5)))));

   LRV2:=IF(HQV2>4,36,IF(HQV2>3,245,IF(HQV2>2,15,IF(HQV2>1,9,6))));

   LRV3:=(LRV1+LRV2)/2;

   LRV4:=MAX(10*SQRT(ABS(DYNAINFO(17)))*SQRT(ABS(HQV2)),LRV3);

   STICKLINE(CURRBARSCOUNT=5,MIN(ZTPRICE(REF(DI3,1),0.1),DI11*(1+LRV4/1000)),MAX(DTPRICE(REF(DI3,1),0.1),DI11*(1-LRV4/1000)),5,0),COLORYELLOW;

   STICKLINE(CURRBARSCOUNT=5,MIN(ZTPRICE(REF(DI3,1),0.1),DI11*(1+LRV3/1000)),MAX(DTPRICE(REF(DI3,1),0.1),DI11*(1-LRV3/1000)),5,0),COLORRED;

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

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