当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:趋势为王 一招制胜系列之 波浪矩阵
软件名称:[B]趋势为王 一招制胜系列之 波浪矩阵[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:4.00 KB
官方主页:Home Page
更新时间:2022-10-18 00:14:46
软件简介:
趋势为王 一招制胜系列之 波浪矩阵
{公式名称: 波浪矩阵
公式描述:
无参数
公式类型: 技术指标公式-大势型
画线方法: 主图叠加
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外Y轴分界: 无
参数精灵:无
用法注释:无
公式源码:}
X_1:=120;
X_2:=BARSLAST(CURRBARSCOUNT=X_1);
X_3:=CONST(IF(ISLASTBAR=1,HHV(HIGH,X_2),0));
X_4:=CONST(IF(ISLASTBAR=1,LLV(LOW,X_2),0));
X_5:=X_3-X_4;
X_6:=IF(CURRBARSCOUNT<=X_1/2,X_3,DRAWNULL);
高区:IF(CURRBARSCOUNT<=X_1,X_3,DRAWNULL),COLORRED,LINETHICK2;
低区:IF(CURRBARSCOUNT<=X_1,X_4,DRAWNULL),COLORGREEN,LINETHICK2;
X_7:=IF(CURRBARSCOUNT<=X_1,X_4+X_5/2,DRAWNULL);
低:IF(CURRBARSCOUNT<=X_1/2,X_4,DRAWNULL),COLORCYAN;
高:IF(CURRBARSCOUNT<=X_1/2,X_3,DRAWNULL),COLORYELLOW;
支撑:IF(CURRBARSCOUNT<=X_1/2,X_4+X_5*0.191,DRAWNULL),COLORYELLOW;
强势:IF(CURRBARSCOUNT<=X_1/2,X_4+X_5*0.382,DRAWNULL),COLORMAGENTA;
突破:IF(CURRBARSCOUNT<=X_1/2,X_4+X_5/2,DRAWNULL),COLORRED;
警示:IF(CURRBARSCOUNT<=X_1/2,X_4+X_5*0.618,DRAWNULL),COLORYELLOW;
压力:IF(CURRBARSCOUNT<=X_1/2,X_4+X_5*0.809,DRAWNULL),COLORGREEN;
低涨:IF(CURRBARSCOUNT<=X_1/2,(CLOSE/LLV(LOW,X_2)-1)*100,DRAWNULL),NODRAW,COLORRED;
天数:BARSLAST(LOW=X_4),NODRAW,COLORCYAN;
顶点:IF(CURRBARSCOUNT<=X_1/2,CONST(IF(ISLASTBAR=1,HHV(HIGH,BARSLAST(CURRBARSCOUNT=60)),1)),DRAWNULL),CROSSDOT,COLORRED;
低点:IF(CURRBARSCOUNT<=X_1/2,CONST(IF(ISLASTBAR=1,LLV(LOW,BARSLAST(CURRBARSCOUNT=60)),1)),DRAWNULL),CROSSDOT,COLORMAGENTA;
STICKLINE(CCI>=200 AND HIGH>=顶点,OPEN,CLOSE,2,0),COLORBLUE;
STICKLINE(CCI<=100 AND LOW<=低点,OPEN,CLOSE,2,0),COLORYELLOW;
DRAWBAND(高区,RGB(120,20,0),X_7,RGB(0,0,0));
DRAWBAND(X_7,RGB(80,0,100),低区,RGB(0,0,0));
DRAWBAND(高,RGB(100,100,0),压力,RGB(0,0,0));
DRAWBAND(压力,RGB(0,80,0),警示,RGB(0,0,0));
DRAWBAND(警示,RGB(220,120,0),突破,RGB(0,0,0));
DRAWBAND(突破,RGB(120,0,120),强势,RGB(0,0,0));
DRAWBAND(强势,RGB(120,0,0),支撑,RGB(0,0,0));
DRAWBAND(支撑,RGB(80,80,80),低,RGB(0,0,0));
STICKLINE(CURRBARSCOUNT=X_1,X_3,X_4,0,0),COLORGREEN;
STICKLINE(CURRBARSCOUNT=X_1/2,X_3,X_4,0,0),COLOR408080;
STICKLINE(CURRBARSCOUNT=1,X_3,X_4,0,0),COLORGREEN;
STICKLINE(CURRBARSCOUNT<=X_1/2,支撑,支撑,2,0),COLORMAGENTA;
STICKLINE(CURRBARSCOUNT<=X_1/2,强势,强势,2,0),COLORMAGENTA;
STICKLINE(CURRBARSCOUNT<=X_1/2,突破,突破,2,0),COLORABABAB;
STICKLINE(CURRBARSCOUNT<=X_1/2,警示,警示,2,0),COLORYELLOW;
STICKLINE(CURRBARSCOUNT<=X_1/2,压力,压力,2,0),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=10,压力,526),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=10,警示,527),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=10,突破,528),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=10,强势,529),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=10,支撑,530),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=X_1/4+5,X_3-X_5*0.09,487),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=X_1/4+5,X_3-X_5*0.3,488),COLORRED;
DRAWTEXT(CURRBARSCOUNT=X_1/4+5,X_3-X_5*0.45,531),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=X_1/4+5,X_3-X_5*0.55,532);
DRAWTEXT(CURRBARSCOUNT=X_1/4+5,X_4+X_5/3,489),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=X_1/4+5,X_4+X_5/10,533),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=X_1/2+40,X_3-X_5*0.25,534),COLORRED;
DRAWTEXT(CURRBARSCOUNT=X_1/2+40,X_4+X_5*0.25,535),COLORYELLOW;
第一防线:REFDATE(低,DATE),POINTDOT,COLORYELLOW,LINETHICK4;
第二防线:REFDATE(支撑,DATE),POINTDOT,COLORWHITE,LINETHICK4;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);{分析家公式网www.70822.com}
X_8:=CLOSE*VOL;
X_9:=EMA((EXPMA(X_8,27)/EXPMA(VOL,27)+EXPMA(X_8,54)/EXPMA(VOL,54)+EXPMA(X_8,108)/EXPMA(VOL,108)+EXPMA(X_8,316)/EXPMA(VOL,316))/4,34);
X_10:=1.06*X_9;
X_11:=X_9*0.94;
X_12:=REF(CLOSE,1)*1.1-CLOSE<0.01 AND HIGH=CLOSE;
X_13:=CROSS(CLOSE,X_10) OR CROSS(CLOSE,X_11) AND X_12;
DRAWTEXT(X_13,LOW,536),COLORCYAN;
STICKLINE(X_13,CLOSE,OPEN,3,1),COLORWHITE;
STICKLINE(X_13,CLOSE,OPEN,1,0),COLORGREEN;
[url=http://www.70822.com/soft/sort013/sort05/down-164588.html]趋势为王 一招制胜系列之 波浪矩阵[/url]