rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;k:=sma(rsv,3,1);d:=sma(k,3,1);jj:=9*(3*d-2*k);j:=((3 * k) - (2 * d));mairu:=cross(k,d) and k<20;maichu:= cross(d,k) and d>80;快线:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;慢线:=sma(快线,3,1);空:=sma(慢线,3,1);牛股:=if(barslast(cross(慢线,空))<9 and cross(慢线,空) and 慢线<20,90,0);低买:=if(barslast(cross(慢线,快线))>=3 and cross(快线,慢线) and 慢线<30,20,0);xg:牛股 and 低买; 20210311
dif:1000*(ema(close,12)-ema(close,26))/abs(ema(close,12));macd:ema(dif,9);def:2*(dif-macd),nodraw;stickline(def>=0 and def>=ref(def,1),0,def,2,1),color6058ff;stickline(def>=0 and def< ref(...
a:=if(c<ref(o,1) and c<o,1,0);p1:=a;b:=if(c<ref(o,2) and c<o,1,0);p2:=b;stickline(p1=0 and ref(p1,1)=1 and p2=0 and ref(p2,1)=1,open,close,3,0),colormagenta;