以下是这个股票改下选股预警公式

AA05:=MA(C,5);
五日乖离率:=(C-AA05)/AA05*100;
 BB05:=ATAN((AA05/REF(AA05,1)-1)*100)*180/3.1416;
速度5:=SMA(EMA((AA05-REF(AA05,1))/REF(AA05,1),3)*100,3,1);
加速度5:=EMA((速度5-REF(速度5,1)),3);
 AA10:=MA(C,10);
 AA20:=MA(C,20);
 BB10:=ATAN((AA10/REF(AA10,1)-1)*100)*180/3.1416;
 AA30:=MA(C,30);
三拾日乖离率:=(C-AA30)/AA30*100;
 BB30:=ATAN((AA30/REF(AA30,1)-1)*100)*180/3.1416;
强势狙击选股:=FILTER(BB30>30 AND BB10>45 AND CROSS(BB05,60),10);
加仓:=FILTER(COUNT(CROSS(BB05,30),5)>=1 AND AA05>REF(AA05,1) AND 三拾日乖离率>REF(三拾日乖离率,1) AND AA10>REF(AA10,1)
 AND 加速度5>REF(加速度5,1) AND 速度5>REF(速度5,1)  ,10) ;
 TJ1:=COUNT(CROSS(五日乖离率,0),3)>=1 AND 三拾日乖离率>REF(三拾日乖离率,1) AND AA05>REF(AA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<AA30;
 TJ2:=MAX(MAX(MA(C,3),MA(C,7)),MA(C,17))>=MA(C,7)  AND MAX(MAX(MA(C,3),MA(C,7)),MA(C,17))/MIN(MIN(MA(C,3),MA(C,7)),MA(C,17))<=1.15 AND EVERY(MA(C,17)>=REF(MA(C,17),1),3);
 TJ3:=EVERY(EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4)>=REF(EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4),1),2);
 M:=(C-MA(C,5))/MA(C,5)*100;
 B:(TJ1 AND TJ2)*10 AND M<=5, COLORRED,NODRAW;
 S1:=C/REF(C,BARSLAST(B>0))>=1.10 OR CROSS(0,CQX.CQX) OR BARSLAST(B>0)>9 OR (CQX.CQX<0 AND C/REF(C,BARSLAST(B>0))<=0.95);
 S:CROSS(COUNT(S1,BARSLAST(B))=1,0.5), COLORGREEN,NODRAW;
 STICKLINE(B>0,0,100,4,0)COLORRED;
 STICKLINE(S>0,0,100,4,0) COLORGREEN;
================================================================

AA05:=MA(C,5);
五日乖离率:=(C-AA05)/AA05*100;
 AA30:=MA(C,30);
三拾日乖离率:=(C-AA30)/AA30*100;
 TJ1:=COUNT(CROSS(五日乖离率,0),3)>=1 AND 三拾日乖离率>REF(三拾日乖离率,1) AND AA05>REF(AA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<AA30;
 TJ2:=MAX(MAX(MA(C,3),MA(C,7)),MA(C,17))>=MA(C,7)  AND MAX(MAX(MA(C,3),MA(C,7)),MA(C,17))/MIN(MIN(MA(C,3),MA(C,7)),MA(C,17))<=1.15 AND EVERY(MA(C,17)>=REF(MA(C,17),1),3);
 M:=(C-MA(C,5))/MA(C,5)*100;
 B:=(TJ1 AND TJ2)*10 AND M<=5;
 XG:B>0;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。