现价:=C;
均价:=SUM(C*V,240)/SUM(V,240);
CTB:=BARSCOUNT(C);
前高:=REF(HHV(H,CTB),1);
突破:=CROSS(C,REF(HHV(H,CTB),1)) AND C/均价< 1.09 AND CTB>1 AND CTB< 240;
主力扫盘:=COUNT(突破,13)>=3 AND CROSS(C,REF(HHV(H,CTB),1));
主力介入量:=BARSLAST(主力扫盘)< 13;
智能分时1:=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;
智能分时2:=EMA(CLOSE,2);
智能分时3:=EMA(CLOSE,3);
智能分时4:=MAX(智能分时2,智能分时3);
智能分时5:=CLOSE>智能分时4 AND 智能分时1 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;
智能分时6:=MA(((SLOPE(C,20)*5)+C),10);
智能分时7:=HOUR=09 AND MINUTE=45;
智能分时8:=LLV(L,15);
智能分时9:=BARSLAST(智能分时7);
智能分时10:=REF(智能分时8,智能分时9);
智能分时11:=CONST(智能分时10),COLORFF80FF,CIRCLEDOT,LINETHICK2;
龙年擒牛1:=HOUR=09 AND MINUTE=45;
龙年擒牛2:=HHV(H,15);
龙年擒牛3:=BARSLAST(龙年擒牛1);
龙年擒牛4:=REF(龙年擒牛2,龙年擒牛3);
龙年擒牛5:=CONST(龙年擒牛4),COLORFF80FF,CIRCLEDOT,LINETHICK2;
龙年擒牛6:=EMA(CLOSE,12)-EMA(CLOSE,26);
龙年擒牛7:=EMA(龙年擒牛6,9);
龙年擒牛8:=(龙年擒牛6-龙年擒牛7)*2;
龙年擒牛9:=龙年擒牛8>00 AND 龙年擒牛6>0 AND 龙年擒牛7>0;
龙年擒牛10:=HOUR=10 AND MINUTE=0;
龙年擒牛11:=HHV(H,30);
龙年擒牛12:=BARSLAST(龙年擒牛10);
龙年擒牛13:=REF(龙年擒牛11,龙年擒牛12);
龙年擒牛14:=CONST(龙年擒牛13);
龙年擒牛15:=CLOSE>龙年擒牛14 AND REF(C<=龙年擒牛14,1) AND CLOSE>智能分时6;
龙年擒牛16:=FILTER(龙年擒牛15,100);
龙年擒牛17:=DYNAINFO(3);
CTE:=CLOSE<=龙年擒牛17*1.04 AND CLOSE>龙年擒牛17;
CTF:=V/REF(MA(V,5),1);
CTG:=龙年擒牛9 AND 龙年擒牛16 AND CTE AND 龙年擒牛13>龙年擒牛17 AND CTF>=1;
龙牛起舞1:=MAX(DYNAINFO(3),DYNAINFO(5));
龙牛起舞2:=MIN(DYNAINFO(3),DYNAINFO(6));
龙牛起舞3:=龙牛起舞1-龙牛起舞2;
阻力:=龙牛起舞2+龙牛起舞3*8/9,COLORLIRED,DOTLINE;
支撑:=龙牛起舞2+龙牛起舞3*0.5/9,COLORGREEN,DOTLINE;
DRAWTEXT(FILTER(CROSS(C,支撑),240),L*1.05,'主力买进'),COLORGREEN;