资源描述:
《自动画波浪线指标.doc》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、......五日:=MA(C,5);十三日:=MA(C,13);二十一日:=MA(C,21);五十五日:=MA(C,55);一百四四:=MA(C,144);两百三三:=MA(C,233);局部低点预选A:=BACKSET(LLV(L,5)2、H,5)>REF(HHV(H,4),1),4);局部高点预选B:=BACKSET(局部高点预选A=0ANDREF(局部高点预选A,1)=1,2);局部高点预选C:=IF(局部高点预选B=1ANDREF(局部高点预选B,1)=0,1,0);缺口判断:=IF(L>REF(H,1),1,IF(H3、:=IF(局部低点预选C=-1ANDREF(距前高天,1)>REF(距前低天,1)ANDLLV(L,距前高天+1)[=4ORLLV(缺口判断,距前高天)=-1ORLLV(L,距前低天+2)]4、[REF(小值周期,距前低天+1)AND大值周期>REF(小值周期,距前低天)AND大值周期>REF(大值周期,距前高天),1,0);高保留A:=IF(局部高点预选C=1ANDREF(距前低天,1)>REF(距前高天,1)ANDHHV(H]
5、,距前低天+1)>REF(HHV(H,距前低天+1),1),1,0);高保留B:=IF(局部高点预选C=1ANDREF(距前低天,1)<=REF(距前高天,1)ANDREF(低保留S,距前低天)=-1AND(距前低天>=4ORHHV(缺口判断,距前低天)=1),1,0);高保留:=IF((高保留A=1OR高保留B=1OR判断=1)ANDH>REF(L,距前低天+1),1,0);预判A:=IF((距前高天<4ANDHHV(缺口判断,距前高天)!=1)ORREF(高保留,距前高天)=0,1,0);判断A:=IF
6、(局部低点预选C=-1ANDREF(距前高天,1)<=REF(距前低天,1)AND预判A=1AND小值周期>REF(大值周期,距前高天+1)AND小值周期>REF(大值周期,距前高天)AND小值周期>REF(小值周期,距前低天),-1,0);低保留A:=IF(局部低点预选C=-1ANDREF(距前高天,1)>REF(距前低天,1)ANDLLV(L,距前高天+1)7、AND(距前高天>=4ORLLV(缺口判断,距前高天)=-1OR判断A=-1),-1,0);低保留:=IF((低保留A=-1OR低保留B=-1)ANDL8、=REF(距前高天A,1)AND预判X=1AND大值周期>REF(小值周期,距前低天A+1)AND大值周期>REF(小值周期,距前低天A)AND大值周期>REF(大值周期,距前高天A),1,0);高保留XA:=IF(局部高点预选C=1ANDREF(距前低天A,1)>REF(距前高天A,1)ANDHHV(H,距前低天A+1)>REF(HHV(H,距前低天A+1),1),1,0);高保留XB:=IF(局部高点预选C=