大智慧MACD+KDJ指标公式,大智慧起爆点指标公式
admin888
|大智慧MACD+KDJ指标公式,大智慧起爆点指标公式
大智慧MACD+KDJ指标公式
INPUT:LONG(26,20,100),SHORT(12,5,40),M(9,2,60),N(9,1,100),M1(3,2,40),M2(3,2,40);
DIFF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:=EMA(DIFF,M);
MACD:=2*(DIFF-DEA);
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1);
D:SMA(K,M2,1);
J:3*K-2*D;
KX:=BARSSINCE(CLOSE);
HKMAX:=MAX(HHV(K,KX),MAX(HHV(D,KX),HHV(J,KX)));
LKMIN:=MIN(LLV(K,KX),MIN(LLV(D,KX),LLV(J,KX)));
KDBL:=(HKMAX+LKMIN)/2;
KDC:=HKMAX-LKMIN;
FDBL:=(MAX(HHV(DIFF,KX),MAX(HHV(DEA,KX),HHV(MACD,KX)))+MIN(LLV(DIFF,KX),MIN(LLV(DEA,KX),LLV(MACD,KX))))/100;
FDC:=MAX(HHV(DIFF,KX),MAX(HHV(DEA,KX),HHV(MACD,KX)))-MIN(LLV(DIFF,KX),MIN(LLV(DEA,KX),LLV(MACD,KX)));
DF:(DIFF-FDBL)*(KDC/FDC)+KDBL,COLOR0099FF,LAYER2,LINETHICK2;
DA:(DEA-FDBL)*(KDC/FDC)+KDBL,COLORD89837,LAYER2,LINETHICK2;
MACDA:=(MACD-FDBL)*(KDC/FDC)+KDBL;
SH:=(0-FDBL)*(KDC/FDC)+KDBL;
50,COLORGRAY,DOTLINE;
0,COLORRED,POINTDOT;
100,COLORGREEN,POINTDOT;
STICKLINE(MACD>=REF(MACD,1) AND MACD>0,50,(MACDA-SH)+50,3,0),COLORRED;
STICKLINE(MACD0,50,(MACDA-SH)+50,3,0),COLOR00DDDD;
STICKLINE(MACD>REF(MACD,1) AND MACD<0,50,(MACDA-SH)+50,3,0),COLORCYAN;
STICKLINE(MACD<=REF(MACD,1) AND MACD<0,50,(MACDA-SH)+50,3,0),COLORFF4422;
大智慧起爆点指标公式
MA8:=dma(CLOSE,VOL/CAPITAL*430/100);
买进价:=((c-ref(ma8,1))/6+ma8)*1.004;
准备启爆:cross(c,买进价) and 买进价>ref(买进价,1);
MA20:=dma(CLOSE,VOL/CAPITAL*240/100);
追加筹码:=((c-ref(ma20,1))/20+ma20)*1.004;
启爆点:cross(c,追加筹码) and 追加筹码>ref(追加筹码,1),COLORGREEN;
重叠时:(准备启爆 and 启爆点 ),COLORYELLOW;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。