a1:=(dvol/close)/2;a2:=sum(if(a1>500 and close>ref(close,1),a1,0),0);a3:=sum(if(a1>500 and close<ref(close,1),a1,0),0);机构买盘:=a2;机构卖盘:=a3;bb:=机构买盘/机构卖盘;bbb:=bb/ref(bb,1);xg:bb/ref(bb,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是多少,有股市经验的人应该...
rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;k:=sma(rsv,3,1);d:=sma(k,3,1);j:=3*k-2*d;aa:=ref(c,10)>ref(ma(c,60),10);买点:cross(j,0) and aa; ========================================同样的结果,应该用最...