|
|
您的位置:首页 >> 股票公式 >> 大智慧公式 >> 文章正文 |
ma趋势强弱---趋势为王,看趋势强弱!
|
|
加入日期:2009-7-29 21:44:29 |
源码如下:
ma趋势强弱---趋势为王,看趋势强弱!
{ma趋势强弱}{主图}
JJ:=(HIGH+LOW+OPEN+CLOSE+CLOSE)/5;
m3:MA(CLOSE,3);
m5:MA(CLOSE,5);
VAR1:=MA(CLOSE,5);
VAR2:=MA(CLOSE,13);
VAR3:=MA(CLOSE,34);
VAR4:=MA(CLOSE,55);
H1A:=(VAR1+VAR2+VAR3+VAR4)/4;
MA(H1A,5),colorFF0000;
MA(H1A,6),colorFF00FF;
MA(H1A,7),colorFF00FF;
MA(H1A,8),colorFF00FF;
MA(H1A,9),colorFF00FF;
MA(H1A,10),colorFF00FF;
MA(H1A,11),colorFF00FF;
MA(H1A,12),colorFFFFFF;
MA(H1A,13),LINETHICK3,colorFF0000;
MA(H1A,14),colorFFFFFF;
MA(H1A,15),colorFF00FF;
MA(H1A,16),colorFF00FF;
MA(H1A,17),colorFF00FF;
MA(H1A,18),colorFF00FF;
MA(H1A,19),colorFF00FF;
MA(H1A,20),colorFF00FF;
MA(H1A,21),colorFF0000;
aa:MA(H1A,21);
if(aa>=ref(aa,1),aa,0),LINETHICK2,COLORyellow,circledot;
if(aa<ref(aa,1),aa,0),LINETHICK2,COLORff9900,circledot;
STICKLINE(C>aa,L,H,0.1,1),COLORRED;
STICKLINE(C>aa,C,O,4,1),COLORRED;
STICKLINE(C>aa,C,O,4,1),COLORRED;
STICKLINE(C<aa,C,O,4,1),COLORFFFF00;
STICKLINE(C<aa,C,O,4,1),COLOR00FF00;
STICKLINE(C<aa,L,H,0.1,1),COLOR00FF00;
|
|
|
|
|
|
|
|