A1P:=REF(CLOSE,2); A2P:=SMA(MAX(CLOSE-A1P,0),7,1)/SMA(ABS(CLOSE-A1P),7,1)*100; A4P:=REF(LOW,1); A5P:=SMA(ABS(LOW-A4P),3,1)/SMA(MAX(LOW-A4P,0),3,1)*100; A6P:=EMA(IF(CLOSE*1.3,A5P*10,A5P/10),3); A7P:=LLV(LOW,29); A8P:=HHV(A6P,37); A9P:=IF(MA(CLOSE,90),1,0); A10P:=EMA(IF(LOW<=A7P,(A6P+A8P*2)/2,0),3)/1688*A9P; A11P:=IF(A10P>100,100,A10P); STICKLINE1(A11P,0,A11P,4,1),COLOR666666; 多空:EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3),NODRAW; TT1:=REF(LOW,1); TT2:=SMA(ABS(LOW-TT1),13,1)/SMA(MAX(LOW-TT1,0),13,1)*100; TT3:=EMA(IF(CLOSE*1.2,TT2*13,TT2/13),13); TT4:=LLV(LOW,34); TT5:=HHV(TT3,34); TT6:=IF(LLV(LOW,56),1,0); TT7:=EMA(IF(LOW<=TT4,(TT3+TT5*2)/2,0),3)/618*TT6; TT8:=TT7>REF(TT7,1); TT9:=REF(LLV(LOW,100),3); TSJ1B:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70; TSJ2B:=SMA(TSJ1B,9,1)+100; TSJ3B:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; TSJ4B:=SMA(TSJ3B,3,1); TSJ5B:=SMA(TSJ4B,3,1)+100; TSJ6B:=TSJ5B-TSJ2B; QSX:=IF(TSJ6B>45,TSJ6B-45,0),COLOR00FFFF; STICKLINE1(REF(QSX,1)< QSX, QSX,REF(QSX,1),3,0),COLORRED; STICKLINE1(REF(QSX,1)> QSX, QSX,REF(QSX,1),3,0),COLORBLUE; SS1:=HHV(HIGH,9)-LLV(LOW,9); SS2:=HHV(HIGH,9)-CLOSE; SS3:=CLOSE-LLV(LOW,9); SS4:=SS2/SS1*100-70; SS5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100; SS6:=(CLOSE+HIGH+LOW)/3; SS7:=SMA(SS3/SS1*100,3,1); SS8:=LLV(LOW,34); SS9:=SMA(SS7,3,1)-SMA(SS4,9,1); TSJA:=IF(SS9>100,SS9-100,0); TSJB:=HHV(HIGH,34); TSJC:=EMA((SS6-SS8)/(TSJB-SS8)*100,13); TSJD:=EMA(0.618*REF(TSJC,1)+0.382*TSJC,2); VV1:=MA(C,5)=HHV(MA(C,5),20); VV2:=MA(C,5)>MA(C,10); VV3:=MA(V,5)>MA(V,40)*1.01; VV4:=COUNT(MA(C,1)>REF(C,1),2)=2; VVV:=VV1 AND VV2 AND VV3 AND VV4; AA1X:=EMA(CLOSE,8); AA2X:=EMA(AA1X,20); AA3X:=CROSS(AA1X,AA2X); AA4X:=AA1X<EMA(CLOSE,120); AA5X:3*SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,21,1)-2*SMA(SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,20,1),8,1),CIRCLEDOT ; TSJ1X:=HHV(HIGH,9)-LLV(LOW,9); TSJ2X:=HHV(HIGH,9)-CLOSE; TSJ3X:=CLOSE-LLV(LOW,9); TSJ4X:=((TSJ2X)/(TSJ1X))*(100)-70; TSJ5X:=((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*(100); TSJ6X:=((2)*(CLOSE)+HIGH+LOW)/(4); TSJ7X:=SMA(((TSJ3X)/(TSJ1X))*(100),3,1); TSJ8X:=LLV(LOW,34); TSJ9X:=SMA(TSJ7X,3,1)-SMA(TSJ4X,9,1); TSJ10X:=IF((TSJ9X>100),TSJ9X-100,0); TSJ11X:=HHV(HIGH,34); BB1X:=EMA(((TSJ6X-TSJ8X)/(TSJ11X-TSJ8X))*(100),8); IF(CROSS(AA5X,20),25,0),COLORYELLOW,STICK; DRAWTEXT(CROSS(AA5X,20),30,'轉強'),COLORYELLOW; DRAWTEXT(CROSS(60,AA5X),70,'轉弱'),COLORGREEN; STICKLINE1(CROSS(60,AA5X),100,70,1,0),COLORWHITE; A1A:=BARSLAST(CROSS(C,MA(C,20))); A2A:=BARSLAST(CROSS(MA(C,20),C)); IF(A1A<A2A,A1A+1,0)*2,COLOR00BBBB,LINETHICK2; TSJ1F:=(HHV(HIGH,8)-CLOSE)/(HHV(HIGH,8)-LLV(LOW,8))*100-70; TSJ2F:=SMA(TSJ1F,8,1)+100; TSJ3F:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100; TSJ4F:=SMA(TSJ3F,3,1); TSJ5F:=SMA(TSJ4F,3,1)+100; TSJ6F:=TSJ5F-TSJ2F; QF: IF(TSJ6F>100,TSJ6F-100,0),COLORFFFFFF; IF(REF(QF,1)<QF,QF,REF(QF,1)),COLORRED; IF(REF(QF,1)>QF,QF,REF(QF,1)),COLORFF3399; |