在线检测未来函数

通达信分时控盘主图指标公式

来源:Internet,编辑:股旁网,2024-10-14

ABcr:=SUM(IF(C>REF(C,1),V,0),FROMOPEN),STICK,COLORRED;
ABCC:=-SUM(IF(C< REF(C,1),V,0),FROMOPEN),STICK,COLOR00FF00;
ZJCR:=ABCR+ABCC,COLORSTICK;
ABCL:=ZJCR,COLORFFFFFF,LINETHICK1;
ZJBBB:=ZJCR/SUM(V,FROMOPEN)*100,COLOR00FFFF,LINETHICK1;
ABCL比:=IF(ZJBBB>=0,(ZJBBB+100)/2,100-Abs((ZJBBB-100)/2));
ZQLLBB:=IF(ABCL比>50,ABCL比,50);
HSL1:=vol/CAPITAL*100;
AABB:=((HSL1*0.50+(REF(HSL1,1)*0.33))+(REF(HSL1,2)*0.17))*SUM(C,FROMOPEN)/FROMOPEN;
AABBA:=SUM(IF(C>REF(C,1),AABB*V,0),FROMOPEN);
AABBB:=-SUM(IF(C< REF(C,1),AABB*V,0),FROMOPEN);
攻击流量:=AABBA+AABBB,COLORSTICK;
攻击比:=攻击流量/SUM(V,FROMOPEN)*100;
资金攻击度:=IF(攻击比>0,(攻击比+50),100-ABS((攻击比-50)));
攻击度BBQ:=IF(资金攻击度>100,100,IF(资金攻击度< 0,0,资金攻击度));
增强攻击度:=IF(资金攻击度>50,资金攻击度,50);
开始攻击:=CROSS(攻击流量,0) AND (C>REF(C,2) OR (ABCL>0 AND ABCL>攻击流量));
KSAABB:=CROSS(攻击流量,0) AND C>REF(C,2) AND V>LLV(V,3)*3;
Q:=250;
高点:=HHV(C,Q);
低点:=LLV(C,Q);
ZGGBB:=CONST(高点),NODRAW;
ZDDBB:=CONST(低点),NODRAW;
ZCBBB:=ZGGBB-ZDDBB;
ZJZ:=(ZGGBB+ZDDBB)/2;
HL3:=(100-0)/2*1.3;
HL4:=(100-0)/1*1.3;
ZJJZ:=(50-HL3)*ZCBBB/HL4+ZJZ;
指标营地:=(ZJZ+ZJJZ)/2;
BGTYU:=IF(DATE<=1150530,1,1);
GHYJKU:=BETWEEN((CLOSE*BGTYU)/(SUM(AMOUNT,BARSCOUNT((CLOSE*BGTYU)))/SUM(VOL*100,BARSCOUNT((CLOSE*BGTYU)))),1.05,0.95);
VBNH:=IF(GHYJKU=0,MA((CLOSE*BGTYU),BARSCOUNT((CLOSE*BGTYU))),(SUM(AMOUNT,BARSCOUNT((CLOSE*BGTYU)))/SUM(VOL*100,BARSCOUNT((CLOSE*BGTYU)))));
ABCQD:=expma((CLOSE/VBNH),20)*1,COLORYELLOW,POINTDOT;
ABCZL:=EXPMA((CLOSE/VBNH),60)*1,COLORMAGENTA,LINETHICK2;
ABCSH:=EXPMA((CLOSE/VBNH),120)*1,COLORGREEN,LINETHICK2;
BBQABCQD:=ABCQD*ZJJZ;
BBQABCZL:=ABCZL*ZJJZ;
BBQABCSH:=ABCSH*ZJJZ;
ZHUSMIN:=MIN(BBQABCZL,BBQABCSH);
A66:=HHVBARS(CLOSE,60);
主力:=BBQABCZL;
FSJJX:SUM(C*V,240)/SUM(V,240),COLORYELLOW,LINETHICK2;
ZTZJB:=BBQABCSH>FSJJX AND CROSS(C,BBQABCSH);
TUPOFS:=FILTER(((CROSS(CLOSE,((REF(REF(CLOSE,A66),1))*1.001)))AND(REF((A66>= 5),1))),10);
LSLLL:=IF(C>REF(C,1),VOL,0);
ZLSDDD:=CONST(FINDHIGH(LSLLL,FROMOPEN,240,1)),LINETHICK1,COLORMAGENTA;
JLSDDB:=CONST(REF(HHV(LSLLL,FROMOPEN),0)),COLORYELLOW,NODRAW;
STICKLINE(TUPOFS,(CLOSE*0.99),CLOSE,5,0),COLORBLUE;
攻击力度:=JLSDDB/ZLSDDD,NODRAW;
TT:=BARSCOUNT(C);
JJHB:=SUM(C*V,TT)/SUM(V,TT);
LBBB:=MA(V,5)>REF(MA(V,5),1) AND REF(MA(V,5),1)>REF(MA(V,5),2);
JLBB:= C>=REF(C,1) AND REF(C,1)>REF(C,2);
LPSGJ:=C>JJHB AND V>MA(V,5);
BBQBL:=V>=REF(V,1)*1 ;
CXGGJ:=C>=HHV(C,0);
LCXGB:=V>=HHV(V,0);
ZRZFB:=(C/DYNAINFO(3)-1)*100<=2.50;
BBLAL:=LBBB AND JLBB AND LPSGJ AND BBQBL AND CXGGJ AND LCXGB AND ZRZFB;
VV:=BARSSINCE(BBLAL)+1;
DYTQB:=REF(C,VV-1),NODRAW;
STICKLINE(FILTER(CROSS(LSLLL,ZLSDDD),30),ZDDBB+ZCBBB*0.83,ZDDBB,1,0),COLORCYAN;
DRAWICON(FILTER(CROSS(LSLLL,ZLSDDD),30),ZDDBB+ZCBBB*0.83,27);
DRAWTEXT(FILTER(CROSS(LSLLL,ZLSDDD),30),ZDDBB+ZCBBB*0.83,'∠量突破'),COLORCYAN;
STICKLINE(FILTER(BBLAL,30),ZDDBB+ZCBBB*0.75,ZDDBB,1,0),COLORGREEN;
DRAWICON(FILTER(BBLAL,30),ZDDBB+ZCBBB*0.75,13);
DRAWTEXT(FILTER(BBLAL,30),ZDDBB+ZCBBB*0.75,'∠起爆'),COLORGREEN;
DRAWNUMBER(FILTER(BBLAL,30),ZDDBB+(C-ZDDBB)/2,DYTQB),COLORWHITE;
TA:=BARSLAST(TIME=100000);
TC:=REF(HHV(C,0),TA+1);
TV:=REF(HHV(V,0),TA+1);
ZF:=C/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;
突破1:=XG1 OR XG2,COLORRED;
均价线:=SUM(C*V,240)/SUM(V,240),COLORYELLOW;
分时线:=CLOSE;
总买单:=SUM(IF(C>REF(C,1),V/1000,0),0),COLORRED;
总卖单:=SUM(IF(C< REF(C,1),V/1000,0),0);
MAILRL:REF("VOL.MAVOL1"/100,1),NODRAW,COLORFFFFFF;
PUSHRL:MAILRL*2,NODRAW,COLORFFFFFF;
FENGZTL:MAILRL*5,NODRAW,COLORFFFFFF;
DYNAINFO(3)*1.071,LINETHICK2,COLORRED;
DYNAINFO(3)*1.043,LINETHICK2,COLORYELLOW;
BBAQX:DYNAINFO(3)*1.014,LINETHICK2,COLORAAB220;
A14:=V>MAILRL AND V< PUSHRL AND C>DYNAINFO(3)*1.014 AND C< DYNAINFO(3)*1.043 AND 总买单>总卖单;
DRAWICON(A14,C,7);
A_15:=V>PUSHRL AND V< FENGZTL AND C>DYNAINFO(3)*1.043 AND C< DYNAINFO(3)*1.071 AND 总买单>总卖单;
DRAWICON(A_15,C,1);
A_16:=V>FENGZTL AND 总买单>总卖单 AND C>DYNAINFO(3)*1.043;
涨:=BARSLASTCOUNT(A_16)=1;
DRAWICON(涨,C,11);
XX:=SUM(AMOUNT,BARSCOUNT(CLOSE))/SUM(V*100,BARSCOUNT(CLOSE));
黄线1:=EXPMA(CLOSE/XX,20);
粉线:=EXPMA(CLOSE/XX,60);
绿线:=EXPMA(CLOSE/XX,120);
AA:=黄线1>粉线 AND 黄线1>1.003 AND 粉线>绿线 AND C>EXPMA(C,20) AND EXPMA(C,10)> EXPMA(C,20) AND EXPMA(C,20)>EXPMA(C,60);
XGG:DRAWICON(黄线1>粉线 AND 粉线>绿线 AND C>EXPMA(C,20) AND EXPMA(C,10)>EXPMA(C,20) AND EXPMA(C,20) >EXPMA(C,60) AND 黄线1=HHV(黄线1,30) AND CROSS(黄线1,1.003),BBAQX,9);
DRAWICON(XGG,BBAQX*0.99,9);
DRAWICON(XGG,BBAQX*0.98,9);
XGGS:DRAWTEXT(XGG,BBAQX*0.98,' 放量'),COLORMAGENTA;
ABC1:=IF(DATE>90501,10000,1);
ABC2:=(3*CLOSE+HIGH+LOW+OPEN)/6;
ABC3:=EMA(ABC2,13);
ABC4:=ATAN(ABC3-REF(ABC3,1))*180/3.1416;
ABC5:=(3*CLOSE+LOW+OPEN+HIGH)/6;
ABC6:=(20*ABC5+19*REF(ABC5,1)+18*REF(ABC5,2)+17*REF(ABC5,3)+16*REF(ABC5,4)+15*REF(ABC5,5)+14*REF(ABC5,6)+13*REF(ABC5,7)+12*REF(ABC5,8)+11*REF(ABC5,9)+10*REF(ABC5,10)+9*REF(ABC5,11)+8*REF(ABC5,12)+7*REF(ABC5,13)+6*REF(ABC5,14)+5*REF(ABC5,15)+4*REF(ABC5,16)+3*REF(ABC5,17)+2*REF(ABC5,18)+REF(ABC5,21))/210;
ABC7:=EMA(ABC6,15);
ABC8:=HHV(CLOSE,90);
ABC9:=LLV(CLOSE,90);
ABC10:=ABC8-ABC9;
ABC11:=EMA((CLOSE-ABC9)/ABC10-0.5,14);
强势:=ABC11*20;
ABC12:=REF(HHV(CLOSE,66),2);
ABC13:=CROSS(CLOSE,ABC12) AND (HHV(CLOSE,110)/LLV(CLOSE,110)-1)*100< 45 AND 强势< 5.666;
ABC14:=LLV(强势,35)< (-8.9) AND CROSS(强势,(-7.815)) AND 强势< (-1.2);
ABC15:=10*FILTER(ABC14,41);
价:=C,COLORWHITE;
ZZ:=SUM(AMOUNT,TT)/SUM(VOL*100,TT);
ZZ1:=BETWEEN(C/ZZ,1.05,0.95);
均线:=IF(ZZ1=0,MA(C,TT),ZZ),COLORYELLOW;
突破:=C>=REF(HHV(H,TT),1) AND HHVBARS(VOL,TT)=0 AND C/均线< 1.09 AND TT>13 AND TT< 240;
ABCSP:=COUNT(突破,13)>=3 AND C>=REF(HHV(H,TT),1) AND HHVBARS(VOL,TT)=0;
N:=7.5;
MMA30:=EMA(CLOSE,30);
QRJDB:=IF(PERIOD=0,EMA(CLOSE,900),DRAWNULL),COLORWHITE,LINETHICK2;
FSJLXB:=SUM(C*V,240)/SUM(V,240),COLORYELLOW,LINETHICK1;
实时涨幅BBQ:=(C/DYNAINFO(3)-1)*100;
成交额:=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;
DD1:=1;
ACB1:=STRCAT(STRCAT('机构买',CON2STR((100*A2)/A6,0)),'%');
ACB2:=STRCAT(STRCAT('机构卖',CON2STR((100*A3)/A6,0)),'%');
ACB3:=STRCAT(STRCAT('散户买',CON2STR((100*A4)/A6,0)),'%');
ACB4:=STRCAT(STRCAT('散户卖',CON2STR((100*A5)/A6,0)),'%');
DRAWTEXT_FIX(DD1=1,0.4,1-0.9,0,ACB1),COLORRED;
DRAWTEXT_FIX(DD1=1,0.4,1-0.8,0,ACB2),COLORFFFF55;
DRAWTEXT_FIX(DD1=1,0.4,1-0.7,0,ACB3),COLOR5555FF;
DRAWTEXT_FIX(DD1=1,0.4,1-0.6,0,ACB4),COLOR55FF55;

通达信分时控盘主图指标公式

相关文章