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:=ma(c,5);b:=ma(c,10);d:=ma(c,20);e:=ma(c,30);f:=a<b and b<d and d<e;xg:f and c<a;{第二个}a:=ma(c,5);b:=ma(c,10);d:=ma(c,20);e:=ma(c,30);f:=a<b and b<d and d<e;xg:count(f,2)=2 ...