把下面的程序复制进去后还要在曲线属性里设置,大单净量的输出线性为空,就是不要在小框里打勾。
BB1=BIGBUYCOUNT1+WAITBUYCOUNT1;
SS1=BIGSELLCOUNT1+WAITSELLCOUNT1;
BB2=BIGBUYCOUNT2+WAITBUYCOUNT2;
SS2=BIGSELLCOUNT2+WAITSELLCOUNT2;
r:=((BB1+BB2)-(SS1+SS2))/SHGZG*100;
大单净量:r;
STICKLINE(r 0,0,r/4,8),color0000ff;
STICKLINE(r 0,0,r/4,8),color00ff00;
r0:=((IF(ISNULL(BIGBUYCOUNT1+BIGBUYCOUNT2),0,(BIGBUYCOUNT1+BIGBUYCOUNT2))+IF(ISNULL(WAITBUYCOUNT1+WAITBUYCOUNT2),0,(WAITBUYCOUNT1+WAITBUYCOUNT2)))
-(IF(ISNULL(BIGSELLCOUNT1+BIGSELLCOUNT2),0,(BIGSELLCOUNT1+BIGSELLCOUNT2))+IF(ISNULL(WAITSELLCOUNT1+WAITSELLCOUNT2),0,(WAITSELLCOUNT1+WAITSELLCOUNT2))))
/SHGZG*100;
MA5:MA(r0,5);
MA10:MA(r0,10);
MA20:MA(r0,20);
RETURN r0;