只要市场不是太差,这个指标相当好用,三五天抓个10%总归问题不大的,试试看。
a1:=c/ref(c,1)>=1.099 and c=h;
a2:=ref(a1,1) and o>ref(h,1) and c>ref(c,1);
a3:=barslast(a2);
a4:a3<=7 and a3>=3 and c<ma(c,5) and c>ma(c,10) and ma(c,30)>ref(ma(c,30),1) and ma(c,60)>ref(ma(c,60),1) and c>ref(o,a3+1) and ref(a2,a3);