陪李一生 静享爱情
2024-11-28 22:04:04
最佳回答
m1:=ema(close,3);m2:=ema(close,8);m3:=ema(m2,13);m4:=ema(m2,55);var1:=ema(m3,55);m5:=ema(m4,81),;var2:=(ref(high,1)+ref(low,1))/2;var3:=ma(close,21)+2*std(close,21);卖1:=cross(var2,var3);var4:=ref(close,1);var5:=sma(max(close-var4,0),7,1)/sma(abs(close-var4),7,1)*100;v**:=cross(79,var5);卖2:=filter(v**,4);卖出:卖1 or 卖2;a7:=(2*c+h+l)/4;var10:=llv(low,34);var11:=hhv(high,34);sk:=ema((a7-var1)/(var2-var1)*100,7);sd:=ema(0.667*ref(sk,1)+0.333*sk,5);买1:=if(count(close<ref(close,1),8)/8>6/10 and vol>=1.5*ma(vol,5) and count(sk>=sd,3) and ref(low,1)=llv(low,120),1,0);买2:=if(count(close<ref(close,1),13)/13>6/10 and count(sk>sd,6) and ref(low,5)=llv(low,120) and ref(close>=open,4) and ref(close>open,3) and ref(close>open,2) and ref(open>close,1) and open>ref(close,1),1,0);买进:买1 or 买2;d:=ma(close,80)-ma(close,10)/3;抄底:if(close<d and vol/240>ma(vol,5)/240 and close>ref(close,1)*1.08 and close<ma(close,13)*1.3,1,0); 20210311