参考:1:var2:=close*vol;cy:=ema((ema(var2,4)/ema(vol,4)+ema(var2,6)/ema(vol,6)+ema(var2,13)/ema(vol,13)+ema(var2,24)/ema(vol,24))/4,1)colorcyan;xg:cross(c,cy) and c>o;2: var2:=close*vol;cy:=ema((e...
a1:=barslast(cross(ma(c,5),ma(c,10)));n是您说的一段时间,如果是8天,你就把n换成8 a2:=barslast(cross(ma(c,10),ma(c,5)));m是您说的一段时间,如果是8天,你就把m换成8 a3:=cross(ma(c,5),ma(c,10));aaa:a1 and a2 and a3;
a1:=cross(ma(c,5),ma(c,10));a2:=barslast(a1);xg:count(c(c,1),a2)=1 and c(c,1);公式意义:5日线金叉10日均线之后的第一次下跌选股。公式已经测试通过!参考资料:http://tieba.baidu.com/f?kw=%b9%c9%c6%b1%b9%ab%ca%bd%d7%a8%bc%d2
影线长度应该用比例衡量,就是说它是实体的多少倍。实体的标准由你控制,比如涨跌0.3%以内,就是:abs(c-o)/o<=0.003;上影线控制在实体的3倍以下,下影线控制在5倍以上:tj1:=abs(c-o)/o;tj2:=(h-max(c,o))/tj1;tj3:=(min(c,o)-l)/tj1;xg:tj1<=0.003 and tj2<=3 and tj3>=5;这...
m5:=ma(c,5);m10:=ma(c,10);m20:=ma(c,20);m60:=ma(c,60);x1:=m5>m10 and m10>m20 and m20>m60;x2:=ref(c,1)<ref(max(max(m5,m10),m20),1);x3:=c>max(max(m5,m10),m20) or cross(c,max(max(m5,m10),m...