ma60:=ma(c,60);dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);macd:=(dif-dea)*2;选股:c>ma60 and count(cross(dif,dea) ,5) =1 and count(c>o,5)=1 and ref(c,1)<ref(o,1) and (c-ref(c,1))/ref(c,1)*...
ma5:=ma(c,5);ma10:=ma(c,10);bias1:=(ma5-ma(ma5,6))/ma(ma5,6)*100;bias2:=(ma10-ma(ma10,6))/ma(ma10,6)*100;ma30:=ma(c,30);xg:ma30>ref(ma30,1) and bias1<3 and bias2<3 and count(c/ref(c,1)>1.0...
下面公式天量标准是今日成交量大于前一日20日最高量的2倍以上,k线3分之2是高到低3分之2的距离加上低,x:=barslast(v/ref(hhv(v,20),1)>2 and c<o);xg:cross(c,ref(2/3*(h-l)+l,x)) and x<=3 and x>0;天量阴线后3天内收盘价上穿过这个阴线天量这根k线3分之2的线条件成立