请高手改成选股公式。预警公式
发布网友
发布时间:2022-07-06 12:42
我来回答
共1个回答
热心网友
时间:2023-10-30 18:32
S1:=LAST(C<O,3,0) AND LAST(VOL<REF(VOL,1),3,0);
S2:=CROSS("DMI.PDI","DMI.MDI") AND CROSS("DMI.PDI","DMI.ADX") AND CROSS("DMI.PDI","DMI.ADXR") AND C>REF(C,1)*1.05 AND VOL>REF(VOL,1);
S3:=LAST(MA(C,5)<MA(C,10),5,0) AND "CCI.CCI">REF("CCI.CCI",1) AND CROSS("CCI.CCI",-100);
S4:=LAST((H-L)/REF(C,1)<0.1,5,0) AND VOL>REF(VOL,1)*2 AND C>REF(C,1)*1.05;
S5:=LAST(MA(C,5)<MA(C,10),5,0) AND C>REF(C,1)*1.098;
S6:=(LAST(C<O,6,3) AND LAST(C>O,2,0)) OR (LAST(C<O,6,3) AND C>O AND REF(C,1)<REF(O,1) AND REF(C,2)>REF(O,2));
S7:=CROSS((CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100,(CLOSE-MA(CLOSE,11))/MA(CLOSE,11)*100) AND MA(C,40)>REF(MA(C,40),1);
S8:=C<O AND VOL>REF(VOL,1)*1.5 AND LAST(VOL<REF(VOL,1),5,1);
S9:=(C>O AND V>REF(V,1)*2.5 AND CROSS(C,MA(C,5))) OR (C>O AND V>REF(V,1)*10);
综合预警:S1 OR S2 OR S3 OR S4 OR S5 OR S6 OR S7 OR S8 OR S9;