源码
强度系数: (EMA(CLOSE,21)-EMA(CLOSE,89))*5, COLORSTICK;
黄金踏浪线: EMA(HIGH+LOW+2*CLOSE/4,21)*10-EMA(HIGH+LOW+2*CLOSE/4,89)*10, CROSSDOT;
移动平均线: SMA(黄金踏浪线,5,1);
===============================================================
{逐笔逐单:ZBFL总净:十万}
中户:=EMA(SUM(selfdata('中单买入')-selfdata('中单卖出'),1),1);
大户:=EMA(SUM(selfdata('大单买入')-selfdata('大单卖出'),1),1);
特大:=EMA(SUM(selfdata('特大买入')-selfdata('特大卖出'),1),1);
总买:=EMA(SUM(selfdata('总买量')-selfdata('总卖量'),1),1)/100000;
中净:中户,LINETHICK2,COLORGREEN;
大净:大户,LINETHICK5,COLORYELLOW;
特大净:特大,LINETHICK4,COLORMagenta;
总净:总买,LINETHICK3,COLORred;
DRAWTEXTREL(0,997,'比例%');
DRAWTEXTREL(10,997,NUMTOSTRN(中净,1)),COLORGREEN;
DRAWTEXTREL(20,997,NUMTOSTRN(大净,1)),COLORYELLOW;
DRAWTEXTREL(30,997,NUMTOSTRN(特大净,1)),COLORMagenta;
DRAWTEXTREL(40,997,NUMTOSTRN(总净,1)),COLORred;
DRAWTEXTREL(9,996,'┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━'),COLORYELLOW;
DRAWTEXTREL(20.5,996,'┴'),COLORYELLOW;
DRAWTEXTREL(30.5,996,'┴'),COLORYELLOW;
DRAWTEXTREL(40.5,996,'┴'),COLORYELLOW;
DRAWTEXTREL(0,999,'分类');
DRAWTEXTREL(10,999,'中净'),COLORGREEN;
DRAWTEXTREL(20,999,'大净'),COLORYELLOW;
DRAWTEXTREL(30,999,'特大净'),COLORMagenta;
DRAWTEXTREL(40,999,'总净'),COLORred;
=================================================================
{逐笔逐单:ZBFX总笔:万}
REFLINE:0,25,50,75;
ZH:=EMA(SUM(selfdata('中买笔')-selfdata('中卖笔'),1),1)/100;
DH:=EMA(SUM(selfdata('大买笔')-selfdata('大卖笔'),1),1)/100;
TD:=EMA(SUM(selfdata('特买笔')-selfdata('特卖笔'),1),1)/100;
ZB:=EMA(SUM(selfdata('总买笔')-selfdata('总卖笔'),1),1)/10000;
中笔:ZH,LINETHICK2,COLORBlue;
大笔:DH,LINETHICK5,COLORGREEN;
特笔:TD,LINETHICK3,COLORYELLOW;
总笔:ZB,LINETHICK4,COLORred;
DRAWTEXTREL(0,997,'比例%');
DRAWTEXTREL(10,997,NUMTOSTRN(中笔,1)),COLORBlue;
DRAWTEXTREL(20,997,NUMTOSTRN(大笔,1)),COLORGREEN;
DRAWTEXTREL(30,997,NUMTOSTRN(特笔,1)),COLORYELLOW;
DRAWTEXTREL(40,997,NUMTOSTRN(总笔,1)),COLORred;
DRAWTEXTREL(9,996,'┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━'),COLORYELLOW;
DRAWTEXTREL(20.5,996,'┴'),COLORYELLOW;
DRAWTEXTREL(30.5,996,'┴'),COLORYELLOW;
DRAWTEXTREL(40.5,996,'┴'),COLORYELLOW;
DRAWTEXTREL(0,999,'分类');
DRAWTEXTREL(10,999,'中笔'),COLORBlue;
DRAWTEXTREL(20,999,'大笔'),COLORGREEN;
DRAWTEXTREL(30,999,'特笔'),COLORYELLOW;
DRAWTEXTREL(40,999,'总笔'),COLORred;