a1:=barslast(c/ref(c,1)>=1.098);t1:=count(l>=ref(l,a1),a1)>=a1;t2:=count(h<=ref(h,a1),a1)<=(a1-1);t3:=longcross(c,ref(c,a1),a1) and c>=o;xg:t1 and t2 and t3; 20210311
aa:=hhv(c,66)/ref(c,60)>=2;cc:=l(c,30)and c>ma(c,30);dd:=c/ma(c,30)>1.0 and c/ma(c,30);ee:=cc or dd;sc:aa and ee;您好试试上述公式,已经通过测试,希望能够帮助到您,也祝愿您投资顺利,心想事成,财源广进,也欢迎追问
条件1:=every(close>open,3);条件2:=c>ref(c,1) and ref(c,1)>ref(c,2) and ref(c,2)>ref(c,3) and ref(c,3)<ref(c,4);条件:条件1 and 条件2;本人多年研究股票指标并且有一套成熟的交易系统,股票指标或者思路方面有任何问题可以私信问我。