九转主图,这个公式是原九转公式增加了分析,标注了大量的文字, 但是因为作者完全加密导出公式,导致部分的显示没有了,这个通达信软件的一个不可原谅的bug,把部分的信号给搞没了,如下提示。
公式描述:
无参数
公式类型: 技术指标公式-其他类型
画线方法: 主图叠加
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外Y轴分界: 无
参数精灵:无
用法注释:无
公式源码:}
X_1:=BARSLAST(CURRBARSCOUNT=120);
X_2:=CONST(IF(ISLASTBAR=1,HHV(HIGH,X_1),0));
X_3:=CONST(IF(ISLASTBAR=1,LLV(LOW,X_1),0));
X_4:=X_2-X_3;
高区:IF(CURRBARSCOUNT<=120,X_2,DRAWNULL),COLOR004080,LINETHICK4;
低区:IF(CURRBARSCOUNT<=120,X_3,DRAWNULL),COLOR004080,LINETHICK2;
平衡:IF(CURRBARSCOUNT<=120,X_3+X_4/2,DRAWNULL),COLOR004080,LINETHICK2;
支撑:IF(CURRBARSCOUNT<=120/2,X_3+X_4*0.191,DRAWNULL),COLOR004080,LINETHICK2;
强势:IF(CURRBARSCOUNT<=120/2,X_3+X_4*0.382,DRAWNULL),COLOR004080,LINETHICK2;
突破:IF(CURRBARSCOUNT<=120,X_3+X_4/2,DRAWNULL),COLOR004080,LINETHICK2;
警示:IF(CURRBARSCOUNT<=120/2,X_3+X_4*0.618,DRAWNULL),COLOR004080,LINETHICK2;
压力:IF(CURRBARSCOUNT<=120/2,X_3+X_4*0.809,DRAWNULL),COLOR004080,LINETHICK2;
X_5:=CURRBARSCOUNT;
STICKLINE(X_5=60,HHV(高区,60),LLV(低区,60),0.01,0),COLOR004080;
STICKLINE(X_5=120,HHV(高区,60),LLV(低区,60),0.01,0),COLOR004080;
STICKLINE(X_5=1,HHV(高区,60),LLV(低区,60),0.01,0),COLOR004080;
DRAWTEXT(CURRBARSCOUNT=1,压力,'压力'),COLOR004080;
DRAWTEXT(CURRBARSCOUNT=1,警示,'警示'),COLOR004080;
DRAWTEXT(CURRBARSCOUNT=1,突破,'突破'),COLOR004080;
DRAWTEXT(CURRBARSCOUNT=1,强势,'强势'),COLOR004080;
DRAWTEXT(CURRBARSCOUNT=1,支撑,'支撑'),COLOR004080;
DRAWTEXT(CURRBARSCOUNT=120/4+30,X_2-X_4*0.09,'避险'),COLOR004080;
DRAWTEXT(CURRBARSCOUNT=120/4+30,X_2-X_4*0.3,'逢高减仓'),COLOR004080;
DRAWTEXT(CURRBARSCOUNT=120/4+30,X_2-X_4*0.45,'强力拉上'),COLOR004080;
DRAWTEXT(CURRBARSCOUNT=120/4+30,X_2-X_4*0.55,'强势蓄锐'),COLOR004080;
DRAWTEXT(CURRBARSCOUNT=120/4+30,X_3+X_4/3,'逢低买入'),COLOR004080;
DRAWTEXT(CURRBARSCOUNT=120/4+30,X_3+X_4/10,'大胆买入'),COLOR004080;
DRAWTEXT(CURRBARSCOUNT=120/2+6,X_2-X_4*0.25,'300'),COLOR004080;
DRAWTEXT(CURRBARSCOUNT=120/2+6,X_3+X_4*0.25,'301'),COLOR004080;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
DRAWTEXT_FIX(ISLASTBAR,0.005,0.05,0,HYBLOCK),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.06,0.05,0,DYBLOCK),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.12,0.05,0,GNBLOCK),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.28,0.05,0,FGBLOCK),COLORWHITE;
DRAWTEXT_FIX(1,0.88,5,0,'35'),COLORRED;
ZK1:(XMA(XMA(HIGH,25),25)-XMA(XMA(LOW,25),25))*1+XMA(XMA(HIGH,25),25),DOTLINE,COLORBLUE;
ZD1:XMA(XMA(LOW,25),25)-(XMA(XMA(HIGH,25),25)-XMA(XMA(LOW,25),25))*1,COLORRED,LINETHICK2;
ZD2:EMA(ZD1,5),LINETHICK2;
DRAWBAND(ZD1,RGB(55,0,0),ZD2,RGB(0,91,0));
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
X_6:=IF(DYNAINFO(8)>0.01,0.01*DYNAINFO(10)/DYNAINFO(8),DYNAINFO(3));
X_7:=DYNAINFO(5)<0.01 OR DYNAINFO(6)<0.01;
X_8:=IF(X_7,1,X_6<DYNAINFO(5)+0.01 AND X_6>DYNAINFO(6)-0.01);
X_9:=CLOSE>=REF(CLOSE,4);
X_10:=CLOSE<REF(CLOSE,4);
X_11:=CLOSE<REF(CLOSE,4) AND REF(X_9,1);
X_12:=BARSLAST(X_11);
X_13:=X_12=0 AND REFX(X_12=1 AND NOT(X_10),1) OR REFX(X_12=2 AND NOT(X_10),2) OR REFX(X_12=3 AND NOT(X_10),3) OR REFX(X_12=4 AND NOT(X_10),4) OR REFX(X_12=5 AND NOT(X_10),5) OR REFX(X_12=6 AND NOT(X_10),6) OR REFX(X_12=7 AND NOT(X_10),7) OR REFX(X_12=8 AND NOT(X_10),8);
X_14:=X_12=1 AND REFX(X_12=2 AND NOT(X_10),1) OR REFX(X_12=3 AND NOT(X_10),2) OR REFX(X_12=4 AND NOT(X_10),3) OR REFX(X_12=5 AND NOT(X_10),4) OR REFX(X_12=6 AND NOT(X_10),5) OR REFX(X_12=7 AND NOT(X_10),6) OR REFX(X_12=8 AND NOT(X_10),7);
X_15:=X_12=2 AND REFX(X_12=3 AND NOT(X_10),1) OR REFX(X_12=4 AND NOT(X_10),2) OR REFX(X_12=5 AND NOT(X_10),3) OR REFX(X_12=6 AND NOT(X_10),4) OR REFX(X_12=7 AND NOT(X_10),5) OR REFX(X_12=8 AND NOT(X_10),6);
X_16:=X_12=3 AND REFX(X_12=4 AND NOT(X_10),1) OR REFX(X_12=5 AND NOT(X_10),2) OR REFX(X_12=6 AND NOT(X_10),3) OR REFX(X_12=7 AND NOT(X_10),4) OR REFX(X_12=8 AND NOT(X_10),5);
X_17:=X_12=4 AND REFX(X_12=5 AND NOT(X_10),1) OR REFX(X_12=6 AND NOT(X_10),2) OR REFX(X_12=7 AND NOT(X_10),3) OR REFX(X_12=8 AND NOT(X_10),4);
X_18:=X_12=5 AND REFX(X_12=6 AND NOT(X_10),1) OR REFX(X_12=7 AND NOT(X_10),2) OR REFX(X_12=8 AND NOT(X_10),3);
X_19:=X_12=6 AND REFX(X_12=7 AND NOT(X_10),1) OR REFX(X_12=8 AND NOT(X_10),2);
X_20:=X_12=7 AND REFX(X_12=8 AND NOT(X_10),1);
X_21:=X_12=1 AND REF(X_12=0 AND X_11,1) AND X_10;
X_22:=X_12=2 AND REF(X_21,1) AND X_10;
X_23:=X_12=3 AND REF(X_22,1) AND X_10;
X_24:=X_12=4 AND REF(X_23,1) AND X_10;
X_25:=X_12=5 AND REF(X_24,1) AND X_10;
X_26:=X_12=6 AND REF(X_25,1) AND X_10;
X_27:=X_12=7 AND REF(X_26,1) AND X_10;
X_28:=X_12=8 AND REF(X_27,1) AND X_10;
X_29:=LOW*0.985;
X_30:=HIGH*1.011;
DRAWTEXT(X_12=0 AND NOT(X_13),X_29,'1'),COLORGREEN;
DRAWTEXT(X_21 AND NOT(X_14),X_29,'2'),COLORGREEN;
DRAWTEXT(X_22 AND NOT(X_15),X_29,'3'),COLORGREEN;
DRAWTEXT(X_23 AND NOT(X_16),X_29,'4'),COLORGREEN;
DRAWTEXT(X_24 AND NOT(X_17),X_29,'5'),COLORGREEN;
DRAWTEXT(X_25 AND NOT(X_18),X_29,'6'),COLORGREEN;
DRAWTEXT(X_26 AND NOT(X_19),X_29,'7'),COLORGREEN;
DRAWTEXT(X_27 AND NOT(X_20),X_29,'8'),COLORGREEN;
DRAWTEXT(X_28,X_30,'9'),COLORMAGENTA,LINETHICK9;
X_31:=CLOSE<=REF(CLOSE,4);
X_32:=CLOSE>REF(CLOSE,4);
X_33:=CLOSE>REF(CLOSE,4) AND REF(X_31,1);
X_34:=BARSLAST(X_33);
X_35:=X_34=0 AND REFX(X_34=1 AND NOT(X_32),1) OR REFX(X_34=2 AND NOT(X_32),2) OR REFX(X_34=3 AND NOT(X_32),3) OR REFX(X_34=4 AND NOT(X_32),4) OR REFX(X_34=5 AND NOT(X_32),5) OR REFX(X_34=6 AND NOT(X_32),6) OR REFX(X_34=7 AND NOT(X_32),7) OR REFX(X_34=8 AND NOT(X_32),8);
X_36:=X_34=1 AND REFX(X_34=2 AND NOT(X_32),1) OR REFX(X_34=3 AND NOT(X_32),2) OR REFX(X_34=4 AND NOT(X_32),3) OR REFX(X_34=5 AND NOT(X_32),4) OR REFX(X_34=6 AND NOT(X_32),5) OR REFX(X_34=7 AND NOT(X_32),6) OR REFX(X_34=8 AND NOT(X_32),7);
X_37:=X_34=2 AND REFX(X_34=3 AND NOT(X_32),1) OR REFX(X_34=4 AND NOT(X_32),2) OR REFX(X_34=5 AND NOT(X_32),3) OR REFX(X_34=6 AND NOT(X_32),4) OR REFX(X_34=7 AND NOT(X_32),5) OR REFX(X_34=8 AND NOT(X_32),6);
X_38:=X_34=3 AND REFX(X_34=4 AND NOT(X_32),1) OR REFX(X_34=5 AND NOT(X_32),2) OR REFX(X_34=6 AND NOT(X_32),3) OR REFX(X_34=7 AND NOT(X_32),4) OR REFX(X_34=8 AND NOT(X_32),5);
X_39:=X_34=4 AND REFX(X_34=5 AND NOT(X_32),1) OR REFX(X_34=6 AND NOT(X_32),2) OR REFX(X_34=7 AND NOT(X_32),7) OR REFX(X_34=8 AND NOT(X_32),4);
X_40:=X_34=5 AND REFX(X_34=6 AND NOT(X_32),1) OR REFX(X_34=7 AND NOT(X_32),2) OR REFX(X_34=8 AND NOT(X_32),3);
X_41:=X_34=6 AND REFX(X_34=7 AND NOT(X_32),1) OR REFX(X_34=8 AND NOT(X_32),2);
X_42:=X_34=7 AND REFX(X_34=8 AND NOT(X_32),1);
X_43:=X_34=1 AND REF(X_34=0 AND X_33,1) AND X_32;
X_44:=X_34=2 AND REF(X_43,1) AND X_32;
X_45:=X_34=3 AND REF(X_44,1) AND X_32; |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!