hhv(ma(c,13),13)/llv(ma(c,13),13)<1.005 and ma(c,13)>=ref(ma(c,13),1);{13收盘价的13日简单移均的最高值/13日内价的13日简单移动平均的最低值<1.005 and 收盘价的13日简单移动平均>=1日前的收盘价的13日简单移动平均测试过,1.005可以根据你对13日均线波幅的需求修改。祝投资愉快}
a:=ref(h,120);新高:=a>=hhv(h,0);m5:=ma(c,5);m13:=ma(c,13);金叉:=cross(m5,m13);回调:=(hhv(c,120)-c)/hhv(c,120)>0.3;放量:=v/ref(v,1)>=2.01;缩量:=ref(c,1)>ma(c,34);xg:回调 and 金叉 and 新高 and 放量 and 缩量;(你要...
mv5:=ma(amount,5);mv10:=ma(amount,10);mv20:=ma(amount,20);mv30:=ma(amount,30);tj1:=mv5>mv10 and mv10>mv20 and mv20>mv30;tj2:=mv5>ref(mv5,1) and mv10>ref(mv10,1) and mv20>ref(mv20,1) ...