N:=21;
N1:=10;
Q:=10;
TTJ:=BARSLAST((VOL=HHV(VOL,N)));
K0:=TTJ=0;
K111:=SUMBARS(K0,1);
K2:=SUMBARS(K0,2);
K3:=SUMBARS(K0,3);
K4:=SUMBARS(K0,4);
K5:=SUMBARS(K0,5);
K6:=SUMBARS(K0,6);
K7:=SUMBARS(K0,7);
K8:=SUMBARS(K0,8);
K9:=SUMBARS(K0,9);
K10:=SUMBARS(K0,10);
A111:(K111=REF(L,3);
三日量缩:=(MAX(MAX(V,REF(V,1)),REF(V,2))=REF(C,1);
三日价涨C:=MIN(MIN(C,REF(C,1)),REF(C,2))>=REF(L,3);
TIM:=IF(DATE1.9*REF(VOL,4))*TIM;
四日前高量柱:=(REF(VOL,3)>=REF(VOL,4) AND REF(VOL,3)O;
EXPMA5:=EXPMA(C,5);
EXPMA13:=EXPMA(C,13);
AB1:=REF(C,10)=HHV(C,2*10+1); BB1:=FILTER(AB1,10); CB1:=BACKSET(BB1,10+1); HBD:=FILTER(CB1,10);
近期压力:REF(C,BARSLAST(HBD)) NODRAW,COLORYELLOW;
STICKLINE(C,近期压力,近期压力,10,0),COLORYELLOW ;DRAWTEXT(ISLASTBAR,近期压力,’ 近期压力’);
AS1:=REF(C,60)=HHV(C,2*60+1); AS2:=FILTER(AS1,60); AS3:=BACKSET(AS2,60+1); AS4:=FILTER(AS3,60);
长期压力:REF(C,BARSLAST(AS4)) NODRAW COLORBLUE;
STICKLINE(C,长期压力,长期压力,10,0),COLORBLUE;DRAWTEXT(ISLASTBAR,长期压力,’ 长期压力’);
跌幅:=(C-REF(C,1))/REF(C,1)*100REF(C,1) AND C>REF(C,2));R2:=(REF(R1,1) AND C=REF(C,2));R3:=(REF(R2,1) AND C>=REF(C,1) AND C=REF(C,1) AND C=REF(C,1) AND C=REF(C,1) AND C=REF(C,1) AND C0,9) OR BACKSET(TJ13>0,NT))*NT;
DRAWTEXT(AY>0,H*1.02,VAR2STR(AY,0)),COLORFF00FF;
DRAWTEXT(NT=9,H*1.02,’9′),COLORGREEN;
B1:=C0,9) OR BACKSET(TJ23>0,NT0))*NT0;
DRAWTEXT(AY1>0,L*0.98,VAR2STR(AY1,0)),COLORFF00FF;
DRAWTEXT(NT0=9,L*0.98,’9′),COLORGREEN;
JJ:=(CLOSE+HIGH+LOW)/3;
A:=EMA(JJ,5);
B:=REF(A,1);
持股:STICKLINE(A>B,A,B,4,0),COLOR00FFFF;
总额:=AMOUNT;
买:=IF(O=C AND (C-REF(C,1))/REF(C,1)*100>9.8,AMOUNT,AMOUNT/((H-L)*2-ABS(O-C))*(C-L));
买%:=买/AMOUNT*100;
流入:=AMOUNT*买%/10000000000;
流出:=AMOUNT/100000000-流入;
净流:=(流入-流出);
总额2:=SUM(AMOUNT,2);
流入2:=SUM(流入,2);
流出2:=SUM(流出,2);
净流2:=SUM(流入-流出,2);
总额3:=SUM(AMOUNT,3);
流入3:=SUM(流入,3);
流出3:=SUM(流出,3);
净流3:=SUM(流入-流出,3);
总额4:=SUM(AMOUNT,4);
流入4:=SUM(流入,4);
流出4:=SUM(流出,4);
净流4:=SUM(流入-流出,4);
总额5:=SUM(AMOUNT,5);
流入5:=SUM(流入,5);
流出5:=SUM(流出,5);
净流5:=SUM(流入-流出,5);
总额10:=SUM(AMOUNT,10);
流入10:=SUM(流入,10);
流出10:=SUM(流出,10);
净流10:=SUM(流入-流出,10);
画:=CONST(FINDHIGH(总额10,0,190,1));
DRAWTEXT_FIX(1,0.58,0.07,0,’净流(亿):’),COLORMAGENTA,LINETHICK1;
DRAWTEXT_FIX(1,0.65,0.05,0,’1日’),COLORMAGENTA,LINETHICK1;
DRAWTEXT_FIX(1,0.71,0.05,0,’2日’),COLORMAGENTA,LINETHICK1;
DRAWTEXT_FIX(1,0.77,0.05,0,’3日’),COLORMAGENTA,LINETHICK1;
DRAWTEXT_FIX(1,0.83,0.05,0,’4日’),COLORMAGENTA,LINETHICK1;
DRAWTEXT_FIX(1,0.89,0.05,0,’5日’),COLORMAGENTA,LINETHICK1;
DRAWTEXT_FIX(1,0.95,0.05,0,’10日’),COLORMAGENTA,LINETHICK1;
DRAWNUMBER_FIX(1,0.65,0.10,0,CONST((净流))),COLORYELLOW;
DRAWNUMBER_FIX(1,0.71,0.10,0,CONST((净流2))),COLORYELLOW;
DRAWNUMBER_FIX(1,0.77,0.10,0,CONST((净流3))),COLORYELLOW;
DRAWNUMBER_FIX(1,0.83,0.10,0,CONST((净流4))),COLORYELLOW;
DRAWNUMBER_FIX(1,0.89,0.10,0,CONST((净流5))),COLORYELLOW;
DRAWNUMBER_FIX(1,0.95,0.10,0,CONST((净流10))),COLORYELLOW;
所属板块:=STRCAT(‘所属板块: ‘,STRCAT(STRCAT(STRCAT(‘ 行业 ‘,HYBLOCK),STRCAT(‘ 地域
‘,DYBLOCK)),STRCAT(‘ 概念 ‘,GNBLOCK)));
总股本:=STRCAT(STRCAT(‘ 总股本: ‘,CON2STR(TOTALCAPITAL/1000000,2)),’亿’);
流通盘:=STRCAT(STRCAT(‘ 流通盘: ‘,CON2STR(CAPITAL/1000000,2)),’亿’);
市值:=STRCAT(STRCAT(‘ 流通市值: ‘,CON2STR((CAPITAL/1000000)*C,2)),’亿’);
上市日期:=STRCAT(‘ 上市日期: ‘,CON2STR(HHV((BARSCOUNT(C)=0)*(DATE+19000000),0),0));
股本市值:=STRCAT(‘股本市值: ‘,STRCAT(STRCAT(STRCAT(总股本,流通盘),市值),上市日期));
{显示设置}
DRAWTEXT_FIX(ISLASTBAR,0.009,0.09,0,所属板块),COLORYELLOW,LINETHICK2;
DRAWTEXT_FIX(ISLASTBAR,0.009,0.0001,0,股本市值),COLORGREEN,LINETHICK2;
DRAWTEXT_FIX(C>0,0.078,0.06,0,EXTERNSTR(0,2)),COLORFF00FF,LINETHICK2;
BBI:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,COLORRED,LINETHICK2;
A0:=IF((BARSCOUNT(C)>7),100*((MA(C,7))/(LLV(MA(C,7),7))-1),1);
HSL:=VOL/CAPITAL*100;
B0:=((-((100)*(HHV(H,N)-C))/(HHV(HIGH,N)-LLV(L,N))));
停板:=CROSS(B0,-2);
ZDF:=(C/REF(C,1)-1)*100;
VAR11:=0-((100)*(HHV(HIGH,3)-CLOSE))/(HHV(HIGH,3)-LLV(LOW,3));
涨停1:=(VAR11=0) AND ((HHV(HIGH,3))/(LLV(LOW,3))>1+(15)/(100)) AND ((HHV(HIGH,3))/(LLV(LOW,3))9.9,L-0.4,L-0.4,3,0),COLORRED;
STICKLINE(涨停1 OR ZDF>9.9,L-0.6,L-0.6,3,0),COLORRED;
STICKLINE(停板 AND HSL>4,L-0.6,L-0.6,3,0),COLORRED;
【股票配资】【通达信】四种涨停板主图指标公式
特别声明:文章内容仅供参考,不造成任何投资建议。投资者据此操作,风险自担。