分析家公式网,提供指标公式,股票软件 用户登录  |  用户 注册

软件名称:[B]MACD狙击手(通达信指标 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:分享版
软件大小:3.00 KB
官方主页:Home Page
更新时间:2024-07-10 06:27:57
软件简介:

 MACD狙击手

 
 
X_1:=MACD.MACD;
X_2:=HHVBARS(X_1,BARSLAST(X_1<0)+1);
X_3:=CROSS(BACKSET(CROSS(0,X_1),REF(X_2,1)+2),0.5);
X_4:=CROSS(BACKSET(CROSS(0,X_1) OR (ISLASTBAR AND X_1>0),REF(X_2,1)+2),0.5);
X_5:=DRAWLINE(X_3,X_1,REF(X_3,1),REF(X_1,1),1);
STICKLINE(X_1>0,0,X_1,1.8,0),COLORAA00AA;
STICKLINE(X_1<0,0,X_1,1.8,0),COLORLICYAN;
X_6:=LLVBARS(X_1,BARSLAST(X_1>0)+1);
X_7:=CROSS(BACKSET(CROSS(X_1,0),REF(X_6,1)+2),0.5);
X_8:=BARSLAST(FILTERX(CROSS(0,X_1),BARSCOUNT(CLOSE)));
X_9:=DRAWLINE(X_7,X_1,REF(X_7,1),REF(X_1,1),1);
STICKLINE(X_1<0 AND X_1<X_9 AND X_9<0,X_1,X_9,1,0),COLORBLUE;
DIF:EMA(CLOSE,12)-EMA(CLOSE,26),COLORRED,LINETHICK2;
DEA:EMA(DIF,9),COLORGREEN,LINETHICK2;
X_10:=BARSLAST(REF(CROSS(DIF,DEA),1));
X_11:=REF(CLOSE,X_10+1)>CLOSE AND DIF>REF(DIF,X_10+1) AND CROSS(DIF,DEA);
底背:DRAWLINE(X_10=0,DEA,X_11,DEA,0),COLORRED,LINETHICK2;
X_12:=BARSLAST(REF(CROSS(DEA,DIF),1));
X_13:=REF(CLOSE,X_12+1)<CLOSE AND REF(DIF,X_12+1)>DIF AND CROSS(DEA,DIF);
顶背:DRAWLINE(X_12=0,DEA,X_13,DEA,0),COLORBLUE,LINETHICK2;
MACD1:(DIF-DEA)*2,COLORSTICK,COLORLIBLUE;
X_14:=COUNT(MACD1>0,30)=0 AND BARSCOUNT(MACD1=LLV(MACD1,30))>=15 AND DYNAINFO(4)>0 AND HHV(MACD1,5)>REF(MACD1,12) AND MACD1>REF(MACD1,1) AND (REF(MACD1,2)=LLV(MACD1,5) OR REF(MACD1,1)=LLV(MACD1,5)) AND REF(MACD1,1)>REF(MACD1,15);
DRAWICON(X_14,X_1*1.01,25);
DRAWTEXT(X_14,0*0.1,3),COLORGREEN;
X_15:=COUNT(MACD1>0,10)=0 AND BARSCOUNT(MACD1=LLV(MACD1,10))>=6 AND DYNAINFO(4)>0 AND HHV(MACD1,3)>REF(MACD1,7) AND MACD1>REF(MACD1,1) AND (REF(MACD1,2)=LLV(MACD1,5) OR REF(MACD1,1)=LLV(MACD1,5)) AND REF(MACD1,1)>REF(MACD1,7);
DRAWICON(X_15,X_1*1.01,26);
DRAWICON(X_15,X_1*1.01,26);
X_16:=CROSS(DEA,0) AND DIF>0;
X_17:=21;
X_18:=FILTER(BACKSET(FILTER(REF(X_1,X_17)=HHV(X_1,2*X_17+1),X_17),X_17+1),X_17);
TOP21:DRAWLINE(CURRBARSCOUNT=CONST(BARSLAST(X_18))+1,X_1,ISLASTBAR,REF(X_1,BARSLAST(X_18)),1),COLORGREEN;
X_19:=CROSS(DEA,DIF) AND DEA>0 AND DIF>0;
X_20:=CROSS(DIF,DEA) AND COUNT(X_19=1,6)>=1 AND DIF>0 AND DEA<0.55 AND X_1>REF(X_1,2);
DRAWICON(X_20,0-0.05,34);
 

[url=http://www.70822.com/soft/sort013/sort05/down-171661.html]MACD狙击手(通达信指标 副图 源码 测试图)[/url]

关于本站 | 网站帮助 | 广告合作 | 声明 | 友情连接 | 网站地图 |
分析家公式网声明:本站所有股票公式软件资料均网上公开收集,如侵权请联系删帖。站内所有广告,均与本站无关!
Copyright © 2003-2024 70822.Com. All Rights Reserved .
页面执行时间:47.11914 毫秒