RV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
RG:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100; VR44:=SMA(RV,3,1); VR55:=SMA(VR44,3,1); KK:=EMA(SMA(RG,3,1),2);EE:=SMA(KK,3,1); X:=CROSS(VR44,VR55) AND VR55<30; X1:=CROSS(VR44,VR55) AND CROSS(KK,EE); XG1:=X OR X1; 尋寶:=C-REF(C,1); 股海:=100*EMA(EMA(尋寶,6),6)/EMA(EMA(ABS(尋寶),6),6); 撿金:=LLV(股海,2)=LLV(股海,7) AND COUNT(股海<0,2) AND CROSS(股海,MA(股海,2)); 笨哥:=(C-REF(C,20))/REF(C,20)*100<0; XG2:=(FILTER(撿金=1,5))AND("CCI">0); VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2); VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2); VARE:=REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR14:=REF(VR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); XG3:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1; RSV1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100; K11:=SMA(RSV1,5,1); D11:=SMA(K11,5,1); J11:=3*K11-2*D11; AA1:=EMA(J11,5); AA2:=REF(AA1,1); RSV2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K22:=SMA(RSV2,3,1); D22:=SMA(K22,3,1); J22:=3*K22-2*D22; BB1:=EMA(J22,5); BB2:=REF(BB1,1); D1D:=AA1>AA2 AND BB1>BB2; XG4:=(D1D AND NOT(REF(D1D,1)) AND (AA1<50 OR BB1<50)); N:=5;{可調(diào)} BB:=REF(CLOSE,N); CC:=SMA(MAX(CLOSE-BB,0),2,1)/SMA(ABS(CLOSE-BB),2,1)*100-50; 線:=CC; XG5:=線>REF(線,1) AND REF(線,1)<=REF(線,2) AND C/REF(C,1)>1; 寶:IF(XG1+XG2+XG3+XG4+XG5>=4,50,0),COLORWHITE,NODRAW; STICKLINE(XG1+XG2+XG3+XG4+XG5>=4,0,20,1,1),COLORYELLOW ; 空方:100*(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55)),COLORBLUE, ; DRAWTEXT(ISLASTBAR,空方,'←空'),COLORGREEN; VAK1:=IF(YEAR>=2038 AND MONTH>=1,0,1); VAK2:=REF(LOW,1)*VAK1; VAK3:=SMA(ABS(LOW-VAK2),3,1)/SMA(MAX(LOW-VAK2,0),3,1)*100*VAK1; VAK4:=EMA(IF(CLOSE*1.3,VAK3*10,VAK3/10),3)*VAK1; VAK5:=LLV(LOW,30)*VAK1; VAK6:=HHV(VAK4,30)*VAK1; VAK7:=IF(MA(CLOSE,58),1,0)*VAK1; VAK8:=EMA(IF(LOW<=VAK5,(VAK4+VAK6*2)/2,0),3)/618*VAK7*VAK1; 吸籌:=IF(VAK8>100,100,VAK8)*VAK1; 跟莊吸:=IF(吸籌<REF(吸籌,1) AND (REF(吸籌,1)>REF(吸籌,2) OR REF(吸籌,1)=100),1,0); 吸籌累計:=SUM(吸籌,60); 莊三吸:=COUNT(跟莊吸,30)=3 AND 跟莊吸=1 AND 吸籌累計>200; 狠吸籌:=REF(吸籌,1)=100 AND 吸籌<REF(吸籌,1) AND 吸籌累計>260; 狠吸籌2:=REF(吸籌,1)>REF(吸籌,2) AND 90<REF(吸籌,1) AND 吸籌<REF(吸籌,1) AND 吸籌累計>260; 跟莊買:STICKLINE(莊三吸=1 OR 狠吸籌=1 OR 狠吸籌2=1,0,20,1,1),COLORFFFFFF; DRAWTEXT(跟莊買,25.4,'底'),COLORFFFF00; A77:=((CLOSE - (MA(CLOSE,13))) / (MA(CLOSE,13))) * -100; A78:=((CLOSE - (LLV(LOW,13))) / ((HHV(HIGH,13)) - (LLV(LOW,13)))) * 100; A79:=SMA(A78,3,2); A80:=SMA(A79,3,2); A81:=SMA(A80,5,1); 牛勢股票:(((REF(A77,1)) >= 16) AND (((REF(A77,1)) / A77) >= 1.23)) AND (CROSS(A80,A81)),COLORRED; STICKLINE((牛勢股票 > 0),0.9,89,1,0),COLORRED ; DRAWTEXT(牛勢股票,85,'妖股'),COLORYELLOW ; 股價趨勢: 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),LINETHICK0; 底部警戒: 10,COLORRED,LINETHICK0; 買入警戒:STICKLINE(股價趨勢<=10,0,10,3,0),COLORMAGENTA ; 買入信號: STICKLINE(CROSS(股價趨勢,底部警戒),0,35,1,1),COLORYELLOW ,LINETHICK2; DRAWICON(CROSS(股價趨勢,底部警戒),40,24);
|
|