風箏線: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;
|