wr1:=100*(hhv(high,10)-close)/(hhv(high,10)-llv(low,10));wr2:=100*(hhv(high,6)-close)/(hhv(high,6)-llv(low,6));wr3:=ref(wr1,1)>60 and ref(wr2,1)>60 and wr1<60 and wr1<60;typ:=(high+low+clo...
均价:=(open+high+low+close*2)/5;突破:=均价+high-low;阻力:=均价*2-low;支撑:=均价*2-high;下降:=均价-high+low;心理:=(均价+突破+阻力+支撑+下降)/5;趋势:=expma(close,12);xg:ref(心理,1)<ref(趋势,1) and 心理>ref(心理,1) and 心理<趋势;测试通过,希望能够...
根据题意,选股公式如下:(提示:由于条件苛刻,不是每天都能选出股票的)vara:=(close-ref(open,29))/ref(open,29)*100;varb:=ema(0.667*ref(vara,1)+0.333*vara,5);vol>=1.3*ma(vol,5) and count(vara>=varb and vara<-17,3) and ref(low,1)...
f30a:=max(ma(c,10),ma(c,20));f30:=c>f30a;f60a:=max(ma(c,20),ma(c,28));f60:=c>f60a;fra:=max(ma(c,60),ma(c,120));fr:=c>fra;xg:cross(f30 and f60 and fr,0.5);