股票论坛

标题: 请老师将这个主图指标改写成选股公式,谢谢!! [打印本页]

作者: 暴风雪天    时间: 2016-9-3 16:11
标题: 请老师将这个主图指标改写成选股公式,谢谢!!
请老师将这个主图指标改写成(牛股)选股公式

M33:=MA(CLOSE,3),NODRAW;M1333:=MA(CLOSE,13),NODRAW;M344:=MA(CLOSE,34),COLORRED,LINETHICK2,NODRAW;
X:=BARSLAST(REF(CROSS(C,MA(C,120)),1)) AND CROSS(MA(C,20),MA(C,120));
STICKLINE(M33>=M1333 AND M344>=REF(M344,1) ,H ,L ,0.1 ,0 ),COLOR0000DD;
STICKLINE(M33>=M1333 AND M344>=REF(M344,1) AND C>=O ,O ,C ,3 ,1 ),COLOR0000DD;
STICKLINE(M33>=M1333 AND M344>=REF(M344,1) AND C<O ,O ,C ,3 ,0 ),COLOR0000DD;
STICKLINE(M33<M1333 AND M344>=REF(M344,1) ,H ,L ,0.1 ,0 ),COLORFFBB00;
STICKLINE(M33<M1333 AND M344>=REF(M344,1) AND C>=O ,O ,C ,3 ,1 ),COLORFFBB00;
STICKLINE(M33<M1333 AND M344>=REF(M344,1) AND C<O ,O ,C ,3 ,0 ),COLORFFBB00;
STICKLINE(M33<M1333 AND M344<REF(M344,1) ,H ,L ,0.1 ,0 ),COLORFF0000;
STICKLINE(M33<M1333 AND M344<REF(M344,1) AND C>=O ,O ,C ,3 ,1 ),COLORFF0000;
STICKLINE(M33<M1333 AND M344<REF(M344,1) AND C<O ,O ,C ,3 ,0 ),COLORFF0000;
STICKLINE(M33>=M1333 AND M344<REF(M344,1) ,H ,L ,0.1 ,0 ),COLORFF00FF;
STICKLINE(M33>=M1333 AND M344<REF(M344,1) AND C>=O ,O ,C ,3 ,1 ),COLORFF00FF;
DRAWTEXT(X,MA(C,120)-0.13,'牛股'),LINETHICK3,COLORWHITE;
M3:MA(CLOSE,3);M13:MA(CLOSE,13);M34:MA(CLOSE,34),COLORRED,LINETHICK2;
IF(M34<REF(M34,1),M34,DRAWNULL),COLORGREEN,LINETHICK2;

作者: (百川)    时间: 2016-9-3 16:11
{出现牛股预警}

M33:=MA(CLOSE,3);
M1333:=MA(CLOSE,13);
M344:=MA(CLOSE,34);
X:=BARSLAST(REF(CROSS(C,MA(C,120)),1)) AND CROSS(MA(C,20),MA(C,120));
出现牛股预警:X,MA(C,120);





欢迎光临 股票论坛 (http://100000w.com/) Powered by Discuz! X3.2