副图公式源码支持 手机/电脑
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP0:=3;
GUP1:=(100-(3*(SMA(((C-LLV(G2,GUP0))/(HHV(G4,GUP0)-LLV(G2,GUP0)))*100,20,1)))) + (2*(SMA(SMA(((C-LLV(G2,GUP0))/(HHV(G4,GUP0)-LLV(G2,GUP0)))*100,20,1),15,1)));
GUP2:=EMA((AMOUNT/VOL)/100,3);
GUP3:=EMA((AMOUNT/VOL)/100,26);
GUP4:=GUP2-GUP3;
GUP5:=IF(((1000*GUP4)/GUP2)>0,(1000*GUP4)/GUP2,0);
GUP6:=CROSS(GUP5,GUP1);
GUP7:=((HHV(G4,26)-C)/(HHV(G4,26)-LLV(G2,26)))*100;
GUP8:=((C-LLV(G2,3))/(HHV(G4,3)-LLV(G2,3)))*100;
GUP9:=SMA(GUP8,8,1)-2;
牛一:IF(((((((((COUNT(GUP6 AND (GUP5>27),5))>=1) AND (GUP5>GUP9)) AND (GUP5>52)) AND (GUP5<119)) AND (C>=G3)) AND (MACD.MACD>0.01)) AND (KD.K>KD.D)) AND ((REF(C>=G3,1)) OR ((C/REF(C,1))>1.071)),2.3,0),COLORMAGENTA;
GUP10:=(((((((C-REF(C,3))/REF(C,3))*100)>16.6) OR ((((C-REF(C,2))/REF(C,2))*100)>15.15)) AND ((G4/C)<1.02)) AND (MACD.MACD<1.3)) AND ((COUNT(C>=G3,2)) = 2);
牛二GUP10 AND (REF(COUNT(GUP10,3) = 0,2))) AND ((COUNT((C/REF(C,1))>1.071,3))>=1),COLORLIMAGENTA;
选股公式源码
{选股公式:牛一}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP0:=3;
GUP1:=(100-(3*(SMA(((C-LLV(G2,GUP0))/(HHV(G4,GUP0)-LLV(G2,GUP0)))*100,20,1)))) + (2*(SMA(SMA(((C-LLV(G2,GUP0))/(HHV(G4,GUP0)-LLV(G2,GUP0)))*100,20,1),15,1)));
GUP2:=EMA((AMOUNT/VOL)/100,3);
GUP3:=EMA((AMOUNT/VOL)/100,26);
GUP4:=GUP2-GUP3;
GUP5:=IF(((1000*GUP4)/GUP2)>0,(1000*GUP4)/GUP2,0);
GUP6:=CROSS(GUP5,GUP1);
GUP7:=((HHV(G4,26)-C)/(HHV(G4,26)-LLV(G2,26)))*100;
GUP8:=((C-LLV(G2,3))/(HHV(G4,3)-LLV(G2,3)))*100;
GUP9:=SMA(GUP8,8,1)-2;
牛一(((((((COUNT(GUP6 AND (GUP5>27),5))>=1) AND (GUP5>GUP9)) AND (GUP5>52)) AND (GUP5<119)) AND (C>=G3)) AND (MACD.MACD>0.01)) AND (KD.K>KD.D)) AND ((REF(C>=G3,1)) OR ((C/REF(C,1))>1.071)),COLORMAGENTA;
{选股公式二:牛二}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP10:=(((((((C-REF(C,3))/REF(C,3))*100)>16.6) OR ((((C-REF(C,2))/REF(C,2))*100)>15.15)) AND ((G4/C)<1.02)) AND (MACD.MACD<1.3)) AND ((COUNT(C>=G3,2)) = 2);
牛二GUP10 AND (REF(COUNT(GUP10,3) = 0,2))) AND ((COUNT((C/REF(C,1))>1.071,3))>=1),COLORLIMAGENTA; |