diff:=ema(close,12)-ema(close,27);dea:=ema(diff,9);macd:=2*(diff-dea);低位金叉:=cross(diff,dea) and diff<-0.1;jccount:=count(cross(diff,dea),barslast(dea>=0));二次金叉:=cross(diff,dea) and dea<0 and ...
以前做过的,给你,基本我不喜欢用这类的,还是最简单的最好。n日内的,你自己去调节参数 n 1 100 5 m 1 100 13 aa:=vol/((high-low)*2-abs(close-open));买量:=if(close>open,aa*(high-low),if(close<open,aa*((high-open)+(close-low)),vol/2)),linethi...
ma1:=ma(close,10);ma2:=ma(close,20);ma3:=ma(close,60);ma4:=ma(close,120);xg:ma1>ma2 and ma2>ma3 and ma3>ma4 and (ref(ma1,1)<ref(ma2,1) or ref(ma2,1)<ref(ma3,1) or ref(ma3,1)<ref(ma4,...