通達(dá)信MACD參考指標(biāo)公式
基本概況:
- 指標(biāo)類別: 通達(dá)信指標(biāo)
- 授權(quán)方式: 免費(fèi)版
- 指標(biāo)評(píng)級(jí): ★★★★★
- 指標(biāo)語言: 簡體中文
- 指標(biāo)來源: 互聯(lián)網(wǎng)
- 指標(biāo)日期: 2017-07-28 00:00:00
內(nèi)容介紹:
通達(dá)信MACD參考指標(biāo)公式:
DIF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIF,9);
MACD:(DIF-DEA)*2,COLORSTICK;
VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
OBV:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
MAOBV:=MA(OBV,30),COLORYELLOW;
AAA:=C>REF(C,1)*1.09 AND C=H;
AQ:=MAX(MAX(MA(CLOSE,7),MA(CLOSE,13)),MA(CLOSE,34));
BQ:=MIN(MIN(MA(CLOSE,7),MA(CLOSE,13)),MA(CLOSE,34));
T2:=REF(MA(C,21),2)<REF(MA(C,21),1)<MA(C,21) AND REF(MA(C,13),2)<REF(MA(C,13),1)<MA(C,13);
T3:=REF(MA(C,34),2)<REF(MA(C,34),1)<MA(C,34) AND REF(MA(C,55),2)<REF(MA(C,55),1)<MA(C,55);
D1:=T2 AND T3 ;
AA:=VOL>REF(V,1)*1.9;
BB:=C>MA(C,5);
三線粘合:=IF(RANGE(100*(AQ-BQ)/BQ,0,5),100*(AQ-BQ)/BQ,DRAWNULL);
MA1:=MA(C,8);
MA2:=MA(C,13);
MA3:=MA(C,21);
MA4:=MA(C,34);
MA5:=MA(C,55);
P1:=ABS(MA1-MA2)+ABS(MA2-MA3)+ABS(MA1-MA4)+ABS(MA2-MA4)+ABS(MA3-MA4)+ABS(MA1-MA3)+ABS(MA1-MA5)+ABS(MA2-MA5)+ABS(MA3-MA5)+ABS(MA4-MA5);
五線粘合:=IF(P1/C<10/100 AND MA1>REF(MA1,1) AND MA2>REF(MA2,1),888,0)COLORRED,LINETHICK3;
P2:=ABS(MA1-MA2)+ABS(MA2-MA3)+ABS(MA1-MA4)+ABS(MA2-MA4)+ABS(MA3-MA4)+ABS(MA1-MA3);
四線粘合:=IF(P2/C<8/100 AND MA1>REF(MA1,1) AND MA2>REF(MA2,1),666,0)COLORYELLOW,LINETHICK3;
P3:=ABS(MA2-MA3)+ABS(MA3-MA4)+ABS(MA2-MA5)+ABS(MA3-MA5)+ABS(MA4-MA5)+ABS(MA2-MA3);
四線粘合2:=IF(P3/C<8/100 AND MA1>REF(MA1,1) AND MA2>REF(MA2,1),777,0)COLORLIRED,LINETHICK3;
粘合IN:=五線粘合 OR 四線粘合 OR 四線粘合2;
資金:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
JXTJ1:=COUNT(粘合IN,10)>=2 AND COUNT(REF(AAA,2),179)>0 AND C>O AND 資金>=80;
DSX1:=C>MA(C,10) AND MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,20) AND C>MA(C,89);
DSX2:=C>MA(C,5) AND MA(C,5)>=MA(C,20) AND MA(C,10)>=MA(C,20) AND C>MA(C,89);
LTP:=C<38 AND FINANCE(7)/100000000<15 AND IF(NAMELIKE('*'),0,1) AND IF(NAMELIKE('S'),0,1);
HC22:=(NDAY(MA(C,21),REF(MA(C,21),1),4) AND BETWEEN(L/MA(C,30),1.001,1.005)) OR (NDAY(MA(C,21),REF(MA(C,21),1),4) AND L<MA(C,30) AND C>MA(C,30)) OR (NDAY(MA(C,21),REF(MA(C,21),1),4) AND ABS((L-MA(C,30)))/MA(C,30)*100<=0.8 AND C>MA(C,30));
HC11:=(NDAY(MA(C,30),REF(MA(C,30),1),4) AND BETWEEN(L/MA(C,30),1.001,1.005)) OR (NDAY(MA(C,30),REF(MA(C,30),1),4) AND L<MA(C,30) AND C>MA(C,30)) OR (NDAY(MA(C,30),REF(MA(C,30),1),4) AND ABS((L-MA(C,30)))/MA(C,30)*100<=0.8 AND C>MA(C,30));
DIFF:=(EMA(C,12)-EMA(C,26))*20;
DEA1:=EMA(DIFF,9);
MACD1:=2*(DIFF-DEA1);
MACD2:=EMA((3*MACD1+2*REF(MACD1,1)+REF(MACD1,2))/6,1);
HC33:=MACD1>MACD2 AND MACD1<0;
DSX:=三線粘合<5 AND C>=MA(C,89) AND D1 AND DSX2;
MDTJ1:=IF(DIF>=DEA,DIF>=DEA,HC33);
MQ1:=REF(MACD,1)>0 AND MACD<=REF(MACD,1) AND MACD>-0.01;
ZSXG:=(MACD>-0.2 AND (DIFF>=0 AND DEA1>=0 AND (MDTJ1 OR MQ1))) AND JXTJ1 AND LTP AND (DSX OR DSX1);
GL1:=(MA(C,5)-MA(C,20))/MA(C,20)*100<10;
GL3:=(MA(C,20)-MA(C,60))/MA(C,60)*100<5;
V5:=MA(VOL,5);
V10:=MA(VOL,13);
V35:=MA(VOL,35);
V60:=MA(VOL,60);
M5:=MA(CLOSE,5);
M10:=MA(CLOSE,10);
M20:=MA(CLOSE,20);
M60:=MA(CLOSE,60);
M120:=MA(CLOSE,120);
G8:=MA(C,8);
G13:=MA(C,13);
G89:=MA(C,89);
NEWTJ1:=MA(C,5)>=MA(C,10) AND (MA(C,10)>=MA(C,20) OR CROSS(MA(C,10),MA(C,20))) AND MA(C,20)>=MA(C,30) AND MA(C,10)>MA(C,60) AND M
相關(guān)推薦: