股票论坛

标题: 请老师将波段抄底指标在出现绿柱时做选股,谢谢!! [打印本页]

作者: 一与    时间: 2015-11-23 16:25
标题: 请老师将波段抄底指标在出现绿柱时做选股,谢谢!!
SJ:=IF(HOUR<12,(HOUR-9.5)*60+MINUTE,(HOUR-11)*60+MINUTE);
DYX1:=IF(SJ>60 AND C<ref(LLV(C,60),SJ-60),ref(LLV(C,60),SJ-60),DRAWNULL);
DYX:=IF(HHV(C,20)>C*1.018,MAX(DYNAINFO(3)*0.98,HHV(C,SJ)*0.98),C);
J1:=MIN(C,DYNAINFO(3)*1.01);
J:=MAX(C,MAX(DYNAINFO(3)*0.98,HHV(C,SJ)*0.98));
QQ:=DRAWBAND(J1,RGB(224,0,0),C,RGB(224,0,0));
JJ:=DRAWBAND(J,RGB(5,125,7),C,RGB(5,125,7));
DD:=DRAWBAND(DYX,RGB(0,224,224),C,RGB(224,224,224));
{均价:IF(DYNAINFO(10)<3000000000,SUM(AMO,SJ)/SUM(VOL,SJ)/100,MA(C,SJ)),COLORYELLOW;}
F:=DYNAINFO(3)*0.98,LINETHICK2,COLORYELLOW;
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
阻力:=L1+P1*7/8,,COLOR00DD00;
支撑:=L1+P1*0.5/8,,COLOR00DD00;
VAR1:=EMA(EMA(CLOSE,13),13);
控盘:=(VAR1-ref(VAR1,1))/ref(VAR1,1)*1000;
JJ1:=DYNAINFO(11);
{波段买卖原码}
P:=55;S:=8;
财:=(EMA(CLOSE,S)-EMA(CLOSE,P))*10;
神:=EMA(财,3);
{股价与均线偏离买卖条件}
BTJ1:=(C-JJ1)/JJ1<-0.005;
BTJ11:=(C-JJ1)/JJ1<-0.03;
BTJ12:=LAST(JJ1>=ref(JJ1,1),5,1) AND (C-JJ1)/JJ1<0.005;
BTJ2:=控盘>ref(控盘,1) AND 控盘<-0.2;
BTJ22:=控盘>ref(控盘,1) AND 控盘<0 ;
{波段买卖条件}
BTJ3:=CROSS(财,神) AND  财<-0.3;
BTJ32:=CROSS(财,神) AND  财<-0.1;
{以下为信号};
B1:=FILTER(BTJ1 AND BTJ2 AND BTJ3,13);{选股信号}
B2:=FILTER(BTJ11 AND BTJ2 AND BTJ3,13);{选股信号}
B3:=FILTER(BTJ12 AND BTJ22 AND BTJ32,13);{选股信号};
STICKLINE(B1 AND B2 AND B3,支撑,阻力,1,0),COLORGREEN;
作者: 新朝阳    时间: 2015-11-23 16:25
如在条件选股里不改也可,用公式选的话
SJ:=IF(HOUR<12,(HOUR-9.5)*60+MINUTE,(HOUR-11)*60+MINUTE);
DYX1:=IF(SJ>60 AND C<REF(LLV(C,60),SJ-60),REF(LLV(C,60),SJ-60),DRAWNULL);
DYX:=IF(HHV(C,20)>C*1.018,MAX(DYNAINFO(3)*0.98,HHV(C,SJ)*0.98),C);
J1:=MIN(C,DYNAINFO(3)*1.01);
J:=MAX(C,MAX(DYNAINFO(3)*0.98,HHV(C,SJ)*0.98));
QQ:=DRAWBAND(J1,RGB(224,0,0),C,RGB(224,0,0));
JJ:=DRAWBAND(J,RGB(5,125,7),C,RGB(5,125,7));
DD:=DRAWBAND(DYX,RGB(0,224,224),C,RGB(224,224,224));
{均价:IF(DYNAINFO(10)<3000000000,SUM(AMO,SJ)/SUM(VOL,SJ)/100,MA(C,SJ)),COLORYELLOW;}
F:=DYNAINFO(3)*0.98,LINETHICK2,COLORYELLOW;
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
阻力:=L1+P1*7/8,,COLOR00DD00;
支撑:=L1+P1*0.5/8,,COLOR00DD00;
VAR1:=EMA(EMA(CLOSE,13),13);
控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
JJ1:=DYNAINFO(11);
{波段买卖原码}
P:=55;S:=8;
财:=(EMA(CLOSE,S)-EMA(CLOSE,P))*10;
神:=EMA(财,3);
{股价与均线偏离买卖条件}
BTJ1:=(C-JJ1)/JJ1<-0.005;
BTJ11:=(C-JJ1)/JJ1<-0.03;
BTJ12:=LAST(JJ1>=REF(JJ1,1),5,1) AND (C-JJ1)/JJ1<0.005;
BTJ2:=控盘>REF(控盘,1) AND 控盘<-0.2;
BTJ22:=控盘>REF(控盘,1) AND 控盘<0 ;
{波段买卖条件}
BTJ3:=CROSS(财,神) AND  财<-0.3;
BTJ32:=CROSS(财,神) AND  财<-0.1;
{以下为信号};
B1:=FILTER(BTJ1 AND BTJ2 AND BTJ3,13);{选股信号}
B2:=FILTER(BTJ11 AND BTJ2 AND BTJ3,13);{选股信号}
B3:=FILTER(BTJ12 AND BTJ22 AND BTJ32,13);{选股信号};


XG:B1 AND B2 AND B3;
作者: 一与    时间: 2015-11-24 15:34
辛苦了,谢谢!!




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