MACD黄金 DRAWRECTREL(HZ*999,ZZ*999,HZ*999+177,ZZ*999+134,RGB(0,0,255));
XA_1:=IF(TJ=1,1,DRAWNULL);
XA_2:=REF(LOW,1);
XA_3:=REF(HIGH,1);
XA_4:=LOW>XA_3;
XA_5:=HIGH<XA_2;
STICKLINE(LOW>REF(HIGH,1),LOW,REF(HIGH,1),3.1,(-1)),COLORRED;
STICKLINE(REF(LOW,1)>HIGH,REF(LOW,1),HIGH,3.1,(-1)),COLORGREEN;
XA_6:=1;
STICKLINE(OPEN>=CLOSE*XA_6,HIGH,LOW,0,0),COLOR909090;
STICKLINE(OPEN>=CLOSE*XA_6,CLOSE,OPEN,3.1,0),COLOR606060;
STICKLINE(OPEN>=CLOSE*XA_6,CLOSE,OPEN,2.1,0),COLOR707070;
STICKLINE(OPEN>=CLOSE*XA_6,CLOSE,OPEN,1.2,0),COLORGRAY;
STICKLINE(OPEN>=CLOSE*XA_6,CLOSE,OPEN,0.2,0),COLOR909090;
STICKLINE(OPEN<=CLOSE*XA_6,HIGH,LOW,0,0),COLOR666B6F;
STICKLINE(CLOSE>OPEN*XA_6,CLOSE,OPEN,3.1,1),COLOR666B6F;
XA_7:=REF(CLOSE,1);
XA_8:=IF(NAMELIKE(91) OR NAMELIKE(92),5,10);
XA_9:=IF((CLOSE-XA_7)*100/XA_7>=XA_8-0.01*100/XA_7 AND CLOSE=HIGH,1,0);
XA_10:=IF((XA_7-CLOSE)*100/XA_7>=XA_8-0.01*100/XA_7 AND CLOSE=LOW,1,0);
STICKLINE(XA_9,CLOSE,OPEN,3.1,0),COLOR0000CC;
STICKLINE(XA_9,CLOSE,OPEN,2.1,0),COLOR0000DD;
STICKLINE(XA_9,CLOSE,OPEN,1.2,0),COLOR0000EE;
STICKLINE(XA_9,CLOSE,OPEN,0.2,0),COLORRED;
STICKLINE(XA_9,HIGH,LOW,0,0),COLORRED;
STICKLINE(XA_10,OPEN,CLOSE,3.1,0),COLOR66CC66;
STICKLINE(XA_10,OPEN,CLOSE,2.1,0),COLOR77DD77;
STICKLINE(XA_10,OPEN,CLOSE,1.2,0),COLOR88EE88;
STICKLINE(XA_10,OPEN,CLOSE,0.2,0),COLOR99FF99;
STICKLINE(XA_10,HIGH,LOW,0,0),COLOR99FF99;
XA_11:=EMA(CLOSE,36)-EMA(CLOSE,98);
XA_12:=EMA(XA_11,27);
XA_13:=(XA_11-XA_12)*2;
XA_14:=XA_11>0 AND XA_12>0 AND XA_11>0.01;
XA_15:=CROSS(XA_14,0.5);
XA_16:=CURRBARSCOUNT;
XA_17:=CONST(COUNT(XA_15,420));
XA_18:=CONST(SUMBARS(XA_15,1))-XA_16;
XA_19:=REF(HIGH,XA_18);
XA_20:=STRCAT(STRCAT(93,CON2STR(XA_19,2)),59);
DRAWTEXT_FIX(CLOSE<XA_19 AND CLOSE>=REF(HIGH/1.0618,XA_18) AND ISLASTBAR,HZ+0.02,ZZ+0.025,0,XA_20),COLORMAGENTA;
XA_21:=STRCAT(STRCAT(94,CON2STR(REF(HIGH/1.0618,XA_18),2)),57);
DRAWTEXT_FIX(CLOSE<XA_19 AND CLOSE>=REF(HIGH/1.0618,XA_18) AND ISLASTBAR,HZ+0.02,ZZ+0.083,0,XA_21),COLORF4C728;
XA_22:=STRCAT(STRCAT(95,CON2STR(REF(HIGH/1.0618,XA_18),2)),59);
DRAWTEXT_FIX(CLOSE<REF(HIGH/1.0618,XA_18) AND CLOSE>REF(HIGH/1.089,XA_18) AND ISLASTBAR,HZ+0.015,ZZ+0.008,0,XA_22),COLORMAGENTA;
XA_23:=STRCAT(STRCAT(96,CON2STR(REF(HIGH/1.0809,XA_18),2)),57);
DRAWTEXT_FIX(CLOSE<REF(HIGH/1.0618,XA_18) AND CLOSE>REF(HIGH/1.089,XA_18) AND ISLASTBAR,HZ+0.015,ZZ+0.054,0,XA_23),COLOR0FC9DD;
XA_24:=STRCAT(STRCAT(97,CON2STR(REF(HIGH/1.0809,XA_18),2)),57);
DRAWTEXT_FIX(CLOSE<REF(HIGH/1.0618,XA_18) AND CLOSE>REF(HIGH/1.089,XA_18) AND ISLASTBAR,HZ+0.036,ZZ+0.1,0,98),COLORF4C728;
XA_25:=STRCAT(STRCAT(99,CON2STR(REF(HIGH/1.0618,XA_18),2)),59);
DRAWTEXT_FIX(CLOSE<REF(HIGH/1.0809,XA_18) AND ISLASTBAR,HZ+0.015,ZZ+0.008,0,XA_25),COLORMAGENTA;
XA_26:=STRCAT(STRCAT(100,CON2STR(REF(HIGH/1.0809,XA_18),2)),59);
DRAWTEXT_FIX(CLOSE<REF(HIGH/1.0809,XA_18) AND ISLASTBAR,HZ+0.015,ZZ+0.054,0,XA_26),COLOR0FC9DD;
XA_27:=STRCAT(STRCAT(101,CON2STR(REF(HIGH/1.0809,XA_18),2)),57);
DRAWTEXT_FIX(CLOSE<REF(HIGH/1.0809,XA_18) AND ISLASTBAR,HZ+0.036,ZZ+0.1,0,102),COLORF4C728;
XA_28:=STRCAT(STRCAT(103,CON2STR(REF(HIGH*1.0191,XA_18),2)),59);
DRAWTEXT_FIX(CLOSE>=XA_19 AND CLOSE<REF(HIGH*1.0191,XA_18) AND ISLASTBAR,HZ+0.025,ZZ+0.025,0,XA_28),COLORMAGENTA;
XA_29:=STRCAT(STRCAT(104,CON2STR(XA_19,2)),57);
DRAWTEXT_FIX(CLOSE>=XA_19 AND CLOSE<REF(HIGH*1.0191,XA_18) AND ISLASTBAR,HZ+0.025,ZZ+0.083,0,XA_29),COLORF4C728;
XA_30:=STRCAT(STRCAT(105,CON2STR(REF(HIGH*1.0382,XA_18),2)),59);
DRAWTEXT_FIX(CLOSE>=REF(HIGH*1.0191,XA_18) AND CLOSE<REF(HIGH*1.0382,XA_18) AND ISLASTBAR,HZ+0.025,ZZ+0.008,0,XA_30),COLORMAGENTA;
XA_31:=STRCAT(STRCAT(106,CON2STR(REF(HIGH*1.0191,XA_18),2)),57);
DRAWTEXT_FIX(CLOSE>=REF(HIGH*1.0191,XA_18) AND CLOSE<REF(HIGH*1.0382,XA_18) AND ISLASTBAR,HZ+0.025,ZZ+0.054,0,XA_31),COLOR0FC9DD;
XA_32:=STRCAT(STRCAT(104,CON2STR(XA_19,2)),57);
DRAWTEXT_FIX(CLOSE>=REF(HIGH*1.0191,XA_18) AND CLOSE<REF(HIGH*1.0382,XA_18) AND ISLASTBAR,HZ+0.025,ZZ+0.1,0,XA_32),COLORF4C728;
XA_33:=STRCAT(STRCAT(107,CON2STR(REF(HIGH*1.0618,XA_18),2)),59);
DRAWTEXT_FIX(CLOSE>=REF(HIGH*1.0382,XA_18) AND CLOSE<REF(HIGH*1.0618,XA_18) AND ISLASTBAR,HZ+0.025,ZZ+0.008,0,XA_33),COLORMAGENTA;
XA_34:=STRCAT(STRCAT(108,CON2STR(REF(HIGH*1.0382,XA_18),2)),57);
DRAWTEXT_FIX(CLOSE>=REF(HIGH*1.0382,XA_18) AND CLOSE<REF(HIGH*1.0618,XA_18) AND ISLASTBAR,HZ+0.025,ZZ+0.054,0,XA_34),COLOR0FC9DD;
XA_35:=STRCAT(STRCAT(109,CON2STR(REF(HIGH*1.0191,XA_18),2)),57);
DRAWTEXT_FIX(CLOSE>=REF(HIGH*1.0382,XA_18) AND CLOSE<REF(HIGH*1.0618,XA_18) AND ISLASTBAR,HZ+0.025,ZZ+0.1,0,XA_35),COLORF4C728;
XA_36:=STRCAT(STRCAT(110,CON2STR(REF(HIGH*1.0809,XA_18),2)),59);
DRAWTEXT_FIX(CLOSE>=REF(HIGH*1.0618,XA_18) AND CLOSE<REF(HIGH*1.0809,XA_18) AND ISLASTBAR,HZ+0.025,ZZ+0.008,0,XA_36),COLORMAGENTA;
XA_37:=STRCAT(STRCAT(111,CON2STR(REF(HIGH*1.0618,XA_18),2)),57);
DRAWTEXT_FIX(CLOSE>=REF(HIGH*1.0618,XA_18) AND CLOSE<REF(HIGH*1.0809,XA_18) AND ISLASTBAR,HZ+0.025,ZZ+0.054,0,XA_37),COLOR0FC9DD;
XA_38:=STRCAT(STRCAT(112,CON2STR(REF(HIGH*1.0382,XA_18),2)),57);
DRAWTEXT_FIX(CLOSE>=REF(HIGH*1.0618,XA_18) AND CLOSE<REF(HIGH*1.0809,XA_18) AND ISLASTBAR,HZ+0.025,ZZ+0.1,0,XA_38),COLORF4C728;
XA_39:=STRCAT(STRCAT(113,CON2STR(REF(HIGH*1.191,XA_18),2)),59);
DRAWTEXT_FIX(CLOSE>=REF(HIGH*1.0809,XA_18) AND CLOSE<REF(HIGH*1.191,XA_18) AND ISLASTBAR,HZ+0.025,ZZ+0.008,0,XA_39),COLORMAGENTA;
XA_40:=STRCAT(STRCAT(114,CON2STR(REF(HIGH*1.0809,XA_18),2)),57);
DRAWTEXT_FIX(CLOSE>=REF(HIGH*1.0809,XA_18) AND CLOSE<REF(HIGH*1.191,XA_18) AND ISLASTBAR,HZ+0.025,ZZ+0.054,0,XA_40),COLOR0FC9DD;
XA_41:=STRCAT(STRCAT(115,CON2STR(REF(HIGH*1.0618,XA_18),2)),57);
DRAWTEXT_FIX(CLOSE>=REF(HIGH*1.0809,XA_18) AND CLOSE<REF(HIGH*1.191,XA_18) AND ISLASTBAR,HZ+0.025,ZZ+0.1,0,XA_41),COLORF4C728;
XA_42:=STRCAT(STRCAT(116,CON2STR(REF(HIGH*1.382,XA_18),2)),59);
DRAWTEXT_FIX(CLOSE>=REF(HIGH*1.191,XA_18) AND CLOSE<REF(HIGH*1.382,XA_18) AND ISLASTBAR,HZ+0.025,ZZ+0.008,0,XA_42),COLORMAGENTA;
XA_43:=STRCAT(STRCAT(117,CON2STR(REF(HIGH*1.191,XA_18),2)),57);
DRAWTEXT_FIX(CLOSE>=REF(HIGH*1.191,XA_18) AND CLOSE<REF(HIGH*1.382,XA_18) AND ISLASTBAR,HZ+0.025,ZZ+0.054,0,XA_43),COLOR0FC9DD;
XA_44:=STRCAT(STRCAT(118,CON2STR(REF(HIGH*1.0809,XA_18),2)),57);
DRAWTEXT_FIX(CLOSE>=REF(HIGH*1.191,XA_18) AND CLOSE<REF(HIGH*1.382,XA_18) AND ISLASTBAR,HZ+0.025,ZZ+0.1,0,XA_44),COLORF4C728;
XA_45:=STRCAT(STRCAT(119,CON2STR(REF(HIGH*1.618,XA_18),2)),59);
DRAWTEXT_FIX(CLOSE>=REF(HIGH*1.382,XA_18) AND CLOSE<REF(HIGH*1.618,XA_18) AND ISLASTBAR,HZ+0.025,ZZ+0.008,0,XA_45),COLORMAGENTA;
XA_46:=STRCAT(STRCAT(120,CON2STR(REF(HIGH*1.382,XA_18),2)),57);
DRAWTEXT_FIX(CLOSE>=REF(HIGH*1.382,XA_18) AND CLOSE<REF(HIG |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!