当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:寻牛资金,汇盈系列公式之一(通达信公式 副图 源码 测试图)
软件名称:[B]寻牛资金,汇盈系列公式之一(通达信公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:3.00 KB
官方主页:Home Page
更新时间:2021-10-16 09:20:22
软件简介:
{公式名称: 寻牛资金}
REFLINE:0;
X_1:=EMA(CLOSE,3)-EMA(CLOSE,8);
X_2:=EMA(X_1,5);
X_3:=2*(X_1-X_2);
X_4:=EMA(X_1,5)*5;
X_5:=(EMA(CLOSE,3)-EMA(CLOSE,8))*5;
X3:IF(X_5>0,X_5,0),POINTDOT,COLORRED;
X4:IF(X_5<0,X_5,0),POINTDOT,COLORGREEN;
STICKLINE(X_5>0,0,X_5,2.8,0),COLORRED;
STICKLINE(X_5>0,0,X_5,2.8,0),COLOR000088;
STICKLINE(X_5>0,0,X_5,2.6,0),COLOR000099;
STICKLINE(X_5>0,0,X_5,2.4,0),COLOR0000AA;
STICKLINE(X_5>0,0,X_5,2.2,0),COLOR0000BB;
STICKLINE(X_5>0,0,X_5,2,0),COLOR0000CC;
STICKLINE(X_5>0,0,X_5,1.8,0),COLOR0000DD;
STICKLINE(X_5>0,0,X_5,1.5,0),COLOR0000EE;
STICKLINE(X_5>0,0,X_5,1,0),COLORRED;
STICKLINE(X_5>0,0,X_5,0,0),COLORRED;
STICKLINE(X_5<0,0,X_5,2.8,0),COLORGREEN;
STICKLINE(X_5<0,0,X_5,2.8,0),COLOR007700;
STICKLINE(X_5<0,0,X_5,2.6,0),COLOR008800;
STICKLINE(X_5<0,0,X_5,2.6,0),COLOR009900;
STICKLINE(X_5<0,0,X_5,2.4,0),COLOR00BB00;
STICKLINE(X_5<0,0,X_5,2,0),COLOR00CC00;
STICKLINE(X_5<0,0,X_5,1.8,0),COLOR00DD00;
STICKLINE(X_5<0,0,X_5,1.5,0),COLOR00EE00;
STICKLINE(X_5<0,0,X_5,1,0),COLORGREEN;
STICKLINE(X_5<0,0,X_5,0,0),COLORGREEN;
资金动能A:X_5,COLORYELLOW,LINETHICK2;
资金动能B:X_4,COLORCYAN,LINETHICK2;
DRAWICON(CROSS(资金动能A,资金动能B) AND 资金动能B<(-0.25),资金动能B,1);
X_6:="SZ399002$ADVANCE"+"SH999999$ADVANCE"-"SZ399108$ADVANCE";
X_7:="SZ399002$DECLINE"+"SH999999$DECLINE"-"SZ399108$DECLINE";
X_8:=X_6/(X_6+X_7)*100;
X_9:=X_7/(X_6+X_7)*100;
DRAWTEXT_FIX(1,0,0.08,0,3804),COLORYELLOW;
DRAWTEXT_FIX(1,0.03,0.08,0,STRCAT(3805,CON2STR(X_6,0))),COLORRED;
DRAWTEXT_FIX(1,0.06,0.08,0,3806),COLORYELLOW;
DRAWTEXT_FIX(1,0.09,0.08,0,STRCAT(3805,CON2STR(X_7,0))),COLORGREEN;
DRAWTEXT_FIX(1,0.12,0.08,0,3807),COLORYELLOW;
DRAWTEXT_FIX(1,0.15,0.08,0,STRCAT(3805,CON2STR(X_8,0))),COLORRED;
DRAWTEXT_FIX(1,0.17,0.08,0,3808),COLORYELLOW;
DRAWTEXT_FIX(1,0.2,0.08,0,STRCAT(3805,CON2STR(X_9,0))),COLORGREEN;
DRAWTEXT_FIX(1,0,0.8,0,3809),COLORYELLOW;
若上述公式在汇盈系列行情数据分析软件中有异常,请尝试如下公式:
REFLINE:0;
X_1:=EMA(CLOSE,3)-EMA(CLOSE,8);
X_2:=EMA(X_1,5);
X_3:=2*(X_1-X_2);
X_4:=EMA(X_1,5)*5;
X_5:=(EMA(CLOSE,3)-EMA(CLOSE,8))*5;
X3:IF(X_5>0,X_5,0),POINTDOT,COLORRED;
X4:IF(X_5<0,X_5,0),POINTDOT,COLORGREEN;
STICKLINE(X_5>0,0,X_5,2.8,0),COLORRED;
STICKLINE(X_5>0,0,X_5,2.8,0),COLOR000088;
STICKLINE(X_5>0,0,X_5,2.6,0),COLOR000099;
STICKLINE(X_5>0,0,X_5,2.4,0),COLOR0000AA;
STICKLINE(X_5>0,0,X_5,2.2,0),COLOR0000BB;
STICKLINE(X_5>0,0,X_5,2,0),COLOR0000CC;
STICKLINE(X_5>0,0,X_5,1.8,0),COLOR0000DD;
STICKLINE(X_5>0,0,X_5,1.5,0),COLOR0000EE;
STICKLINE(X_5>0,0,X_5,1,0),COLORRED;
STICKLINE(X_5>0,0,X_5,0,0),COLORRED;
STICKLINE(X_5<0,0,X_5,2.8,0),COLORGREEN;
STICKLINE(X_5<0,0,X_5,2.8,0),COLOR007700;
STICKLINE(X_5<0,0,X_5,2.6,0),COLOR008800;
STICKLINE(X_5<0,0,X_5,2.6,0),COLOR009900;
STICKLINE(X_5<0,0,X_5,2.4,0),COLOR00BB00;
STICKLINE(X_5<0,0,X_5,2,0),COLOR00CC00;
STICKLINE(X_5<0,0,X_5,1.8,0),COLOR00DD00;
STICKLINE(X_5<0,0,X_5,1.5,0),COLOR00EE00;
STICKLINE(X_5<0,0,X_5,1,0),COLORGREEN;
STICKLINE(X_5<0,0,X_5,0,0),COLORGREEN;
资金动能A:X_5,COLORYELLOW,LINETHICK2;
资金动能B:X_4,COLORCYAN,LINETHICK2;
DRAWICON(CROSS(资金动能A,资金动能B) AND 资金动能B<(-0.25),资金动能B,1);
X_6:="SZ399002$CLOSE"+"SH999999$CLOSE"-"SZ399108$CLOSE";
X_7:="SZ399002$VOL"+"SH999999$VOL"-"SZ399108$VOL";
X_8:=X_6/(X_6+X_7)*100;
X_9:=X_7/(X_6+X_7)*100;
DRAWTEXT_FIX(1,0,0.08,0,3804),COLORYELLOW;
DRAWTEXT_FIX(1,0.03,0.08,0,STRCAT(3805,CON2STR(X_6,0))),COLORRED;
DRAWTEXT_FIX(1,0.06,0.08,0,3806),COLORYELLOW;
DRAWTEXT_FIX(1,0.09,0.08,0,STRCAT(3805,CON2STR(X_7,0))),COLORGREEN;
DRAWTEXT_FIX(1,0.12,0.08,0,3807),COLORYELLOW;
DRAWTEXT_FIX(1,0.15,0.08,0,STRCAT(3805,CON2STR(X_8,0))),COLORRED;
DRAWTEXT_FIX(1,0.17,0.08,0,3808),COLORYELLOW;
DRAWTEXT_FIX(1,0.2,0.08,0,STRCAT(3805,CON2STR(X_9,0))),COLORGREEN;
DRAWTEXT_FIX(1,0,0.8,0,3809),COLORYELLOW;
[url=http://www.70822.com/soft/sort013/sort05/down-158620.html]寻牛资金,汇盈系列公式之一(通达信公式 副图 源码 测试图)[/url]