当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:九转主图,好公式主图,修复部分(通达信公式 主图 源码 测试图)
软件名称:[B]九转主图,好公式主图,修复部分(通达信公式 主图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:14.0 KB
官方主页:Home Page
更新时间:2020-06-15 00:11:08
软件简介:
九转主图,这个公式是原九转公式增加了分析,标注了大量的文字,
但是因为作者完全加密导出公式,导致部分的显示没有了,这个通达信软件的一个不可原谅的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;
[url=http://www.70822.com/soft/sort013/sort05/down-148482.html]九转主图,好公式主图,修复部分(通达信公式 主图 源码 测试图)[/url]