墨航完美变色布林
2016-2-23 21:51:35点击:
中轨:MA(CLOSE,20),colorwhite,linethick3;
上轨:中轨+2*STD(CLOSE,20),colorgreen,linethick2;
下轨:中轨-2*STD(CLOSE,20),colorgreen,linethick2;
中轨大于10度角:=ATAN((MA(C,20)/REF(MA(C,20),1)-1)*100)*180/3.14159>=10;
中轨色1:=IF(中轨大于10度角 ,中轨,DRAWNULL),colorwhite,linethick3;
多空趋势60:=MA(CLOSE,60);
半年线:=MA(CLOSE,120);
年线:=MA(CLOSE, 250);
突六:IF(C>=多空趋势60 ,下轨,DRAWNULL),colorred,linethick2;
突半:IF((C>=半年线) ,上轨,DRAWNULL),colorred,linethick2;
突年:IF((C>=年线) ,上轨,DRAWNULL),colormagenta,linethick2,nodraw;
主力线:MA(C,10),coloryellow,linethick1,DOTLINE;
五日线急攻:IF(ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.14159>=10 AND C>MA(C,5) AND ATAN((MA(C,10)/REF(MA(C,10),1)-1)*100)*180/3.14159>=1 ,中轨,DRAWNULL),colorred,linethick3;
STICKLINE(C<=MA(C,10) AND C<=MA(C,30),OPEN,CLOSE,9,1),colorgreen;
STICKLINE(C<=MA(C,20) AND C>=MA(C,30) ,OPEN,CLOSE,9,1),colorliblue;
涨停:=IF(REF(C,1)*1.1-C<0.01 ,1,0);
STICKLINE(涨停,OPEN,CLOSE,9,0),colormagenta;
C3:=REF(C,1);//www.88gs.com
跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0);
STICKLINE(跌停,OPEN,CLOSE,9,0),colorgreen;
成交量条件1:=((VOL>=MA(VOL,10) AND VOL>=MA(VOL,20) AND VOL>=MA(VOL,60) ) AND C>O ) ;
STICKLINE(成交量条件1,OPEN,CLOSE,4,0),coloryellow;