n:=8;m:=13;回踩线:ma(c,m);中期线:ma(c,60);长期线:ma(c,120);均线多头:=中期线>ref(中期线,1) and 长期线>ref(长期线,1);大阳:=c/ref(c,1)>=1.08;dysj:=barslast(大阳);跟踪:=dysj<=13 and count(l>ref(l,dysj),dysj)=dysj and c/r...
p:=(high + low + close)/3;cci:=(p-ma(p,n))*100/(1.5***edev(p,n)),colorwhite;-100,pointdot,color00aa00;100,pointdot,color00aa00;select:count(c<ref(c,1),5) and ref(count(cci<-100,3),3) and cross...
1的公式是:count(close>ref(close,1),10)>7;2的公式是:high>max(o,c)*1.03 and low<min(open,close)*1.02 and close/ref(close,1)>1.06;hhv(high,3)=hhv(high,120);意思是3日内(只要在最近3天内的都可以)的最高价是120日的最高价;三天内=三天...