副图公式源码支持: 手机/电脑
趋势线:EMA(C,24),COLORRED,COLOR0099FF,LINETHICK1;
获利盘:WINNER(C)*100,COLORRED,NODRAW;
GUP1:=CLOSE*VOL;
GUP2:=EMA((EXPMA(GUP1,3)/EXPMA(VOL,3)+EXPMA(GUP1,6)/EXPMA(VOL,6)+EXPMA(GUP1,12)/EXPMA(VOL,12)+EXPMA(GUP1,24)/EXPMA(VOL,24))/4,13),COLORYELLOW;
ZT:=REF(C,1)*1.1-C<0.01 AND H=C;
上:=1.06*GUP2;下:=GUP2*0.94;
GUP3:=C>上 AND O>上;
DRAWKLINE(H,O,L,C);
STICKLINE(GUP3 AND C>O,C,O,3.2,0),COLOR000066;
STICKLINE(GUP3 AND C>O,C,O,2.0,0),COLOR000077;
STICKLINE(GUP3 AND C>O,C,O,1.5,0),COLOR000099;
STICKLINE(GUP3 AND C>O,C,O,0.9,0),COLOR0000CC;
STICKLINE(GUP3 AND C>O,C,O,0.5,0),COLOR0000FF;
STICKLINE(GUP3 AND C>O,O,C,0,0),COLORFFFFFF;
STICKLINE(GUP3 AND C<O,L,H,0,0),COLOR009900;
STICKLINE(GUP3 AND C<O,C,O,3.2,0),COLOR009900;
STICKLINE(GUP3 AND C<O,C,O,2.5,0),COLOR00BB00;
STICKLINE(GUP3 AND C<O,C,O,1.5,0),COLOR00DD00;
STICKLINE(GUP3 AND C<O,C,O,0.5,0),COLOR00FF00;
STICKLINE(GUP3 AND C<O,C,O,0,0),COLORFFFFFF;
GUP4:=O<=MIN(EMA(CLOSE,3),MIN(EMA(CLOSE,5),MIN(EMA(CLOSE,8),MIN(EMA(CLOSE,10), EMA(CLOSE,12))))) AND C>=MAX(EMA(CLOSE,3),MAX(EMA(CLOSE,5),MAX(EMA(CLOSE,8),MAX(EMA(CLOSE,10),EMA(CLOSE,12)))));
GUP5:=MIN(O,C);GUP6:=ABS(O-C);
DRAWTEXT(GUP4,L*0.95,'★抄底'),COLORYELLOW;
STICKLINE(GUP4,GUP5,GUP5+GUP6/2,6.5,0),COLORMAGENTA;
拉升:=CROSS(C,上) OR CROSS(C,下) AND ZT;
DRAWTEXT(拉升,L*0.98,'↖拉升'),COLORYELLOW;
买入:=REF(下,2)>REF(下,1) AND 下>REF(下,1);
DRAWTEXT(买入,L*0.98,'↖买入'),COLORYELLOW;
选股公式源码
{选股公式一:买入}
GUP1:=CLOSE*VOL;
GUP2:=EMA((EXPMA(GUP1,3)/EXPMA(VOL,3)+EXPMA(GUP1,6)/EXPMA(VOL,6)+EXPMA(GUP1,12)/EXPMA(VOL,12)+EXPMA(GUP1,24)/EXPMA(VOL,24))/4,13),COLORYELLOW;
上:=1.06*GUP2;下:=GUP2*0.94;
买入:REF(下,2)>REF(下,1) AND 下>REF(下,1);
{选股公式二:抄底}
GUP4:=O<=MIN(EMA(CLOSE,3),MIN(EMA(CLOSE,5),MIN(EMA(CLOSE,8),MIN(EMA(CLOSE,10), EMA(CLOSE,12))))) AND C>=MAX(EMA(CLOSE,3),MAX(EMA(CLOSE,5),MAX(EMA(CLOSE,8),MAX(EMA(CLOSE,10),EMA(CLOSE,12)))));
抄底:GUP4;
{选股公式三:拉升}
GUP1:=CLOSE*VOL;
GUP2:=EMA((EXPMA(GUP1,3)/EXPMA(VOL,3)+EXPMA(GUP1,6)/EXPMA(VOL,6)+EXPMA(GUP1,12)/EXPMA(VOL,12)+EXPMA(GUP1,24)/EXPMA(VOL,24))/4,13),COLORYELLOW;
ZT:=REF(C,1)*1.1-C<0.01 AND H=C;
上:=1.06*GUP2;下:=GUP2*0.94;
GUP5:=MIN(O,C);GUP6:=ABS(O-C);
拉升:CROSS(C,上) OR CROSS(C,下) AND ZT;
|