DRAWTEXTABS(30,15,'流通盘:'+CAPITAL/100+'万股,利润增长:'+FINANCE2(10)+'%。每股收益:'+FINANCE2(3)+'元。' );
DRAWTEXTABS(30,30,'B买入,S卖出。' ),colorFFDD00;
买线:EMA(C,2),pointdot,color0000DD;
卖线:EMA(SLOPE(C,21)*20+C,42),pointdot,color00DD00;
BU:=cross(买线,卖线);
SEL:=cross(卖线,买线);
drawtext(bu,LOW*0.99,'B'),colorCC00ff,linethick1;
drawtext(sel,HIGH*1.04,'S'),color00CC00,linethick1;
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),colorDD00DD;
stickline(cross(卖线,买线),open,close,7,0),color00DD00;
{盖印}
DRAWRECTABS(0,0,30,35,rgb(250,60,80)),color000099;
DRAWRECTABS(0,30,30,45,rgb(250,250,80)),color009999;
DRAWTEXTABS(2,5,'步步高'),colorFFFFFF,LINETHICK1;
DRAWTEXTABS(2,18,'常用'),colorFFFFFF,LINETHICK1;
DRAWTEXTABS(2,30,'指标'),color0000FF,LINETHICK1;
partline(MA5,MA5 =ref(MA5,1),rgb(255,0,0),MA5 ref(MA5,1),rgb(0,250,0)),linethick3;