Vara1:=(EMA(C,3)+EMA(C,5)+EMA(C,8)+EMA(C,13))/4; Vara2:=(EMA(C,13)+EMA(C,21)+EMA(C,34)+EMA(C,55))/4; Vara3:=SMA(MAX(C-REF(C,1),0),5,1)/SMA(ABS(C-REF(C,1)),5,1)*100; 神奇线:MA(c,19),ColorYELLOW,LINETHICK2; {K线} STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2.5,0 ),COLOR00AA00; DRAWTEXTABS(5,5,'股票软件下载网 www.gpxiazai.com'),linethick1,COLOR00EEff; STICKLINE(OPEN>=CLOSE ,h ,l,0.5,0 ),COLOR00EE00; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0) ,COLORFF00FF; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.5,0) ,COLORFF44FF; STICKLINE(CLOSE>OPEN,h,l,0.5,0) ,COLORFFAAFF; {显示文字} DRAWTEXTABS(500,240,'www.xdkxgs.cn提供 '),LINETHICK1,color333333; DRAWTEXT(LONGCROSS(Vara1-Vara2,0,1) or LONGCROSS(c,神奇线,5) ,L*0.98,'买 '),ALIGN1,COLORRED; DRAWTEXT(FILTER(CROSS(86,Vara3) ,5 ),H*1.02,'卖'),ALIGN1,COLORGREEN; |