VAR1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70; VAR2:=SMA(VAR1,9,1)+100; VAR3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; VAR4:=SMA(VAR3,3,1); VAR5:=SMA(VAR4,3,1)+100; VAR6:=VAR5-VAR2; 趨勢: IF(VAR6>45,VAR6-45,0); STICKLINE(REF(趨勢,1)< 趨勢, 趨勢,REF(趨勢,1),5,0),COLORFF00FF; STICKLINE(REF(趨勢,1)> 趨勢, 趨勢,REF(趨勢,1),5,0),COLOR00FF00; 強(qiáng)弱分界:50,POINTDOT,COLORFFFFCC; 0,COLOR00FFFF; 20,POINTDOT,COLORFFAA66,LINETHICK1; 80,POINTDOT,COLORFFAA66,LINETHICK1; 100,COLORFFFF33; V1:=LLV(LOW,10); V2:=HHV(H,25); 價位線:=EMA((C-V1)/(V2-V1)*4,4); DRAWTEXT(CROSS(價位線,0.3),7,'●'),COLORFFFFFF; DRAWTEXT(CROSS(3.5,價位線),102,'●'),COLORFFFFFF; VAR2Q:=REF(LOW,1); VAR3Q:=SMA(ABS(LOW-VAR2Q),3,1)/SMA(MAX(LOW-VAR2Q,0),3,1)*100; VAR4Q:=EMA(IF(CLOSE*1.3,VAR3Q*10,VAR3Q/10),3); VAR5Q:=LLV(LOW,30); VAR6Q:=HHV(VAR4Q,30); VAR7Q:=IF(MA(CLOSE,58),1,0); VAR8Q:=EMA(IF(LOW<=VAR5Q,(VAR4Q+VAR6Q*2)/2,0),3)/618*VAR7Q; VAR9Q:=IF(VAR8Q>100,100,VAR8Q); 吸籌:STICKLINE(VAR9Q>-120,0,VAR9Q,6,1),COLORYELLOW; AA3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10; AA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100; AA5:=SMA(AA4,13,8);勢:=CEILING(SMA(AA5,13,8)); AA6:=SMA(AA3,21,8); 賣臨界:STICKLINE(勢-AA6>85,103,100,15,1),COLOR0000FF,LINETHICK2; |
|