软件名称:[B]MA和MA2均线系统的自带均线[/B]
软件类型:国产软件
运行环境:Win2000/WinXP/Win2003/WinVista
软件语言:简体中文
授权方式:共享软件
软件大小:4.00 KB
官方主页:Home Page
更新时间:2014-04-11 04:40:47
软件简介:
{MA和MA2均线系统的自带均线}
MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA20:=MA(CLOSE,20);
MA60:MA(CLOSE,60);
MA120:=MA(CLOSE,120);
MA250:=MA(CLOSE,250);
STICKLINE(C>=O,H,C,0,0),COLOR000080;
STICKLINE(C>=O,H,C,0,0),COLOR0000EE;
STICKLINE(C>=O,O,L,0,0),COLOR000080;
STICKLINE(C>=O,O,L,0,0),COLOR0000EE;
STICKLINE(C>O,C,O,2.4,0),COLOR0000FF;
STICKLINE(C>O,C,O,3.0,0),COLOR1313FF;
STICKLINE(C>O,C,O,2.4,0),COLOR2424FF;
STICKLINE(C>O,C,O,2.0,0),COLOR2D2DFF;
STICKLINE(C>O,C,O,1.6,0),COLOR4444FF;
STICKLINE(C>O,C,O,1.2,0),COLOR5757FF;
STICKLINE(C>O,C,O,0.6,0),COLOR6666FF;
STICKLINE(C>O,C,O,0.1,0),COLOR7D7DFF;
STICKLINE(C<=O,H,C,0,0),COLOR808000;
STICKLINE(C<O,H,C,0,0),COLOR808000;
STICKLINE(C=O,H,C,0,0),COLORFFFFFF;
STICKLINE(C<O,O,L,0,0),COLOR808000;
STICKLINE(C=O,O,L,0,0),COLORFFFFFF;
STICKLINE(C<O,C,O,2.4,0),COLOR808000;
STICKLINE(C<O,C,O,3.0,0),COLOR8C8C00;
STICKLINE(C<O,C,O,2.4,0),COLOR959500;
STICKLINE(C<O,C,O,2.0,0),COLOR9F9F00;
STICKLINE(C<O,C,O,1.6,0),COLORAAAA00;
STICKLINE(C<O,C,O,1.2,0),COLORB5B500;
STICKLINE(C<O,C,O,0.6,0),COLORBFBF00;
STICKLINE(C<O,C,O,0.1,0),COLORD0D000;
STICKLINE(C=O,C,O,0.1,0),COLORFFFFFF;
N:=10;
T1:=CONST(HHVBARS(V,N));
T0:IF(CURRBARSCOUNT<=N+3,CONST(IF(T1=0,C,REF(C,T1))),DRAWNULL),COLORFF00FF;
IF(CURRBARSCOUNT=T1+1,T0,DRAWNULL),CIRCLEDOT,COLORFF00FF;
DRAWTEXT(ISLASTBAR,T0,' 量能评台'),COLORRED;
W:=20;
W1:=CONST(REF(HHVBARS(V,W),T1+1)+T1+1);
W0:IF(CURRBARSCOUNT<=T1+W+3 AND CURRBARSCOUNT>=T1+1,CONST(REF(C,W1)),DRAWNULL),COLOR009999;
IF(CURRBARSCOUNT=W1+1,W0,DRAWNULL),CIRCLEDOT,COLOR00CCCC;
M:=10;
Q1:=CONST(REF(HHVBARS(V,M),T1+1)+T1+1);
Q0:IF(CURRBARSCOUNT<=T1+M+3 AND CURRBARSCOUNT>=T1+1,CONST(REF(C,Q1)),DRAWNULL),COLOR009900;
IF(CURRBARSCOUNT=Q1+1,Q0,DRAWNULL),CIRCLEDOT,COLOR00CC00;
DRAWTEXT_FIX(1,0.42,0.97,0,EXTERNSTR(0,1))COLORYELLOW;
A:=(3*C+L+O+H)/6;
X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+
14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)
+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+
REF(A,20))/210;
主力成本:EMA(X,13),COLORFF00FF,DOTLINE,LINETHICK1;
HKLNPT: COUNT(C/O>=1,5)>=5 AND ( C/O>REF(C/O,1) OR REF(C/O,1)> REF(C/O,2) ) AND C/O>1 AND (REF(V,3)<REF(V,4) OR REF(V,2)<REF(V,3)) AND REF(V,1)>REF(V,2) AND V>REF(V,1) AND COUNT(H/L>1.062 OR C/REF(C,1)>1.062,2)>=1,NODRAW ;
DRAWTEXT(HKLNPT,(H*1.2),'红K量能评台'),COLORRED;
【0】:=MA(L+(H-L)/2,5),CIRCLEDOT,COLORMAGENTA;
【1】:DRAWLINE(CURRBARSCOUNT=10,【0】,CURRBARSCOUNT=2,【0】,0),COLORYELLOW,LINETHICK2;
【2】:DRAWLINE(CURRBARSCOUNT=5,【0】,CURRBARSCOUNT=1,【0】,0),COLORRED,LINETHICK2;
【3】:DRAWLINE(CURRBARSCOUNT=10,【0】,CURRBARSCOUNT=1,【0】,0),COLORRED,LINETHICK2;
DRAWBAND(【1】,RGB(155,50,50),【3】,RGB(250,250,0));
DRAWBAND(【2】,RGB(100,50,50),【3】,RGB(250,100,0));
DRAWBAND(【2】,RGB(34,139,34),【3】,RGB(250,100,0));
【4】:=REF(【0】,1);
DRAWTEXT(【0】<【4】 AND 【2】<【3】,【2】,'转强'),COLOR33FFCC;
DRAWTEXT(【0】<【4】 AND 【1】>【3】,【2】,'转弱'),COLOR33FFCC;
K:=30;
AA:DRAWLINE(H>=HHV(H,K),H,REF(C>=REF(HHV(H,K),1),1),REF(H,1),1)COLOR00FF00,DOTLINE;
DRAWICON(CROSS(C,HHV(AA,K)),L,29);
[url=http://www.70822.com/soft/sort013/sort05/down-71467.html]MA和MA2均线系统的自带均线[/url]