红钻石:ref("kdj.j",1)<0 and "kdj.j">0;*********************************************************************rsv9:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;k1:=sma(rsv9,3,1);dk1:=k1-ref(k1,1);出手就赢:=(dk1>7 and ref(dk1,1)<0 and (dk1-ref(dk1,1))>9);红箭头:出手就赢>0;************************************************************************* 20210311
ema30:=ema(c,30);ema60:=ema(c,60);ema90:=ema(c,90);ema120:=ema(c,120);ema250:=ema(c,250);ss:=cross(ema30,ema60) and c>o and c>ref(c,1) and c/ref(c,1)>=1.018or cross(ema30,ema120) and c>o a...
选股公式 zk1:=kdj.k#week;zd2:=kdj.d#week;jcd:=filter(cross(zk1,zd2)&zd2,13);取点:=barslast(jcd);吸筹区:=if(取点>0 and 取点,取点,0);zs1:=吸筹区;n1:=**lastbar;nn:=n1-80+1;hh:=hhv((100*v/capital),nn);ll:=llv((100*v/cap...
你的问题很不清楚,单纯用你后面给的源码做选股,用系统的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);...