实时价格:=C,COLORWHITE,LINETHICK2;
均价线:=SUM(C*V,240)/SUM(V,240),COLORRED,LINETHICK2;
GHCZS1:=BARSCOUNT(C);
GHCZS2:=REF(HHV(H,GHCZS1),1);
突破:=CROSS(C,REF(HHV(H,GHCZS1),1)) AND C/均价线< 1.09 AND GHCZS1>1 AND GHCZS1< 240;
机构买:=COUNT(突破,13)>=3 AND CROSS(C,REF(HHV(H,GHCZS1),1));
GHCZS3:=MA(((SLOPE(C,20)*5)+C),10);
GHCZS4:=HOUR=09 AND MINUTE=45;
GHCZS5:=HHV(H,15);
GHCZS6:=BARSLAST(GHCZS4);
GHCZS7:=REF(GHCZS5,GHCZS6);
GHCZS8:=CONST(GHCZS7),COLORFF80FF,CIRCLEDOT,LINETHICK2;
GHCZS9:=EMA(CLOSE,12)-EMA(CLOSE,26);
GHCZS10:=EMA(GHCZS9,9);
GHCZS11:=(GHCZS9-GHCZS10)*2;
GHCZS12:=GHCZS11>00 AND GHCZS9>0 AND GHCZS10>0;
GHCZS13:=HOUR=10 AND MINUTE=0;
GHCZS14:=HHV(H,30);
GHCZS15:=BARSLAST(GHCZS13);
GHCZS16:=REF(GHCZS14,GHCZS15);
GHCZS17:=CONST(GHCZS16);
GHCZS18:=CLOSE>GHCZS17 AND REF(C<=GHCZS17,1) AND CLOSE>GHCZS3;
GHCZS19:=FILTER(GHCZS18,100);
GHCZS20:=DYNAINFO(3);
GHCZS21:=CLOSE<=GHCZS20*1.04 AND CLOSE>GHCZS20;
量化指标:=V/REF(MA(V,5),1);
GHCZS22:=GHCZS12 AND GHCZS19 AND GHCZS21 AND GHCZS16>GHCZS20 AND 量化指标>=1;{微信公众号:股海操作手}
GSCHW1:=MAX(DYNAINFO(3),DYNAINFO(5));
GSCHW2:=MIN(DYNAINFO(3),DYNAINFO(6));
GSCHW3:=GSCHW1-GSCHW2;
压力位:=GSCHW2+GSCHW3*8/9,COLORLIRED,DOTLINE;
主力线:=GSCHW2+GSCHW3*0.5/9,COLORGREEN,DOTLINE;
DRAWTEXT(FILTER(CROSS(C,主力线),240),L-0.01,'吸筹'),COLOR0000FF;
DRAWTEXT(FILTER(CROSS(C,压力位),240),H-0.01,'压'),COLOR0000FF;
GSCHW4:=V*C/100;
GSCHW5:=SUM((IF(((GSCHW4/8>20) AND (CLOSE>(REF(CLOSE,1)))),GSCHW4,0)),0);
GSCHW6:=SUM((IF(((GSCHW4/8>20) AND (CLOSE< (REF(CLOSE,1)))),GSCHW4,0)),0);
GSCHW7:=SUM((IF(((GSCHW4/8< 20) AND (CLOSE>(REF(CLOSE,1)))),GSCHW4,0)),0);
GSCHW8:=SUM((IF(((GSCHW4/8< 20) AND (CLOSE< (REF(CLOSE,1)))),GSCHW4,0)),0);
GSCHW9:=BARSLAST(CLOSE=HHV(CLOSE,60));
GSCHW10:=BARSLAST(CLOSE=LLV(CLOSE,60));
GSCHW11:=GSCHW10>GSCHW9 AND GSCHW10>GSCHW9;
GSCHW12:=GSCHW10>GSCHW9 AND GSCHW10< GSCHW9;
GSCHW13:=GSCHW9>GSCHW10 AND GSCHW9>GSCHW10;
GSCHW14:=GSCHW9>GSCHW10 AND GSCHW9< GSCHW10;
DRAWICON(FILTER(CROSS(GSCHW10,GSCHW9),240),OPEN*1,5);
DRAWTEXT(FILTER(CROSS(GSCHW10,GSCHW9),240) ,OPEN*1,' ←抓板'),COLORFFFF00;{微信公众号:股海操作手}
CZS1:=BARSCOUNT(C);
CZS2:=SUM(C*V,CZS1)/SUM(V,CZS1);
CZS3:=MA(V,5)>REF(MA(V,5),1) AND REF(MA(V,5),1)>REF(MA(V,5),2);
CZS4:= C>=REF(C,1) AND REF(C,1)>REF(C,2);
量价突破:=C>CZS2 AND V>MA(V,5);
量突破:=V>=REF(V,1)*1;
价突破:=C>=HHV(C,0);
CZS5:=V>=HHV(V,0);
CZS6:=(C/DYNAINFO(3)-1)*100<=4.50;
CZS7:=CZS3 AND CZS4 AND 量价突破 AND 量突破 AND 价突破 AND CZS5 AND CZS6;
CZS8:=BARSSINCE(CZS7)+1;
首爆价:=REF(C,CZS8-1),NODRAW;
起爆收益

DYNAINFO(7)-首爆价)/首爆价*100,NODRAW;
DRAWICON(CZS7,C,9);
DRAWTEXT(CZS7,L-0.01,' ←分时起爆'),COLOR0000FF;
DRAWNUMBER_FIX(ISLASTBAR AND C>1,0.8,0.5,0,起爆收益),COLOR00FFFF;
DRAWTEXT_FIX(ISLASTBAR AND C>1,0.8,0.45,0,'起爆收益'),COLOR0000FF;
DRAWTEXT_FIX(ISLASTBAR AND C>1,0.85,0.5,0,'%'),COLOR0000FF;
CZS9:=FILTER(CROSS(GSCHW10,GSCHW9),240);
CZS10:=BARSSINCE(CZS9)+1;
首次抓板价:=REF(C,CZS10-1),NODRAW;
抓板收益

DYNAINFO(7)-首次抓板价)/首次抓板价*100,NODRAW;
DRAWNUMBER_FIX(ISLASTBAR AND C>1,0.8,0.35,0,抓板收益),COLOR00FFFF;
DRAWTEXT_FIX(ISLASTBAR AND C>1,0.8,0.3,0,'抓板收益'),COLOR0000FF;
DRAWTEXT_FIX(ISLASTBAR AND C>1,0.85,0.35,0,'%'),COLOR0000FF;
CZS11:=CROSS(C,REF(HHV(H,GHCZS1),1)) AND HHVBARS(VOL,GHCZS1)=0 AND C/均价线< 1.09 AND GHCZS1>1 AND GHCZS1< 240 AND BARSLAST(机构买)>=20 AND CZS6;
DRAWTEXT(CZS11 ,GHCZS2, ' ←牛股凸显'),COLORCYAN;
DRAWICON(CZS11,C,23);
CZS12:=C/REF(C,3)>1.04 ;
DRAWTEXT(CZS12,C*0.995,' ←突破'),COLORYELLOW;