QXA:=EMA(INDEXC,3)COLORWHITE;
MXA:=EMA((SLOPE(INDEXC,22)*20+INDEXC),55),COLORRED;
{DRAWBKBMP(QXA<MXA,'L');}
{DRAWTEXT(SYSPARAM(2)=BARPOS,C,'所属板块:'+BLKNAME),COLORCCFFFF,ALIGN4;
S:='股票代码:'+STKLABEL,,ALIGN5;
DRAWTEXT(SYSPARAM(2)=BARPOS,C,S),COLORCCFFFF,ALIGN5;}
{A《F0博弈波段》}
F0:=EMA(C,5);
F1:=SMA(F0,3,1);
F2:=SMA(F0,5,1);
{FILLRGN(F0>=F2,F0,F2),COLOR0098E4;
FILLRGN(F0<F2,F0,F2),COLORBLUE;}
DRAWICON(F0>F2,F2,10);
DRAWICON(F0<=F2,F2,12);
{波段-2}
QXX:=EMA(C,3)COLORDDDDDD;
MXX:=EMA((SLOPE(C,22)*20+C),55),COLORCYAN;
DRAWICON(QXX>=MXX,F2*0.997,10);
DRAWICON(QXX<MXX,F2*0.997,12);
{三丰波段-3}
KS:=(C-MA(C,13))/MA(C,13)*(-100);
RKS:=REF(KS,1);
MLS:=RKS/KS>=1.23 AND RKS>=8 AND C/REF(C,1)>=1.02;
{- }
Z1:=EMA(C,10)COLORRED,LINETHICK2;
Z2:=EMA(KS/10+EMA(C,10),3)COLORYELLOW,LINETHICK2;
DRAWICON(Z1>=Z2,F2*0.994,10);
DRAWICON(Z1<Z2,F2*0.994,12);
{短线王}
CG:=MA(C,17);
DRAWICON(C>=CG,F2*0.991,10);
DRAWICON(C<CG,F2*0.991,12);
DRAWTEXT(REF(F0,1)>REF(F2,1) AND F0<F2,F2*1.012,' -→走')COLORYELLOW;