var1:=(close>ref(close,1) and close>ref(close,2));var2:=(ref(var1,1) and close<=ref(close,1) and close>=ref(close,2));var3:=(ref(var2,1) and close>=ref(close,1) and close<=ref(close,...
var200:=(close-llv(low,20))/(hhv(high,20)-llv(low,20))*100;var300:=sma(sma(var200,3,1),3,1)/28.57;var400:=ema(var300,5);操盘:=3*var300-2*var400;全仓:cross(操盘,var300) and var300<2.1 and c>o;测试通过,希望能够...
{分时突破} ta:=barslast(time=100000);tc:=ref(hhv(c,0),ta+1);tv:=ref(hhv(v,0),ta+1);zf:=tc/dyna**(3);xg1:=cross(c,tc)and v>tv and zf,colorwhite;ta1:=barslast(time=110000);cc1:=ref(hhv(c,0),ta1+1);vv1:=r...
五天涨幅:=(c/ref(c,5)-1)*100;十天涨幅:=(c/ref(c,10)-1)*100;五天势能:=if(五天涨幅/5>0,五天涨幅/5,0);十天势能:=if(十天涨幅/10>0,十天涨幅/10,0);五天强势:=五天势能>2.5;十天强势:=十天势能>1.5;ref(五天势能,1)=0 and 五天势能>0 and ref(十天势能,1)=0 and...
均价:=(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 心理<趋势;测试通过,希望能够...
在通达信公式管理器中新建一个选股公式,将下面的代码复制粘贴进去,取一个名字保存即可使用了。var2:=trou**ars(3,15,1)<10;var4:=if(var2=1,50,0);底部:=if(var4=50,10,0);xg:if(底部=10 and ref(底部,1)=10 and ref(底部,2)=0,50,0);