程序化指标公式
问答中心

通达信资金进出比例指标公式

通达信指标 2021-06-08阅读量:3475

安装后如下图,友情提示(指标只是辅助,不作建议) 所有程序均为免费分享。

不会安装点击 安装指南 步骤操作。

VAR1S:=DMA((HIGH+LOW+CLOSE*2)/4,0.9);

VAR2S:=REF(EMA(VAR1S,3),1);

VAR3S:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)){需要编写选股关注微信公众号:程序化指标};

VAR4S:=IF(CLOSE>OPEN,VAR3S*(HIGH-LOW),IF(CLOSE<OPEN,VAR3S*(HIGH-OPEN+(CLOSE-LOW)),VOL/2))+IF(CLOSE>OPEN,0-VAR3S*(HIGH-CLOSE+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR3S*(HIGH-LOW),0-VOL/2));

VAR5S:=VOL/CAPITAL;

VAR6S:=IF(VAR5S>10,10,VAR5S);

VAR7S:=VAR4S/20/1.15;

VAR8S:=VAR7S*0.55+REF(VAR7S,1)*0.33+REF(VAR7S,2)*0.22;

VAR9S:=EMA(VAR8S,8);

VAR10S:=EMA(VAR8S,3);

STICKLINE(VAR7S*0.4>=0,VAR7S*0.4+VAR10S,0,3,0),COLORYELLOW;

STICKLINE(VAR7S*0.4<0,VAR7S*0.4+VAR10S,0,3,0),COLORGREEN;

VAR11S:=IF(VAR7S*0.4+VAR10S>0,VAR7S*0.4+VAR10S,DRAWNULL);

VAR12S:=IF(VAR7S*0.4+VAR10S<0,VAR7S*0.4+VAR10S,DRAWNULL);

VAR13S:=VAR7S*0.4+VAR10S;

VAR14S:=AMOUNT/10000;

资金净进出:IF(VAR7S*0.4+VAR10S>0,VAR11S,VAR12S),POINTDOT,COLORWHITE;

进出比例%:IF(VAR7S*0.4+VAR10S>0,VAR11S/VAR14S*100,VAR12S/VAR14S*100),COLORYELLOW;

VAR15S:=VAR10S;

STICKLINE(VAR15S>0,VAR15S,0,3,0),COLORRED;

STICKLINE(VAR15S<0,VAR15S,0,3,0),COLORFF3300;

版权声明

所有指标均为免费分享。

文章内容来自互联网,本网站无任何收费项目也不推荐股票
广告投放请自行识别风险。

分享:

扫一扫在手机阅读、分享本文

程序化指标公众号

左边广告一

关闭

右边广告二

关闭