大道至简均线
2016-5-16 16:11:14点击:
指标包含了自创的BS买卖点提示,包含涨跌停K线颜色显示,为最新优化版本
换手率:=VOL/SHGZG*100,nodraw;
MA5:=MA(CLOSE,5),colorgray;
MA10:=MA(CLOSE,10),colorcyan;
MA20:=MA(CLOSE,20),colorgreen;
均线20:IF(MA20/H<1.05 AND L/MA20<1.05,MA20,DRAWNULL),LINETHICK2,colorgreen;
MA120:=MA(CLOSE,120),color555500;
均线120:IF(MA120/H<1.05 AND L/MA120<1.05,MA120,DRAWNULL),LINETHICK3,colorgray;
MA25:=MA(CLOSE,25),colorgreen;
MA30:=MA(CLOSE,30),color00ff00;
MA60:=MA(CLOSE,60),colorcyan;
均线60:IF(MA60/H<1.05 AND L/MA60<1.05,MA60,DRAWNULL),LINETHICK2,color005500;
均线5:IF(L>MA10,MA5,DRAWNULL),LINETHICK2,colorff00ff;
均线10:IF(L>MA20 OR (ma20>ma10 AND ma10>=REF(MA10,1) AND MA10/H<1.05 AND L/MA10<1.05),MA10,DRAWNULL),LINETHICK2,colorred;
C2:=REF(C,1);
STICKLINE(C>O AND C=H AND C<REF(C,1)*1.098,CLOSE,OPEN,9,0),colorred;//光头阳线//
STICKLINE(C>O AND C=H AND C>REF(C,1)*1.098,CLOSE,O ,9,0),coloryellow;//涨停//
STICKLINE(C>O AND C<H AND H>REF(C,1)*1.098,(CLOSE+OPEN)/2,OPEN,9,0),coloryellow;//打开涨停//
跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);
STICKLINE(C<O,OPEN,CLOSE,9,1),color008800;
STICKLINE(C>O AND C>REF(C,1) AND O<REF(C,1),OPEN,REF(C,1),9,0),colorcyan; //低开显示//
STICKLINE(C>O AND C>REF(C,1) AND O<REF(C,1),L,REF(C,1),4,0),colorcyan; //低开显示//
STICKLINE(跌停,OPEN,CLOSE,9.5,0),color009900;
//低开数字显示 www.88gs.com//
低开值:(REF(C,1)-L)/REF(C,1)*100,nodraw,coloryellow;
DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);
DEA := EMA(DIFF,9);
DRAWICON (CROSS(C,MA20) AND MA5>REF(MA5,1) ,L*0.97,1);