dif:=ema(dclose,12)-ema(dclose,26);dea:=ema(dif,9);aaa:=(dif-dea)*2*60;起爆:=cross(aaa-ref(aaa,1),15);n:=20;m:=32;p1:=80;p2:=100;var1:=(c+h+o+l)/4;买入:=xma(var1,m)*(1-p2/1000);xg:起爆 and drawtext(cross(lo...
aa05:=ma(c,5);五日乖离率:=(c-aa05)/aa05*100;aa30:=ma(c,30);三拾日乖离率:=(c-aa30)/aa30*100;mr:=count(cross(五日乖离率,0),3)>=1 and 三拾日乖离率>ref(三拾日乖离率,1) and aa05>ref(aa05,1) and (c/ref(c,1)-1)*100>5 and re...
diff:=ema(close,12)-ema(close,26);dea:=ema(diff,9);macd:=2*(diff-dea);sx:=barslast(cross(dea,diff))+1;jx:=barslast(cross(diff,dea))+1;t1:=if(jx=1 and diff>ref(diff,ref(jx,1)+1),1,0);t2:=if(jx=1 and...
n:=9;m:=3;lowv:=llv(low,n);highv:=hhv(high,n);rsv:=ema((close-lowv)/(highv-lowv)*100,m);k:=ema(rsv,m);d:=ma(k,m);(max(k,d)-min(k,d))/min(k,d)<0.2 and d>k and ref...