副图公式 源码支持手机/电脑
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=MA(-100*(HHV(G4,34)-G1)/(HHV(G4,34)-LLV(G2,34)),19)+100;
GUP2:=-100*(HHV(G4,14)-G1)/(HHV(G4,14)-LLV(G2,14))+100;
GUP3:=EMA(-100*(HHV(G4,34)-G1)/(HHV(G4,34)-LLV(G2,34)),4)+100;
底部进击:=(GUP1<15 AND REF(GUP1,1)<15 AND GUP3<18 AND GUP2>REF(GUP2,1) AND CROSS(GUP2,GUP1) AND GUP2>GUP3 AND (REF(GUP2,1)<5 OR REF(GUP2,2)<5) AND (GUP3>=GUP1 OR REF(GUP2,1)<1 ));
STICKLINE( 底部进击,0,10,2,0),COLORRED;
DRAWTEXT(底部进击,8,' 底部进击'),COLORFF00FF;
选股公式源码
{选股公式:底部进击}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=MA(-100*(HHV(G4,34)-G1)/(HHV(G4,34)-LLV(G2,34)),19)+100;
GUP2:=-100*(HHV(G4,14)-G1)/(HHV(G4,14)-LLV(G2,14))+100;
GUP3:=EMA(-100*(HHV(G4,34)-G1)/(HHV(G4,34)-LLV(G2,34)),4)+100;
底部进击GUP1<15 AND REF(GUP1,1)<15 AND GUP3<18 AND GUP2>REF(GUP2,1) AND CROSS(GUP2,GUP1) AND GUP2>GUP3 AND (REF(GUP2,1)<5 OR REF(GUP2,2)<5) AND (GUP3>=GUP1 OR REF(GUP2,1)<1 ));
|