变色K线。。。。。。红转黄绿青要出,黄绿转红机会来!
MA13:(MA(C,7)+MA(C,11)+MA(C,15)+MA(C,19))/4,LINETHICK2,COLORRED;
IF(MA13<REF(MA13,1),MA13,DRAWNULL),LINETHICK2,COLORGREEN;
{红}
STICKLINE(C>MA13,O,C,3.1,0),COLOR000055;
STICKLINE(C>MA13,O,C,2.6,0),COLOR000077;
STICKLINE(C>MA13,O,C,2.1,0),COLOR000099;
STICKLINE(C>MA13,O,C,1.6,0),COLOR0000BB;
STICKLINE(C>MA13,O,C,1.0,0),COLOR0000DD;
STICKLINE(C>MA13,O,C,0.3,0),COLOR0000FF;
{绿}
STICKLINE(C<MA13,O,C,3.1,0),COLOR005500;
STICKLINE(C<MA13,O,C,2.6,0),COLOR007700;
STICKLINE(C<MA13,O,C,2.1,0),COLOR009900;
STICKLINE(C<MA13,O,C,1.6,0),COLOR00BB00;
STICKLINE(C<MA13,O,C,1.0,0),COLOR00DD00;
STICKLINE(C<MA13,O,C,0.3,0),COLOR00FF00;
STICKLINE(C<MA13,L,H,0.0,0),COLOR00FF00;
{黄}
STICKLINE(C>MA13 AND MA13<REF(MA13,1),O,C,3.1,0),COLOR005555;
STICKLINE(C>MA13 AND MA13<REF(MA13,1),O,C,2.6,0),COLOR007777;
STICKLINE(C>MA13 AND MA13<REF(MA13,1),O,C,2.1,0),COLOR009999;
STICKLINE(C>MA13 AND MA13<REF(MA13,1),O,C,1.6,0),COLOR00BBBB;
STICKLINE(C>MA13 AND MA13<REF(MA13,1),O,C,1.0,0),COLOR00DDDD;
STICKLINE(C>MA13 AND MA13<REF(MA13,1),O,C,0.3,0),COLOR00FFFF;
STICKLINE(C>MA13 AND MA13<REF(MA13,1),H,L,0.0,0),COLOR00FFFF;
{青}
STICKLINE(C<MA13 AND MA13<REF(MA13,1),O,C,3.1,0),COLOR555500;
STICKLINE(C<MA13 AND MA13<REF(MA13,1),O,C,2.6,0),COLOR777700;
STICKLINE(C<MA13 AND MA13<REF(MA13,1),O,C,2.1,0),COLOR999900;
STICKLINE(C<MA13 AND MA13<REF(MA13,1),O,C,1.6,0),COLORBBBB00;
STICKLINE(C<MA13 AND MA13<REF(MA13,1),O,C,1.0,0),COLORDDDD00;
STICKLINE(C<MA13 AND MA13<REF(MA13,1),O,C,0.3,0),COLORFFFF00;
STICKLINE(C<MA13 AND MA13<REF(MA13,1),L,H,0.0,0),COLORFFFF00;
{紫}
STICKLINE(C/REF(C,1)>1.098,O,C,3.1,0),COLOR550055;
STICKLINE(C/REF(C,1)>1.098,O,C,2.6,0),COLOR770077;
STICKLINE(C/REF(C,1)>1.098,O,C,2.1,0),COLOR990099;
STICKLINE(C/REF(C,1)>1.098,O,C,1.6,0),COLORBB00BB;
STICKLINE(C/REF(C,1)>1.098,O,C,1.0,0),COLORDD00DD;
STICKLINE(C/REF(C,1)>1.098,O,C,0.3,0),COLORFF00FF;
STICKLINE(C/REF(C,1)>1.098,L,H,0.0,0),COLORFF00FF;
DRAWTEXT_FIX(1,0.68,0.05,1,'红转黄绿青要出'),COLORGREEN;
DRAWTEXT_FIX(1,0.68,0.10,1,'黄绿转红机会来'),COLORYELLOW;
DRAWTEXT_FIX(1,0.58,0.10,1,'变红持股'),COLORYELLOW;
DRAWTEXT_FIX(1,0.58,0.05,1,'红变持币'),COLORGREEN;
利润同比:FINANCE(43),NODRAW;
收入同比:FINANCE(44),NODRAW;
营业利润:FINANCE(23)/10000,NODRAW;
投资收益:FINANCE(24)/10000,NODRAW;
红变:=REF(C,1)>REF(MA13,1) AND REF(MA13,1)>REF(MA13,2) AND (MA13<REF(MA13,1) OR C<MA13);
变红:=C>MA13 AND MA13>REF(MA13,1) AND (REF(MA13,1)<REF(MA13,2) OR REF(C,1)<REF(MA13,1)) ;
DRAWICON(红变,1.01*H,8);
DRAWICON(变红,0.98*L,7);
|