2024通道擒牛 抄大小底《通达信+指标+公式+副图+源码》
副图公式源码支持 手机/电脑
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUA1:=G1*VOL;
GUA2:=EMA((EMA(GUA1,5)/EMA(VOL,5)+EMA(GUA1,10)/EMA(VOL,10)+EMA(GUA1,20)/EMA(VOL,20)+EMA(GUA1,40)/EMA(VOL,40))/4,15);
压力:GUA2*1.3,COLORGREEN,LINETHICK2;
支撑:GUA2*0.8,COLORRED,LINETHICK2;
次压力:GUA2*1.1,DOTLINE,COLORFF9900;
次支撑:GUA2*0.9,DOTLINE,COLORYELLOW;
DRAWTEXT(FILTER((CROSS(次压力,G1) OR (H>次压力 AND C<次压力) AND C<=REF(C,1)),7),G4*1.01,'减仓'),COLORFF9900;
DRAWTEXT(FILTER((CROSS(压力,G1) OR (H>压力 AND C<压力) AND C<=REF(C,1)),5),G4*1.01,'逃顶'),COLORGREEN;
GUP1:=EMA(EMA(G1,13),13);
GUP2:=(GUP1-REF(GUP1,1))/REF(GUP1,1)*1000;
GUP3:=DYNAINFO(11);
GUP4:=(EMA(G1,8)-EMA(G1,21))*50;
GUP5:=EMA(GUP4,3);
GUP6:=(C-GUP3)/GUP3<-0.03;
GUP7:=GUP2>REF(GUP2,1) AND GUP2<-0.2;
GUP8:=CROSS(GUP4,GUP5) AND GUP4<-0.3;
GUP9:=GUP6 AND GUP7 AND GUP8;
GUP10:=FILTER(GUP9,30);
DRAWTEXT(FILTER((CROSS(G1,次支撑) OR (L<次支撑 AND C>次支撑) AND C>REF(C,1)),7),G2*0.99,'小底'),COLORYELLOW;
DRAWTEXT(FILTER((CROSS(G1,支撑) OR (L<支撑 AND C>支撑) AND C>REF(C,1)),5),G2*0.99,'大底'),COLORRED;
DRAWTEXT(GUP10,L-0.0011,'抄底'),COLORMAGENTA;
选股公式源码
{选股公式一:抄底}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=EMA(EMA(G1,13),13);
GUP2:=(GUP1-REF(GUP1,1))/REF(GUP1,1)*1000;
GUP3:=DYNAINFO(11);
GUP4:=(EMA(G1,8)-EMA(G1,21))*50;
GUP5:=EMA(GUP4,3);
GUP6:=(C-GUP3)/GUP3<-0.03;
GUP7:=GUP2>REF(GUP2,1) AND GUP2<-0.2;
GUP8:=CROSS(GUP4,GUP5) AND GUP4<-0.3;
GUP9:=GUP6 AND GUP7 AND GUP8;
GUP10:=FILTER(GUP9,30);
抄底:GUP10;
{选股公式二:小底}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUA1:=G1*VOL;
GUA2:=EMA((EMA(GUA1,5)/EMA(VOL,5)+EMA(GUA1,10)/EMA(VOL,10)+EMA(GUA1,20)/EMA(VOL,20)+EMA(GUA1,40)/EMA(VOL,40))/4,15);
次支撑:=GUA2*0.9,COLORYELLOW;
小底:FILTER((CROSS(G1,次支撑) OR (L<次支撑 AND C>次支撑) AND C>REF(C,1)),7);
{选股公式三:大底}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUA1:=G1*VOL;
GUA2:=EMA((EMA(GUA1,5)/EMA(VOL,5)+EMA(GUA1,10)/EMA(VOL,10)+EMA(GUA1,20)/EMA(VOL,20)+EMA(GUA1,40)/EMA(VOL,40))/4,15);
支撑:=GUA2*0.8,COLORRED,LINETHICK2;
大底:FILTER((CROSS(G1,支撑) OR (L<支撑 AND C>支撑) AND C>REF(C,1)),5);
页:
[1]