{公式名称: 寻牛资金} 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;
|
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!