MA5:MA(CLOSE,5),ColorCCCCCC;
MA10:MA(CLOSE,10),Color00BBBB;
MA21:MA(CLOSE,21),Color00AA00;
MA30:MA(CLOSE,30),Color990099;
MA60:MA(CLOSE,60),Color000088;
MA120:MA(CLOSE,120),Color777700;
DRAWTEXTABS(30,0,BKNAME );
DRAWTEXTABS(30,15,'流通盘:'+CAPITAL/100+'万股,利润增长:'+FINANCE2(10)+'%。每股收益:'+FINANCE2(3)+'元。' );
DRAWTEXTABS(30,30,'B买入,红粉柱关注。' ),colorFFDD00;
买线:=ZIG(3,10);
卖线:=MA(买线,3);
BU:=cross(买线,卖线);
SEL:=cross(卖线,买线);
CB5:cyc(5),colorFF00FF,linethick1,DOTLINE;
drawtext(bu,l*0.99,'买'),linethick1,color00aaff;
drawtext(sel,h*1.01,'卖'),linethick1,color00ff00;
drawtext("X09A.T">0,l*0.99,'B'),linethick1,colorFFffff;
drawtext("X09A.T1">0,l*0.99,'B'),linethick1,color0000ff;
stickline(买线>=卖线,low,high,0.1,0),color0000CC;
stickline(买线>=卖线,close,open,7,0),color0000CC;
stickline(买线<卖线,close,open,7,0),colorCCCC00;
stickline(买线<卖线,low,high,0.1,0),colorCCCC00;
stickline(cross(买线,卖线),open,close,7,0),color00AAFF;
stickline(cross(卖线,买线),open,close,7,0),color00DD00;
stickline(cross(C,CB5),o,C ,7,0 ),colorFF00FF;
stickline(cross(C,CB5),o,o+(C-o)*0.50 ,7,0 ),color0000FF;
{X09A}
小单差:(1-BIGORDER(1,1)-(1-BIGORDER(2,1)))*100,LINETHICK0,COLOR00BB00;
大单差:((BIGORDER(1,2)-BIGORDER(2,2))-(BIGORDER(1,3)-BIGORDER(2,3)))*100,LINETHICK0,COLOR00BBBB;
特大差:(BIGORDER(1,3)-BIGORDER(2,3))*100,LINETHICK0,COLOR0000BB;
大户买:=(BIGORDER(1,2)-BIGORDER(1,3))*AMOUNT/1000000;
大户卖:=(BIGORDER(2,2)-BIGORDER(2,3))*AMOUNT/1000000;
大户:=(大户买-大户卖)*100;
特大买:=BIGORDER(1,3)*AMOUNT/1000000;
特大卖:=BIGORDER(2,3)*AMOUNT/1000000;
特户:=(特大买-特大卖)*100;
DTB:=(大户+特户)/100;
STICKLINE(dtb>=0,0,Dtb ,7 ,0 ),color0022BB;
STICKLINE(dtb<0,0,dtb ,7 ,0 ),color00BB66;
买入单数:= order(1);
卖出单数:= order(2);
单数比:卖出单数/买入单数,colorBBBBBB,LINETHICK0;
买入:=BIGORDER(1,2)*AMOUNT;
卖出:=BIGORDER(2,2)*AMOUNT;
净额:=买入-卖出;
通吃率:净额/amount*1000,colorBBBBBB,LINETHICK0;
DX5:ma(Dtb,5)*10,coloraa00bb;
DX10:ma(Dtb,10)*10,coloraaaa00;
DX20:ma(Dtb,20)*10,color0099BB;
T:cross(dx5,dx10) and cross(dx5,dx20) and ref(dx5,1)<0;
DRAWTEXT(t,0,'B' ),colorffffff;
T1:ref(dx5,1)<-25 and cross(dx5,0);
DRAWTEXT(t1,0,'B' ),color0000ff;