公式指标论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

好用的BBD指标

2016-7-23 14:55| 发布者: admin| 查看: 88| 评论: 0

源码: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);
大单差:a-b;
中单差:b7+b8;
散差:aa-bb;

【股票证券软件下载提示:本文仅仅提供源码,并无公式提供下载,请根据下面公式编辑录像自己编辑成公式】


鲜花

握手

雷人

路过

鸡蛋
返回顶部