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

小指标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),CulorFFFF00;

{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;
 

 

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。