风筝线:EMA(CLOSE,8),LINETHICK2,colorFFFF; 持仓线:(EMA(SLOPE(CLOSE,34)*20+CLOSE,75))*1,CIRCLEDOT,colorFFFFFF; 决策线:EMA(CLOSE,55),LINETHICK3,colorFFFF; TJA:=风筝线>REF(风筝线,1); PARTLINE(TJA,风筝线),LINETHICK2,colorFF; TJB:=风筝线<REF(风筝线,1); PARTLINE(TJB,风筝线),LINETHICK2,colorFF00; TJC:=持仓线>REF(持仓线,1); PARTLINE(TJC,持仓线),LINETHICK2,colorFF00FF; TJD:=持仓线<REF(持仓线,1); PARTLINE(TJD,持仓线),LINETHICK2,colorFFFF00; HX:=风筝线-持仓线; STICKLINE(HX>=0,持仓线,风筝线,0.2,0),color1; STICKLINE(HX<0,持仓线,风筝线,0.2,0),colorFF00; W1:=CLOSE=HHV(CLOSE,10); W2:=BARSLAST(W1); W3:=IF(W2>0,REF(CLOSE,W2),REF(CLOSE,W2)); W4:=CROSS(CLOSE,REF(W3,1)); ZHUIA:=W4 AND COUNT(W4,5)=1; STICKLINE(ZHUIA>0,OPEN,CLOSE,3,0),colorFFFF; JC:=CROSS(风筝线,持仓线); DRAWTEXT(JC,HIGH*1,'★金叉'),colorFFFF; DRAWTEXT(风筝线<持仓线 AND REF(CLOSE,1)<持仓线 AND CLOSE>持仓线,LOW*1,'★突破生命线'),colorFFFF;
|