副图公式源码支持 手机/电脑
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP3:=(G1-MA(G1,6))/MA(G1,6)*100;
GUP4:=(G1-MA(G1,24))/MA(G1,24)*100;
GUP5:=(G1-MA(G1,32))/MA(G1,32)*100;
GUP6:=(GUP3+GUP4+GUP5)/3;
GUP7:=EMA(GUP6,5);
GUP8:=IF(GUP6<=-20,10,0);
GUP9:=HHV(GUP8,10);
GUPA:=IF(GUP9 AND CROSS(MA(G1,3),MA(G1,5)),20,0);
趋势:EMA(EMA(GUP3,5),5)*3,COLORSTICK;
DRAWTEXT(GUPA=20,15,'抄底'),LINETHICK1,COLORYELLOW;
STICKLINE((GUPA=20),0,10,5,0),COLORYELLOW;
GUPF:=100-3*SMA((G1-LLV(G2,75))/(HHV(G4,75)-LLV(G2,75))*100,20,1)+2*SMA(SMA((G1-LLV(G2,75))/(HHV(G4,75)-LLV(G2,75))*100,20,1),15,1);
GUP10:=100-3*SMA((G3-LLV(G2,75))/(HHV(G4,75)-LLV(G2,75))*100,20,1)+2*SMA(SMA((G3-LLV(G2,75))/(HHV(G4,75)-LLV(G2,75))*100,20,1),15,1);
GUP11:=GUPF<REF(GUP10,1) AND VOL>REF(VOL,1) AND G1>REF(G1,1);
DRAWTEXT(GUP11 AND COUNT(GUP11,30)=1,15,'大资金'),LINETHICK1,COLORRED;
STICKLINE(GUP11 AND COUNT(GUP11,30)=1,1,10,5,0),COLORRED;
选股公式源码
{选股公式一:大资金}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUPF:=100-3*SMA((G1-LLV(G2,75))/(HHV(G4,75)-LLV(G2,75))*100,20,1)+2*SMA(SMA((G1-LLV(G2,75))/(HHV(G4,75)-LLV(G2,75))*100,20,1),15,1);
GUP10:=100-3*SMA((G3-LLV(G2,75))/(HHV(G4,75)-LLV(G2,75))*100,20,1)+2*SMA(SMA((G3-LLV(G2,75))/(HHV(G4,75)-LLV(G2,75))*100,20,1),15,1);
GUP11:=GUPF<REF(GUP10,1) AND VOL>REF(VOL,1) AND G1>REF(G1,1);
大资金:GUP11 AND COUNT(GUP11,30)=1;
{选股公式二:抄底}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP3:=(G1-MA(G1,6))/MA(G1,6)*100;
GUP4:=(G1-MA(G1,24))/MA(G1,24)*100;
GUP5:=(G1-MA(G1,32))/MA(G1,32)*100;
GUP6:=(GUP3+GUP4+GUP5)/3;
GUP7:=EMA(GUP6,5);
GUP8:=IF(GUP6<=-20,10,0);
GUP9:=HHV(GUP8,10);
GUPA:=IF(GUP9 AND CROSS(MA(G1,3),MA(G1,5)),20,0);
抄底:GUPA=20;
|