mb1:=ema(c*100,5),coloryellow;mb2:=ema(mb1,2),colorblue;mb3:=ema(mb2,2),colorblue;mb4:=ema(mb3,2),colorblue;n:=5;var2:=mb1;var3:=drawline(var2>=hhv(var2,n)=1,var2,var2<=llv(var2,n)=1,var2,1);var2=var3 and var2<mb4;{已测试,复制可直接引用。提示:你的公式含有未来函数,谨慎使用。如果回答满意,请记得给采纳} 20210311
{ok.测试通过}n:=8;aa1:=ref(l,n)=llv(l,2*n+1);bb1:=backset(aa1,n+1);cc1:=filter(bb1,n) and l=llv(l,n+1);m:=intpart(3*n/5);aa2:=ref(l,m)=llv(l,2*m+1);bb2:=backset(aa2,m+1);cc2:=filter(bb2,m) and l=llv(l,m+1...
参数:n,最小1,最大50,缺省请您自己定。ma5:=ma(c,5);ma10:=ma(c,10);var1:=ma10-ma5;var2:=dow**ay(var1,n);crss:var2 and var1>0;那个n的参数是两条均线的距离连续缩小的天数,downday是连续下降的天数,如果n是3,就是连续三天下降的话,var2就赋值1,否则0。至于n是多少,有股市经验的人应该...
y1:=barslast(=100000);:=(hhv(c,0),y1+1);vv:=(hhv(v,0),y1+1);:=/dyna**(3)<1.05;zt10:=(c,) and v>vv and ;aa1:=barslast(=110000);cc1:=(hhv(c,0),aa1+1);vv1:=ref(hhv(v,0),aa1+1);1:=cc1/dyna**(3)<1...