仿天狼50资金流量指标(提供大智慧飞狐版)
仅是日线测算,不是L2数据,别被名称迷惑!
源码
{www.qill.cnZ资金流量-大智慧飞狐版} 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;
{www.qill.cnZ资金流量-通达信版} 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;
移动端首页 | PC端
© by gszx.com.cn Mobile Web
仿天狼50资金流量指标(提供大智慧飞狐版)
仅是日线测算,不是L2数据,别被名称迷惑!
源码
{www.qill.cnZ资金流量-大智慧飞狐版}
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;
{www.qill.cnZ资金流量-通达信版}
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;