UID53339
积分447
学分
推广 个
预报后涨停 支
阅读权限40
在线时间 小时
注册时间2010-2-21
最后登录1970-1-1
|
M8:=MA(CLOSE,8);
M20:=MA(CLOSE,20);
M60:=MA(CLOSE,60);
M140:=MA(CLOSE,140);
VAR1:=IF(PEAKBARS(3,16,1)=0 AND LOW<HIGH-0.04,4,0);
VAR2:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);
VAR11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF
(ZIG(3,6),2)<=REF(ZIG(3,6),3);
VAR12:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF
(ZIG(3,6),2)>=REF(ZIG(3,6),3);
VAR13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND
REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);
VAR14:=ZIG(3,22)<REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2) AND
REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);
VAR15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND
REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);
VAR16:=ZIG(3,51)<REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2) AND
REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);
VAR17:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND
REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);
VAR18:=ZIG(3,72)<REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2) AND
REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);
VAR19:=EMA(CLOSE,2)-EMA(CLOSE,150);
买1:=(VAR11+VAR13+VAR15+VAR17);
卖1:=(VAR12+VAR14+VAR16+VAR18);
上升天数:BARSLAST(买1>0 AND REF(VAR2,1)>0)+1,COLORRED,POINTDOT;
涨幅CLOSE-REF(CLOSE,上升天数))/REF(CLOSE,上升天数)*100,COLORRED;
回调天数:BARSLAST(卖1>0 AND REF(VAR1,1)>0)+1,COLOR00FF00,POINTDOT;
跌幅CLOSE-REF(CLOSE,回调天数))/REF(CLOSE,回调天数)*100,COLOR00FF00;
跌幅大于十五:跌幅<-15,COLORYELLOW;
IF(跌幅<-15,跌幅,DRAWNULL),COLOR00FFFF,LINETHICK2;
IF(跌幅<-18,跌幅,DRAWNULL),COLOR00CCFF,LINETHICK2;
IF(跌幅<-20,跌幅,DRAWNULL),COLOR0099FF,LINETHICK2;
IF(跌幅<-22,跌幅,DRAWNULL),COLORBLUE,LINETHICK2;
IF(跌幅>0,跌幅,DRAWNULL),COLOR66FF00,LINETHICK2;
IF(涨幅>50,涨幅,DRAWNULL),COLOR0000CC,LINETHICK3;
IF(涨幅>80,涨幅,DRAWNULL),COLOR0000FF,LINETHICK3;
IF(涨幅>100,涨幅,DRAWNULL),COLOR0066FF,LINETHICK3;
IF(涨幅>200,涨幅,DRAWNULL),COLORFF00FF,LINETHICK3; |
|