有牛有马有妖 好股绝不放过【指标公式】(含选股)
第一部分 副图公式 手机/电脑G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
CAIH1:=MA(G1,5);
CAIH2:=IF(CAIH1>REF(CAIH1,1),CAIH1,DRAWNULL);
CAIH3:=IF(DATETODAY(DATE)REF(G4,1) AND G1>REF(G1,1);
CAIH10:=CROSS(CAIH5,CAIH4);
CAIH11:=LLV(G2,21);
CAIH12:=HHV(G4,21);
CAIH13:=EMA((G1-CAIH11)/(CAIH12-CAIH11)*100,5);
CAIH14:=EMA((G1-CAIH11)/(CAIH12-CAIH11)*50,13);
CAIH15:=CROSS(CAIH13,CAIH14);
CAIH16:=IF(G1>REF(G1,1),88,0);
CAIH17:=IF(G1/REF(G1,1)>1.095 AND G4/G10,91,0);
CAIH18:=DATE90,30)=1;
CAIH19:=CAIH2 AND CAIH18;
CAIH20:=G1/REF(G1,1)>1.048 AND G1=G4 AND BETWEEN(FORCAST(VOL,5),0.3*FORCAST(VOL,12),2.1*FORCAST(VOL,12));
CAIH21:=FILTER(CAIH20,60);
CAIH22:=CAIH2 AND CAIH21;
牛:CAIH22 AND CAIH19,NODRAW,COLORLIMAGENTA;
STICKLINE(牛,49,26,2,0),COLORLIMAGENTA;
CAIH23:=MA(G1,10);
CAIH24:=MA(G1,20);
CAIH25:=MA(G1,30);
CAIH26:=MA(G1,54);
CAIH27:=MA(G1,60);
CAIH28:=MA(G1,120);
CAIH29:=(REF(G1,3)-G1)/REF(G1,3)*100>5;
CAIH30:=FILTER(CAIH29,10);
CAIH31:=BARSLAST(CAIH30);
CAIH32:=REF(G4,CAIH31+2);
CAIH33:=REF(G4,CAIH31+1);
CAIH34:=REF(G4,CAIH31);
CAIH35:=MAX(CAIH32,CAIH33);
CAIH36:=MAX(CAIH35,CAIH34);
CAIH37:=(G1-REF(G1,1))/REF(G1,1)*100>5;
CAIH38:=CAIH31<150;
CAIH39:=(G3-CAIH36)/CAIH36*100<30;
CAIH40:=(G1-LLV(G2,CAIH31))/LLV(G2,CAIH31)*100<50;
CAIH41:=(G1-REF(G3,5))/REF(G3,5)*100<30;
CAIH42:=VOL/MA(VOL,5)<3.5;
CAIH43:=(G1-REF(G1,89))/REF(G1,89)*100<80;
CAIH44:=CAIH37 AND CAIH38 AND CAIH39 AND CAIH40 AND CAIH41 AND CAIH42 AND CAIH43;
CAIH45:=FILTER(CAIH44,15);
CAIH46:=(G1-CAIH26)/CAIH26<0.1;
CAIH47:=(G1-CAIH23)/CAIH231.05 AND DYNAINFO(7)/G3>1.05;
CAIH54:=VOL/REF(VOL,1)>1.2 AND COUNT(G1>G3,1) OR (G2>REF(G4,1) AND COUNT(G3>G1,1) AND VOL/REF(VOL,1)>1.2);
马:CAIH51 AND G1/REF(G1,1)>1.095 AND CAIH54 AND CAIH53,NODRAW,COLORLIRED;
STICKLINE(马,26,3,2,0),COLORLIRED;
CAIH55:=0.24;
CAIH56:=EMA(G1,12)-EMA(G1,26);
CAIH57:=EMA(CAIH56,9);
CAIH58:=(CAIH56-CAIH57)*2;
CAIH59:=(G1-LLV(G2,9))/(HHV(G4,9)-LLV(G2,9))*100;
CAIH60:=SMA(CAIH59,3,1);
CAIH61:=SMA(CAIH60,3,1);
CAIH62:=3*CAIH60-2*CAIH61;
CAIH63:=VOL>REF(VOL,1)*1.9 AND G1>REF(G1,1) AND G1/REF(G1,1)-1>=0.049 AND (G4-G1)/(G1-G3)=0.0502 AND G1>REF(G1,1) AND VOL>REF(VOL,1) AND VOL>REF(VOL,1)*2.5 AND (G4-G1)/(G1-G3)=0.0502 AND G1>REF(G1,1) AND (G3-G2)/(G1-G3)>=1.48 AND G2=0.08 AND EMA(2.055*EMA(EMA(G4,34),34)-EMA(EMA(G2,34),34),5)>G1,34),1,0) AND IF(G1/REF(G1,1)>1+0.01*9+EXIST(G1/REF(G1,1)>1+0.01*9,10)+G1/REF(G1,1)>1+0.01*9=3,1,0);
CAIH65:=FILTER(G1/REF(G1,1)>1.048 AND G1=G4 AND BETWEEN(FORCAST(VOL,4),0.2*FORCAST(VOL,12),2.1*FORCAST(VOL,12)),28)*100 AND G2>REF(G1,1)*0.93;
CAIH66:=SMA(20*(DMA(G1,2.5*MAX(VOL/700000000,1.1*(MAX(G4,REF(G1,1))/MIN(G2,REF(G1,1))-1)))/REF(DMA(G1,2.5*MAX(VOL/700000000,1.1*(MAX(G4,REF(G1,1))/MIN(G2,REF(G1,1))-1))),1)-1),2,1)>CAIH55;
CAIH67:=CROSS(IF(CAIH66 AND EMA(SMA(20*(DMA(G1,2.5*MAX(VOL/700000000,1.1*(MAX(G4,REF(G1,1))/MIN(G2,REF(G1,1))-1)))/REF(DMA(G1,2.5*MAX(VOL/700000000,1.1*(MAX(G4,REF(G1,1))/MIN(G2,REF(G1,1))-1))),1)-1),2,1),2)>=0.005 AND G1>=REF(G1,1),1,0),0.5);
CAIH68:=SMA(20*(DMA(G1,2.5*MAX(VOL/700000000,1.1*(MAX(G4,REF(G1,1))/MIN(G2,REF(G1,1))-1)))/REF(DMA(G1,2.5*MAX(VOL/700000000,1.1*(MAX(G4,REF(G1,1))/MIN(G2,REF(G1,1))-1))),1)-1),2,1)>0.24;
CAIH69:=COUNT(IF(CAIH68 AND EMA(SMA(20*(DMA(G1,2.5*MAX(VOL/700000000,1.1*(MAX(G4,REF(G1,1))/MIN(G2,REF(G1,1))-1)))/REF(DMA(G1,2.5*MAX(VOL/700000000,1.1*(MAX(G4,REF(G1,1))/MIN(G2,REF(G1,1))-1))),1)-1),2,1),2)>=0.005 AND G1>=REF(G1,1),1,0)>0.5,10);
CAIH70:=G2HHV(MA((G2+G4+G1)/3,5),13) AND G1>REF(G1,1) AND G1>G3 AND COUNT(MA((G2+G4+G1)/3,5)>REF(MA((G2+G4+G1)/3,5),1) AND REF(MA((G2+G4+G1)/3,5),1)
妖:CAIH65 OR (CAIH62-REF(CAIH62,1)>30 AND G1/REF(G1,1)>1.043 AND CAIH58>0 AND CAIH57>0) AND CAIH67 AND CAIH69=1 OR CAIH64,NODRAW,COLORGRAY;
STICKLINE(妖,3,(-20),2,0),COLORGRAY;
第二部分 选股公式
{选股公式一:牛}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
CAIH1:=MA(G1,5);
CAIH2:=IF(CAIH1>REF(CAIH1,1),CAIH1,DRAWNULL);
CAIH3:=IF(DATETODAY(DATE)REF(G4,1) AND G1>REF(G1,1);
CAIH10:=CROSS(CAIH5,CAIH4);
CAIH11:=LLV(G2,21);
CAIH12:=HHV(G4,21);
CAIH13:=EMA((G1-CAIH11)/(CAIH12-CAIH11)*100,5);
CAIH14:=EMA((G1-CAIH11)/(CAIH12-CAIH11)*50,13);
CAIH15:=CROSS(CAIH13,CAIH14);
CAIH16:=IF(G1>REF(G1,1),88,0);
CAIH17:=IF(G1/REF(G1,1)>1.095 AND G4/G10,91,0);
CAIH18:=DATE90,30)=1;
CAIH19:=CAIH2 AND CAIH18;
CAIH20:=G1/REF(G1,1)>1.048 AND G1=G4 AND BETWEEN(FORCAST(VOL,5),0.3*FORCAST(VOL,12),2.1*FORCAST(VOL,12));
CAIH21:=FILTER(CAIH20,60);
CAIH22:=CAIH2 AND CAIH21;
牛:CAIH22 AND CAIH19,COLORLIMAGENTA;
{选股公式二:马}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
CAIH23:=MA(G1,10);
CAIH24:=MA(G1,20);
CAIH25:=MA(G1,30);
CAIH26:=MA(G1,54);
CAIH27:=MA(G1,60);
CAIH28:=MA(G1,120);
CAIH29:=(REF(G1,3)-G1)/REF(G1,3)*100>5;
CAIH30:=FILTER(CAIH29,10);
CAIH31:=BARSLAST(CAIH30);
CAIH32:=REF(G4,CAIH31+2);
CAIH33:=REF(G4,CAIH31+1);
CAIH34:=REF(G4,CAIH31);
CAIH35:=MAX(CAIH32,CAIH33);
CAIH36:=MAX(CAIH35,CAIH34);
CAIH37:=(G1-REF(G1,1))/REF(G1,1)*100>5;
CAIH38:=CAIH31<150;
CAIH39:=(G3-CAIH36)/CAIH36*100<30;
CAIH40:=(G1-LLV(G2,CAIH31))/LLV(G2,CAIH31)*100<50;
CAIH41:=(G1-REF(G3,5))/REF(G3,5)*100<30;
CAIH42:=VOL/MA(VOL,5)<3.5;
CAIH43:=(G1-REF(G1,89))/REF(G1,89)*100<80;
CAIH44:=CAIH37 AND CAIH38 AND CAIH39 AND CAIH40 AND CAIH41 AND CAIH42 AND CAIH43;
CAIH45:=FILTER(CAIH44,15);
CAIH46:=(G1-CAIH26)/CAIH26<0.1;
CAIH47:=(G1-CAIH23)/CAIH231.05 AND DYNAINFO(7)/G3>1.05;
CAIH54:=VOL/REF(VOL,1)>1.2 AND COUNT(G1>G3,1) OR (G2>REF(G4,1) AND COUNT(G3>G1,1) AND VOL/REF(VOL,1)>1.2);
马:CAIH51 AND G1/REF(G1,1)>1.095 AND CAIH54 AND CAIH53,COLORLIRED;
{选股公式三:妖}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
CAIH55:=0.24;
CAIH56:=EMA(G1,12)-EMA(G1,26);
CAIH57:=EMA(CAIH56,9);
CAIH58:=(CAIH56-CAIH57)*2;
CAIH59:=(G1-LLV(G2,9))/(HHV(G4,9)-LLV(G2,9))*100;
CAIH60:=SMA(CAIH59,3,1);
CAIH61:=SMA(CAIH60,3,1);
CAIH62:=3*CAIH60-2*CAIH61;
CAIH63:=VOL>REF(VOL,1)*1.9 AND G1>REF(G1,1) AND G1/REF(G1,1)-1>=0.049 AND (G4-G1)/(G1-G3)=0.0502 AND G1>REF(G1,1) AND VOL>REF(VOL,1) AND VOL>REF(VOL,1)*2.5 AND (G4-G1)/(G1-G3)=0.0502 AND G1>REF(G1,1) AND (G3-G2)/(G1-G3)>=1.48 AND G2=0.08 AND EMA(2.055*EMA(EMA(G4,34),34)-EMA(EMA(G2,34),34),5)>G1,34),1,0) AND IF(G1/REF(G1,1)>1+0.01*9+EXIST(G1/REF(G1,1)>1+0.01*9,10)+G1/REF(G1,1)>1+0.01*9=3,1,0);
CAIH65:=FILTER(G1/REF(G1,1)>1.048 AND G1=G4 AND BETWEEN(FORCAST(VOL,4),0.2*FORCAST(VOL,12),2.1*FORCAST(VOL,12)),28)*100 AND G2>REF(G1,1)*0.93;
CAIH66:=SMA(20*(DMA(G1,2.5*MAX(VOL/700000000,1.1*(MAX(G4,REF(G1,1))/MIN(G2,REF(G1,1))-1)))/REF(DMA(G1,2.5*MAX(VOL/700000000,1.1*(MAX(G4,REF(G1,1))/MIN(G2,REF(G1,1))-1))),1)-1),2,1)>CAIH55;
CAIH67:=CROSS(IF(CAIH66 AND EMA(SMA(20*(DMA(G1,2.5*MAX(VOL/700000000,1.1*(MAX(G4,REF(G1,1))/MIN(G2,REF(G1,1))-1)))/REF(DMA(G1,2.5*MAX(VOL/700000000,1.1*(MAX(G4,REF(G1,1))/MIN(G2,REF(G1,1))-1))),1)-1),2,1),2)>=0.005 AND G1>=REF(G1,1),1,0),0.5);
CAIH68:=SMA(20*(DMA(G1,2.5*MAX(VOL/700000000,1.1*(MAX(G4,REF(G1,1))/MIN(G2,REF(G1,1))-1)))/REF(DMA(G1,2.5*MAX(VOL/700000000,1.1*(MAX(G4,REF(G1,1))/MIN(G2,REF(G1,1))-1))),1)-1),2,1)>0.24;
CAIH69:=COUNT(IF(CAIH68 AND EMA(SMA(20*(DMA(G1,2.5*MAX(VOL/700000000,1.1*(MAX(G4,REF(G1,1))/MIN(G2,REF(G1,1))-1)))/REF(DMA(G1,2.5*MAX(VOL/700000000,1.1*(MAX(G4,REF(G1,1))/MIN(G2,REF(G1,1))-1))),1)-1),2,1),2)>=0.005 AND G1>=REF(G1,1),1,0)>0.5,10);
CAIH70:=G2HHV(MA((G2+G4+G1)/3,5),13) AND G1>REF(G1,1) AND G1>G3 AND COUNT(MA((G2+G4+G1)/3,5)>REF(MA((G2+G4+G1)/3,5),1) AND REF(MA((G2+G4+G1)/3,5),1)
妖:CAIH65 OR (CAIH62-REF(CAIH62,1)>30 AND G1/REF(G1,1)>1.043 AND CAIH58>0 AND CAIH57>0) AND CAIH67 AND CAIH69=1 OR CAIH64,COLORGRAY;
路过,帮顶一下! 希望更多人一起分享,感谢! 无量天尊! 感谢楼主分享好资源 我抢、我抢、我抢沙发~ 楼主好人一个! 沙发!沙发!
页:
[1]