您现在的位置:好股网 >> 股票公式 >> 通达信公式 >> 一键转帖:MA主图(牛熊指标)

MA主图(牛熊指标)


指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2012-04-04 09:04:00
公式简介:

{Y1周期 6 27.95 14
MAEMA 0 1 1
校验线0 1 1}
N:=Y1周期;
M:=MAEMA;
CC:=CLOSE;
Y/2:IF(M,MA(CC,N/2),EMA(CC,N/2)),COLORWHITE,DOTLINE ;
Y1:IF(M,MA(CC,1*N),EMA(CC,1*N)),COLORYELLOW,DOTLINE;
Y2:IF(M,MA(CC,2*N),EMA(CC,2*N)),COLORMAGENTA,DOTLINE;
Y3:IF(M,MA(CC,3*N),EMA(CC,3*N)),COLORGREEN,DOTLINE;
Y4:IF(M,MA(CC,4*N),EMA(CC,4*N)),COLORFF9900,DOTLINE;
Y20:IF(M,EMA(CC,20*N),EMA(CC,20*N)),COLORBLUE,CIRCLEDOT,LINETHICK8{,NODRAW};
Y6:IF(M,EMA(CC,6*N),EMA(CC,6*N)),CIRCLEDOT,COLORYELLOW{COLORFFFF88},LINETHICK8;
Y9:IF(M,EMA(CC,9*N),EMA(CC,9*N)),COLORBLUE,CIRCLEDOT,LINETHICK8;
Y13:IF(M,EMA(CC,13*N),EMA(CC,13*N)),{COLOR99EBEB}COLORFFFF88,CIRCLEDOT,LINETHICK8;

A:=PERIOD;
NXX:IF(A=5,Y20,IF(A=6,Y4,IF(A=7,Y1,IF(A=9,Y6,
IF(A=10 OR A=11,Y/2,EMA(C,25600{453})))))),{COLOR1188FF}COLORMAGENTA,CIRCLEDOT,LINETHICK8;

NNN:=IF(A=6,120,IF(A=7,24,IF(A=8,6,IF(A=9,2,IF(A=10,40,0)))));

NXH:=IF(校验线,IF(CAPITAL,HHV(HIGH,NNN)*0.7,HHV(HIGH,NNN)*0.80),
MA(C,25600)),COLORYELLOW,POINTDOT,LINETHICK7;
NXL:=IF(校验线,IF(CAPITAL,LLV(LOW,NNN)*1.3,LLV(LOW,NNN)*1.20),
MA(C,25600)),COLORBLUE,POINTDOT,LINETHICK7;

NXGN:IF(A<5,MA(C,25600),MA((NXH+NXL)/2,3)),COLORRED;

W1:=C=HHV(C,20);
W2:=BARSLAST(W1);
W3:=IF(W2>0,REF(C,W2),REF(C,W2));
W4:=CROSS(C,REF(W3,1));
TJ:=W4 AND COUNT(W4,5)=1;
DLTP:={((C-LLV(C,20))/LLV(C,20))*100<18}
((REF(C,1)-LLV(REF(C,1),20))/LLV(C,20))*100<15 AND VOL>=2*REF(SUM(REF(VOL,1),20),1)/20 AND TJ;
DRAWTEXT(DLTP,L,'↖★'),COLORYELLOW;
 


 


[url=http://www.goodgupiao.com/gupiaogongshi/18885.html][B]MA主图(牛熊指标)[/B][/url]