ww1:=c>ma(c,60) and not(cross(ma(c,60),c));主筹估算:=ema(winner(c)*70,3);散筹估算:=ema((winner(c*1.1)-winner(c*0.9))*70,3);选股:=cross(主筹估算,散筹估算);diff:=ema(close,8)-ema(close,13); dea:=ema(diff,5);a1:=diff&g...
你的问题很不清楚,单纯用你后面给的源码做选股,用系统的macd可以这样:推荐答案显然是错误的diff:="macd.dif";xg:ref(diff,1)<ref(diff,2) and ref(diff,2)<ref(diff,3) and diff>ref(diff,1); 二楼的正确:diff:=ema(close,7) - ema(close,19);...
{试试看}down:=o>c;x1:=count(down,5)=4;x2:=(hhv(c,20)-llv(c,1))/ llv(c,1)/50*100;x3:=(min(c,o)-l)/(h-l)>0.667 and (h-max(c,o))/(h-l)<0.333 and (c-o)<0.1; x1 and x2 and x3 ;