|
第一部分 副图公式 手机/电脑
GUP01:=EMA(((CLOSE - LLV(LOW,25)) / (HHV(HIGH,25) - LLV(LOW,25))) * 100,5);GUP02:=(HHV(HIGH,25) - LLV(LOW,25)) / (EMA(CLOSE - LLV(LOW,25),5));GUP03:=CROSS(GUP02,GUP01);GUP04:=REF(GUP02,2);GUP05:=(COUNT(GUP03,7) > 0) AND GUP04;买入:=GUP05 AND (COUNT(GUP05,5) = 1);GUPS1:=REF(CLOSE,1);GUPS2:=SUM(VOL,2) / ((HHV(HIGH,2) - LLV(LOW,2)) * 100);GUPS3:=(CLOSE - GUPS1) * GUPS2;GUPS4:=SUM(GUPS3,0);GUPS5:=SMA(GUPS4,7,1);GUPS6:=SMA(GUPS4,89,1);OSC:=GUPS5 - GUPS6;MA1:=MA(OSC,5);抄底买入 买入 AND (MA1 < 0)),COLORLIRED;STICKLINE(抄底买入,30,0,6,0),COLORLIRED;DRAWTEXT(抄底买入,25,' ★抄底买'),COLORLIRED;GUA2X:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;GUA3X:=SMA(GUA2X,4,1);GUA4X:=SMA(GUA3X,2,1);GUA5X:=SMA(GUA4X,2,1);GUA7:=CROSS(GUA4X,GUA5X) AND GUA4X<35;GUA8:=GUA7 AND VOL>REF(VOL,1)*2 AND VOL>REF(MA(VOL,5),1)*2;GUA01:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;GUA02:=SMA(GUA01,3,1);GUA03:=SMA(GUA02,3,1);GUA04:=SMA(GUA03,3,1);GUA06:=CROSS(GUA03,GUA04) AND GUA03<25;GUA07:=GUA06 AND VOL>REF(VOL,1)*2 AND VOL>REF(MA(VOL,5),1)*2;TT:=DATE<1231230;GUA2XM:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;GUA3XM:=SMA(GUA2XM,5,1);GUA4XM:=SMA(GUA3XM,3,1);GUA5XM:=SMA(GUA4XM,3,1);GUA7M:=CROSS(GUA4XM,GUA5XM) AND GUA4XM<35;GUA8M:=GUA7M AND VOL>REF(VOL,1)*2 AND VOL>REF(MA(VOL,5),1)*2;GUA01M:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;GUA02M:=SMA(GUA01M,3,1);GUA03M:=SMA(GUA02M,3,1);GUA04M:=SMA(GUA03M,3,1);GUA06M:=CROSS(GUA03M,GUA04M) AND GUA03M<25;GUA07M:=GUA06M AND VOL>REF(VOL,1)*2 AND VOL>REF(MA(VOL,5),1)*2;GUCM:=STICKLINE(GUA8M OR GUA07M,-2,25,4,0);GUCMM:=STICKLINE(GUA8 OR GUA07,0,20,6,0)*TT;MHY:=STICKLINE(GUCM AND GUCMM,0,20,6,0)*TT;黑马:=FILTER(MHY,15);抓黑马:黑马,COLORYELLOW;STICKLINE(黑马,30,0,6,0),COLORYELLOW;DRAWTEXT(黑马,25,' ★抓黑马')*TT,COLORYELLOW;
第二部分 选股公式
{选股公式一:抓黑马}
GUA2X:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;GUA3X:=SMA(GUA2X,4,1);GUA4X:=SMA(GUA3X,2,1);GUA5X:=SMA(GUA4X,2,1);GUA7:=CROSS(GUA4X,GUA5X) AND GUA4X<35;GUA8:=GUA7 AND VOL>REF(VOL,1)*2 AND VOL>REF(MA(VOL,5),1)*2;GUA01:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;GUA02:=SMA(GUA01,3,1);GUA03:=SMA(GUA02,3,1);GUA04:=SMA(GUA03,3,1);GUA06:=CROSS(GUA03,GUA04) AND GUA03<25;GUA07:=GUA06 AND VOL>REF(VOL,1)*2 AND VOL>REF(MA(VOL,5),1)*2;TT:=DATE<1231230;GUA2XM:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;GUA3XM:=SMA(GUA2XM,5,1);GUA4XM:=SMA(GUA3XM,3,1);GUA5XM:=SMA(GUA4XM,3,1);GUA7M:=CROSS(GUA4XM,GUA5XM) AND GUA4XM<35;GUA8M:=GUA7M AND VOL>REF(VOL,1)*2 AND VOL>REF(MA(VOL,5),1)*2;GUA01M:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;GUA02M:=SMA(GUA01M,3,1);GUA03M:=SMA(GUA02M,3,1);GUA04M:=SMA(GUA03M,3,1);GUA06M:=CROSS(GUA03M,GUA04M) AND GUA03M<25;GUA07M:=GUA06M AND VOL>REF(VOL,1)*2 AND VOL>REF(MA(VOL,5),1)*2;GUCM:=STICKLINE(GUA8M OR GUA07M,-2,25,4,0);GUCMM:=STICKLINE(GUA8 OR GUA07,0,20,6,0)*TT;MHY:=STICKLINE(GUCM AND GUCMM,0,20,6,0)*TT;黑马:=FILTER(MHY,15);抓黑马:黑马,COLORYELLOW;
{选股公式二:抄底买}
GUP01:=EMA(((CLOSE - LLV(LOW,25)) / (HHV(HIGH,25) - LLV(LOW,25))) * 100,5);GUP02:=(HHV(HIGH,25) - LLV(LOW,25)) / (EMA(CLOSE - LLV(LOW,25),5));GUP03:=CROSS(GUP02,GUP01);GUP04:=REF(GUP02,2);GUP05:=(COUNT(GUP03,7) > 0) AND GUP04;买入:=GUP05 AND (COUNT(GUP05,5) = 1);GUPS1:=REF(CLOSE,1);GUPS2:=SUM(VOL,2) / ((HHV(HIGH,2) - LLV(LOW,2)) * 100);GUPS3:=(CLOSE - GUPS1) * GUPS2;GUPS4:=SUM(GUPS3,0);GUPS5:=SMA(GUPS4,7,1);GUPS6:=SMA(GUPS4,89,1);OSC:=GUPS5 - GUPS6;MA1:=MA(OSC,5);抄底买入:=(买入 AND (MA1 < 0)),COLORLIRED;抄底买:抄底买入,COLORLIRED;
第三部分 图片示例
|
|