当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:MACD加权成交,上穿0轴买入(同花顺公式 副图 源码 测试图)
软件名称:[B]MACD加权成交,上穿0轴买入(同花顺公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:5.00 KB
官方主页:Home Page
更新时间:2020-06-13 00:36:28
软件简介:
//MACD加权成交 上穿0轴买入
大单额:=(BIGBUYCOUNT1+WAITBUYCOUNT1)-(BIGSELLCOUNT1+WAITSELLCOUNT1);
五日大单量:100*(WMA(大单额,12)-WMA(大单额,26)),colorwhite;
九日大单量:(WMA(五日大单量,9)),coloryellow;
MACD:=10*((BIGBUYCOUNT1+BIGBUYCOUNT2)-(BIGSELLCOUNT1+BIGSELLCOUNT2));
STICKLINE(MACD>0,0,MACD,8),color0000ff;
STICKLINE(MACD<0,0,MACD,8),color00ff00;
gj:=MAX(C,O);
L4:=LLV(gj,4);
jl:=(HHV(五日大单量,55)-LLV(五日大单量,55))/5;
gt:=九日大单量>REF(九日大单量,1) AND REF(九日大单量,1)<REF(九日大单量,2);
A1:=BARSLAST(REF(gt,1));
底部结构:=REF(L4,A1+1)>CLOSE AND 五日大单量>REF(五日大单量,A1+1) AND gt;
DRAWLINE(A1=0,九日大单量,底部结构,REF(九日大单量,A1),0),colorred,LINETHICK2;
DRAWLINE(底部结构,九日大单量,底部结构,REF(九日大单量,A1),0),colorred,LINETHICK2;
DRAWTEXT(底部结构,REF(九日大单量,A1)*1.18,' 底部结构'),colorred;
H4:=HHV(gj,4);
gt2:=九日大单量<REF(九日大单量,1) AND REF(九日大单量,1)>REF(九日大单量,2);
A2:=BARSLAST(REF(gt2,1));
顶部结构:= REF(H4,A2+1)<H4 AND 五日大单量<REF(五日大单量,A2+1) AND gt2;
DRAWLINE(A2=0 ,九日大单量,顶部结构,REF(九日大单量,A2),0),colorgreen,LINETHICK2;
DRAWLINE(顶部结构,九日大单量,顶部结构,REF(九日大单量,A2),0),colorgreen,LINETHICK2;
DRAWTEXT(顶部结构,REF(九日大单量,A2)*1.18,' 顶部结构'),colorgreen;
A0:=五日大单量<0 AND 九日大单量<0;
//分析家公式网 www.70822.com
A11:=A0>REF(A0,1);
A3:=BARSLAST(A11);
A4:=COUNT(九日大单量>0 AND 五日大单量>0,A3)=0;
A5:=CROSS(五日大单量 ,九日大单量);
A6:=BARSLAST(A5);
A7:=REF(A6,A6+1)+A6;
A8:=(五日大单量+九日大单量)/2;
A9:=(HIGH+LOW)/2;
A10:=A5 AND A7<A3 AND A4 AND A8>REF(A8,A7) AND A9<REF(A9,A7) AND MACD>0;
KDJ;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:SMA(RSV,9,3),colorwhite;
D:SMA(K,9,3),colorcyan;
J:3*K-2*D,colormagenta;
A2:=BARSLAST(REF(CROSS(K,D),1));
B2:=REF(C,A2+1)>C AND REF(K,A2+1)<K AND CROSS(K,D);
A3:=BARSLAST(REF(CROSS(D,K),1));
B3:=REF(C,A2+1)<C AND REF(K,A2+1)>K AND CROSS(D,K);
A22:=IF(ABS(D)<ABS(0.6*九日大单量),0.6*D*ABS(九日大单量/D),0.95*D);
DRAWTEXT(B2,A22,'KDJ底背离'),colorwhite;
DRAWICON(b2,d,'buy');
DRAWICON(B3,D,'SELL');
DRAWTEXT(B3,A22,'KDJ顶背离'),colorgreen;
r1:=CROSS(J,D) AND D>=REF(D,1);
R2:=CROSS(J,D) AND D>=REF(D,1) AND (C-REF(C,1))/REF(C,1)>0.035;
DRAWTEXT(R2 AND r1<30,-10,'KDJ金叉'),colorred;
[url=http://www.70822.com/soft/sort013/sort036/down-148420.html]MACD加权成交,上穿0轴买入(同花顺公式 副图 源码 测试图)[/url]