2024狙击强牛 短线进出《通达信+指标+公式+副图+源码》
副图公式源码支持 手机/电脑
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=(G4+G2+G3+2*G1)/5;
GUP2:=REF(GUP1,1);
GUP3:=SMA((G1-GUP2),6,1)/SMA(ABS(G1-GUP2),6,1)*100;
GUP4:=(G1-REF(G3,29))/REF(G3,29)*100;
GUP5:=EMA(0.667*REF(GUP4,1)+0.333*GUP4,5);
GUP6:=IF(VOL>=1.3*MA(VOL,5) AND COUNT(GUP4>=GUP5 AND GUP4<-17,3) AND REF(G2,1)=LLV(G2,120),1,0);
GUP7:=SMA(MAX(G1-REF(C,1),0),6,1)/SMA(ABS(G1-REF(C,1)),6,1)*100;
GUP8:=SMA(MAX(GUP1-GUP2,0),10,1)/SMA(ABS(GUP1-GUP2),10,1)*100;
GUP9:=IF(COUNT(GUP8<20,5)>=1 AND COUNT(GUP1=LLV(GUP1,10),10)>=1 AND G1>=G3*1.038 AND VOL>MA(VOL,5)*1.2,1,0);
DRAWICON(FILTER(REF(GUP3,1)>81 AND GUP3<80 OR CROSS(82,GUP7),5),G4,2);
DRAWTEXT(FILTER(GUP9 OR GUP6,5),G2,'狙击强妖'),COLORYELLOW;
选股公式源码
{选股公式:狙击强妖}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=(G4+G2+G3+2*G1)/5;
GUP2:=REF(GUP1,1);
GUP3:=SMA((G1-GUP2),6,1)/SMA(ABS(G1-GUP2),6,1)*100;
GUP4:=(G1-REF(G3,29))/REF(G3,29)*100;
GUP5:=EMA(0.667*REF(GUP4,1)+0.333*GUP4,5);
GUP6:=IF(VOL>=1.3*MA(VOL,5) AND COUNT(GUP4>=GUP5 AND GUP4<-17,3) AND REF(G2,1)=LLV(G2,120),1,0);
GUP7:=SMA(MAX(G1-REF(C,1),0),6,1)/SMA(ABS(G1-REF(C,1)),6,1)*100;
GUP8:=SMA(MAX(GUP1-GUP2,0),10,1)/SMA(ABS(GUP1-GUP2),10,1)*100;
GUP9:=IF(COUNT(GUP8<20,5)>=1 AND COUNT(GUP1=LLV(GUP1,10),10)>=1 AND G1>=G3*1.038 AND VOL>MA(VOL,5)*1.2,1,0);
狙击强妖:FILTER(GUP9 OR GUP6,5);
{卖出公式:绿箭头图标}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=(G4+G2+G3+2*G1)/5;
GUP2:=REF(GUP1,1);
GUP3:=SMA((G1-GUP2),6,1)/SMA(ABS(G1-GUP2),6,1)*100;
GUP4:=(G1-REF(G3,29))/REF(G3,29)*100;
GUP5:=EMA(0.667*REF(GUP4,1)+0.333*GUP4,5);
GUP6:=IF(VOL>=1.3*MA(VOL,5) AND COUNT(GUP4>=GUP5 AND GUP4<-17,3) AND REF(G2,1)=LLV(G2,120),1,0);
GUP7:=SMA(MAX(G1-REF(C,1),0),6,1)/SMA(ABS(G1-REF(C,1)),6,1)*100;
绿箭头图标:FILTER(REF(GUP3,1)>81 AND GUP3<80 OR CROSS(82,GUP7),5);