根据系统参数请老师编写的预警公式!!
根据RSI/EMV/DPO参数共振金叉选股,成功率85%,希望高手加以优化,大家共享!!!
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;