副图公式源码支持 手机/电脑
GUPA1:=C/MA(C,40)<0.74;
GUPA2:=(H-L)/REF(C,1)>0.05;
GUPA3:=COUNT(GUPA2,5)>1;
GUPA4:=GUPA1 AND GUPA2 AND GUPA3;
GUB1C:=DMA(CLOSE,VOL/MA(VOL,4)/4);
GUB2C:=DMA(CLOSE,VOL/MA(VOL,33)/33);
GUB3C:=(CLOSE-GUB1C)/GUB1C*100<-11/100*100;
GUB4C:=(GUB1C-GUB2C)/GUB2C*100<-22.3/100*100;
GUB5C:=GUB3C AND GUB4C AND (OPEN>CLOSE OR OPEN<CLOSE) AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.07 AND (REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1)) AND (REF(OPEN,2)>REF(CLOSE,2) OR REF(OPEN,2)<REF(CLOSE,2)) AND (REF(OPEN,3)>REF(CLOSE,3) OR REF(OPEN,3)<REF(CLOSE,3)) AND (REF(OPEN,4)>REF(CLOSE,4) OR REF(OPEN,4)<REF(CLOSE,4)) AND (REF(OPEN,5)>REF(CLOSE,5) OR REF(OPEN,5)<REF(CLOSE,5)) AND (REF(OPEN,6)>REF(CLOSE,6) OR REF(OPEN,6)<REF(CLOSE,6)) AND (REF(OPEN,7)>REF(CLOSE,7) OR REF(OPEN,7)<REF(CLOSE,7));
GUB6C:=DMA(CLOSE,VOL/MA(VOL,3)/3);
GUB7C:=DMA(CLOSE,VOL/MA(VOL,33)/33);
GUB8C:=(CLOSE-GUB6C)/GUB6C*100<-5;
GUB9C:=(GUB6C-GUB7C)/GUB7C*100<-18;
GUBAC:=(INDEXC-LLV(INDEXL,250))/(HHV(INDEXH,250)-LLV(INDEXL,250))*100;
GUBBC:=SMA(GUBAC,30,1);
GUBCC:=SMA(GUBBC,50,1);
GUBDC:=GUB8C AND GUB9C AND (OPEN>CLOSE OR OPEN<CLOSE) AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.05 AND (REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1));
GUBEC:=GUBDC AND COUNT(GUBDC,2)=1;
GUBFC:=GUB5C OR GUBEC;
抓黑马:GUPA4 AND GUBFC,COLORRED;
STICKLINE(抓黑马,0,6,2,0),COLORRED;
选股公式源码
{选股公式}
GUPA1:=C/MA(C,40)<0.74;
GUPA2:=(H-L)/REF(C,1)>0.05;
GUPA3:=COUNT(GUPA2,5)>1;
GUPA4:=GUPA1 AND GUPA2 AND GUPA3;
GUB1C:=DMA(CLOSE,VOL/MA(VOL,4)/4);
GUB2C:=DMA(CLOSE,VOL/MA(VOL,33)/33);
GUB3C:=(CLOSE-GUB1C)/GUB1C*100<-11/100*100;
GUB4C:=(GUB1C-GUB2C)/GUB2C*100<-22.3/100*100;
GUB5C:=GUB3C AND GUB4C AND (OPEN>CLOSE OR OPEN<CLOSE) AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.07 AND (REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1)) AND (REF(OPEN,2)>REF(CLOSE,2) OR REF(OPEN,2)<REF(CLOSE,2)) AND (REF(OPEN,3)>REF(CLOSE,3) OR REF(OPEN,3)<REF(CLOSE,3)) AND (REF(OPEN,4)>REF(CLOSE,4) OR REF(OPEN,4)<REF(CLOSE,4)) AND (REF(OPEN,5)>REF(CLOSE,5) OR REF(OPEN,5)<REF(CLOSE,5)) AND (REF(OPEN,6)>REF(CLOSE,6) OR REF(OPEN,6)<REF(CLOSE,6)) AND (REF(OPEN,7)>REF(CLOSE,7) OR REF(OPEN,7)<REF(CLOSE,7));
GUB6C:=DMA(CLOSE,VOL/MA(VOL,3)/3);
GUB7C:=DMA(CLOSE,VOL/MA(VOL,33)/33);
GUB8C:=(CLOSE-GUB6C)/GUB6C*100<-5;
GUB9C:=(GUB6C-GUB7C)/GUB7C*100<-18;
GUBAC:=(INDEXC-LLV(INDEXL,250))/(HHV(INDEXH,250)-LLV(INDEXL,250))*100;
GUBBC:=SMA(GUBAC,30,1);
GUBCC:=SMA(GUBBC,50,1);
GUBDC:=GUB8C AND GUB9C AND (OPEN>CLOSE OR OPEN<CLOSE) AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.05 AND (REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1));
GUBEC:=GUBDC AND COUNT(GUBDC,2)=1;
GUBFC:=GUB5C OR GUBEC;
抓黑马:GUPA4 AND GUBFC,COLORRED; |