DRAWGBK(CLOSE>0,RGB(0,0,0),RGB(0,50,50),0,4,0);
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
STT:=(O-C)/REF(C,1)*100;
ZF:=(C-REF(C,1))/REF(C,1)*100;
AY0:=REF(ZF<9,1) AND ZF<=IF(FINANCE(3)>2,(-11),(-6)) AND C<O AND STT>3.5;
AY1:=BARSLAST(AY0);
碗口1:REF(O,AY1),COLORFFFF00,NODRAW;
X_28:=(碗口1-LLV(MIN(CLOSE,OPEN),AY1))/LLV(CLOSE,AY1)*100;
突破大阴1:=X_28<36 AND AY1>16 AND AY1<150 AND REF(EVERY(MAX(C,O)<REF(O,AY1),AY1),1) AND crOSS(C,REF(O,AY1)) AND V>O;
STICKLINE(AY1>=0,碗口1,碗口1,10,0),COLORFFFF00,LINETHICK2;
AY21:=REF(ZF<9,1) AND ZF<=IF(FINANCE(3)>2,(-12),(-7)) AND C<O AND STT>3.5;
AY2:=BARSLAST(AY21);
碗口2:REF(O,AY2),COLOR00FF00,NODRAW;
X_29:=(碗口2-LLV(MIN(CLOSE,OPEN),AY2))/LLV(CLOSE,AY2)*100;
M60:MA(C,60),COLORFF8000;
突破大阴2:=X_29<36 AND AY2>16 AND AY2<150 AND REF(EVERY(MAX(C,O)<REF(O,AY2),AY2),1) AND CROSS(C,REF(O,AY2)) AND V>O;
STICKLINE(AY2>=0,碗口2,碗口2,10,0),COLOR00FF00,LINETHICK2;
STICKLINE(AY0>0 AND C<O,C,O,1,0),COLORBROWN;
STICKLINE(AY0>0 AND C<O,C,O,1,0),COLORBROWN;
STICKLINE(突破大阴1 OR 突破大阴2,H,L,0,0),COLORYELLOW;
STICKLINE(突破大阴1 OR 突破大阴2,O,C,2.5,0),COLORYELLOW;
DRAWTEXT(突破大阴1 OR 突破大阴2,L*0.99,'突破'),COLORYELLOW;
{主图显示}
龙虎净额:SIGNALS_USER(201,0)/10000,COLOR0080FF,NODRAW;{资金净流入}
DRAWTEXT(龙虎净额>0 OR 龙虎净额<0,L*95/100,VARCAT(VARCAT('',VAR2STR(龙虎净额,1)),'') ),COLOR0080FF;
STICKLINE(龙虎净额>0 OR 龙虎净额<0,(C+O)/2,O,0.1,0),COLOR0080FF;
涨停:=(CLOSE>=ZTPRICE(REF(CLOSE,1),IF(FINANCE(3)>2,0.2,0.1))) AND H=C;
封单额:IF(ISLASTBAR AND 涨停 AND DYNAINFO(59)=0,DYNAINFO(58)*C/100000,IF(DYNAINFO(58)=0,DYNAINFO(59)*C/100000*-1,0)),COLOR0000FF,NODRAW;
千万:DRAWNULL,COLOR0000FF;