VAR14:=IF((YEAR>=2009) AND (MONTH>=3) AND (DAY>=1),0,1); VAR1:=HHV(HIGH,5)-LLV(LOW,5); VAR2:=HHV(HIGH,5)-CLOSE; VAR3:=CLOSE-LLV(LOW,5); VAR4:=((VAR2)/(VAR1))*(100)-70; VAR5:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30)); VAR6:=((2)*(CLOSE)+HIGH+LOW)/(4); VAR7:=SMA(((VAR3)/(VAR1))*(100),3,1); VAR8:=LLV(LOW,10); VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1); VAR10:=IF((VAR9>100),VAR9-100,0); VAR11:=HHV(HIGH,10); VAR12:=EMA(((VAR6-VAR8)/(VAR11-VAR8))*(100),13); VAR13:=EMA((0.667)*(REF(VAR12,1))+(0.333)*(VAR12),2); 波段:(VAR13-50)*(VAR14),CoLor0000FF; STICKLINE((VAR12-VAR13>0),VAR12-50,波段,10,0),CoLor0000FF; STICKLINE((VAR12-VAR13<0),VAR12-50,波段,10,0),CoLor00FF0F; (-30),POINTDOT,CoLor00FFFF; DRAWTEXT((1-VAR14=1),30,'波 一'),CoLorFFFFFF; DRAWTEXT((1-VAR14=1),20,'段 一'),CoLorFFFFFF; DRAWTEXT((1-VAR14=1),10,'是 一'),CoLorFFFFFF; DRAWTEXT((1-VAR14=1),0,'金 一'),CoLorFFFFFF; |