下载
加入VIP
  • 专属下载特权
  • 现金文档折扣购买
  • VIP免费专区
  • 千万文档免费下载

上传资料

关闭

关闭

关闭

封号提示

内容

首页 通达信缠论公式

通达信缠论公式.doc

通达信缠论公式

一切消失了之后
2019-06-14 0人阅读 举报 0 0 暂无简介

简介:本文档为《通达信缠论公式doc》,可适用于综合领域

中枢MA:MA(CLOSE,)MA:MA(CLOSE,){N:,,N:,,DISP:=,,}N:=N:=DISP:=K:=IF(PERIOD=,,{日}IF(PERIOD=,,{周}IF(PERIOD=,,{月}IF(PERIOD=,,{多分钟}IF(PERIOD=,,{多日}IF(PERIOD=,,{季}IF(PERIOD=,,{年}IF(PERIOD=,,{F}IF(PERIOD=,,{F}IF(PERIOD=,,{F}IF(PERIOD=,{F},{F}))))))))))){这段是识别中枢}{P:=PEAK(,K*N,)P:=PEAK(,K*N,)WP:=PEAKBARS(,K*N,)WP:=PEAKBARS(,K*N,)T:=TROUGH(,K*N,)T:=TROUGH(,K*N,)WT:=TROUGHBARS(,K*N,)WT:=TROUGHBARS(,K*N,)TJ:=P>TANDP>TZD:=MAX(T,T)ZG:=MIN(P,P)LL:=MIN(T,T)HH:=MAX(P,P)TJ:=FILTER(ZG>ZD,)TJ:=ZG=REF(ZG,BARSLAST(TJ))ORZD=REF(ZD,BARSLAST(TJ))TJ:=TJTJNOT(TJ)TJ:=BETWEEN(ZD,REF(ZD,REF(BARSLAST(TJ),)),REF(ZG,REF(BARSLAST(TJ),)))TJ:=BETWEEN(ZG,REF(ZD,REF(BARSLAST(TJ),)),REF(ZG,REF(BARSLAST(TJ),)))TJ:=ZG>REF(ZG,REF(BARSLAST(TJ),))ZD<REF(ZD,REF(BARSLAST(TJ),))TJ:=TJNOT(TJORTJORTJ)ZSD:=IF(TJ,ZD,DRAW)ZSG:=IF(TJ,ZG,DRAW)ZSH:=IF(TJ,HH,DRAW)ZSL:=IF(TJ,LL,DRAW)STICKLINE(TJ,ZSH,ZSL,,),COLORMAGENTASTICKLINE(TJ,ZSD,ZSG,IF(DISP=,,),),COLORMAGENTADRAWTEXT(DISP=,ZSH,'中枢'),COLORRED中枢高:PLOYLINE(DISP=,REF(ZSD,BARSLAST(TJ))),CROSSDOT,COLORLIRED中枢低:PLOYLINE(DISP=,REF(ZSG,BARSLAST(TJ))),CROSSDOT,COLORLIGREEN中枢最高:PLOYLINE(DISP=,REF(ZSH,BARSLAST(TJ))),POINTDOT,COLORRED中枢最低:PLOYLINE(DISP=,REF(ZSL,BARSLAST(TJ))),POINTDOT,COLORGREEN}趋势高:PLOYLINE(DISP=,ZIG(,K*N)),COLORLIBLUE趋势低:PLOYLINE(DISP=,ZIG(,K*N)),COLORLIBLUE局部低点预选A:=BACKSET(LLV(L,)<REF(LLV(L,),),)局部低点预选B:=BACKSET(局部低点预选A=ANDREF(局部低点预选A,)=,)局部低点预选C:=IF(局部低点预选B=ANDREF(局部低点预选B,)=,,)局部高点预选A:=BACKSET(HHV(H,)>REF(HHV(H,),),)局部高点预选B:=BACKSET(局部高点预选A=ANDREF(局部高点预选A,)=,)局部高点预选C:=IF(局部高点预选B=ANDREF(局部高点预选B,)=,,)缺口判断:=IF(L>REF(H,),,IF(H<REF(L,),,))距前高天:=BARSLAST(局部高点预选C=)距前低天:=BARSLAST(局部低点预选C=)小值周期:=LOWRANGE(L)大值周期:=TOPRANGE(H)低保留AA:=IF(局部低点预选C=ANDREF(距前高天,)>REF(距前低天,)ANDLLV(L,距前高天)<REF(LLV(L,距前高天),),,)低保留AB:=IF(局部低点预选C=ANDREF(距前高天,)<=REF(距前低天,)AND(距前高天>=ORLLV(缺口判断,距前高天)=ORLLV(L,距前低天)<REF(LLV(L,距前低天),)),,)低保留S:=IF((低保留AA=OR低保留AB=)ANDL<REF(H,距前高天),,)预判:=IF((距前低天<ANDHHV(缺口判断,距前低天)!=)ORREF(低保留S,距前低天)=,,)判断:=IF(局部高点预选C=ANDREF(距前低天,)<=REF(距前高天,)AND预判=AND大值周期>REF(小值周期,距前低天)AND大值周期>REF(小值周期,距前低天)AND大值周期>REF(大值周期,距前高天),,)高保留A:=IF(局部高点预选C=ANDREF(距前低天,)>REF(距前高天,)ANDHHV(H,距前低天)>REF(HHV(H,距前低天),),,)高保留B:=IF(局部高点预选C=ANDREF(距前低天,)<=REF(距前高天,)ANDREF(低保留S,距前低天)=AND(距前低天>=ORHHV(缺口判断,距前低天)=),,)高保留:=IF((高保留A=OR高保留B=OR判断=)ANDH>REF(L,距前低天),,)预判A:=IF((距前高天<ANDHHV(缺口判断,距前高天)!=)ORREF(高保留,距前高天)=,,)判断A:=IF(局部低点预选C=ANDREF(距前高天,)<=REF(距前低天,)AND预判A=AND小值周期>REF(大值周期,距前高天)AND小值周期>REF(大值周期,距前高天)AND小值周期>REF(小值周期,距前低天),,)低保留A:=IF(局部低点预选C=ANDREF(距前高天,)>REF(距前低天,)ANDLLV(L,距前高天)<REF(LLV(L,距前高天),),,)低保留B:=IF(局部低点预选C=ANDREF(距前高天,)<=REF(距前低天,)AND(距前高天>=ORLLV(缺口判断,距前高天)=OR判断A=),,)低保留:=IF((低保留A=OR低保留B=)ANDL<REF(H,距前高天),,)距前高天A:=BARSLAST(高保留=)距前低天A:=BARSLAST(低保留=)预判X:=IF((距前低天A<ANDHHV(缺口判断,距前低天A)!=)ORREF(低保留,距前低天A)=,,)判断X:=IF(局部高点预选C=ANDREF(距前低天A,)<=REF(距前高天A,)AND预判X=AND大值周期>REF(小值周期,距前低天A)AND大值周期>REF(小值周期,距前低天A)AND大值周期>REF(大值周期,距前高天A),,)高保留XA:=IF(局部高点预选C=ANDREF(距前低天A,)>REF(距前高天A,)ANDHHV(H,距前低天A)>REF(HHV(H,距前低天A),),,)高保留XB:=IF(局部高点预选C=ANDREF(距前低天A,)<=REF(距前高天A,)ANDREF(低保留,距前低天A)=AND(距前低天A>=ORHHV(缺口判断,距前低天A)=),,)高保留X:=IF((高保留XA=OR高保留XB=OR判断X=)ANDH>REF(L,距前低天A),,)预判XA:=IF((距前高天A<ANDHHV(缺口判断,距前高天A)!=)ORREF(高保留XA,距前高天A)=,,)判断XA:=IF(局部低点预选C=ANDREF(距前高天A,)<=REF(距前低天A,)AND预判XA=AND小值周期>REF(大值周期,距前高天A)AND小值周期>REF(大值周期,距前高天A)AND小值周期>REF(小值周期,距前低天A),,)低保留XA:=IF(局部低点预选C=ANDREF(距前高天A,)>REF(距前低天A,)ANDLLV(L,距前高天A)<REF(LLV(L,距前高天A),),,)低保留XB:=IF(局部低点预选C=ANDREF(距前高天A,)<=REF(距前低天A,)AND(距前高天A>=ORLLV(缺口判断,距前高天A)=OR判断XA=),,)低保留X:=IF((低保留XA=OR低保留XB=)ANDL<REF(H,距前高天A),,)距前高天YA:=BARSLAST(高保留X=)距前低天YA:=BARSLAST(低保留X=)预判YX:=IF((距前低天YA<ANDHHV(缺口判断,距前低天YA)!=)ORREF(低保留X,距前低天YA)=,,)判断YX:=IF(局部高点预选C=ANDREF(距前低天YA,)<=REF(距前高天YA,)AND预判YX=AND大值周期>REF(小值周期,距前低天YA)AND大值周期>REF(小值周期,距前低天YA)AND大值周期>REF(大值周期,距前高天YA),,)高保留YXA:=IF(局部高点预选C=ANDREF(距前低天YA,)>REF(距前高天YA,)ANDHHV(H,距前低天YA)>REF(HHV(H,距前低天YA),),,)高保留YXB:=IF(局部高点预选C=ANDREF(距前低天YA,)<=REF(距前高天YA,)ANDREF(低保留X,距前低天YA)=AND(距前低天YA>=ORHHV(缺口判断,距前低天YA)=),,)高保留YX:=IF((高保留YXA=OR高保留YXB=OR判断YX=)ANDH>REF(L,距前低天YA),,)预判YXA:=IF((距前高天YA<ANDHHV(缺口判断,距前高天YA)!=)ORREF(高保留YXA,距前高天YA)=,,)判断YXA:=IF(局部低点预选C=ANDREF(距前高天YA,)<=REF(距前低天YA,)AND预判YXA=AND小值周期>REF(大值周期,距前高天YA)AND小值周期>REF(大值周期,距前高天YA)AND小值周期>REF(小值周期,距前低天YA),,)低保留YXA:=IF(局部低点预选C=ANDREF(距前高天YA,)>REF(距前低天YA,)ANDLLV(L,距前高天YA)<REF(LLV(L,距前高天YA),),,)低保留YXB:=IF(局部低点预选C=ANDREF(距前高天YA,)<=REF(距前低天YA,)AND(距前高天YA>=ORLLV(缺口判断,距前高天YA)=OR判断YXA=),,)低保留YX:=IF((低保留YXA=OR低保留YXB=)ANDL<REF(H,距前高天YA),,)AAAD:=IF(高保留YX=AND低保留YX=ANDH>REF(H,REF(距前高天YA,)),,IF(高保留YX=AND低保留YX=ANDL<REF(L,REF(距前低天YA,)),,))极点保留:=IF(AAAD=,高保留YX低保留YX,AAAD)局部极点:IF(极点保留=,L,IF(极点保留=,H,DRAW))CIRCLEDOTCOLORYELLOWDRAWLINE(极点保留=,局部极点,极点保留=,局部极点,)COLORBLUEDRAWLINE(极点保留=,局部极点,极点保留=,局部极点,)COLORBLUEDD:=BARSLAST(ABS(极点保留)!=){DRAWICON(极点保留=,局部极点,)DRAWICON(极点保留=,局部极点,)}{MA:MA(CLOSE,),COLORFFFF,LINETHICK判:IF(MA<REF(MA,),MA,DRAW),COLORWHITE,LINETHICK}中枢分笔分段{N:,,N:,,DISP:=,,}N:=N:=DISP:=K:=IF(PERIOD=,,{日}IF(PERIOD=,,{周}IF(PERIOD=,,{月}IF(PERIOD=,,{多分钟}IF(PERIOD=,,{多日}IF(PERIOD=,,{季}IF(PERIOD=,,{年}IF(PERIOD=,,{F}IF(PERIOD=,,{F}IF(PERIOD=,,{F}IF(PERIOD=,{F},{F})))))))))))P:=PEAK(,K*N,)P:=PEAK(,K*N,)WP:=PEAKBARS(,K*N,)WP:=PEAKBARS(,K*N,)T:=TROUGH(,K*N,)T:=TROUGH(,K*N,)WT:=TROUGHBARS(,K*N,)WT:=TROUGHBARS(,K*N,)TJ:=P>TANDP>TZD:=MAX(T,T)ZG:=MIN(P,P)LL:=MIN(T,T)HH:=MAX(P,P)TJ:=FILTER(ZG>ZD,)TJ:=ZG=REF(ZG,BARSLAST(TJ))ORZD=REF(ZD,BARSLAST(TJ))TJ:=TJTJNOT(TJ)TJ:=BETWEEN(ZD,REF(ZD,REF(BARSLAST(TJ),)),REF(ZG,REF(BARSLAST(TJ),)))TJ:=BETWEEN(ZG,REF(ZD,REF(BARSLAST(TJ),)),REF(ZG,REF(BARSLAST(TJ),)))TJ:=ZG>REF(ZG,REF(BARSLAST(TJ),))ZD<REF(ZD,REF(BARSLAST(TJ),))TJ:=TJNOT(TJORTJORTJ)ZSD:=IF(TJ,ZD,DRAW)ZSG:=IF(TJ,ZG,DRAW)ZSH:=IF(TJ,HH,DRAW)ZSL:=IF(TJ,LL,DRAW)STICKLINE(TJ,ZSH,ZSL,,),COLORMAGENTASTICKLINE(TJ,ZSD,ZSG,IF(DISP=,,),),COLORMAGENTADRAWTEXT(DISP=,ZSH,'中枢'),COLORWHITE中枢高:PLOYLINE(DISP=,REF(ZSD,BARSLAST(TJ))),CIRCLEDOT,COLORLIRED中枢低:PLOYLINE(DISP=,REF(ZSG,BARSLAST(TJ))),CIRCLEDOT,COLORLIGREEN{中枢最高:PLOYLINE(DISP=,REF(ZSH,BARSLAST(TJ))),POINTDOT,COLORRED中枢最低:PLOYLINE(DISP=,REF(ZSL,BARSLAST(TJ))),POINTDOT,COLORGREEN}趋势高:PLOYLINE(DISP=,ZIG(,K*N)),COLORLIBLUE趋势低:PLOYLINE(DISP=,ZIG(,K*N)),COLORLIBLUE局部低点预选A:=BACKSET(LLV(L,)<REF(LLV(L,),),)局部低点预选B:=BACKSET(局部低点预选A=ANDREF(局部低点预选A,)=,)局部低点预选C:=IF(局部低点预选B=ANDREF(局部低点预选B,)=,,)局部高点预选A:=BACKSET(HHV(H,)>REF(HHV(H,),),)局部高点预选B:=BACKSET(局部高点预选A=ANDREF(局部高点预选A,)=,)局部高点预选C:=IF(局部高点预选B=ANDREF(局部高点预选B,)=,,)缺口判断:=IF(L>REF(H,),,IF(H<REF(L,),,))距前高天:=BARSLAST(局部高点预选C=)距前低天:=BARSLAST(局部低点预选C=)小值周期:=LOWRANGE(L)大值周期:=TOPRANGE(H)低保留AA:=IF(局部低点预选C=ANDREF(距前高天,)>REF(距前低天,)ANDLLV(L,距前高天)<REF(LLV(L,距前高天),),,)低保留AB:=IF(局部低点预选C=ANDREF(距前高天,)<=REF(距前低天,)AND(距前高

用户评价(0)

关闭

新课改视野下建构高中语文教学实验成果报告(32KB)

抱歉,积分不足下载失败,请稍后再试!

提示

试读已结束,如需要继续阅读或者下载,敬请购买!

文档小程序码

使用微信“扫一扫”扫码寻找文档

1

打开微信

2

扫描小程序码

3

发布寻找信息

4

等待寻找结果

我知道了
评分:

/13

通达信缠论公式

VIP

在线
客服

免费
邮箱

爱问共享资料服务号

扫描关注领取更多福利