当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:MACD九转简化版(同花顺公式 副图 源码 测试图)
软件名称:[B]MACD九转简化版(同花顺公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:5.00 KB
官方主页:Home Page
更新时间:2021-07-22 00:07:54
软件简介:
DIFF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIFF,9);
MACD:2*(DIFF-DEA),COLORSTICK;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,2,0 ),COLOR00aaff;
gj:=MAX(C,O);
L4:=LLV(gj,4);
jl:=(HHV(diff,55)-LLV(diff,55))/5;
gt:=dea>REF(dea,1) AND REF(dea,1)<REF(dea,2);
A1:=BARSLAST(REF(gt,1));
底背离:=REF(L4,A1+1)>CLOSE AND diff>REF(diff,A1+1) AND gt;
DRAWTEXT(底背离,DEA*1.3,' 底背离');
H4:=HHV(gj,4);
gt2:=dea<REF(dea,1) AND REF(dea,1)>REF(dea,2);
A2:=BARSLAST(REF(gt2,1));
顶背离:= REF(H4,A2+1)<H4 AND diff<REF(diff,A2+1) AND gt2;
DRAWTEXT(顶背离,DEA*1.6,' 顶背离');
DRAWICON(DIFF>REF(DIFF,1) AND REF(DIFF,2)>REF(DIFF,1),DIFF ,1);
DRAWICON(DIFF<REF(DIFF,1) AND REF(DIFF,2)<REF(DIFF,1),DIFF ,2);
△:=CROSS(DIFF,DEA);
▽:=CROSS(DEA,DIFF);
DRAWTEXT(△,DIFF*1,' 阳'),colorred;
DRAWTEXT(▽,DIFF*1,' 阴'),colorgreen;
A1:=C>REF(C,4);
A2:=C<REF(C,4);
T1:=A2 AND REF(A1,1);
T2:=A2 AND REF(T1,1);
T3:=A2 AND REF(T2,1);
T4:=A2 AND REF(T3,1);
T5:=A2 AND REF(T4,1);
T6:=A2 AND REF(T5,1);
T7:=A2 AND REF(T6,1);
T8:=A2 AND REF(T7,1);
T9:=A2 AND REF(T8,1);
T10:=A2 AND REF(T9,1);
DRAWTEXT(T5,MACD*1.1,'5');
DRAWTEXT(T6,MACD*1.1,'6');
DRAWTEXT(T7,MACD*1.1,'7');
DRAWTEXT(T8,MACD*1.1,'8');
DRAWTEXT(T9,MACD*1.1,'9');
B1:=C<REF(C,4);
B2:=C>REF(C,4);
D1:=B2 AND REF(B1,1);
D2:=B2 AND REF(D1,1);
D3:=B2 AND REF(D2,1);
D4:=B2 AND REF(D3,1);
D5:=B2 AND REF(D4,1);
D6:=B2 AND REF(D5,1);
D7:=B2 AND REF(D6,1);
D8:=B2 AND REF(D7,1);
D9:=B2 AND REF(D8,1);
D10:=B2 AND REF(D9,1);
DRAWTEXT(D5,MACD*0,'5'),colorred;
DRAWTEXT(D6,MACD*0,'6'),colorred;
DRAWTEXT(D7,MACD*0,'7'),colormagenta;
DRAWTEXT(D8,MACD*0,'8'),colorred;
DRAWTEXT(D9,MACD*0,'9'),colormagenta;
STICKLINE(DIFF>REF(DIFF,1) AND REF(DIFF,2)>REF(DIFF,1),DIFF,DEA,2,1),COLORF00FF0;
DRAWBAND(DIFF,RGB(255,150,150),DEA,RGB(150,250,250));
[url=http://www.70822.com/soft/sort013/sort036/down-157072.html]MACD九转简化版(同花顺公式 副图 源码 测试图)[/url]