副图公式源码支持: 手机/电脑
GUP1:MA(C,21),COLOR00FF00,LINETHICK1;
GUP2:HHV(GUP1,3),COLORCYAN,LINETHICK1;
GUP3:GUP1-(GUP2-GUP1),COLORRED,LINETHICK1;
GUP4:MA(REF(HHV(C,21),1),21),COLOR00FFFF,LINETHICK0;
GUP5:MA(REF(LLV(C,30),1),21),COLORRED,LINETHICK0;
GUP6:EMA(CLOSE,3.5),LINETHICK2,COLORWHITE;
STICKLINE(C<GUP5 AND C<=O,C,O,6,0),COLOR00FFFF;
STICKLINE(C>GUP4 AND C>O,C,O,6,0),COLORRED;
STICKLINE(C<GUP5 AND C<=O,C,O,6,0),COLOR00FFFF;
STICKLINE(C<GUP5 AND C<=O,H,L,2,0),COLOR00FFFF;
STICKLINE(C<GUP5 AND C>O,C,H,1,0),COLOR00FFFF;
STICKLINE(C<GUP5 AND C>O,O,L,3,0),COLORRED;
STICKLINE(C<GUP5 AND C<=O,C,L,3,0),COLORFF00FF;
STICKLINE(C<GUP5 AND C>O,C,O,6,2),COLORRED,LINETHICK3;
STICKLINE(C>GUP4 AND C<=O,C,O,6,2),COLOR00FF00,LINETHICK2;
STICKLINE(MA(C,60)>=REF(MA(C,60),12),MA(C,60),MA(C,60),6,4),COLORFF00FF,LINETHICK2;
STICKLINE(MA(C,60)<REF(MA(C,62),12),MA(C,60),MA(C,60),6,4),COLOR00FF00,LINETHICK2;
DRAWTEXT(CROSS(GUP6,GUP4),GUP6-0.1,'起涨'),COLORRED;
DRAWTEXT(CROSS(GUP4,GUP6),GUP4+0.2,'卖出'),COLOR00FFFF;
DRAWTEXT(CROSS(GUP6,GUP5),GUP6-0.1,'买入'),COLORFFFF00;
选股公式源码
{选股公式一:买入}
GUP1:=MA(C,21),COLOR00FF00,LINETHICK1;
GUP2:=HHV(GUP1,3),COLORCYAN,LINETHICK1;
GUP3:=GUP1-(GUP2-GUP1),COLORRED,LINETHICK1;
GUP4:=MA(REF(HHV(C,21),1),21),COLOR00FFFF,LINETHICK0;
GUP5:=MA(REF(LLV(C,30),1),21),COLORRED,LINETHICK0;
GUP6:=EMA(CLOSE,3.5),LINETHICK2,COLORWHITE;
{STICKLINE(MA(C,60)>=REF(MA(C,60),12),MA(C,60),MA(C,60),6,4),COLORFF00FF,LINETHICK2;
STICKLINE(MA(C,60)<REF(MA(C,62),12),MA(C,60),MA(C,60),6,4),COLOR00FF00,LINETHICK2;}
买入:CROSS(GUP6,GUP5);
{选股公式二:起涨}
GUP1:=MA(C,21),COLOR00FF00,LINETHICK1;
GUP2:=HHV(GUP1,3),COLORCYAN,LINETHICK1;
GUP3:=GUP1-(GUP2-GUP1),COLORRED,LINETHICK1;
GUP4:=MA(REF(HHV(C,21),1),21),COLOR00FFFF,LINETHICK0;
GUP5:=MA(REF(LLV(C,30),1),21),COLORRED,LINETHICK0;
GUP6:=EMA(CLOSE,3.5),LINETHICK2,COLORWHITE;
起涨:CROSS(GUP4,GUP6); |