REF(CLOSE,1); 魚:=SMA(MAX(CLOSE-OK,0),7,1)/SMA(Abs(CLOSE-OK),7,1)*100; rsi4:=SMA(魚,7,1); HH:=BArslAST(魚<=15)<5; 白綠線:=SMA(魚,7,1); 錦鯉:=crOSS(魚,RSI4) AND 白綠線>15 AND HH; AA:=HHV(HIGH,25)-LLV(LOW,25); BB:=CLOSE-LLV(LOW,25); CC:=AA/EMA(BB,5); DD:=EMA(BB/AA*100,5); EE:=CLOSE-LLV(LOW,10); FF:=HHV(HIGH,25)-LLV(LOW,10); 誘:=COUNT(CROSS(CC,DD),7)>0 AND REF(CC,2)<REF(CC,1) AND CC<REF(CC,1)AND COUNT(COUNT(CROSS(CC,DD),7)>0 AND REF(CC,2)<REF(CC,1)AND CC<REF(CC,1),5)=1 OR CROSS(EMA(EE/FF*4,4),0.3); WVAR1V:=REF(CLOSE,1); WVAR2V:=SMA(MAX(CLOSE-WVAR1V,0),7,1)/SMA(ABS(CLOSE-WVAR1V),7,1)*100; X1:=FILTER(REF(WVAR2V,1)<20 AND WVAR2V>REF(WVAR2V,1),5); bias1:=(C-MA(C,6))/MA(C,6)*100; BIAS2:=(C-MA(C,12))/MA(C,12)*100; BIAS3:=(C-MA(C,24))/MA(C,24)*100; BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6; 乖離:=MA(BIAS,3); X2:=CROSS(BIAS,乖離) AND 乖離<-9.5; 餌:=X1 OR X2; VAR2V:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100; VAR3V:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100; VAR4V:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100; VAR5V:=(VAR2V+2*VAR3V+3*VAR4V)/7; VAR6V:=MA(VAR5V,1); 撒:=VAR6V<=-8; 誘餌:=誘 AND 餌 AND 撒; XG:錦鯉 AND 誘餌;
|