软件名称:[B]自用_缠论买点公式[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:4.00 KB
官方主页:Home Page
更新时间:2019-07-08 01:07:09
软件简介:
{公式名称: MACD 自用
公式描述: 缠论买点
参数数量: 4
参数1: SHORT, 最小: 2, 最大: 200, 缺省: 12
参数2: LONG, 最小: 2, 最大: 200, 缺省: 26
参数3: MID, 最小: 2, 最大: 200, 缺省: 9
参数4: ISARROW, 最小: 0, 最大: 1, 缺省: 1
公式类型: 技术指标公式-其他类型
画线方法: 副图
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外Y轴分界: 无
参数精灵:
请设置计算参数:
SHORT: Param#0 (2.00--200.00)
LONG: Param#1 (2.00--200.00)
MID: Param#2 (2.00--200.00)
ISARROW: Param#3 (0.00--1.00)
用法注释:无
公式源码:}
X_1:=EMA(CLOSE*100,SHORT)-EMA(CLOSE*100,LONG);
X_2:=EMA(X_1,MID);
X_3:=(X_1-X_2)*2;
DIF:X_1;
DEF:X_2;
MACD:X_3,NODRAW;
多头:STICKLINE(X_1>X_2,CLOSE,OPEN,3,(-1)),COLORRED;
STICKLINE(X_1>X_2,HIGH,LOW,0,0),COLORWHITE;
空头:STICKLINE(X_1<=X_2,CLOSE,OPEN,3,0),COLORWHITE;
STICKLINE(X_1<=X_2,HIGH,LOW,0,0),COLORWHITE;
DRAWTEXT(CROSS(X_1,X_2),LOW*0.98,2),COLORYELLOW;
DRAWTEXT(CROSS(X_2,X_1),HIGH*1.02,3),COLORGREEN;
X_4:=EMA(CLOSE,12)-EMA(CLOSE,26);
获利比:WINNER(CLOSE),NODRAW;
STICKLINE(X_3>=0,0,X_3,0,1),COLORRED;
STICKLINE(X_3>=0 AND X_3<REF(X_3,1),0,X_3,0,0),COLORMAGENTA;
STICKLINE(X_3<0,0,X_3,0,0),COLORGREEN;
STICKLINE(X_3<0 AND X_3>REF(X_3,1),0,X_3,0,1),COLORWHITE;
DRAWICON(LONGCROSS(CLOSE,MA(CLOSE,5),17),X_3,1);
DRAWICON(LONGCROSS(MA(CLOSE,5),CLOSE,17),X_3,2);
X_5:=CROSS(X_1,X_2) AND X_1<(-0.1);
X_6:=COUNT(CROSS(X_1,X_2),BARSLAST(X_2>=0));
X_7:=CROSS(X_1,X_2) AND X_2<0 AND COUNT(X_6=2,21)=1;
DRAWTEXT(X_7,0,4);{分析家公式网www.70822.com}
X_8:=CROSS(X_1,X_2) AND X_2<0 AND COUNT(X_6=3,60)=1;
DRAWTEXT(X_8,0,5);
X_9:=IF(X_3>0,1,(-1));
X_10:=REF(X_9,1);
X_11:=X_9*X_10;
X_12:=BARSLAST(X_11<0);
X_13:=X_12+1;
累计面积:SUM(X_3,X_13),NODRAW;
平均力度:SUM(X_3,X_13)/X_13,NODRAW;
0,DOTLINE;
X_14:=KD.K#WEEK(9,3,3);
X_15:=KD.D#WEEK(9,3,3);
X_16:=KD.K#DAY(9,3,3);
X_17:=KD.D#DAY(9,3,3);
DRAWICON(CROSS(X_14,X_15) AND X_14<70 AND PERIOD>4,LLV(X_3,30),9);
DRAWICON(CROSS(X_16,X_17) AND X_16<70 AND PERIOD>4,LLV(X_3,10),10);
X_18:=X_3>0;
X_19:=X_3<0;
X_20:=LLV(X_3,50)=X_3;
DRAWICON(X_20 AND FILTERX(X_20,20),X_3,1);
DRAWTEXT(BARSLAST(X_18)=1,X_3,6),COLORYELLOW;
DRAWTEXT(BARSLAST(X_18)=2,X_3,7),COLORYELLOW;
DRAWTEXT(BARSLAST(X_18)=3,X_3,8),COLORYELLOW;
DRAWTEXT(BARSLAST(X_18)=5,X_3,9),COLORYELLOW;
DRAWTEXT(BARSLAST(X_18)=8,X_3,10),COLORYELLOW;
DRAWTEXT(BARSLAST(X_18)=13,X_3,11),COLORYELLOW;
DRAWTEXT(BARSLAST(X_18)=21,X_3,12),COLORYELLOW;
DRAWTEXT(BARSLAST(X_18)=34,X_3,13),COLORYELLOW;
DRAWTEXT(BARSLAST(X_18)=55,X_3,14),COLORYELLOW;
DRAWTEXT(BARSLAST(X_19)=1,X_3,6),COLORGREEN;
DRAWTEXT(BARSLAST(X_19)=2,X_3,7),COLORGREEN;
DRAWTEXT(BARSLAST(X_19)=3,X_3,8),COLORGREEN;
DRAWTEXT(BARSLAST(X_19)=5,X_3,9),COLORGREEN;
DRAWTEXT(BARSLAST(X_19)=8,X_3,10),COLORGREEN;
DRAWTEXT(BARSLAST(X_19)=13,X_3,11),COLORGREEN;
DRAWTEXT(BARSLAST(X_19)=21,X_3,12),COLORGREEN;
DRAWTEXT(BARSLAST(X_19)=34,X_3,13),COLORGREEN;
DRAWTEXT(BARSLAST(X_19)=55,X_3,14),COLORGREEN;
[url=http://www.70822.com/soft/sort013/sort05/down-138543.html]自用_缠论买点公式[/url]