同花顺超强分时指标-(源码)

2011-02-17 09:10:00来源:本站整理浏览:852

同花顺超强分时指标-分時資金

{分時資金}
b1:=SBUSAMEDAY(&BIGBUYCOUNT1)+SBUSAMEDAY(&BIGBUYCOUNT2);
b2:=SBUSAMEDAY(&WAITBUYCOUNT1)+SBUSAMEDAY(&WAITBUYCOUNT2);
b3:=-SBUSAMEDAY(&BIGSELLCOUNT1)-SBUSAMEDAY(&BIGSELLCOUNT2);
b4:=-SBUSAMEDAY(&WAITSELLCOUNT1)-SBUSAMEDAY(&WAITSELLCOUNT2);
b5:=SBUSAMEDAY(&BIGBUYCOUNT3);
b6:=-SBUSAMEDAY(&BIGSELLCOUNT3);
b7:=SUM(b5,0);
b8:=SUM(b6,0);
STICKLINE(b2>0,b1,b1+b2,8),color160060;
STICKLINE(b1>0,0,b1,8),color0000ff;
STICKLINE(b3<0,0,b3,8),color00ff00;
STICKLINE(b4<0,b3,b3+b4,8),color166000;
z:0;
AA:=SBUSAMEDAY(&VOL)-(BIGBUYCOUNT1+BIGBUYCOUNT2+WAITBUYCOUNT1+WAITBUYCOUNT2+BIGBUYCOUNT3+WAITBUYCOUNT3);
bb:=SBUSAMEDAY(&VOL)-(BIGSELLCOUNT1+BIGSELLCOUNT2+WAITSELLCOUNT1+WAITSELLCOUNT2+BIGSELLCOUNT3+WAITSELLCOUNT3);

a:=BIGBUYCOUNT1+BIGBUYCOUNT2+WAITBUYCOUNT1+WAITBUYCOUNT2;
b:=BIGSELLCOUNT1+BIGSELLCOUNT2+WAITSELLCOUNT1+WAITSELLCOUNT2;
a1:=SUM(a,0);
a2:=SUM(b,0);
小股民:AA-bb,colorgreen;
中户:b7+b8,colorblue;
大户:a-b,coloryellow;
机构:((BIGBUYCOUNT2+WAITBUYCOUNT2)-(BIGSELLCOUNT2+WAITSELLCOUNT2)),colorred;
超级:((BIGBUYCOUNT1+WAITBUYCOUNT1)-(BIGSELLCOUNT1+WAITSELLCOUNT1))-机构,colormagenta;

本文仅提供源码,并无公式提供下载

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式