ma1:ma(close,5);ma2:ma(close,10);a:=cci.cci;drawicon(cross(ma1,ma2) and a<-100,ma1,1);drawicon(cross(ma2,ma1) and a>100,ma1,2); 公式已测试通过!希望能够帮助你!效果图如下: 20210311
dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);macd:=(dif-dea)*2;xg:ref(dif,2)>ref(dif,1)and dif>ref(dif,1) and dif>dea and dif-dea<0.02;测试通过,希望能够帮助你!
说实话,当我按着你的要求编完后,经测试,吓我一跳,你这土办法效果还真挺灵的,成功率比较高,****干过飞机大炮。xg1:(ref(c,3)-ref(c,2))/ref(c,2)>=0.03 and ref(c,1)(c,2)and(((o-l)>(c-o)*2 and c>o)or((c-l)>(o-c)*2 and o>c));我想追问一句,你是怎么想出来这土办法的...
上影:=if(close>open,high-close,high-open);下影:=if(close>open,open-low,close-low);长上影:=abs(close-open)*1.7<上影 and abs(close-open)>下影*2;长下影:=abs(close-open)*1.7<下影 and abs(close-open)>上影*...