a:=hhv(h,60);a1:=barslast(a)=3;a2:=ref(c,2)<ref(c,3) and ref(c,1)<ref(c,2) and c<ref(c,1);a3:=c>ma(c,10);xg:a1 and a2 and a3;公式里“创新高”定义为“60日内最高”,因在外面,无法测试,你先试试,有问题私信我。股票公式专家团为你解答,希望能帮到你,祝投...
a1:=ma(c,7);a2:=ma(c,10);a3:=ma(c,20);a4:=ma(c,40);xg:c>ma(c,60) and ma(c,60)>ref(ma(c,60),1) and cross(c,a1) and cross(c,a2) and cross(c,a3) and cross(c,a4);