副图公式源码支持 手机/电脑
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUA:=MA(G1,17)+MA(G1,17)-REF(MA(G1,17),1);
中长买:IF(MA(G1,17)<GUA,GUA,MA(G1,17)),COLORRED,LINETHICK2;
GUP0:=(G1*2+G4+G2)/4*VOL;
GUP1:=SUM(GUP0,89)/SUM(VOL,89);
GUP2:=IF(COUNT(GUP0>0,2)>=2,MA(G1,89)*(1+(MA(GUP0,89)/REF(MA(GUP0,89),1)-1)/21),MA(G1,89));
GUP3:=IF(COUNT(ABS(G1-GUP1)>21,8)>=1 AND COUNT(G1/REF(G1,1)<0.8,8)<1 AND COUNT(GUP0>0,2)>=2,10,0);
GUP4:=IF(G1>=GUP1 AND COUNT(GUP0>0,2)>=2,GUP1*1.001,IF(GUP0<0.1 AND COUNT(GUP0>0,2)<1.5,MA(G1,89),GUP1*0.999));
GUP5:=IF(GUP3>0,GUP2,GUP4);
GUP6:=MA(G1,89);
生命线:IF(GUP5/REF(GUP5,1)>1.1 OR GUP5/REF(GUP5,1)<0.9,GUP6,GUP5),COLORLIRED,LINETHICK2;
选股公式源码
{选股公式}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUA:=MA(G1,17)+MA(G1,17)-REF(MA(G1,17),1);
中长买:=IF(MA(G1,17)<GUA,GUA,MA(G1,17));
GUP0:=(G1*2+G4+G2)/4*VOL;
GUP1:=SUM(GUP0,89)/SUM(VOL,89);
GUP2:=IF(COUNT(GUP0>0,2)>=2,MA(G1,89)*(1+(MA(GUP0,89)/REF(MA(GUP0,89),1)-1)/21),MA(G1,89));
GUP3:=IF(COUNT(ABS(G1-GUP1)>21,8)>=1 AND COUNT(G1/REF(G1,1)<0.8,8)<1 AND COUNT(GUP0>0,2)>=2,10,0);
GUP4:=IF(G1>=GUP1 AND COUNT(GUP0>0,2)>=2,GUP1*1.001,IF(GUP0<0.1 AND COUNT(GUP0>0,2)<1.5,MA(G1,89),GUP1*0.999));
GUP5:=IF(GUP3>0,GUP2,GUP4);
GUP6:=MA(G1,89);
生命线:=IF(GUP5/REF(GUP5,1)>1.1 OR GUP5/REF(GUP5,1)<0.9,GUP6,GUP5);
XG:CROSS(中长买,生命线); |