副图公式 源码支持手机/电脑
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP2:=EMA(EMA(EMA(G1,5),5),5);
GUP3:=EMA(EMA(EMA(G1,7),7),7);
趋势线1GUP2-REF(GUP2,1))/REF(GUP2,1)*200,COLORCYAN;
趋势线2GUP3-REF(GUP3,1))/REF(GUP3,1)*250,COLORRED,LINETHICK2;
GUP4:=G1/MA(G1,40)*100<78;
GUP5:=G1/MA(G1,60)*100<74;
GUP6:=G4>G2*1.051;
GUP7:=GUP6 AND COUNT(GUP6,5)>1;
GUP8:=IF(GUP7 AND (GUP4 OR GUP5),2,0);
GUP9:=G1/REF(G1,25)<=1.1;
GUP10:=SMA(MAX(G1-REF(G1,2),0),7,1)/SMA(ABS(G1-REF(G1,2)),7,1)*100<15;
GUP11:=(G1-LLV(G2,8))/(HHV(G4,8)-LLV(G2,8))*100;
GUP12:=SMA(GUP11,2,1);
GUP13:=SMA(GUP12,2,1);
GUP14:=IF(GUP12>REF(GUP12,1) AND REF(GUP12,1)<REF(GUP12,2) AND GUP12<23,1.5,0);
超前买入:GUP9 AND GUP8 AND GUP10 AND GUP14,COLORMAGENTA,LINETHICK2;
选股公式源码
{选股公式}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP4:=G1/MA(G1,40)*100<78;
GUP5:=G1/MA(G1,60)*100<74;
GUP6:=G4>G2*1.051;
GUP7:=GUP6 AND COUNT(GUP6,5)>1;
GUP8:=IF(GUP7 AND (GUP4 OR GUP5),2,0);
GUP9:=G1/REF(G1,25)<=1.1;
GUP10:=SMA(MAX(G1-REF(G1,2),0),7,1)/SMA(ABS(G1-REF(G1,2)),7,1)*100<15;
GUP11:=(G1-LLV(G2,8))/(HHV(G4,8)-LLV(G2,8))*100;
GUP12:=SMA(GUP11,2,1);
GUP13:=SMA(GUP12,2,1);
GUP14:=IF(GUP12>REF(GUP12,1) AND REF(GUP12,1)<REF(GUP12,2) AND GUP12<23,1.5,0);
超前买入:GUP9 AND GUP8 AND GUP10 AND GUP14,COLORMAGENTA,LINETHICK2; |