我是超级可爱
2024-11-27 23:43:45
最佳回答
以下代码是博易**所用xg1:=ref(h=hhv(h,4),1) and ref(v=hhv(v,4),1) and v<ref(v,1)/2 and h<ref(h,1) 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),1) and ref(v=hhv(v,4),1) and v<ref(v,1)/2 and h<ref(h,1) 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,5),ma(c,10)),ma(c,5),'上穿'),color0000ff;drawtext(cross(ma(c,10),ma(c,5)),ma(c,10),'下穿'),color00ff00;以下代码是通达信所用xg1:=ref(h=hhv(h,4),1) and ref(v=hhv(v,4),1) and v<ref(v,1)/2 and h<ref(h,1) 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),1) and ref(v=hhv(v,4),1) and v<ref(v,1)/2 and h<ref(h,1) 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,5),ma(c,10)),ma(c,5),'上穿'),colorred;drawtext(cross(ma(c,10),ma(c,5)),ma(c,10),'下穿'),colorgreen; 20210311