通达信行情生命选股由行情生命副图改编(源码、副图、说明、无未来)
简单说明:行情生命选股选出的股票(可以盘中预警)结合其他副图如逃顶王处于红块,大资金流入,决定是否买入。一般会有收益,有时会有大牛股。(如图:浙江东日20120405)
{行情生命副图}
A0:=(L+H+C*2)/4;
B:=EMA(A0,5),COLORWHITE,LINETHICK1;
A1:=EMA(A0,13),COLORBLUE,LINETHICK1;
A2:=EMA(A0,24)COLORLIBLUE,LINETHICK1;
A1X:=(B-REF(B,1))/REF(B,1)*100,NODRAW;
A2X:=(A2-REF(A2,1))/REF(A2,1)*100,NODRAW;
买入持股:IF(A1X>=0,A1,DRAWNULL)COLORRED,LINETHICK1;
卖出空仓:IF(A1X<0 AND A2X<0,A1,DRAWNULL)COLORGREEN,LINETHICK1;
看多:=IF(A1X>=0 AND BARSLAST(CROSS(A1X,0))>0,REF((C+O)/2,BARSLAST(CROSS(A1X,0))),DRAWNULL),COLORMAGENTA,LINETHICK1,DOTLINE;
逃顶:=IF(A1X<0 AND BARSLAST(CROSS(0,A1X))>0,REF((C+O)/2,BARSLAST(CROSS(0,A1X))),DRAWNULL),COLORBLUE,LINETHICK1,DOTLINE;
MA24:=MA(CLOSE,24),COLORGREEN,LINETHICK1;
IF(MA24/REF(MA24,1)>=1,MA24,DRAWNULL),COLORYELLOW,LINETHICK2;
IF(MA24/REF(MA24,1)<1,MA24,DRAWNULL),COLORFF9150,LINETHICK1;
DRAWTEXT(CURRBARSCOUNT=1,B,'__5日均线'),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=1,A1,'__13日均线'),COLORBLUE;
DRAWTEXT(CURRBARSCOUNT=1,MA24,'__24日均线'),COLORGREEN;
A:=(L+H+C*2)/4;
MA5:=EMA(A,5),COLORWHITE,LINETHICK1,DOTLINE;
MA10:EMA(A,10),COLORYELLOW,LINETHICK1,DOTLINE;
MA20:MA(CLOSE,20),COLORMAGENTA,LINETHICK1,DOTLINE;
DRAWICON(CROSS(MA10,MA20),MA10,23);
DRAWICON((A1X>=0 && REF(A1X,1)<0),MA10,16);
DRAWICON((A2X>=0 && REF(A2X,1)<0),MA20,17);
DRAWTEXT(CROSS(MA10,MA20),MA10,'__金叉'),COLORMAGENTA;
DRAWICON((A1X<0 && REF(A1X,1)>=0),MA10,2);
{行情生命选股,可以预警}
A0:=(L+H+C*2)/4;
B:=EMA(A0,5);
A1:=EMA(A0,13);
A2:=EMA(A0,24);
A1X:=(B-REF(B,1))/REF(B,1)*100;
A2X:=(A2-REF(A2,1))/REF(A2,1)*100;
买入持股:=IF(A1X>=0,A1,DRAWNULL);
卖出空仓:=IF(A1X<0 AND A2X<0,A1,DRAWNULL);
看多:=IF(A1X>=0 AND BARSLAST(CROSS(A1X,0))>0,REF((C+O)/2,BARSLAST(CROSS(A1X,0))),DRAWNULL);
逃顶:=IF(A1X<0 AND BARSLAST(CROSS(0,A1X))>0,REF((C+O)/2,BARSLAST(CROSS(0,A1X))),DRAWNULL);
A:=(L+H+C*2)/4;
MA5:=EMA(A,5);
MA10:=EMA(A,10);
MA20:=MA(CLOSE,20);
买入:CROSS(MA10,MA20){ OR (A1X>=0 AND REF(A1X,1)<0)};
{打开括号: 买入:CROSS(MA10,MA20) OR (A1X>=0 AND REF(A1X,1)<0);可以做短线。}