副图公式源码支持 手机/电脑
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=ROUND(REF(G1,1)*110)/100;
STICKLINE(G1>=G3,G3,G1,7,1),COLORRED;
STICKLINE(G1>=G3,G4,G1,0.6,1),COLORRED;
STICKLINE(G1>=G3,G3,G2,0.6,1),COLORRED;
STICKLINE(G1<G3,G3,G1,7,1),COLORCYAN;
STICKLINE(G1<G3,G3,G4,0.6,1),COLORCYAN;
STICKLINE(G1<G3,G2,G1,0.6,1),COLORCYAN;
STICKLINE(G3>REF(MAX(G1,AMOUNT/VOL),1),O,O*1.001,7,0),COLORGRAY;
GUP2:STICKLINE(G4>=GUP1 AND G1>=G3,G3,G1,7,0),COLORRED;
GUP3:STICKLINE(G4>=GUP1 AND G1<G3,G3,G1,7,0),COLORLICYAN;
GUP4:=BARSLAST(G4>=GUP1 AND G4/G1>1.01);
DRAWTEXT(BETWEEN(GUP4,1,3) AND G4/G2>1.035 AND G4/G1>1.02,L*0.99,'买'),COLORYELLOW;
选股公式源码
{选股公式:买}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=ROUND(REF(G1,1)*110)/100;
GUP2:=STICKLINE(G4>=GUP1 AND G1>=G3,G3,G1,7,0),COLORRED;
GUP3:=STICKLINE(G4>=GUP1 AND G1<G3,G3,G1,7,0),COLORLICYAN;
GUP4:=BARSLAST(G4>=GUP1 AND G4/G1>1.01);
买:BETWEEN(GUP4,1,3) AND G4/G2>1.035 AND G4/G1>1.02,COLORYELLOW; |