MA25:EMA(CLOSE,25);
FJ:EMA(CLOSE,905);
STICKLINE((MA25 >FJ),MA25,FJ,1,0),COLOR0000FF;
STICKLINE((MA25 >FJ)AND MA25
STICKLINE((MA25 >FJ)AND FJ
STICKLINE((MA25
STICKLINE((MA25
DRAWICON(CROSS(MA25,FJ),FJ,23);
TT:=BARSCOUNT(C)+1;
ZZ:=SUM(AMOUNT,TT)/SUM(VOL*100,TT);
ZZ1:=BETWEEN(C/ZZ,1.05,0.95);
均线:IF(ZZ1=0,MA(C,TT),ZZ),COLOR00FFFF,LINETHICK1;
{IF(均线>REF(均线,1),均线,DRAWNULL),COLORRED;}
上均:均线+MA(ABS(C-均线),TT)*1.7,COLOR00FF00;
下均:均线-MA(ABS(C-均线),TT)*1.7,COLORFF6600;
时长:=IF(HOUR>=13 AND HOUR<15 ,1,0);
涨幅:=(CLOSE/DYNAINFO(3))>=1.03;
跌幅:=(CLOSE/DYNAINFO(3))<=0.97;
涨跌幅:=涨幅 OR 跌幅;
YY:=SMA(VOL,30,1);
放量:=(YY-LLV(LLV(YY,1),30))/(HHV(HHV(YY,1),30)-LLV(LLV(YY,1),30))>0;
横盘:=((HHV(CLOSE,TT)-LLV(CLOSE,TT))/CLOSE)<=0.05;
横涨:=涨跌幅=0 AND 横盘 AND 时长 AND 放量 AND CROSS(C,上均) AND DYNAINFO(22)
PP:=FILTER(横涨,80);
UU:=FILTER(横跌,50);
DRAWTEXT(PP,上均,'★上突'),COLORFF00FF;
DRAWTEXT(UU,下均,'★下破'),COLOR00FFFF;
STICKLINE(PP,CONST(HHV(H,0)),CONST(LLV(L,0)),0,0),COLORWHITE;
STICKLINE(UU,CONST(HHV(H,0)),CONST(LLV(L,0)),0,0),COLOR00FF00;
{STICKLINE(PP,上均,下均,0,0),COLORWHITE;}
{STICKLINE(UU,上均,上均,0,0),COLOR00FF00;};