{ok.测试成功绝路航标=50时,发出预警选股}n :=7; m:=5;var1:=(close-llv(low,60))/(hhv(high,60)-llv(low,60))*80; b:=sma(var1,n,1); var2:=sma(b,m,1); 绝路航标:=cross(b,var2) and b
{假设阴线幅度>7%,根据需要修改} dyx:=(c-o)/ref(c,1)*100;days:=barslast(dyx);mid:=(ref(c,days)+ref(o,days))/2;欲反包:days>1 and days< 5 and c >mid and count(c>mid,days)=1;
if:=ema(close,12)-ema(close,26);dea:=ema(dif,9);macd:=(dif-dea)*2; typ:=(high+low+close)/3;cci:=(typ-ma(typ,14))/(0.015***edev(typ,14));xg:cross(cci,100) and range(macd,-0.1,0.1);
m0:=finance(7);m1:=100*vol/(finance(7)/100)>3;m2:=winner(c)*100>80;m3:=ref(c,1)*1.01;m4:=ref(c,1)*1.035;m5:=ref(c,1)*0.99;m6:=ref(c,1)*0.965;m7:=c>=m3 and c;m8:=c<=m5 and c>=m6;m9:=if(c...