你的要求是不是:NN1上穿NN2?SC:=(CLOSE-MA(CLOSE,80));NN1:=EMA(SC,5);NN2:=EMA(SC,21);CROSS(NN1,NN2);
SC:=CLOSE-MA(CLOSE,80);NN1:=EMA(SC,5);NN2:=EMA(SC,21);CROSS(NN1,NN2);试试我上面的源码