副图公式 源码支持 手机/电脑
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=(G1-LLV(G2,27))/(HHV(G4,27)-LLV(G2,27))*100;
GUP2:=(G1-LLV(G2,5 ))/(HHV(G4,5)-LLV(G2,5))*100;
GUP3:=(G4+G2)/2;
GUP4:=EMA(GUP3,3);
GUP8:=SMA(GUP1,3,1);
GUP9:=SMA(GUP8,3,1);
DRAWBAND(GUP9,RGB(0,22,224),GUP8,RGB(255,50,50));
GUP10:=EMA(SMA(GUP2,3,1),2);
GUP11:=SMA(GUP10,3,1);
GUP12:=CROSS(GUP8,GUP9) AND CROSS(GUP10,GUP11);
STICKLINE(GUP12>0,0,100,0.3,0),COLORYELLOW;
GUA5:=(G1-LLV(G2,20))/(HHV(G4,20)-LLV(G2,20))*100;
GUA6:=SMA(SMA(GUA5,3,1),3,1)/28.57;
GUA7:=EMA(GUA6,5);
GUA8:=3*GUA6-2*GUA7;
GUA9:=CROSS(GUA8,GUA6) AND GUA6<2.1 AND G1>G3;
STICKLINE(GUA9,50,0,0.3,0),COLORMAGENTA;
选股公式源码
{选股公式一:黄柱信号}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=(G1-LLV(G2,27))/(HHV(G4,27)-LLV(G2,27))*100;
GUP2:=(G1-LLV(G2,5 ))/(HHV(G4,5)-LLV(G2,5))*100;
GUP3:=(G4+G2)/2;
GUP4:=EMA(GUP3,3);
GUP8:=SMA(GUP1,3,1);
GUP9:=SMA(GUP8,3,1);
GUP10:=EMA(SMA(GUP2,3,1),2);
GUP11:=SMA(GUP10,3,1);
GUP12:=CROSS(GUP8,GUP9) AND CROSS(GUP10,GUP11);
黄柱信号:GUP12>0;
{选股公式二:紫柱信号}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=(G1-LLV(G2,27))/(HHV(G4,27)-LLV(G2,27))*100;
GUP2:=(G1-LLV(G2,5 ))/(HHV(G4,5)-LLV(G2,5))*100;
GUA5:=(G1-LLV(G2,20))/(HHV(G4,20)-LLV(G2,20))*100;
GUA6:=SMA(SMA(GUA5,3,1),3,1)/28.57;
GUA7:=EMA(GUA6,5);
GUA8:=3*GUA6-2*GUA7;
GUA9:=CROSS(GUA8,GUA6) AND GUA6<2.1 AND G1>G3;
紫柱信号:GUA9; |