大智慧分时线副图指标
源码
zs:=DYNAINFO(3);
dk:=(SMA(C,2,1)-SMA(C,6,1))*2;
STICKLINE(dk>0,zs,ZS+dk,0.1,0),Color5050FF;
STICKLINE(dk<=0,zs,ZS+dk,0.1,0),ColorCyan;
最新:c,COLORWHITE,LINETHICK0,PRECIS2;
涨跌:c-zs,LINETHICK0,Color5050FF,PRECIS2;
jj:=SUM(C*V,0)/SUM(V,0);
均价:if(jj>0,jj,zs),COLORYELLOW,PRECIS2;
量:v,LINETHICK0,COLORWHITE;
涨停:zs*1.1,LINETHICK0,PRECIS2,Color5050FF;
跌停:zs*0.9,LINETHICK0,PRECIS2,COLORCYAN;
PARTLINE(CLOSE,c>REF(C,1),RGB(255,0,0),c<REF(C,1),RGB(89,255,255),1,RGB(255,255,255)),PRECIS0,COLORBLACK;