副图公式源码支持 手机/电脑
GUP1:=(HIGH+LOW+CLOSE*2)/4;
GUP2:=EMA(GUP1,10);
GUP3:=STD(GUP1,10);
GUP4:=(GUP1-GUP2)*100/GUP3;
GUP5:=EMA(GUP4,5);
涨:EMA(GUP5,10)+100/2-5,LINETHICK2,COLORYELLOW;
跌:EMA(涨,4),LINETHICK2,COLORRED;
清仓:IF(涨>180,140,190),COLORYELLOW,LINETHICK2;
注意:IF(CROSS(涨,跌) AND 涨<90 AND 涨>0,30,-80),COLORE500E5;
介入:IF(CROSS(涨,跌) AND 涨<-60 ,60,-90),COLORYELLOW,LINETHICK2;
警戒:IF(CROSS(涨,跌) AND 涨<-7,30,-10),COLORGREEN,CIRCLEDOT;
DRAWTEXT(涨>180 AND REF(涨,1)<180,135,'清仓');
DRAWTEXT(涨>160 AND REF(涨,1)<160,80,'减仓'),COLORYELLOW;
DRAWTEXT(CROSS(涨,跌) AND 涨<-7,40,'警戒'),COLORGREEN;
DRAWTEXT(CROSS(涨,跌) AND 涨<90 AND 涨>0,-30,'注意'),COLORFFFF00;
DRAWTEXT(CROSS(涨,跌) AND 涨<-60,80,'买入'),COLORFFFFFF;
选股公式源码
{选股公式一:买入}
GUP1:=(HIGH+LOW+CLOSE*2)/4;
GUP2:=EMA(GUP1,10);
GUP3:=STD(GUP1,10);
GUP4:=(GUP1-GUP2)*100/GUP3;
GUP5:=EMA(GUP4,5);
涨:=EMA(GUP5,10)+100/2-5,LINETHICK2,COLORYELLOW;
跌:=EMA(涨,4),LINETHICK2,COLORRED;
买入:CROSS(涨,跌) AND 涨<-60;
{选股公式二:注意}
GUP1:=(HIGH+LOW+CLOSE*2)/4;
GUP2:=EMA(GUP1,10);
GUP3:=STD(GUP1,10);
GUP4:=(GUP1-GUP2)*100/GUP3;
GUP5:=EMA(GUP4,5);
涨:=EMA(GUP5,10)+100/2-5,LINETHICK2,COLORYELLOW;
跌:=EMA(涨,4),LINETHICK2,COLORRED;
注意:CROSS(涨,跌) AND 涨<90 AND 涨>0;
{选股公式三:警戒}
GUP1:=(HIGH+LOW+CLOSE*2)/4;
GUP2:=EMA(GUP1,10);
GUP3:=STD(GUP1,10);
GUP4:=(GUP1-GUP2)*100/GUP3;
GUP5:=EMA(GUP4,5);
涨:=EMA(GUP5,10)+100/2-5,LINETHICK2,COLORYELLOW;
跌:=EMA(涨,4),LINETHICK2,COLORRED;
警戒:CROSS(涨,跌) AND 涨<-7; |