股票论坛

标题: 请老师帮忙把副图做个选股公式,谢谢! [打印本页]

作者: 开心强可哥    时间: 2016-12-20 23:09
标题: 请老师帮忙把副图做个选股公式,谢谢!
请老师帮忙把副图做选股公式,要求昨天是"空头回补"今天是“做多主导”,符合两个条件现行选股,谢谢!

TT:=(2*CLOSE+OPEN+HIGH+LOW);
主导动能:TT/EMA(TT,4)-1,COLORSTICK;
FF:=主导动能;
STICKLINE(FF>0,0,FF,3,0),COLOR33CFDD;
STICKLINE(FF>0 AND FF>REF(FF,1),0,FF,3,0),COLOR0000CC;
STICKLINE(FF<=0,0,FF,3,0),COLOR00CC00;
STICKLINE(FF<=0 AND FF>REF(FF,1),0,FF,3,0),COLORFF9900;
做多主导:IFF(FF>0 AND FF>REF(FF,1),FF,0),NODRAW,COLOR0000CC;
获利回吐:IFF(FF>0 AND FF<=REF(FF,1),FF,0),NODRAW,COLOR33CFDD;
做空主导:IFF(FF<=0 AND FF<=REF(FF,1),FF,0),NODRAW,COLOR00CC00;
空头回补:IFF(FF<=0 AND FF>REF(FF,1),FF,0),NODRAW,COLORFF9900;

作者: 项天宝    时间: 2016-12-20 23:09
TT:=(2*CLOSE+OPEN+HIGH+LOW);
FF:=TT/EMA(TT,4)-1,COLORSTICK;
做多主导:=IFF(FF>0 AND FF>REF(FF,1),FF,0),NODRAW,COLOR0000CC;
空头回补:=IFF(FF<=0 AND FF>REF(FF,1),FF,0),NODRAW,COLORFF9900;
ENTERLONG:ref(空头回补,1)<>0 and 做多主导<>0




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