副图公式 源码支持手机/电脑
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=(G1-REF(G1,1))/REF(G1,1)*100>9.8;
GUP2:=NOT(G3=G4);
GUP3:=NOT(REF(G1,1)/REF(G1,2)>1.098);
GUP4:=NOT(REF(G1,2)/REF(G1,3)>1.098);
GUP5:=MA(G1,20);
GUP6:=GUP5-2*STD(G1,20);
GUP7:=MA(G1,20*5);
GUP8:=GUP7-2*STD(G1,20*5);
GUP9:=CROSS(GUP8,GUP6) AND GUP1 AND GUP2 AND GUP3 AND GUP4;
STICKLINE(GUP9>0,0,GUP9,4,0),COLORYELLOW;
DRAWTEXT(GUP9>0,0.9,’★特选买入’),COLORYELLOW;
选股公式
{选股公式}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=(G1-REF(G1,1))/REF(G1,1)*100>9.8;
GUP2:=NOT(G3=G4);
GUP3:=NOT(REF(G1,1)/REF(G1,2)>1.098);
GUP4:=NOT(REF(G1,2)/REF(G1,3)>1.098);
GUP5:=MA(G1,20);
GUP6:=GUP5-2*STD(G1,20);
GUP7:=MA(G1,20*5);
GUP8:=GUP7-2*STD(G1,20*5);
GUP9:=CROSS(GUP8,GUP6) AND GUP1 AND GUP2 AND GUP3 AND GUP4;
特选买入:GUP9>0;