历史最高:=hhv(h,0);接近最高:=c>历史最高*70/100 and c<历史最高*80/100;{收盘在历史最高价的70%与80%之间} 近年内最高:=barslast(历史最高=h);上市不久:=barssince(v);选:接近最高 and 近年内最高 and 上市不久;上面是根据你的参考公式做的参考公式, 下面是主图公式,可以用来验证你的选股 ... 20210311
{试试看}down:=o>c;x1:=count(down,5)=4;x2:=(hhv(c,20)-llv(c,1))/ llv(c,1)/50*100;x3:=(min(c,o)-l)/(h-l)>0.667 and (h-max(c,o))/(h-l)<0.333 and (c-o)<0.1; x1 and x2 and x3 ;