DRAWTEXT_FIX(ISLASTBAR,0.98,1,2,GNBLOCK),COLORWHITE;
{DRAWTEXT_FIX(1,0.30,0.55,0,STRCAT(‘主买净额(W):= ‘,CON2STR(ZJBY.净流入#DAY,2))),COLORFF00FF;
DRAWTEXT_FIX(C>1,0.3,0.8,0,’观察:主力净额、占比 ‘),COLOR0000FF;
DRAWTEXT_FIX(1,0.70,0.55,0,STRCAT(‘超大单(W):= ‘,CON2STR(ZJBY.超大单#DAY,2))),COLORRED;
DRAWTEXT_FIX(1,0.70,0.7,0,STRCAT(‘大单(W):= ‘,CON2STR(ZJBY.大单#DAY,2))),COLORGREEN;
DRAWTEXT_FIX(1,0.70,0.85,0,STRCAT(‘中单(W):= ‘,CON2STR(ZJBY.中单#DAY,2))),COLORYELLOW;
DRAWTEXT_FIX(1,0.70,1,0,STRCAT(‘小单(W):= ‘,CON2STR(ZJBY.小单#DAY,2))),COLORCYAN;}
超大单:=”ZJBY.超大单#DAY”;
大单:=”ZJBY.大单#DAY”;
中单:=”ZJBY.中单#DAY”;
小单:=”ZJBY.小单#DAY”;
主买净额:=”ZJBY.净流入#DAY”;
ZDZ:=MAX(MAX(ABS(超大单),ABS(大单)),MAX(ABS(中单),ABS(小单)));
M1:=超大单/ZDZ*300;
M2:=大单/ZDZ*300;
M3:=中单/ZDZ*300;
M4:=小单/ZDZ*300;
DRAWRECTREL(850,500-M1,870,500,RGB(255,0,0));
DRAWRECTREL(875,500-M2,895,500,RGB(0,255,0));
DRAWRECTREL(900,500-M3,920,500,RGB(255,255,0));
DRAWRECTREL(925,500-M4,945,500,RGB(0,255,255));
现价:=C,COLORWHITE,LINETHICK2;
均价11:=SUM(C*V,240)/SUM(V,240),COLORRED,LINETHICK2;
TT:=BARSCOUNT(C);
前高:=REF(HHV(H,TT),1);
突破:=CROSS(C,REF(HHV(H,TT),1)) AND C/均价11<1.09 AND TT>1 AND TT<240;
主力扫盘:=COUNT(突破,13)>=3 AND CROSS(C,REF(HHV(H,TT),1));
已主力扫盘:=BARSLAST(主力扫盘)<13;
HJ_2:=DYNAINFO(4)>0 AND HHV(HIGH,2)/LLV(LOW,2)<1.25 AND REF(CLOSE,1)<LLV(LOW,3)+(HHV(HIGH,3)-LLV(LOW,3))*0.85;
HJ_9:=EMA(CLOSE,2);
HJ_10:=EMA(CLOSE,3);
HJ_11:=MAX(HJ_9,HJ_10);
X2:=CLOSE>HJ_11 AND HJ_2 AND (CLOSE>REF(HHV(HIGH,2),1) AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.015) AND (V/CAPITAL<=0.2) AND C/REF(C,1)<1.07;
NX:=MA(((SLOPE(C,20)*5)+C),10);
B1:=HOUR=09 AND MINUTE=45;
B20:=LLV(L,15);
B30:=BARSLAST(B1);
B4:=REF(B20,B30);
B5:=CONST(B4),COLORFF80FF,CIRCLEDOT,LINETHICK2;
C1:=HOUR=09 AND MINUTE=45;
C2:=HHV(H,15);
C3:=BARSLAST(C1);
C4:=REF(C2,C3);
C5:=CONST(C4),COLORFF80FF,CIRCLEDOT,LINETHICK2;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD10:=(DIF-DEA)*2;
AA0:=MACD10>00 AND DIF>0 AND DEA>0;
A100:=HOUR=10 AND MINUTE=0;
A20:=HHV(H,30);
A30:=BARSLAST(A100);
A40:=REF(A20,A30);
A50:=CONST(A40);
A80:=CLOSE>A50 AND REF(C<=A50,1) AND CLOSE>NX;
AB:=FILTER(A80,100);
A90:=DYNAINFO(3);
AC:=CLOSE<=A90*1.04 AND CLOSE>A90;
量比:=V/REF(MA(V,5),1);
XG:=AA0 AND AB AND AC AND A40>A90 AND 量比>=1;
HJ_4:=CLOSE;
HJ_5:=(CLOSE-REF(CLOSE,5))/REF(CLOSE,5);
BAB1:=STICKLINE(HJ_5>0,DYNAINFO(3),DYNAINFO(3)*(1+HJ_5),0.1,0);
BAB2:=STICKLINE(HJ_5<0,DYNAINFO(3),DYNAINFO(3)*(1+HJ_5),0.1,0);
HJ_6:=CLOSE/DYNAINFO(3);
HJ_7:=FILTER(HJ_5>0.015 AND HJ_5>REF(HJ_5,1)*2 AND VOL>REF(VOL,1)*2 AND CLOSE>REF(CLOSE,1) OR HJ_5>0.025,240);
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
阻力:=L1+P1*8/9,COLORLIRED,DOTLINE;
支撑:=L1+P1*0.5/9,COLORGREEN,DOTLINE;
WA1:=V*C/100;
WA2:=SUM((IF(((WA1/8>20) AND (CLOSE>(REF(CLOSE,1)))),WA1,0)),0);
WA3:=SUM((IF(((WA1/8>20) AND (CLOSE<(REF(CLOSE,1)))),WA1,0)),0);
WA4:=SUM((IF(((WA1/8<20) AND (CLOSE>(REF(CLOSE,1)))),WA1,0)),0);
WA5:=SUM((IF(((WA1/8<20) AND (CLOSE<(REF(CLOSE,1)))),WA1,0)),0);
机构买盘:=(WA2);
机构卖盘:=(WA3);
散户买盘:=(WA4);
散户卖盘:=(WA5);
BU:=BARSLAST(CLOSE=HHV(CLOSE,60));
SE:=BARSLAST(CLOSE=LLV(CLOSE,60));
KK1:=SE;
KK2:=BU;
LM1:=SE;
LM2:=BU;
OK:=KK1>KK2 AND LM1>LM2;
OK1:=KK1>KK2 AND LM1<LM2;
NOK:=KK2>KK1 AND LM2>LM1;
NOK1:=KK2>KK1 AND LM2<LM1;
主力净额:=(L2_AMO(0,0)+L2_AMO(1,0)-L2_AMO(0,1)-L2_AMO(1,1))/10000.0;
成交额:=AMOUNT/10000;
主力占比:=主力净额*100/成交额;
AK1:=IF(INBLOCK(‘创业板’),1,0);
{创业板}
AK2:=IF(NAMELIKE(‘S’),0,1);
AK3:=IF(NAMELIKE(‘*’),0,1);
流通市值:=FINANCE(40)/100000000;
AK4:=流通市值<=150 AND FINANCE(42)>30 AND C<=65;
{流通市值小于150亿,上市天数大于30天,股价低于65元}
创业板:=AK1{ AND AK2 AND AK3} AND AK4;
S1:=IF(CODELIKE(‘688’),0,1);{非科创板}
S2:=IF(NAMELIKE(‘S’),0,1);
S3:=IF(NAMELIKE(‘*’),0,1);{非ST}
S4:=IF(INBLOCK(‘创业板’),0,1);{非创业板}
S5:=流通市值<=150 AND FINANCE(42)>30 AND C<=65;
{流通市值小于150亿,上市天数大于30天,股价低于65元}
主板:=S1 AND S2 AND S3 AND S4 AND S5 AND IF(CODELIKE(‘8’),0,1) AND IF(CODELIKE(‘4′),0,1);
{包含流通市值小于80亿的全部主板票};
预警范围:=主板 OR 创业板;
DRAWICON(FILTER(CROSS(KK1,KK2),60) AND (C/DYNAINFO(3)-1)*100>0{ AND 主买净额>0 AND 超大单>0 AND 超大单>大单 AND 超大单>中单 AND 超大单>小单 AND 预警范围},OPEN*1,18);
DRAWTEXT(FILTER(CROSS(KK1,KK2),60) AND (C/DYNAINFO(3)-1)*100>0{ AND 主买净额>0 AND 超大单>0 AND 超大单>大单 AND 超大单>中单 AND 超大单>小单 AND 预警范围},OPEN*0.985,’盯盘’),COLORFFFF00;
TT1:=BARSCOUNT(C);
均价黄:=SUM(C*V,TT1)/SUM(V,TT1);
量两步:=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<=9 AND (C/DYNAINFO(3)-1)*100>0;{涨幅控制9个点以内}
每日一点:=量两步 AND 价两步 AND 价上岗量破5 AND 量起爆 AND 价创新高 AND 量创新高 AND 对昨日涨幅 AND 主买净额>1500
{AND 超大单>1000 AND 超大单>大单 AND 超大单>中单 AND 超大单>小单 AND 预警范围};
VV:=BARSSINCE(每日一点)+1;
首次起爆价:=REF(C,VV-1),NODRAW;
起涨收益:(DYNAINFO(7)-首次起爆价)/首次起爆价*100,NODRAW;
流通盘:=CAPITAL*100/100000000,NODRAW;
起爆时间:=REF(TIME/10000,VV),NODRAW;
已爆分钟:=VV-1,NODRAW;
DRAWICON(每日一点,C,30);
DRAWTEXT(每日一点,L-0.01,’←起涨’),COLOR0000FF;
{DRAWNUMBER_FIX(ISLASTBAR AND C>1,0.8,0.5,0,起涨收益),COLORFF00FF;
DRAWTEXT_FIX(ISLASTBAR AND C>1,0.8,0.45,0,’起涨收益’),COLOR0000FF;
DRAWTEXT_FIX(ISLASTBAR AND C>1,0.85,0.5,0,’ %’),COLOR0000FF;}
ACX:=FILTER(CROSS(KK1,KK2),60);
ACX1:=BARSSINCE(ACX)+1;
首次抓板价:=REF(C,ACX1-1),NODRAW;
盯盘收益:(DYNAINFO(7)-首次抓板价)/首次抓板价*100,NODRAW;
{DRAWNUMBER_FIX(ISLASTBAR AND C>1,0.8,0.35,0,盯盘收益),COLORFF00FF;
DRAWTEXT_FIX(ISLASTBAR AND C>1,0.8,0.3,0,’盯盘收益’),COLORFFFF00;
DRAWTEXT_FIX(ISLASTBAR AND C>1,0.85,0.35,0,’ %’),COLOR0000FF;};
AAA01:=STRCAT(‘流通市值:’,CON2STR(FINANCE(7)*DYNAINFO(7)/100000000,2));
AAA02:=STRCAT(‘(亿) 利润同比:’,CON2STR(FINANCE(43),2));
AAA03:=STRCAT(‘% 量比:’,CON2STR(DYNAINFO(17),2));
BBB:=STRCAT(STRCAT(AAA01,AAA02),STRCAT(AAA03,’ ‘));
DRAWTEXT_FIX(1,0,0.70,0,BBB),COLORMAGENTA;
1、 本站所有指标公式源码资源均是从网络采集和会员提供所得,仅供用来学习研究,请于下载后的24h内自行删除,正式商用请购买正版。如若本站内容侵犯了原著者的合法权益,请携带相关版权文件联系我们进行下架或删除。
2、文章内文字内容均为本站原创发布,任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。原文链接:https://www.zhibiao123.cn/6791.html,转载请注明出处。