线上是涨 线下是跌 交叉时候出现中阳线macd kd条件符合买入 线下空仓 M5:MA(C,5),colorwhite; M20:MA(C,20),colormagenta; M5对称:IF(M5>=M20,M20*2-M5,M20*2-M5),coloryellow; (M5+M20)/2,colorgray; (M5对称+M20)/2,colorgray; DRAWKLINE(H,O,L,C); DRAWTEXT_FIX(1,0.9,0.9,1,'温馨提示:股价在葫芦尾之上要涨,在下要跌'),coloryellow; VAR6:=REF(CLOSE,1); VAR7:=SMA(MAX(CLOSE-VAR6,0),6,1)/SMA(ABS(CLOSE-VAR6),6,1)*100; STICKLINE(CROSS(84,VAR7),CLOSE,OPEN,2.8,0),colorgreen; A1:=ABS(((3.48*CLOSE+HIGH+LOW)/4-EMA(CLOSE,23))/EMA(CLOSE,23)); A2:=DMA(((2.15*CLOSE+LOW+HIGH)/4),A1); 金线王:EMA(A2,200)*1.118,LINETHICK2,coloryellow; 金线王2:EMA(A2,200)*1.118,LINETHICK1,colorred; {金线王3:EMA(A2,20)*1.108,LINETHICK1,colorred;}; |
