龙听期货论坛's Archiver

龙听 发表于 2018-10-15 16:38

[转载]短线快手(主图 源码)

[p=21, 2, left]短线快手[/p][p=21, 2, left]n=3[/p]
[p=21, 2, left][code]
MA1:MA(CLOSE,1),Color00FFFF,LAYER0;
MA3:MA(CLOSE,n),ColorFFC286,LAYER0;
买:=CROSS(MA1,MA3);
卖:=CROSS(MA3,MA1);
{DRAWTEXT(买,L*0.95,'买'),COLORRED;
DRAWTEXT(卖,H*1.05,'卖'),COLORGREEN;}
STICKLINE(CLOSE>=OPEN and OPEN<>0,HIGH,LOW,0.5,0),color0000A3;
STICKLINE(CLOSE>=OPEN and OPEN<>0,CLOSE,OPEN,8,0),color070084;
STICKLINE(CLOSE>=OPEN and OPEN<>0,CLOSE,OPEN,7,0),color0000A3;
STICKLINE(CLOSE>=OPEN and OPEN<>0,CLOSE,OPEN,6,0),color0000B7;
STICKLINE(CLOSE>=OPEN and OPEN<>0,CLOSE,OPEN,5,0),color0000CD;
STICKLINE(CLOSE>=OPEN and OPEN<>0,CLOSE,OPEN,4,0),color0000E9;
STICKLINE(CLOSE>=OPEN and OPEN<>0,CLOSE,OPEN,2,0),color0754E9;
STICKLINE(CLOSE>=OPEN and OPEN<>0,CLOSE,OPEN,0.5,0),Color68B8FF;
STICKLINE(CLOSE<OPEN and OPEN<>0,HIGH,LOW,0.5,0),Color008400;
STICKLINE(CLOSE<OPEN and OPEN<>0,CLOSE,OPEN,8,0),Color006400;
STICKLINE(CLOSE<OPEN and OPEN<>0,CLOSE,OPEN,7,0),Color007500;
STICKLINE(CLOSE<OPEN and OPEN<>0,CLOSE,OPEN,6,0),Color008400;
STICKLINE(CLOSE<OPEN and OPEN<>0,CLOSE,OPEN,5,0),Color009900;
STICKLINE(CLOSE<OPEN and OPEN<>0,CLOSE,OPEN,4,0),Color00AE00;
STICKLINE(CLOSE<OPEN and OPEN<>0,CLOSE,OPEN,2,0),Color00BD00;
STICKLINE(CLOSE<OPEN and OPEN<>0,CLOSE,OPEN,0.5,0),Color8EFF8E;
总股本:=FINANCE2(35) ;
流通股:=FINANCE2(37);
限售A股:=FINANCE2(41);
每股收益:=FINANCE2(3);
市盈率:=DYNAINFO(39);
每股公积金:=FINANCE2(7);
所属板块:=BKNAME;
DRAWTEXTABS(12,8, '所属板块: '+所属板块),Color5E5E5E;
DRAWTEXTABS(12,21,'每股收益: '+NUMTOSTRN(每股收益,2)+'元 '+' 市盈率:'+NUMTOSTRN(市盈率,1)+'倍 '+' 每股公积金:'+NUMTOSTRN(每股公积金,2)+'元'),Color5E5E5E;
DRAWTEXTABS(12,34,'总 股 本: '+NUMTOSTRN(总股本,2)+'  万股'),Color5E5E5E;
DRAWTEXTABS(12,47,'流通 A股: '+NUMTOSTRN(流通股,2)+'  万股'),Color5E5E5E;
DRAWTEXTABS(12,60, '限售 A股: '+NUMTOSTRN(限售A股,2)+'  万股'),Color5E5E5E;
[/code]
[/p]
[p=21, 2, left][attach]4552[/attach]
[/p]

页: [1]