基础均线
1.股价高于平均线,视为强势;股价低于平均线,视为弱势
2.平均线向上涨升,具有助涨力道;平均线向下跌降,具有助跌力道;
3.二条以上平均线向上交叉时,买进;
4.二条以上平均线向下交叉时,卖出;
5.移动平均线的信号经常落后股价,若以EXPMA、VMA辅助,可以改善。
指标源码
DRAWTEXT_FIX(ISLASTBAR,0.01,0.01,0,HYBLOCK),COLOR0000FF;DRAWTEXT_FIX(ISLASTBAR,0.01,0.07,0,DYBLOCK),COLORYELLOW;DRAWTEXT_FIX(ISLASTBAR,0.01,0.13,0,GNBLOCK),COLORFF00FF;DRAWTEXT_FIX(ISLASTBAR,0.01,0.2,0,FGBLOCK),COLOR0080FF;MA5:MA(CLOSE,5),COLORWHITE;MA10:MA(CLOSE,10),COLORYELLOW;MA20:MA(CLOSE,20),COLORMAGENTA;MA30:MA(CLOSE,30),COLORGREEN;MA60:MA(CLOSE,60),COLORRED,LINETHICK2;MA250:MA(CLOSE,250),COLORCYAN,DOTLINE;十大股东占比:=(FINVALUE(244)/FINVALUE(239))*100,NODRAW,COLORYELLOW;筹码衰减系数:100/(100-十大股东占比),NODRAW,COLORCYAN;{十大股东占比小于65%时,无需修改衰减系数};