文章预览
第一部分 【天牛主力】1主图 【天牛主力】 主图 编写如下: N1:=6; 重心:(2*C+H+L)/4,COLOR00FFFF,LINETHICK0; SJ:=WMA((重心-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,2); ZJ:=WMA(0.618*REF(SJ,1)+0.382*SJ,2); DRAWTEXT(CROSS(SJ,ZJ) AND SJ < 30,L-0.1,'←低吸'),COLOR00FF00; DRAWTEXT(CROSS(ZJ,SJ) AND SJ>70,H+0.1,'←高抛'),COLOR0077FF; A1:=EMA(C,14)COLORWHITE,LINETHICK1; A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW; 突破:REF(EMA(C,14),1),NODRAW; 距离:(C-突破)/突破*100,NODRAW; 出击:IF(A1X>=0,REF(EMA(C,14),BARSLAST(CROSS(A1X,0))+1),DRAWNULL)COLORRED,LINETHICK1; 休假:IF(A1X < 0,REF(EMA(C,14),BARSLAST(CROSS(0,A1X))+1),DRAWNULL)COLORGREEN,LINETHICK1; 涨幅:IF(A1X>=0,(C-出击)/出击*100,DRAWNULL)NODRAW; 跌幅:IF(A1X < 0,(C-休假)/休假*100,DRAWNULL)NODRAW; ♂10%:IF(H>=出击*1.1,出击*1.1,DRAWNULL),COLORRED,POINTDOT,LINETHICK4; ♂20%:IF(H>=出击*1.2,出击*1.2,DRAWNULL),COLORRED,POINTDOT,LINETHICK4; ♂30%:IF(H>=出击*1.3,出击*1.3,DRAWNULL),COLORRED,POINT
………………………………