副图公式源码支持 手机/电脑
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=(G1-LLV(G2,18))/(HHV(G4,18)-LLV(G2,18))*100;
GUP2:=(G1-LLV(G2,34))/(HHV(G4,34)-LLV(G2,34))*100;
GUP3:=(G1-LLV(G2,55))/(HHV(G4,55)-LLV(G2,55))*100;
GUP4:=MA(G1,34);
GUP5:=(G1-GUP4)/GUP4*100;
GUP6:=MA(GUP5,2);
GUP7:=BARSLAST(CROSS((-10),GUP6)=1);
GUP8:=SMA(SMA(GUP1,3,1),3,1)+3*STD(G1,14);
GUP9:=SMA(GUP2,5,1)+2*STD(G1,14);
GUP10:=SMA(GUP3,5,1);
GUP11:=GUP8<18 AND GUP9<18 AND GUP10<18;
GUP12:=GUP6<(-10) AND GUP7>3;
GUP13:=COUNT(GUP11,10)>1 OR COUNT(GUP12,10)>1;
GUP14:=(G1-G2)*100/G2>1;
GUP15:=G2*100-INTPART(G2*10)*10;
GUP16:=INTPART(G2)-INTPART(G2/10)*10;
GUP17:=(INTPART(G2)-GUP16)/10;
GUP18:=REF(CCI<(-190),1) AND CCI>0;
GUP19:=GUP14 AND G2=LLV(G2,9) AND GUP13 AND GUP17=GUP15 OR GUP18;
STICKLINE(GUP19,45,30,0.5,0),COLORMAGENTA;
STICKLINE(GUP19,30,15,0.5,0),COLORYELLOW;
STICKLINE(GUP19,15,0,0.5,0),COLORRED;
选股公式源码
{选股公式}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=(G1-LLV(G2,18))/(HHV(G4,18)-LLV(G2,18))*100;
GUP2:=(G1-LLV(G2,34))/(HHV(G4,34)-LLV(G2,34))*100;
GUP3:=(G1-LLV(G2,55))/(HHV(G4,55)-LLV(G2,55))*100;
GUP4:=MA(G1,34);
GUP5:=(G1-GUP4)/GUP4*100;
GUP6:=MA(GUP5,2);
GUP7:=BARSLAST(CROSS((-10),GUP6)=1);
GUP8:=SMA(SMA(GUP1,3,1),3,1)+3*STD(G1,14);
GUP9:=SMA(GUP2,5,1)+2*STD(G1,14);
GUP10:=SMA(GUP3,5,1);
GUP11:=GUP8<18 AND GUP9<18 AND GUP10<18;
GUP12:=GUP6<(-10) AND GUP7>3;
GUP13:=COUNT(GUP11,10)>1 OR COUNT(GUP12,10)>1;
GUP14:=(G1-G2)*100/G2>1;
GUP15:=G2*100-INTPART(G2*10)*10;
GUP16:=INTPART(G2)-INTPART(G2/10)*10;
GUP17:=(INTPART(G2)-GUP16)/10;
GUP18:=REF(CCI<(-190),1) AND CCI>0;
GUP19:=GUP14 AND G2=LLV(G2,9) AND GUP13 AND GUP17=GUP15 OR GUP18;
XG:GUP19; |