您的位置:查股网 > 查股公式 > 通达信分时组合副图[查股公式]
股票行情消息查询:

通达信分时组合副图[查股公式]

2022/6/1 19:23:56

通达信分时组合副图

DRAWTEXT_FIX(1,0.00,0,0,' 黄箭头闪电买入。红箭头突破攻击,篮球主力流入,绿钻主力进场散户出场,分时突破量攻击,冷静思考放第一。')COLOR00FF00;
 {以上注解只适应二日分时用,请注意}
NN:=2400;
 HD:=HHV(V,NN);
 LD:=LLV(V,NN);
最高:=CONST(HD),NODRAW;
最低:=CONST(LD),NODRAW;
 HLMAX:=最高;
HLMIN:=最低;
HLMN1:=(HLMAX+HLMIN)/2;
 HLMN2:=HLMAX-HLMIN;
 HLMN3:=(100-0)/2*1.3;
 HLMN4:=(100-0)/1*1.3;
中间价轴:=(50-HLMN3)*HLMN2/HLMN4+HLMN1;
轴差:=最高-最低;
拉升量:=IF(C>REF(C,1),VOL,0);
打压量:=IF(C<REF(C,1),VOL,0);
昨拉升最高值:CONST(FINDHIGH(拉升量,FROMOPEN,240,1)),LINETHICK1,COLORMAGENTA;
昨打压最高值:=CONST(FINDHIGH(打压量,FROMOPEN,240,1)),LINETHICK1,COLORCYAN,NODRAW;
今拉升最高值:=CONST(REF(HHV(拉升量,FROMOPEN),0)),COLORRED;
今打压最高值:CONST(REF(HHV(打压量,FROMOPEN),0)),COLORCYAN,NODRAW;
攻击力度:今拉升最高值/昨拉升最高值,NODRAW;
量能均线:=SUM(V,FROMOPEN)/FROMOPEN;
量:=VOL,VOLSTICK;
五日量:=MA(量,5),COLORWHITE;
 TT:=BARSCOUNT(C);{取得有效收盘价}
均价黄:=SUM(C*V,TT)/SUM(V,TT);{分时均线的取值}
量两步:=MA(V,5)>REF(MA(V,5),1) AND REF(MA(V,5),1)>REF(MA(V,5),2);
价两步:= C>=REF(C,1) AND REF(C,1)>REF(C,2);
价上岗量破5:=C>均价黄 AND V>MA(V,5);
量起爆:=V>=REF(V,1)*1;
价创新高:=C>=HHV(C,0);
量创新高:=V>=HHV(V,0);
对昨日涨幅:=(C/DYNAINFO(3)-1)*100<=2.50;{涨幅控制2个点以内}
每日一点:=量两步 AND 价两步 AND 价上岗量破5 AND 量起爆 AND 价创新高 AND 量创新高 AND 对昨日涨幅;
 {计算收益、已爆分钟}
VV:=BARSSINCE(每日一点)+1;
首次起爆价:=REF(C,VV-1),NODRAW;
起爆收益:(DYNAINFO(7)-首次起爆价)/首次起爆价*100,NODRAW;
 {DRAWNUMBER(VV>=1,V*0.8,今天收益);}
流通盘:=CAPITAL*100/100000000,NODRAW;
起爆时间:=REF(TIME/10000,VV),NODRAW;
已爆分钟:=VV-1,NODRAW;
 {画出底线和红球}
首次起爆量:=REF(VOL,VV-1),COLORWHITE;
 DRAWICON(已爆分钟>=2,首次起爆量,14);{出现红球,至少已经确认2分钟了};
STICKLINE(C>0,0,V,0,0),COLOR00FFFF;
 STICKLINE(C<REF(C,1) AND V>=昨拉升最高值,0,V,0,0),COLOR00FF00;
 STICKLINE(C=REF(C,1),0,V,0,0),COLORFFFFFF;
 STICKLINE(C>REF(C,1) AND V>=今打压最高值,0,V,0,0),COLORRED;
 STICKLINE(C<REF(C,1) AND V>=今拉升最高值,0,V,0,0),COLORGREEN;
 STICKLINE(C>REF(C,1) AND (V>昨拉升最高值 OR V>昨打压最高值),0,V,0,0),COLOR0000FF;
 STICKLINE(C>REF(C,1) AND V>=2*昨拉升最高值 AND V<5*昨拉升最高值,昨拉升最高值,V,0,0),COLORFF00FF;
 STICKLINE(C>REF(C,1) AND V>=5*昨拉升最高值,0,V,0,0),COLORMAGENTA;
 STICKLINE(每日一点,最低+轴差*0.8,0,1,0),COLORMAGENTA;
 DRAWICON(每日一点,V,1),COLORRED;
 DRAWTEXT(每日一点,最低+轴差*0.8,'∠起爆'),COLORMAGENTA;
 TA:=BARSLAST(TIME=100000);
 TC:=REF(HHV(C,0),TA+1);
 TV:=REF(HHV(V,0),TA+1);
 ZF:=TC/DYNAINFO(3)<1.05;
 XG1:=CROSS(C,TC) AND V>TV AND ZF,COLORWHITE;
 TA1:=BARSLAST(TIME=110000);
 CC1:=REF(HHV(C,0),TA1+1);
 VV1:=REF(HHV(V,0),TA1+1);
 ZF1:=CC1/DYNAINFO(3)<1.05;
 XG2:=CROSS(C,CC1) AND V>VV1 AND ZF1,COLORYELLOW;
