本帖最后由 九转妖 于 2024-1-27 10:01 编辑
副图公式源码支持 手机/电脑
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=IF(G1>REF(G1,1),88,0);
GUP2:=IF(G1/REF(G1,1)>1.05 AND G4/G1<1.01 AND GUP1>0,91,0);
牛股:FILTER(GUP2>90,45)=1,COLORRED;
STICKLINE(牛股,10,0,9,0),COLORRED;
GUP3:=G1>MA(G1,20) AND G1>MA(G1,60);
GUP4:=MA(G1,20);
GUP5:=G1>GUP4;
GUP6:=SMA(G4,21,2)*1.05;
GUP7:=SMA(G2,21,2)*0.95;
GUP8:=SMA(G2,5,1);
GUP9:=(G4-G1)/G1*100<1;
GUP10:=G1/REF(G1,1)>1.03;
GUP11:=SMA(G1,2,1);
GUP12:=IF(CROSS(GUP11,GUP8),GUP6*1.05,GUP8);
GUP13:=IF(CROSS(GUP11,GUP6),GUP6*1.1,GUP7);
擒牛:GUP13>GUP7 OR GUP12>GUP8 AND GUP9 AND GUP10 AND GUP3 AND GUP5,COLORYELLOW;
STICKLINE(擒牛,0,5,4,0),COLORYELLOW;
选股公式源码
{选股公式一:擒牛}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP3:=G1>MA(G1,20) AND G1>MA(G1,60);
GUP4:=MA(G1,20);
GUP5:=G1>GUP4;
GUP6:=SMA(G4,21,2)*1.05;
GUP7:=SMA(G2,21,2)*0.95;
GUP8:=SMA(G2,5,1);
GUP9:=(G4-G1)/G1*100<1;
GUP10:=G1/REF(G1,1)>1.03;
GUP11:=SMA(G1,2,1);
GUP12:=IF(CROSS(GUP11,GUP8),GUP6*1.05,GUP8);
GUP13:=IF(CROSS(GUP11,GUP6),GUP6*1.1,GUP7);
擒牛:GUP13>GUP7 OR GUP12>GUP8 AND GUP9 AND GUP10 AND GUP3 AND GUP5,COLORYELLOW;
{选股公式二:牛股}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=IF(G1>REF(G1,1),88,0);
GUP2:=IF(G1/REF(G1,1)>1.05 AND G4/G1<1.01 AND GUP1>0,91,0);
GUP3:=G1>MA(G1,20) AND G1>MA(G1,60);
GUP4:=MA(G1,20);
GUP5:=G1>GUP4;
GUP6:=SMA(G4,21,2)*1.05;
GUP7:=SMA(G2,21,2)*0.95;
GUP8:=SMA(G2,5,1);
牛股:FILTER(GUP2>90,45)=1,COLORRED; |