{公式名称: 风哥突破主图2
公式描述:
参数数量: 5
参数1: 精准线, 最小: 1, 最大: 3, 缺省: 3
参数2: 买点, 最小: 0, 最大: 1, 缺省: 0
参数3: 九转, 最小: 0, 最大: 1, 缺省: 0
参数4: 上轨线, 最小: 0, 最大: 1, 缺省: 0
参数5: 均线, 最小: 0, 最大: 1, 缺省: 0
公式类型: 技术指标公式-其他类型
画线方法: 主图叠加
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外Y轴分界: 无
参数精灵:
请设置计算参数:
精准线: PARAM#0 (1.00--3.00)
买点: PARAM#1 (0.00--1.00)
九转: PARAM#2 (0.00--1.00)
上轨线: PARAM#3 (0.00--1.00)
均线: PARAM#4 (0.00--1.00)
用法注释:无
公式源码:}
XA_1:=STRCAT(HYBLOCK,1);
XA_2:=STRCAT(XA_1,FGBLOCK);
XA_3:=STRCAT(XA_2,DYBLOCK);
XA_4:=STRCAT(XA_3,1);
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(XA_4,GNBLOCK)),COLORWHITE;
XA_5:=FINANCE(33)/FINANCE(34)*100;
XA_6:=FINANCE(23)/FINANCE(20)*100;
XA_7:=FINANCE(44);
XA_8:=CONST(FINANCE(34));
XA_9:=CONST(FINANCE(38));
XA_10:=FINANCE(43);
XA_11:=CONST(FINANCE(1)*DYNAINFO(7)/FINANCE(20));
XA_12:=FINANCE(25)/FINANCE(15);
XA_13:=CONST(FINANCE(32));
XA_14:=CONST(FINANCE(18));
XA_15:=XA_5>3;
XA_16:=XA_5>0.01 AND XA_5<=3;
XA_17:=XA_6>2;
XA_18:=XA_6>0;
XA_19:=XA_7>1;
XA_20:=XA_7>0;
XA_21:=XA_10>2;
XA_22:=XA_10>0.2;
XA_23:=XA_9>0.01;
XA_24:=XA_9>0.001;
XA_25:=XA_8>2;
XA_26:=XA_8>0.01;
XA_27:=XA_13>0.5;
XA_28:=XA_13>0.001;
XA_29:=XA_14>0.5;
XA_30:=XA_14>0.002;
XA_31:=XA_13>=2 AND XA_14>=2;
XA_32:=XA_13<2 OR XA_14<2;
XA_33:=XA_15 AND XA_17 AND XA_19 AND XA_21 AND XA_23 AND XA_25 AND XA_27 AND XA_29;
XA_34:=XA_16 AND XA_18 AND XA_20 AND XA_22 AND XA_24 AND XA_26 AND XA_28 AND XA_30;
XA_35:=NOT(XA_33) AND NOT(XA_34);
XA_36:=BARSCOUNT(CLOSE)>250;
DRAWTEXT_FIX(XA_33 AND XA_36,0.7,0.01,0,297),COLORYELLOW;
DRAWTEXT_FIX(XA_34 AND XA_36,0.7,0.01,0,298),COLORYELLOW;
DRAWTEXT_FIX(XA_35 AND XA_36,0.7,0.01,0,299),COLORYELLOW;
DRAWTEXT_FIX(1,0.75,0.01,0,22),COLORRED;
DRAWTEXT_FIX(1,0.94,0.01,0,23),COLORYELLOW;
DRAWTEXT_FIX(1,0.85,0.01,0,CON2STR(FINANCE(46)/100000000,2)),COLORWHITE;
DRAWTEXT_FIX(1,0.9,0.01,0,CON2STR(OPEN*FINANCE(46)/100000000,2)),COLORYELLOW;
MA7:EMA(CLOSE,144),COLORC08000;
MA8:EMA(CLOSE,168),COLOR808040;
DRAWBAND(MA7,RGB(43,114,185),MA8,RGB(43,114,185));
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
MA5:IF(均线=1,MA(CLOSE,5),0),COLORWHITE;
MA30:IF(均线=1,MA(CLOSE,30),0),COLORYELLOW,LINETHICK2;
MA60:IF(均线=1,MA(CLOSE,60),0),COLORGREEN;
DRAWTEXT_FIX(1,0,0.05,0,STRCAT(300,EXTERNSTR(0,7004))),COLORYELLOW;
NOTEXT上趋势:IF(上轨线=1,MA(LOW,20)*1.2,0),COLOR4080FF;
NOTEXT次上趋势:IF(上轨线=1,MA(LOW,20)*1.1,0),COLOR408000;
XA_37:=CLOSE-LOW;
XA_38:=HIGH-LOW;
XA_39:=CLOSE-HIGH;
XA_40:=IF(HIGH>LOW,(XA_37/XA_38+XA_39/XA_38)*VOL,0);
WWWFXJGSWCOM:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); XA_41:=SUM(XA_40,10)/10000;
XA_42:=(-1);
XA_43:=UPNDAY(XA_42,1);
XA_44:=MA(CLOSE,5);
XA_45:=MA(CLOSE,10);
XA_46:=REF(HIGH,5)=HHV(HIGH,11);
XA_47:=REF(LOW,5)=LLV(LOW,11);
XA_48:=BACKSET(XA_46,6)>BACKSET(XA_46,5);
XA_49:=BACKSET(XA_47,6)>BACKSET(XA_47,5);
XA_50:=IF(BARSLAST(XA_48)=BARSLAST(XA_49) AND XA_44>XA_45,XA_48,IF(BARSLAST(XA_49)>BARSLAST(XA_48),XA_48,0));
XA_51:=IF(BARSLAST(XA_48)=BARSLAST(XA_49) AND XA_45>XA_44,XA_49,IF(BARSLAST(XA_48)>BARSLAST(XA_49),XA_49,0));
XA_52:=XA_50 AND HIGH=HHV(HIGH,BARSLAST(XA_51));
XA_53:=XA_51 AND LOW=LLV(LOW,BARSLAST(XA_50));
XA_54:=LOW>REF(HIGH,1) AND DAY!=REF(DAY,1);
XA_55:=HIGH<REF(LOW,1) AND DAY!=REF(DAY,1);
XA_56:=REF(HIGH,BARSLAST(XA_52));
XA_57:=REF(LOW,BARSLAST(XA_52));
XA_58:=REF(HIGH,BARSLAST(XA_52)+1);
XA_59:=REF(LOW,BARSLAST(XA_52)+1);
XA_60:=REF(LOW,BARSLAST(XA_52)+2);
XA_61:=REF(HIGH,BARSLAST(XA_53)+2);
XA_62:=REF(HIGH,BARSLAST(XA_53));
XA_63:=REF(LOW,BARSLAST(XA_53));
XA_64:=REF(HIGH,BARSLAST(XA_53)+1);
XA_65:=REF(LOW,BARSLAST(XA_53)+1);
XA_66:=IF(XA_58<XA_57,XA_57,IF(XA_57<=XA_59,XA_60,XA_59));
XA_67:=IF(XA_65>XA_62,XA_62,IF(XA_62>=XA_64,XA_61,XA_64));
XA_68:=XA_56>XA_67 AND XA_52;
XA_69:=XA_63<XA_66 AND XA_53;
XA_70:=XA_68 AND XA_56>XA_62 AND XA_57>XA_63 AND XA_59>XA_63;
XA_71:=XA_69 AND XA_63<XA_57 AND XA_62<XA_56 AND XA_64<XA_56;
XA_72:=HIGH<=REF(HIGH,1) AND LOW>=REF(LOW,1) OR (HIGH>=REF(HIGH,1) AND LOW<=REF(LOW,1));
XA_73:=COUNT(XA_72,BARSLAST(XA_53));
XA_74:=COUNT(XA_72,BARSLAST(XA_52));
XA_75:=COUNT(XA_54,BARSLAST(XA_53));
XA_76:=COUNT(XA_55,BARSLAST(XA_52));
XA_77:=IF(XA_73>0,XA_73+2,IF(XA_74,XA_74+2,3));
XA_78:=IF(XA_75,XA_77-XA_75,IF(XA_76,XA_77-XA_76,XA_77));
XA_79:=XA_70 AND BARSLAST(XA_71)>XA_78;
XA_80:=XA_71 AND BARSLAST(XA_70)>XA_78;
XA_81:=XA_52 AND REF(HIGH,BARSLAST(XA_52))>=REF(HIGH,BARSLAST(XA_79)) AND BARSLAST(XA_80)>BARSLAST(XA_79) OR (XA_68 AND COUNT(XA_54,BARSLAST(XA_69))>0 AND REF(HIGH,BARSLAST(XA_68))>REF(HIGH,BARSLAST(XA_79)));
XA_82:=XA_53 AND REF(LOW,BARSLAST(XA_53))<=REF(LOW,BARSLAST(XA_80)) AND BARSLAST(XA_79)>BARSLAST(XA_80) OR (XA_69 AND COUNT(XA_55,BARSLAST(XA_68))>0 AND REF(LOW,BARSLAST(XA_69))<REF(HIGH,BARSLAST(XA_80)));
XA_83:=IF(BARSLAST(XA_82)>BARSLAST(XA_81),REF(HIGH,BARSLAST(XA_81)),REF(HIGH,BARSLAST(XA_82)));
XA_84:=IF(BARSLAST(XA_81)>BARSLAST(XA_82),REF(LOW,BARSLAST(XA_82)),REF(LOW,BARSLAST(XA_81)));
XA_85:=XA_81 AND HIGH=HHV(XA_83,BARSLAST(XA_82)+1) AND HIGH>REF(HIGH,1) AND BARSLAST(XA_82)>BARSLAST(XA_81);
XA_86:=XA_82 AND LOW=LLV(XA_84,BARSLAST(XA_81)+1) AND LOW<REF(LOW,1) AND BARSLAST(XA_81)>BARSLAST(XA_82);
XA_87:=XA_85 OR (XA_52 AND REF(HIGH,BARSLAST(XA_52))>REF(HIGH,BARSLAST(XA_85)) AND BARSLAST(XA_86)>BARSLAST(XA_85));
XA_88:=XA_86 OR (XA_53 AND REF(LOW,BARSLAST(XA_53))<REF(LOW,BARSLAST(XA_86)) AND BARSLAST(XA_85)>BARSLAST(XA_86));
顶线:DRAWLINE(XA_87,HIGH,REF(XA_87,1),REF(HIGH,1),1),DOTLINE,COLORGREEN;
底线:DRAWLINE(XA_88,LOW,REF(XA_88,1),REF(LOW,1),1),DOTLINE,COLORRED;
DRAWICON(CROSS(CLOSE,顶线),顶线*1.01,38);{通达信公式大全 分析家公式网www.fxjgsw.com}
XA_89:=IF(INBLOCK(122) AND DATE>1200823 OR INBLOCK(123),1.2,1.1);
XA_90:=IF(CODELIKE(58) AND DATE>1200823 OR CODELIKE(60),0.8,0.9);
XA_91:=REF(CLOSE,1)*XA_89-CLOSE<0.0049 AND CLOSE=HIGH;
XA_92:=CLOSE-REF(CLOSE,1)*XA_90<0.0051 AND CLOSE=LOW;
STICKLINE(XA_91 AND PERIOD=5,CLOSE,OPEN,1.5,0),COLORYELLOW;
STICKLINE(XA_92 AND PERIOD=5,OPEN,CLOSE,1.5,0),COLORGREEN;
STICKLINE(REF(CLOSE,1)*XA_89-HIGH<0.0049 AND HIGH>CLOSE AND PERIOD=5,HIGH,MAX(CLO |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!