突破:=XG1 OR XG2,COLORRED;
 VT:=BARSSINCE(突破)+1;
首次突破价:=REF(C,VT-1),NODRAW;
突破收益:(DYNAINFO(7)-首次突破价)/首次突破价*100,NODRAW;
 STICKLINE(突破,V,0,1,0),COLORRED;
 DRAWICON(突破=1,V,17);
 DRAWTEXT(突破=1,最低+轴差*0.65,'☆突破'),COLORRED;
 DRAWICON(FILTER(CROSS(拉升量,昨拉升最高值),30),V,1);
 DRAWTEXT(FILTER(CROSS(拉升量,昨拉升最高值),30),最低+轴差*0.50,'★攻击'),COLORYELLOW;
 DRAWICON(FILTER(CROSS(拉升量,今打压最高值),30),V,1);
 DRAWTEXT(FILTER(CROSS(拉升量,今打压最高值),30),最低+轴差*0.35,'★攻击'),COLORMAGENTA;
成交额:=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,COLORFFFF55;
机构进出:=机构买-机构卖,NODRAW;
散户买:(A4),COLOR5555FF;{细红线}
散户卖:(A5),COLOR55FF55;{细绿线}
强势:=((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),COLORFF00FF;
 DRAWTEXT(ISLASTBAR=1,机构买*0.95,'●机构买'),LINETHICK2,COLORRED;
 DRAWTEXT(ISLASTBAR=1,机构卖*0.95,'○机构卖'),LINETHICK2,COLORFFFF55;
 DRAWTEXT(机构进出>0 AND REF(机构进出,1)<=0,机构买*1.02,'●机买'),COLORRED;
 DRAWTEXT(机构进出<0 AND REF(机构进出,1)>=0,机构买*0.98,'○机卖'),COLORFFFF55;
 DD1:=1;
 AAA1:=STRCAT(STRCAT('机构买',CON2STR((100*A2)/A6,0)),'%%');
 AAA2:=STRCAT(STRCAT('机构卖',CON2STR((100*A3)/A6,0)),'%%');
 AAA3:=STRCAT(STRCAT('散户买',CON2STR((100*A4)/A6,0)),'%%');
 AAA4:=STRCAT(STRCAT('散户卖',CON2STR((100*A5)/A6,0)),'%%');
 DRAWTEXT_FIX(DD1=1,0,0.02,0,AAA1),COLORRED;
 DRAWTEXT_FIX(DD1=1,0,0.13,0,AAA2),COLORFFFF55;
 DRAWTEXT_FIX(DD1=1,0,0.24,0,AAA3),COLOR5555FF;
 DRAWTEXT_FIX(DD1=1,0,0.35,0,AAA4),COLOR55FF55;
买卖差额:(机构买-机构卖),LINETHICK2,COLORWHITE;
抄底:IF(CROSS(A2,A3),10,0),LINETHICK3,COLORMAGENTA;
 DRAWICON(CROSS(买卖差额,抄底),7000,34);


 XG:(机构买/机构卖>1.2 AND 散户买/散户卖<0.6)*6000,LINETHICK2;
 DRAWICON(XG=6000,6000,27);


相关文章列表
天天查股公式列表

股票公式分类

天天查股:股票行情消息 实时DDX在线 资金流向 千股千评 业绩报告 十大股东 最新消息 超赢数据 大小非解禁 停牌复牌 股票分红查询 股票评级报告
广告客服:315126368   843010021
天天查股网免费查股,本站内容与数据仅供参考,不构成投资建议,据此操作,风险自担,股市有风险,投资需谨慎。 沪ICP备15043930号-29