选股周期自行选用。(cross(kd.k,kd.d) or (ref(kd.k,2)>ref(kd.k,1) and kd.k>ref(kd.k,1))) and macd.macd>ref(macd.macd,1) and range(cci.cci,-100,100) and cci.cci>ref(cci.cci,1);
上1:=hhv(max(c,o),3);上2:=llv(max(c,o),3);下1:=hhv(min(c,o),3);下2:=llv(min(c,o),3);上:=(上1-上2)/上2*100<0.48;下:=(下1-下2)/下2*100<0.48;二影线:=(h-o)/(o-c)*100<30 and c<o;zrxg:ref(c>o,2) and c>o ...
神仙大趋势h1:=ema(close,6),colorwhite; h2:=ema(神仙大趋势h1,18),colorgreen; h3:=ema(close,108),coloryellow;cross(神仙大趋势h1,max(h2,h3)) or (神仙大趋势h1>max(h2,h3) and ref(c,1)<ref(c,2) and c>ref(max(c,o),1));
var1:=open;var2:=open(close,5)and open(close,10)and open(close,20);var3:=close>ma(close,5)and close>ma(close,10)and close>ma(close,20);var4:=cross(ma(close,5),ma(close,20));var1 and var2 and ...