软件名称:[B]MA21指标[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:4.00 KB
官方主页:Home Page
更新时间:2018-11-13 01:08:19
软件简介:
M21指标:1.收盘价、13天均线、21天均线;2.均线围成区域:(1)下面的区域是反映大盘收阳、收阴、红色粗实线表示大盘上5日线,绿色粗实线表示大盘下5日线.(2)上面的区域反映的是个股收阳或收阴.
C_1:CLOSE,colorwhite;
M13_1:MA(CLOSE,13),colorcyan;
M21_1:MA(CLOSE,21),coloryellow;
DRAWICON(CROSS(C,M21_1),C,1);
DRAWICON(CROSS(M21_1,C),M21_1,2);
//DRAWICON(CROSS(INDEXC,MA(INDEXC,5)),C,5);
//DRAWICON(CROSS(MA(INDEXC,5),INDEXC),C,6);
//1.0:C<M13<M21
N:=6;
M:=2;
A11:=C<M13_1 AND M13_1<M21_1;
C11:=C>O;
C12:=C<O;//www.70822.com
D11:=INDEXC>INDEXO;
D12:=INDEXC<INDEXO;
D21:=CROSS(INDEXC,MA(INDEXC,5));
D22:=CROSS(MA(INDEXC,5),INDEXC);
///////////////////////////////////////////////////////////////////////////////
LOW144:LLV(LOW,144),coloryellow;
LOW144_1:LOW144*0.95,coloryellow;
STICKLINE(D11,LOW144_1,LOW144,m,0),colorred;//柱线
STICKLINE(D12,LOW144_1,LOW144,m,0),colorgreen;//柱线
STICKLINE(D21,LOW144_1,LOW144,n,0),colorred;//柱线
STICKLINE(D21 AND C12,LOW144_1,LOW144,m,0),colorgreen;//柱线
STICKLINE(D22,LOW144_1,LOW144,n,0),colorgreen;//柱线
STICKLINE(D22 AND C11,LOW144_1,LOW144,m,0),colorred;//柱线
////////////////////////////////////////////////////////////////////////////////
//1.1.大盘C在M13之间
STICKLINE(A11 AND D11,C_1,M13_1,m,0),colorred;//柱线
STICKLINE(A11 AND D12,C_1,M13_1,m,0),colorgreen;//柱线
STICKLINE(A11 AND D21,C_1,M13_1,n,0),colorred;//柱线
STICKLINE(A11 AND D22,C_1,M13_1,n,0),colorgreen;//柱线
//1.2.个股13在M21之间
STICKLINE(A11 AND C11,M13_1,M21_1,m,0),colormagenta;//柱线
STICKLINE(A11 AND C12,M13_1,M21_1,m,0),colorcyan;//柱线
//2.0:M21>C and C>M13
A12:=M21_1>C_1 AND C_1>M13_1;
//2.1:大盘C-M13
STICKLINE(A12 AND D11,C_1,M13_1,m,0),colorred;//柱线
STICKLINE(A12 AND D12,C_1,M13_1,m,0),colorgreen;//柱线
STICKLINE(A12 AND D21,C_1,M13_1,n,0),colorred;//柱线
STICKLINE(A12 AND D22,C_1,M13_1,n,0),colorgreen;//柱线
//2.2:个股C-M21
STICKLINE(A12 AND C11,C_1,M21_1,m,0),colormagenta;//柱线
STICKLINE(A12 AND C12,C_1,M21_1,m,0),colorcyan;//柱线
//3.0:C>M21>M13
A13:=C_1>M21_1 AND M21_1>M13_1;
//3.1:大盘M13-M21
STICKLINE(A13 AND D11,M13_1,M21_1,m,0),colorred;//柱线
STICKLINE(A13 AND D12,M13_1,M21_1,m,0),colorgreen;//柱线
STICKLINE(A13 AND D21,M13_1,M21_1,n,0),colorred;//柱线
STICKLINE(A13 AND D22,M13_1,M21_1,n,0),colorgreen;//柱线
//3.2:个股在C-M21
STICKLINE(A13 AND C11,C_1,M21_1,m,0),colormagenta;//柱线
STICKLINE(A13 AND C12,C_1,M21_1,m,0),colorcyan;//柱线
//4.0:C>13>21
A14:=C_1>M13_1 AND M13_1>M21_1;
//4.1:大盘M13-M21
STICKLINE(A14 AND D11,M13_1,M21_1,m,0),colorred;//柱线
STICKLINE(A14 AND D12,M13_1,M21_1,m,0),colorgreen;//柱线
STICKLINE(A14 AND D21,M13_1,M21_1,n,0),colorred;//柱线
STICKLINE(A14 AND D22,M13_1,M21_1,n,0),colorgreen;//柱线
//4.2:个股在C-M13
STICKLINE(A14 AND C11,C_1,M13_1,m,0),colormagenta;//柱线
STICKLINE(A14 AND C12,C_1,M13_1,m,0),colorcyan;//柱线
//5.0:M13>C>M21
A15:=M13_1>C_1 AND C_1>M21_1;
//5.1:大盘C-M21
STICKLINE(A15 AND D11,C_1,M21_1,m,0),colorred;//柱线
STICKLINE(A15 AND D12,C_1,M21_1,m,0),colorgreen;//柱线
STICKLINE(A15 AND D21,C_1,M21_1,n,0),colorred;//柱线
STICKLINE(A15 AND D22,C_1,M21_1,n,0),colorgreen;//柱线
//5.2:个股在C-M13
STICKLINE(A15 AND C11,C_1,M13_1,m,0),colormagenta;//柱线
STICKLINE(A15 AND C12,C_1,M13_1,m,0),colorcyan;//柱线
//6.0:M13>M21>C
A16:=M13_1>M21_1 AND M21_1>C_1;
//6.1:大盘C-M21
STICKLINE(A16 AND D11,C_1,M21_1,m,0),colorred;//柱线
STICKLINE(A16 AND D12,C_1,M21_1,m,0),colorgreen;//柱线
STICKLINE(A16 AND D21,C_1,M21_1,n,0),colorred;//柱线
STICKLINE(A16 AND D22,C_1,M21_1,n,0),colorgreen;//柱线
//6.2:个股在M13-M21
STICKLINE(A16 AND C11,M13_1,M21_1,m,0),colormagenta;//柱线
STICKLINE(A16 AND C12,M13_1,M21_1,m,0),colorcyan;//柱线
[url=http://www.70822.com/soft/sort013/sort036/down-130467.html]MA21指标[/url]