小指标2-资金流量-仿天狼50(源码通达信大智慧飞狐)

[复制链接]
查看150 | 回复0 | 2022-6-28 03:47:44 | 显示全部楼层 |阅读模式

小指标2-资金流量-仿天狼50(源码通达信大智慧飞狐)

仅是日线测算,不是L2数据,别被名称迷惑!
 

{Z资金流量-大智慧飞狐版}
ZD:=LN(C/REF(C,1))/LN(1.1);
ZDV:=IF(ZD>=1.2,0,ABS(ZD*AMOUNT/10000)*5);
BV:=SMA(IF(ZD>0,ZDV,0),5,1);
SV:=EMA(SMA(IF(ZD<=0,ZDV,0),5,1),2);
VM:=SMA(BV,20,1)/SMA(SV,20,1);
XS:=IF(VM>=1,1,VM);
MF:(BV*XS-SV)/10000,COLORYELLOW,LINETHICK0;
STICKLINE(MF>0,MF,0,8,0),COLORRED;
STICKLINE(MF<=0,MF,0,8,0),ColorFFFF00;

{Z资金流量-通达信版}
ZD:=LN(C/REF(C,1))/LN(1.1);
ZDV:=IF(ZD>=1.2,0,ABS(ZD*AMOUNT/10000)*5);
BV:=SMA(IF(ZD>0,ZDV,0),5,1);
SV:=EMA(SMA(IF(ZD<=0,ZDV,0),5,1),2);
VM:=SMA(BV,20,1)/SMA(SV,20,1);
XS:=IF(VM>=1,1,VM);
MF:(BV*XS-SV)/10000,COLORYELLOW,NODRAW;
STICKLINE(MF>0,MF,0,2,0),COLORRED;
STICKLINE(MF<=0,MF,0,2,0),COLORFFFF00;

201312520592656636.jpg

201312520592656636.jpg

201312520593536490.jpg

201312520593536490.jpg

2013125210778636.rar

2.43 KB, 下载次数: 0

售价: 6 金钱  [记录]  [购买]

2013125210778636.rar

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则