史无前例的:《逆时钟八角图》研制成功傻瓜板!可以+入任何任何主副图
价涨幅1:=(C-REF(C,1))/REF(C,1);
量涨幅1:=(V-REF(V,1))/REF(V,1);
价涨幅:=SUM(价涨幅1,0);
量涨幅:=SUM(量涨幅1,0);
量涨幅2:=EMA(量涨幅,50)/EMA(价涨幅,20);
量涨幅线:=量涨幅/量涨幅2;
A1F:=CROSS(价涨幅,0) OR CROSS(价涨幅,量涨幅);
A2F:=V>MA(V,20);
A3F:=C/REF(C,1)*100-100>-1 AND C/REF(C,1)*100-100<3.5;
A4F:=CURRBARSCOUNT=1;
买入信号:=A1F+A2F+A3F+A4F;
DRAWNUMBER_FIX(买入信号=4,0.98,0.98,1,C),COLORRED;
A5:=V/MA(V,20)>2;
加仓:=买入信号+A5;
DRAWNUMBER_FIX(加仓=5,0.98,0.90,1,C),COLORRED;
观望1:=C>REF(C,1) AND V>REF(V,1);
DRAWNUMBER_FIX(观望1=1 AND A4F,0.88,0.98,1,C),COLORRED;
警戒:=C>REF(C,1) AND V<MA(V,5);
DRAWNUMBER_FIX(警戒=1 AND A4F,0.93,0.82,1,C),COLORRED;
卖出:=C<REF(C,1) AND V<REF(V,1);
DRAWNUMBER_FIX(卖出=1 AND A4F,0.88,0.82,1,C),COLORCYAN;
清仓:=C<REF(C,1) AND V>REF(V,1) AND C<MA(C,5);
DRAWNUMBER_FIX(清仓=1 AND A4F,0.88,0.90,1,C),COLORCYAN;
阳转:=C<MA(C,60) AND C>REF(C,1) AND V>MA(V,5);
DRAWNUMBER_FIX(阳转=1 AND A4F,0.98,0.98,1,C),COLORRED;
DRAWTEXT_FIX(1,0.90,0.98,1,'◣阳转'),COLORYELLOW;
DRAWTEXT_FIX(1,0.95,0.98,1,'△买进'),COLORYELLOW;
DRAWTEXT_FIX(1,0.95,0.90,1,'△加仓'),COLORYELLOW;
DRAWTEXT_FIX(1,0.85,0.98,1,'◣观望'),COLORYELLOW;
DRAWTEXT_FIX(1,0.95,0.82,1,'◢观望'),COLORCYAN;
DRAWTEXT_FIX(1,0.90,0.82,1,'◢警戒'),COLORCYAN;
DRAWTEXT_FIX(1,0.85,0.82,1,'▼卖出'),COLORCYAN;
DRAWTEXT_FIX(1,0.85,0.90,1,'▼清仓'),COLORCYAN;
DRAWTEXT_FIX(1,0.95,0.76,1,'空'),COLORGREEN;
DRAWTEXT_FIX(1,0.90,0.76,1,'多'),COLORRED;
- 上一篇:新创一个《指路天线》,有了它,传统均线可以放弃了(提供代码及 2014/12/20
- 下一篇:牛市大涨 2014/12/20