黄色点状线为水平面线,蓝线为海地线股价位于黄线下,蓝线上时出现买字可买入做小波段,触蓝线附近则空仓不操作。若股价冲出水平面就进入强势区,持股待涨。粉色线为天际线,触此线减仓一半,出现 卖 字或根据标致性K线K线决定余股卖点。
VAR1:=MA(CLOSE,30);
海底: VAR1-2*STD(CLOSE,60),COLORCYAN,LINETHICK2;
水平面: MA(CLOSE,60), CIRCLEDOT,LINETHICK2;
天际: VAR1+2*STD(CLOSE,60),LINETHICK2;
FLY1: MA(CLOSE,5),LINETHICK3;
FLY2: MA(CLOSE,10),LINETHICK3;
VAR2:=CROSS(MA(CLOSE,5),MA(CLOSE,30));
DRAWICON(VAR2,LOW-LOW*0.01,1);
DRAWTEXT(VAR2 AND CLOSE MA(CLOSE,250),LOW-LOW*0.02,' 少量买 '),COLORYELLOW;
DRAWTEXT(VAR2 AND CLOSE =MA(CLOSE,60) AND CLOSE =MA(CLOSE,250),LOW-LOW*0.02,' 半仓买'),COLORYELLOW;
DRAWTEXT(VAR2 AND CLOSE MA(CLOSE,60),LOW-LOW*0.02,' 全仓买 '),COLORYELLOW;
DRAWTEXT(CROSS(ZIG(3,10),REF(ZIG(3,10),1)),LOW*0.99,' 买') , COLORYELLOW,LINETHICK1;
DRAWTEXT(CROSS(REF(ZIG(3,10),1),ZIG(3,10)),HIGH*1.008,' 卖') , COLORGREEN,LINETHICK1;