【资料名称】:L2主力分时指标 (源码)介绍【资料描述】:
L2主力分时指标 (源码)
{L2主力
分时指标,用在收费L2上,但大智慧公司不给排序和预警,较分时委托,和分时逐笔更直观}
BY:=TRANSACTVOL(1,0);
BS:=TRANSACTVOL(2,0);
主买:SUM(TRANSACTVOL(1,0),0),LINETHICK0;
主卖:SUM(TRANSACTVOL(2,0),0),LINETHICK0;
主买卖差:主买-主卖,LINETHICK0;
主买比率:主买/主卖,linethick0;
大买占大单比:(TRANSACTVOL(1,2)/(TRANSACTVOL(1,2)+TRANSACTVOL(2,2)))*100;
大买占总成交:TRANSACTVOL(1,2)/TRANSACTVOL(0,0)*100,COLORyellow;
主买卖差线:主买卖差*6,LINETHICK3;
STICKLINE(BY>BS,0,BY*35,5,0.5),COLORRED;
STICKLINE(BY>BS,0,BS*35,5,0.5),COLORGREEN;
STICKLINE(BY<BS,0,BY*35,5,0.5),COLORRED;
STICKLINE(BY<BS,0,BS*35,5,0.5),COLORGREEN;
DRAWICON(CROSS(主买,主卖),主买*2,7);
gd8358
【下载地址隐藏】: 点:回复可见地址