v1:=c/ma(c,40)*100<78; v2:=c/ma(c,60)*100<74;v3:=h>l*1.03;v4:=v3 and count(v3,5)>1;绝底:=v4 and (v1 or v2) and c<ma(c,10)/1.1 and v/ref(v,1)<1 and "bias.bias1"<-6 or "bias.bias2"<-6 or "bias.bias3"<-6,;底选:ref(绝底,1)=1 and 绝底=0;已测试,请采纳。 20210311
{通达信测试通过买点出现,卖点出现选股}买:(zig(3,5)>ref(zig(3,5),1)) and (ref(zig(3,5),1)<=ref(zig(3,5),2)) and (ref(zig(3,5),2)<=ref(zig(3,5),3));----------------------------------------------卖:(zig(3,5)<ref...
这样就可以:ma05:=ma(c,5);ma30:=ma(c,30);五日乖离率:=(c-ma05)/ma05*100;三拾日乖离率:=(c-ma30)/ma30*100;买入:count(cross(五日乖离率,0),3)>=1 and 三拾日乖离率>ref(三拾日乖离率,1) and ma05>ref(ma05,1) and (c/ref(c,1)-1)*100>5 a...
{出现洋红色柱体时买入}var1b:=(c+h+o+l)/4;买入:=xma(var1b,10)*(1-20/1000),colormagenta,linethick1;xg:(买入>low and 买入<high)or (买入>min(c,o) and 买入<max(c,o))or (买入>low and 买入<high);里面有未来函数,不建议使用。{底位白...
{1.}var2:=(2*close+high+low)/4;var3:=if(year>=2099 and month>2,0,1);var4:=llv(low,5);var5:=hhv(high,4);散户:=ema((var2-var4)/(var5-var4)*100,4)*var3;**:=ema(0.667*ref(散户,1)+0.333*散户,2)*var3;短快进:cr...