你是要编写选股公式吧?是可以编写的,但是不表达的不是特别的清楚,大概是这样的dif:=ema(close,short)-ema(close,long);dea:=ema(dif,mid);ref(dif,3)>ref(dea,3) and ref(dif,4)<ref(dea,4) and ref(dif,2)>ref(dea,2) and ref(dif,1)>ref(dea,1) and dif<=dea*0.01;公式就是这样的了,看看能不能用吧,不行我再改 20210311
exp1:="expma.exp1";exp2:="expma.exp2";aa:=cross(exp1,exp2);tt:=barslast(aa);aa1:=c<o;bb:=sar(4,2,20);xg:count(aa1,tt)=1 and aa1 and "macd.macd">0 and "kdj.j&qu...
yy频道7450欢迎您 均价:=(h l o c)/4;分水岭:ma(3*均价-2*sma(均价,2,1),12),linethick1;做多趋势:if(均价>分水岭,均价,分水岭),coloryellow;支撑:reverse(做多趋势)2*分水岭,colormagenta;下跌:if(均价<分水岭,均价,分水岭),colorgray;b:=(2*ema(llv(均价,7),10)-...