根據(jù)RSI/EMV/DPO參數(shù)共振金叉選股,成功率85%,希望高手加以優(yōu)化,大家共享!
N1:=3;N2:=9;N:=3;M:=9; LC:=REF(CLOSE,1); RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100; RSI2:=SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100; A:=CROSS(RSI1,RSI2); DPO:=CLOSE-REF(MA(CLOSE,N),N/2+1); MADPO:=MA(DPO,M); B:=CROSS(DPO,MADPO); VOLUME:=MA(VOL,N)/VOL; MID:=100*(HIGH+LOW-REF(HIGH+LOW,1))/(HIGH+LOW); EMV:=MA(MID*VOLUME*(HIGH-LOW)/MA(HIGH-LOW,8),8); MAEMV:=MA(EMV,4); D:=CROSS(EMV,MAEMV); A+B+D=3;
|