DRAWTEXTABS(500,60,STKLABEL+' '+STKNAME+' '),LINETHICK6,Colorff00ff;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*200-100; K:SMA(RSV,3,1),LINETHICK1,COLORWHITE; D:SMA(K,3,1),LINETHICK1,COLOR00ff00; J:3*K-2*D,LINETHICK0,COLORff00ff; DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA :=EMA(DIFF,9); MA1:=2*(DIFF-DEA); MA2:=2*(DIFF-DEA); MA3:=wma(MA2,3); 顺:=MA(CLOSE,1); 势:=(((LOW + HIGH) + CLOSE) / 3); 操:=MA(势,5); 盘:=HHV(操,10); 顺势:=MA(顺,5); mm:=LLV(顺势,10); jm:IF(LLV((顺 < mm),5),-80,-100),linethick1,COLOR0000ff; jmm:IF(HHV((顺 < 盘),5),120,110),linethick1,COLORCYAN; dm:IF(LLV((顺 < mm),10),-80,-100),linethick1,COLOR00ff00; dmm:IF(HHV((顺 < 盘),10),120,110),linethick1,COLORGREEN; PARTLINE(K,K>d),COLOR00ddff,LINETHICK2; STICKLINE(MA2<MA3,0,jm,1,0),LINETHICK1,COLORCYAN; STICKLINE(MA2>MA3 and ma2<0,0,jmm,1,0),color0000ff; STICKLINE(MA2>MA3 and ma2>0,0,jmm,1,0),color0000ff; |
