同花顺L2收费指标资金差(同花顺)

 

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




来函数检测结果如下
该公式没有未来函数


解密、定制、编写公式指标请联系QQ或微信同号:88652583
置顶指标

相关指标公式

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赋值:B5的历史累和
B8赋值:B6的历史累和
当满足条件B2>0时,在B1和B1+B2位置之间画柱状线,宽度为8,?不为0则画空心柱.,COLOR160060
当满足条件B1>0时,在0和B1位置之间画柱状线,宽度为8,?不为0则画空心柱.,COLOR0000FF
当满足条件B3<0时,在0和B3位置之间画柱状线,宽度为8,?不为0则画空心柱.,COLOR00FF00
当满足条件B4<0时,在B3和B3+B4位置之间画柱状线,宽度为8,?不为0则画空心柱.,COLOR166000
输出Z:0
AA赋值:SBUSAMEDAY(&成交量(手))-(BIGBUYCOUNT1+BIGBUYCOUNT2+WAITBUYCOUNT1+WAITBUYCOUNT2+BIGBUYCOUNT3+WAITBUYCOUNT3)
BB赋值:SBUSAMEDAY(&成交量(手))-(BIGSELLCOUNT1+BIGSELLCOUNT2+WAITSELLCOUNT1+WAITSELLCOUNT2+BIGSELLCOUNT3+WAITSELLCOUNT3)
A赋值:BIGBUYCOUNT1+BIGBUYCOUNT2+WAITBUYCOUNT1+WAITBUYCOUNT2
B赋值:BIGSELLCOUNT1+BIGSELLCOUNT2+WAITSELLCOUNT1+WAITSELLCOUNT2
A1赋值:A的历史累和
A2赋值:B的历史累和
输出大单差:A-B
输出中单差:B7+B8
输出散差:AA-BB

指标安装下载帮助  |   联系我们  |  乐淘公式网  |  公式网   |  指标公式  |   加入收藏   |  设为主页

@2005-2025 浙ICP备2024071487号-1 乐淘公式网公式网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
免责声明:乐淘公式网所有指标公式及文章由网络收集,不保障实时性和真实性, 仅供学习研究并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。
QQ:88652583 微信 88652583
sitemap站点地图