副图公式源码 支持: 手机/电脑
GUP1:=CROSS(HIGH,SAR(3,1,20));
GUP2:=CROSS(SAR(3,1,20),LOW);
GUP3:=BARSLAST(GUP1)+1;
GUP4:=(-100)*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
GUP5:=EMA((-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);
GUP6:=GUP4+100;
GUP7:=GUP5+100;
GUP8:=CROSS(GUP6,GUP7);
GUP9:=BETWEEN((CLOSE-REF(CLOSE,27))/REF(CLOSE,27),(-0.37),(-0.17));
GUP10:=BETWEEN((CLOSE-REF(CLOSE,60))/REF(CLOSE,60),(-0.65),(-0.2));
底部来临:CLOSE>OPEN AND GUP7<20 AND (CROSS(GUP6,GUP7) OR BARSLAST(CROSS(GUP6,GUP7))=1) AND (GUP9 OR GUP10),NODRAW,COLORCYAN;
STICKLINE(底部来临,0,0.5,2.2,0),COLORCYAN;
波段抄底:CLOSE>OPEN AND VOL/REF(VOL,1)>1.8 AND GUP7<20 AND (CROSS(GUP6,GUP7) OR BARSLAST(CROSS(GUP6,GUP7))=1) AND (GUP9 OR GUP10),NODRAW,COLORMAGENTA;
STICKLINE(波段抄底,0,1,1.3,0),COLORMAGENTA;
GUP11:=IF(BETWEEN(BARSLAST(波段抄底),0,5) AND GUP3=1,1,0);
买入良机:GUP11,NODRAW,COLORRED;
STICKLINE(买入良机,0,1,1.3,0),COLORRED;
选股公式源码
{选股公式一:买入良机}
GUP1:=CROSS(HIGH,SAR(3,1,20));
GUP2:=CROSS(SAR(3,1,20),LOW);
GUP3:=BARSLAST(GUP1)+1;
GUP4:=(-100)*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
GUP5:=EMA((-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);
GUP6:=GUP4+100;
GUP7:=GUP5+100;
GUP8:=CROSS(GUP6,GUP7);
GUP9:=BETWEEN((CLOSE-REF(CLOSE,27))/REF(CLOSE,27),(-0.37),(-0.17));
GUP10:=BETWEEN((CLOSE-REF(CLOSE,60))/REF(CLOSE,60),(-0.65),(-0.2));
波段抄底:=CLOSE>OPEN AND VOL/REF(VOL,1)>1.8 AND GUP7<20 AND (CROSS(GUP6,GUP7) OR BARSLAST(CROSS(GUP6,GUP7))=1) AND (GUP9 OR GUP10),COLORMAGENTA;
GUP11:=IF(BETWEEN(BARSLAST(波段抄底),0,5) AND GUP3=1,1,0);
买入良机:GUP11,COLORRED;
{选股公式二:波段抄底}
GUP1:=CROSS(HIGH,SAR(3,1,20));
GUP2:=CROSS(SAR(3,1,20),LOW);
GUP3:=BARSLAST(GUP1)+1;
GUP4:=(-100)*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
GUP5:=EMA((-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);
GUP6:=GUP4+100;
GUP7:=GUP5+100;
GUP8:=CROSS(GUP6,GUP7);
GUP9:=BETWEEN((CLOSE-REF(CLOSE,27))/REF(CLOSE,27),(-0.37),(-0.17));
GUP10:=BETWEEN((CLOSE-REF(CLOSE,60))/REF(CLOSE,60),(-0.65),(-0.2));
波段抄底:CLOSE>OPEN AND VOL/REF(VOL,1)>1.8 AND GUP7<20 AND (CROSS(GUP6,GUP7) OR BARSLAST(CROSS(GUP6,GUP7))=1) AND (GUP9 OR GUP10),COLORMAGENTA;
|