通达信短线组合副图指标 贴图
指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2017-08-25 23:56:00
公式简介:
{DX-JMACD}
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1),COLORWHITE;
D:=SMA(K,3,1),COLORYELLOW;
J:=3*K-2*D,COLORMAGENTA;
DIFF:EMA(CLOSE,8)-EMA(CLOSE,13),LINETHICK2,COLORGREEN,LINETHICK0;
DEA :EMA(DIFF,9),LINETHICK2,COLORBLUE,LINETHICK0;
MACD:2*(DIFF-DEA),LINETHICK2,COLORRED,LINETHICK0;
MACD交叉价:((13 * 27) * REF(DEA,1) + (13 * 25) * REF(EMA(C,26),1) - (11 * 27) * REF(EMA(C,12),1))/(2*(26-12))NODRAW;
RSV1:=(HHV(H,9.8)-C)/(HHV(H,9.8)-LLV(L,9.8))*101;
KK:=SMA(RSV1,3,1);
DD:=SMA(KK,3,1);
JJ:=3*KK-2*DD;
KX:=250;
KH:=HHV(K,KX);
DH:=HHV(D,KX);
JH:=HHV(J,KX);
KL:=LLV(K,KX);
DL:=LLV(D,KX);
JL:=LLV(J,KX);
HKMAX:=MAX(KH,MAX(DH,JH));
LKMIN:=MIN(KL,MIN(DL,JL));
KHLB:=(HKMAX+LKMIN)/2;
KHLC:=HKMAX-LKMIN;
MHF:=HHV(DIFF,KX);
MHD:=HHV(DEA,KX);
MHM:=HHV(MACD,KX);
MLF:=LLV(DIFF,KX);
MLD:=LLV(DEA,KX);
MLM:=LLV(MACD,KX);
HMAX:=MAX(MHF,MAX(MHD,MHM));
LMIN:=MIN(MLF,MIN(MLD,MLM));
FHLB:=(HMAX-LMIN)/100;
FHLC:=HMAX-LMIN;
SH:=(0-FHLB)*(KHLC/FHLC)+KHLB;
MACDA:=(MACD-FHLB)*(KHLC/FHLC)+KHLB;
CDA:=MACD<REF(MACD,1) AND MACD>0;
CDB:=MACD>=REF(MACD,1) AND MACD>0;
CDC:=MACD>REF(MACD,1) AND MACD<0;
CDD:=MACD<=REF(MACD,1) AND MACD<0;
STICKLINE(CDA,50,MACDA,0.7,0),COLORFFFFFF;
STICKLINE(CDB,50,MACDA,0.7,0),COLOR000FFF;
STICKLINE(CDC,50,MACDA,0.7,0),COLORFF66FF;
STICKLINE(CDD,50,MACDA,0.7,0),COLORFFDD00;
DIFFA:=(DIFF-FHLB)*(KHLC/FHLC)+KHLB,COLORFF66FF,LINETHICK1;
DEAA:=(DEA-FHLB)*(KHLC/FHLC)+KHLB,COLORBBBBBB,LINETHICK1;
{IF(DIFFA>=DEAA,DIFFA,DRAWNULL),COLORAA00AA, LINETHICK1;}
A1:=BARSLAST(REF(CROSS(DIFFA,DEAA),1));
底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFFA>REF(DIFFA,A1+1) AND CROSS(DIFFA,DEAA),COLOR333FFF,NODRAW;
DRAWLINE(A1=0,DEAA,底背离,DEAA,0),COLOR666FFF,LINETHICK1;
DRAWTEXT(底背离,DIFFA*1.1,' M底背'),COLOR666FFF;
A2:=BARSLAST(REF(CROSS(DEAA,DIFFA),1));
顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFFA,A2+1)>DIFFA AND CROSS(DEAA,DIFFA),COLORFF6600,NODRAW;
DRAWLINE(A2=0,DEAA,顶背离,DEAA,0),COLORFF6666,LINETHICK1;
DRAWTEXT(顶背离,DEAA*1.1,' M顶背'),COLORFF6666;
VAR30:=LLV(LOW,10);
VAR40:=HHV(HIGH,10);
快线:EMA((CLOSE-VAR30)/(VAR40-VAR30)*100,6),COLOR00FF00, LINETHICK2;
慢线:EMA(0.618*REF(快线,1)+0.382*快线,2.5),COLOR00FFFF;
IF(快线>=慢线,快线,DRAWNULL),COLOR000FFF, LINETHICK2;
VAR2S:=TROUGHBARS(3,15,1)<10;
VAR3S:=PEAKBARS(3,15,1)<10;
VAR4S:=IF(VAR2S=1,50,0);
VAR5S:=IF(VAR3S=1,50,0);
底部:=IF(VAR4S=50,10,0);
买入:=底部=10 AND REF(底部,1)=10 AND REF(底部,2)=0;
STICKLINE(买入,7,0,0.1,0),COLORFFFFFF;
DRAWTEXT(买入,7,' 底买'),COLORFFFFFF;
VAR1P:=VOL<MA(VOL,5) AND MA(VOL,5)<MA(VOL,55);
VAR2P:=CLOSE/REF(CLOSE,1)>1.028;
VAR3P:= MA(CLOSE,10)>CLOSE*1.05;
VAR4P:=MA(CLOSE,10)<CLOSE*1.1;
VAR5P:=MA(CLOSE,60)>CLOSE*1.28;
捞金:=VAR1P AND VAR2P AND VAR3P AND VAR4P AND VAR5P,COLOR00FFFF,NODRAW;
STICKLINE(捞金,30,37,0.2,0),COLOR223FFF;
DRAWTEXT(捞金,37,' 捞金'),COLOR223FFF;
90,COLOR00DD00;
80,COLORFF6600;
50,COLORAAAAAA;
20,COLOR00AAAA;
10,COLOR3399FF;
DRAWTEXT(CURRBARSCOUNT=1,87,' 上限'),COLOR00DD00;
DRAWTEXT(CURRBARSCOUNT=1,75,' 风险'),COLORFF6600;
DRAWTEXT(CURRBARSCOUNT=1,50,' 强弱'),COLORAAAAAA;
DRAWTEXT(CURRBARSCOUNT=1,25,' 低位'),COLOR00AAAA;
DRAWTEXT(CURRBARSCOUNT=1,13,' 下限'),COLOR3399FF;
{};
[url=http://www.goodgupiao.com/gupiaogongshi/45922.html][B]通达信短线组合副图指标 贴图[/B][/url]