{公式名称: 阿宾操盘V1 公式描述: 缠论画线机构操盘顶底分形版 参数数量: 8 参数1: 急涨周期, 最小: 0, 最大: 100, 缺省: 10 参数2: 急涨幅度, 最小: 0, 最大: 100, 缺省: 40 参数3: 急跌周期, 最小: 0, 最大: 100, 缺省: 20 参数4: 急跌幅度, 最小: 0, 最大: 100, 缺省: 30 参数5: 底部周期, 最小: 0, 最大: 100, 缺省: 1 参数6: 涨幅, 最小: 0, 最大: 1000, 缺省: 7 参数7: 距离, 最小: 0, 最大: 1000, 缺省: 50 参数8: 包含处理, 最小: 0, 最大: 1, 缺省: 0 公式类型: 技术指标公式-大势型 画线方法: 主图叠加 公式版本: 1 显示小数: 缺省位数 坐标线位置: 自动 额外Y轴分界: 无 参数精灵: 请设置计算参数: 急涨周期: Param#0 (0.00--100.00) 急涨幅度: Param#1 (0.00--100.00) 急跌周期: Param#2 (0.00--100.00) 急跌幅度: Param#3 (0.00--100.00) 用法注释:无 公式源码:} VAR1:=CLOSE; VAR2:=REF(CLOSE,2); VAR3:=MA(CLOSE,5); VAR4:=MA(CLOSE,26); VAR5:=MA((3*HIGH+CLOSE)/4,2); VAR6:=FORCAST(EMA(VAR2,1),7); 短趋势:FORCAST(EMA(VAR1,16),7),COLORGREEN,LINETHICK3; 中趋势:FORCAST(EMA(VAR1,55),7),DOTLINE,COLORCYAN; NOTEXT5:IF(VAR3>短趋势 OR CLOSE>短趋势,短趋势,DRAWNULL),COLORRED,LINETHICK3; NOTEXT6:IF(短趋势>=中趋势,中趋势,DRAWNULL),DOTLINE,COLORRED; VAR7:=VAR3>短趋势 OR CLOSE>短趋势; VAR8:=短趋势>=中趋势; VAR9:=VAR7 AND VAR8; VAR10:=BARSLAST(LOW=LLV(LOW,13)); VAR11:=BARSLAST(CROSS(短趋势,中趋势)); VAR12:=CLOSE/REF(CLOSE,急涨周期)-1>=急涨幅度/100; VAR13:=REF(CLOSE,底部周期+急涨周期+急跌周期)/REF(CLOSE,急涨周期+底部周期)-1<=急跌幅度/100 AND BARSCOUNT(CLOSE)>60; 黄金坑:VAR12 AND VAR13,NODRAW,COLORMAGENTA; VAR14:=FILTER(黄金坑,10); STICKLINE(黄金坑 AND VAR14,OPEN,CLOSE,3.5,1),COLORMAGENTA; DRAWTEXT(黄金坑 AND VAR14,LOW*0.98,1),COLORMAGENTA; VAR15:=MA(CLOSE,13); VAR16:=MA(CLOSE,21); VAR17:=MA(CLOSE,34); VAR18:=MA(CLOSE,55); VAR19:=CROSS(CLOSE,VAR18)+CROSS(CLOSE,VAR15)+CROSS(CLOSE,VAR16)+CROSS(CLOSE,VAR17); 起爆:CLOSE>OPEN AND VAR19>2 AND CLOSE/REF(CLOSE,1)-1>0.049 AND CLOSE/REF(CLOSE,1)-1<0.097 AND CLOSE>MAX(VAR15,MAX(VAR16,MAX(VAR17,VAR18))) AND CLOSE>MAX(MA(CLOSE,144),MA(CLOSE,233)),NODRAW,COLORWHITE; STICKLINE(起爆,OPEN,CLOSE,3,0),COLORWHITE; DRAWTEXT(起爆,HIGH*1.01,2),COLORWHITE; VAR20:=CLOSE/REF(CLOSE,1)-1>涨幅/100; VAR21:=CLOSE/中趋势-1<距离/100; VAR22:=BARSCOUNT(CLOSE); VAR23:=CLOSE>=HHV(CLOSE,VAR22); 飞龙在天:VAR23 AND VAR20 AND VAR21 AND BARSCOUNT(CLOSE)>100,NODRAW,COLORLIMAGENTA; STICKLINE(飞龙在天,OPEN,CLOSE,3,0),COLORLIMAGENTA; DRAWTEXT(飞龙在天,HIGH*1.05,3),COLORLIMAGENTA; VAR24:=ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03 AND CLOSE/OPEN>1.03 AND CLOSE>REF(CLOSE,2) AND CLOSE/REF(CLOSE,1)>1.0572; DRAWTEXT(VAR24 AND VAR9,LOW*0.95,4),COLORYELLOW; 抓板:VAR24 AND VAR9,NODRAW,COLORYELLOW; STICKLINE(VAR24 AND VAR9,REF(CLOSE,1)*1.05,CLOSE,2,0),COLORYELLOW; STICKLINE(VAR24 AND VAR9,OPEN,REF(CLOSE,1)*1.05,2,0),COLORRED; DRAWTEXT_FIX(ISLASTBAR,0.3,0,0,HYBLOCK),COLORYELLOW; DRAWTEXT_FIX(ISLASTBAR,0.4,0,0,DYBLOCK),COLORYELLOW; DRAWTEXT_FIX(ISLASTBAR,0.5,0,0,GNBLOCK),COLORYELLOW; VAR25:=LOW<REF(LLV(LOW,3),1) AND REFX(LOW,1)>LOW AND IF(REFX(HIGH,1)>HIGH,1,REFX(LOW,2)>LOW AND IF(REFX(HIGH,2)>REFX(HIGH,1),1,REFX(LOW,3)>LOW AND IF(REFX(HIGH,3)>REFX(HIGH,2),1,REFX(LOW,4)>LOW AND REFX(HIGH,4)>REFX(HIGH,3)))); VAR26:=HIGH>REF(HHV(HIGH,3),1) AND REFX(HIGH,1)<HIGH AND IF(REFX(LOW,1)<LOW,1,REFX(HIGH,2)<HIGH AND IF(REFX(LOW,2)<REFX(LOW,1),1,REFX(HIGH,3)<HIGH AND IF(REFX(LOW,3)<REFX(LOW,2),1,REFX(HIGH,4)<HIGH AND REFX(LOW,4)<REFX(LOW,3)))); VAR27:=IF(DATE<1991011,VAR25,0); VAR28:=IF(DATE<1991011,VAR26,0); DRAWICON(VAR27 AND REF(NOT(VAR28),1),LOW,1); DRAWICON(VAR28 AND REF(NOT(VAR27),1),HIGH,2); VAR29:=BACKSET(LLV(LOW,5)<REF(LLV(LOW,4),1),4); VAR30:=BACKSET(VAR29=0 AND REF(VAR29,1)=1,2); VAR31:=IF(VAR30=1 AND REF(VAR30,1)=0,(-1),0); VAR32:=BACKSET(HHV(HIGH,5)>REF(HHV(HIGH,4),1),4); VAR33:=BACKSET(VAR32=0 AND REF(VAR32,1)=1,2); VAR34:=IF(VAR33=1 AND REF(VAR33,1)=0,1,0); VAR35:=IF(LOW>REF(HIGH,1),1,IF(HIGH<REF(LOW,1),(-1),0)); VAR36:=BARSLAST(VAR34=1); VAR37:=BARSLAST(VAR31=(-1)); VAR38:=LOWRANGE(LOW); VAR39:=TOPRANGE(HIGH); VAR40:=IF(VAR31=(-1) AND REF(VAR36,1)>REF(VAR37,1) AND LLV(LOW,VAR36+1)<REF(LLV(LOW,VAR36+1),1),(-1),0); VAR41:=IF(VAR31=(-1) AND REF(VAR36,1)<=REF(VAR37,1) AND (VAR36>=4 OR LLV(VAR35,VAR36)=(-1) OR LLV(LOW,VAR37+2)<REF(LLV(LOW,VAR37+1),1)),(-1),0); VAR42:=IF(VAR40=(-1) OR VAR41=(-1) AND LOW<REF(HIGH,VAR36+1),(-1),0); VAR43:=IF(VAR37<4 AND HHV(VAR35,VAR37)!=1 OR REF(VAR42,VAR37)=0,1,0); VAR44:=IF(VAR34=1 AND REF(VAR37,1)<=REF(VAR36,1) AND VAR43=1 AND VAR39>REF(VAR38,VAR37+1) AND VAR39>REF(VAR38,VAR37) AND VAR39>REF(VAR39,VAR36),1,0); VAR45:=IF(VAR34=1 AND REF(VAR37,1)>REF(VAR36,1) AND HHV(HIGH,VAR37+1)>REF(HHV(HIGH,VAR37+1),1),1,0); VAR46:=IF(VAR34=1 AND REF(VAR37,1)<=REF(VAR36,1) AND REF(VAR42,VAR37)=(-1) AND (VAR37>=4 OR HHV(VAR35,VAR37)=1),1,0); VAR47:=IF(VAR45=1 OR VAR46=1 OR VAR44=1 AND HIGH>REF(LOW,VAR37+1),1,0); VAR48:=IF(VAR36<4 AND HHV(VAR35,VAR36)!=1 OR REF(VAR47,VAR36)=0,1,0); VAR49:=IF(VAR31=(-1) AND REF(VAR36,1)<=REF(VAR37,1) AND VAR48=1 AND VAR38>REF(VAR39,VAR36+1) AND VAR38>REF(VAR39,VAR36) AND VAR38>REF(VAR38,VAR37),(-1),0); VAR50:=IF(VAR31=(-1) AND REF(VAR36,1)>REF(VAR37,1) AND LLV(LOW,VAR36+1)<REF(LLV(LOW,VAR36+1),1),(-1),0); VAR51:=IF(VAR31=(-1) AND REF(VAR36,1)<=REF(VAR37,1) AND (VAR36>=4 OR LLV(VAR35,VAR36)=(-1) OR VAR49=(-1)),(-1),0); VAR52:=IF(VAR50=(-1) OR VAR51=(-1) AND LOW<REF(HIGH,VAR36+1),(-1),0); VAR53:=BARSLAST(VAR47=1); VAR54:=BARSLAST(VAR52=(-1)); VAR55:=IF(VAR54<4 AND HHV(VAR35,VAR54)!=1 OR REF(VAR52,VAR54)=0,1,0); VAR56:=IF(VAR34=1 AND REF(VAR54,1)<=REF(VAR53,1) AND VAR55=1 AND VAR39>REF(VAR38,VAR54+1) AND VAR39>REF(VAR38,VAR54) AND VAR39>REF(VAR39,VAR53),1,0); VAR57:=IF(VAR34=1 AND REF(VAR54,1)>REF(VAR53,1) AND HHV(HIGH,VAR54+1)>REF(HHV(HIGH,VAR54+1),1),1,0); VAR58:=IF(VAR34=1 AND REF(VAR54,1)<=REF(VAR53,1) AND REF(VAR52,VAR54)=(-1) AND (VAR54>=4 OR HHV(VAR35,VAR54)=1),1,0); VAR59:=IF(VAR57=1 OR VAR58=1 OR VAR56=1 AND HIGH>REF(LOW,VAR54+1),1,0); VAR60:=IF(VAR53<4 AND HHV(VAR35,VAR53)!=1 OR REF(VAR57,VAR53)=0,1,0); VAR61:=IF(VAR31=(-1) AND REF(VAR53,1)<=REF(VAR54,1) AND VAR60=1 AND VAR38>REF(VAR39,VAR53+1) AND VAR38>REF(VAR39,VAR53) AND VAR38>REF(VAR38,VAR54),(-1),0); VAR62:=IF(VAR31=(-1) AND REF(VAR53,1)>REF(VAR54,1) AND LLV(LOW,VAR53+1)<REF(LLV(LOW,VAR53+1),1),(-1),0); VAR63:=IF(VAR31=(-1) AND REF(VAR53,1)<=REF(VAR54,1) AND (VAR53>=4 OR LLV(VAR35,VAR53)=(-1) OR VAR61=(-1)),(-1),0); VAR64:=IF(VAR62=(-1) OR VAR63=(-1) AND LOW<REF(HIGH,VAR53+1),(-1),0); VAR65:=BARSLAST(VAR59=1); VAR66:=BARSLAST(VAR64=(-1)); VAR67:=IF(VAR66<4 AND HHV(VAR35,VAR66)!=1 OR REF(VAR64,VAR66)=0,1,0); VAR68:=IF(VAR34=1 AND REF(VAR66,1)<=REF(VAR65,1) AND VAR67=1 AND VAR39>REF(VAR38,VAR66+1) AND VAR39>REF(VAR38,VAR66) AND VAR39>REF(VAR39,VAR65),1,0); VAR69:=IF(VAR34=1 AND REF(VAR66,1)>REF(VAR65,1) AND HHV(HIGH,VAR66+1)>REF(HHV(HIGH,VAR66+1),1),1,0); VAR70:=IF(VAR34=1 AND REF(VAR66,1)<=REF(VAR65,1) AN |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!