{哥要起涨}a:=(3*close+low+open+high)/6;d1:=(20*a+19*ref(a,1)+18*ref(a,2)+17*ref(a,3)+16*ref(a,4)+15*ref(a,5)+14*ref(a,6)+13*ref(a,7)+12*ref(a,8)+11*ref(a,9)+10*ref(a,10)+9*ref(a,11)+8*ref(a,12)+7*ref(a,13)+6*ref(a,14)+5*ref(a,15)+4*ref(a,16)+3*ref(a,17)+2*ref(a,18)+ref(a,20))/211;d2:=ema(d1,2);d3:=ema(d2,2);k1:=ema(d3,2);哥要起涨:cross(d1,k1);{加速上涨}趋势线:=ema(100*(c-llv(low,34))/(hhv(h,34)-llv(low,34)),3);var1:=ref((low+open+close+high)/4,1);var21:=sma(abs(high-var1),13,1)/sma(min(high-var1,0),10,1);var31:=ema(var21,10);var41:=hhv(high,33);var51:=ema(if(high>=var41,var31,0),3);主力拉高:=if(var51<ref(var51,1),var51,0);出货:=if(var51>ref(var51,1),var51,0);xg:趋势线>80 and (主力拉高 or 出货);{强势选股}趋势线:=ema(100*(c-llv(low,34))/(hhv(h,34)-llv(low,34)),3);xg:filter(every(趋势线>60,6),20);公式一和三用到隐形未来函数“ema”,信号基本可靠。公式二用到未来函数“sma”,需稍加注意。股票公式专家团为你解答,希望能帮到你,祝投资顺利。 20210311
d:=ma(close,80)-ma(close,10)/3;{收盘价的80日简单移动平均-收盘价的10日简单移动平均/3} xg:if(close<d and vol/240>ma(vol,5)/240 and close>ref(close,1)*1.08 and close(close,13)*1.3,1,0);{如果符合抄底则选股,否则返回0} 狂飙蚂蚁博客编写,还有一个...
bt1:=cross(rsi.rsi1,25);主力:=ema( (close-ma(close,7))/ma(close,7)*480,2)*5;散户:=ema( (close-ma(close,11))/ma(close,11)*480,7)*5;bt2:=cross(主力,散户) and 主力<-10; bt:=filter(count(bt1 or bt2,3)>=2,3);...