_阿迪旺旺
2024-12-23 10:36:49
最佳回答
以下代码是博易**的xg1:=ref(h=hhv(h,4) and v=hhv(v,4),1) and v<ref(v,1)*0.4 and sma(max(close-ref(close,1),0),6,1)/sma(abs(close-ref(close,1)),6,1)*100>70;xg2:=ref(h=hhv(h,4) and v=hhv(v,4),1) and v<ref(v,1)*0.4 and sma(max(close-ref(close,1),0),6,1)/sma(abs(close-ref(close,1)),6,1)*100<30;drawicon(xg1,h,5);drawicon(xg2,l,4);drawtext(cross(ma(c,10),ma(c,20))*cross(ma(c,5),ma(c,20)),ma(c,5),'上穿'),color0000ff;drawtext(cross(ma(c,20),ma(c,5))*cross(ma(c,20),ma(c,10)),ma(c,10),'下穿'),color00ff00;以下代码是通达信的xg1:=ref(h=hhv(h,4) and v=hhv(v,4),1) and v<ref(v,1)*0.4 and sma(max(close-ref(close,1),0),6,1)/sma(abs(close-ref(close,1)),6,1)*100>70;xg2:=ref(h=hhv(h,4) and v=hhv(v,4),1) and v<ref(v,1)*0.4 and sma(max(close-ref(close,1),0),6,1)/sma(abs(close-ref(close,1)),6,1)*100<30;drawicon(xg1,h,2);drawicon(xg2,l,1);drawtext(cross(ma(c,10),ma(c,20))*cross(ma(c,5),ma(c,20)),ma(c,5),'上穿'),color0000ff;drawtext(cross(ma(c,20),ma(c,5))*cross(ma(c,20),ma(c,10)),ma(c,10),'下穿'),color00ff00; 20210311