MA长均线
2018-05-05 作者:ADMIN 来源:网络整理
MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA20:MA(CLOSE,20);
MA30:MA(CLOSE,30);
MA60:MA(CLOSE,60),LINETHICK1;
MA120:MA(CLOSE,120);
MA250:MA(CLOSE,250);
VALUE_A:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
STICKLINE(VALUE_A>5,O,C,9,0),coloryellow;
STICKLINE(VALUE_A>9.9,O,C,4,0),colorblue;
STICKLINE(VALUE_A>5,(O+C)/2,(O+C)/2,9,0),colorred;
STICKLINE(DYNAINFO(14)>5,(O+C)/2,(O+C)/2,9,0),colorred;
STICKLINE(VALUE_A<-5,(O+C)/2,(O+C)/2,9,0),colorred;
A1:=REF(CLOSE,1)<MA5 OR REF(CLOSE,1)<MA10 OR REF(CLOSE,1)<MA20 OR REF(CLOSE,1)<MA60 OR REF(CLOSE,1)<MA120 ;
A2:=CLOSE>OPEN AND VOL>REF(VOL,1) AND CLOSE>MAX(MA5,MAX(MA10,MAX(MA20,MAX(MA60,MA120))));
DRAWICON(A1 AND A2,L*0.99,1);
阅读:197 评论:0