股票-通达信缠论说禅选股指标公式.docx

上传人:安*** 文档编号:17783002 上传时间:2022-05-26 格式:DOCX 页数:10 大小:74.44KB
返回 下载 相关 举报
股票-通达信缠论说禅选股指标公式.docx_第1页
第1页 / 共10页
股票-通达信缠论说禅选股指标公式.docx_第2页
第2页 / 共10页
点击查看更多>>
资源描述

《股票-通达信缠论说禅选股指标公式.docx》由会员分享,可在线阅读,更多相关《股票-通达信缠论说禅选股指标公式.docx(10页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。

1、通达信缠论说禅选股指标公式TJ2:=FILTER(ZGZD,2);TJ3:=ZG=REF(ZG,BARSLAST(TJ2)ORZD=REF(ZD,BARSLAST(TJ2);TJ4:=TJ1TJ2NOT(TJ3);TJ5:=BETWEEN(ZD,REF(ZD,REF(BARSLAST(TJ4),1),REF(ZG,REF(BARSLAST(TJ4),1);TJ6:=BETWEEN(ZG,REF(ZD,REF(BARSLAST(TJ4),1),REF(ZG,REF(BARSLAST(TJ4),1);TJ7:=ZGREF(ZG,REF(BARSLAST(TJ4),1)ZDREF(ZD,REF(BA

2、RSLAST(TJ4),1);TJ8:=TJ4NOT(TJ5ORTJ6ORTJ7);ZSD:=IF(TJ8,ZD,DRAWNULL);ZSG:=IF(TJ8,ZG,DRAWNULL);ZSH:=IF(TJ8,HH,DRAWNULL);ZSL:=IF(TJ8,LL,DRAWNULL);STICKLINE(TJ8,ZSH,ZSL,0,-1),COLORMAGENTA;STICKLINE(TJ8,ZSD,ZSG,IF(DISP=1,3,0),1),COLORMAGENTA;DRAWTEXT(DISP=2,ZSH,中枢),COLORWHITE;中枢高:PLOYLINE(DISP=2,REF(ZSD,B

3、ARSLAST(TJ8),CIRCLEDOT,COLORLIRED;中枢低:PLOYLINE(DISP=2,REF(ZSG,BARSLAST(TJ8),CIRCLEDOT,COLORLIGREEN;中枢最高:PLOYLINE(DISP=2,REF(ZSH,BARSLAST(TJ8),POINTDOT,COLORRED;中枢最低:PLOYLINE(DISP=2,REF(ZSL,BARSLAST(TJ8),POINTDOT,COLORGREEN;趋势高:PLOYLINE(DISP=3,ZIG(1,K*N1),COLORLIBLUE;趋势低:PLOYLINE(DISP=3,ZIG(2,K*N2),C

4、OLORLIBLUE;局部低点预选A:=BACKSET(LLV(L,5)REF(LLV(L,4),1),4);局部低点预选B:=BACKSET(局部低点预选A=0ANDREF(局部低点预选A,1)=1,2);局部低点预选C:=IF(局部低点预选B=1ANDREF(局部低点预选B,1)=0,-1,0);局部高点预选A:=BACKSET(HHV(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

5、REF(H,1),1,IF(HREF(L,1),-1,0);距前高天:=BARSLAST(局部高点预选C=1);距前低天:=BARSLAST(局部低点预选C=-1);小值周期:=LOWRANGE(L);大值周期:=TOPRANGE(H);低保留AA:=IF(局部低点预选C=-1ANDREF(距前高天,1)REF(距前低天,1)ANDLLV(L,距前高天+1)REF(LLV(L,距前高天+1),1),-1,0);低保留AB:=IF(局部低点预选C=-1ANDREF(距前高天,1)=REF(距前低天,1)AND(距前高天=4ORLLV(缺口判断,距前高天)=-1ORLLV(L,距前低天+2)REF

6、(LLV(L,距前低天+1),1),-1,0);低保留S:=IF(低保留AA=-1OR低保留AB=-1)ANDLREF(H,距前高天+1),-1,0);预判:=IF(距前低天4ANDHHV(缺口判断,距前低天)!=1)ORREF(低保留S,距前低天)=0,1,0);判断:=IF(局部高点预选C=1ANDREF(距前低天,1)=REF(距前高天,1)AND预判=1AND大值周期REF(小值周期,距前低天+1)AND大值周期REF(小值周期,距前低天)AND大值周期REF(大值周期,距前高天),1,0);高保留A:=IF(局部高点预选C=1ANDREF(距前低天,1)REF(距前高天,1)ANDH

7、HV(H,距前低天+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)ANDHREF(L,距前低天+1),1,0);预判A:=IF(距前高天4ANDHHV(缺口判断,距前高天)!=1)ORREF(高保留,距前高天)=0,1,0);判断A:=IF(局部低点预选C=-1ANDREF(距前高天,1)=REF(距前低天,1)AND预判A=1AN

8、D小值周期REF(大值周期,距前高天+1)AND小值周期REF(大值周期,距前高天)AND小值周期REF(小值周期,距前低天),-1,0);低保留A:=IF(局部低点预选C=-1ANDREF(距前高天,1)REF(距前低天,1)ANDLLV(L,距前高天+1)REF(LLV(L,距前高天+1),1),-1,0);低保留B:=IF(局部低点预选C=-1ANDREF(距前高天,1)=REF(距前低天,1)AND(距前高天=4ORLLV(缺口判断,距前高天)=-1OR判断A=-1),-1,0);低保留:=IF(低保留A=-1OR低保留B=-1)ANDLREF(H,距前高天+1),-1,0);距前高天

9、A:=BARSLAST(高保留=1);距前低天A:=BARSLAST(低保留=-1);预判X:=IF(距前低天A4ANDHHV(缺口判断,距前低天A)!=1)ORREF(低保留,距前低天A)=0,1,0);判断X:=IF(局部高点预选C=1ANDREF(距前低天A,1)=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

10、(H,距前低天A+1),1),1,0);高保留XB:=IF(局部高点预选C=1ANDREF(距前低天A,1)=REF(距前高天A,1)ANDREF(低保留,距前低天A)=-1AND(距前低天A=4ORHHV(缺口判断,距前低天A)=1),1,0);高保留X:=IF(高保留XA=1OR高保留XB=1OR判断X=1)ANDHREF(L,距前低天A+1),1,0);预判XA:=IF(距前高天A4ANDHHV(缺口判断,距前高天A)!=1)ORREF(高保留XA,距前高天A)=0,1,0);判断XA:=IF(局部低点预选C=-1ANDREF(距前高天A,1)=REF(距前低天A,1)AND预判XA=1

11、AND小值周期REF(大值周期,距前高天A+1)AND小值周期REF(大值周期,距前高天A)AND小值周期REF(小值周期,距前低天A),-1,0);低保留XA:=IF(局部低点预选C=-1ANDREF(距前高天A,1)REF(距前低天A,1)ANDLLV(L,距前高天A+1)REF(LLV(L,距前高天A+1),1),-1,0);低保留XB:=IF(局部低点预选C=-1ANDREF(距前高天A,1)=REF(距前低天A,1)AND(距前高天A=4ORLLV(缺口判断,距前高天A)=-1OR判断XA=-1),-1,0);低保留X:=IF(低保留XA=-1OR低保留XB=-1)ANDLREF(H

12、,距前高天A+1),-1,0);距前高天YA:=BARSLAST(高保留X=1);距前低天YA:=BARSLAST(低保留X=-1);预判YX:=IF(距前低天YA4ANDHHV(缺口判断,距前低天YA)!=1)ORREF(低保留X,距前低天YA)=0,1,0);判断YX:=IF(局部高点预选C=1ANDREF(距前低天YA,1)=REF(距前高天YA,1)AND预判YX=1AND大值周期REF(小值周期,距前低天YA+1)AND大值周期REF(小值周期,距前低天YA)AND大值周期REF(大值周期,距前高天YA),1,0);高保留YXA:=IF(局部高点预选C=1ANDREF(距前低天YA,

13、1)REF(距前高天YA,1)ANDHHV(H,距前低天YA+1)REF(HHV(H,距前低天YA+1),1),1,0);高保留YXB:=IF(局部高点预选C=1ANDREF(距前低天YA,1)=REF(距前高天YA,1)ANDREF(低保留X,距前低天YA)=-1AND(距前低天YA=4ORHHV(缺口判断,距前低天YA)=1),1,0);高保留YX:=IF(高保留YXA=1OR高保留YXB=1OR判断YX=1)ANDHREF(L,距前低天YA+1),1,0);预判YXA:=IF(距前高天YA4ANDHHV(缺口判断,距前高天YA)!=1)ORREF(高保留YXA,距前高天YA)=0,1,0

14、);判断YXA:=IF(局部低点预选C=-1ANDREF(距前高天YA,1)=REF(距前低天YA,1)AND预判YXA=1AND小值周期REF(大值周期,距前高天YA+1)AND小值周期REF(大值周期,距前高天YA)AND小值周期REF(小值周期,距前低天YA),-1,0);低保留YXA:=IF(局部低点预选C=-1ANDREF(距前高天YA,1)REF(距前低天YA,1)ANDLLV(L,距前高天YA+1)REF(LLV(L,距前高天YA+1),1),-1,0);低保留YXB:=IF(局部低点预选C=-1ANDREF(距前高天YA,1)=REF(距前低天YA,1)AND(距前高天YA=4

15、ORLLV(缺口判断,距前高天YA)=-1OR判断YXA=-1),-1,0);低保留YX:=IF(低保留YXA=-1OR低保留YXB=-1)ANDLREF(H,距前高天YA+1),-1,0);AAAD:=IF(高保留YX=1AND低保留YX=-1ANDHREF(H,REF(距前高天YA,1)+2),1,IF(高保留YX=1AND低保留YX=-1ANDLREF(L,REF(距前低天YA,1)+2),-1,0);极点保留:=IF(AAAD=0,高保留YX+低保留YX,AAAD);局部极点:IF(极点保留=-1,L,IF(极点保留=1,H,DRAWNULL)CIRCLEDOTCOLORYELLOW;

16、DRAWLINE(极点保留=-1,局部极点,极点保留=1,局部极点,0)COLORLIRED;DRAWLINE(极点保留=1,局部极点,极点保留=-1,局部极点,0)COLORYELLOW;DD1:=BARSLAST(ABS(极点保留)!=1);DRAWTEXT(极点保留=1,局部极点,卖),COLORGREEN;DRAWTEXT(极点保留=-1,局部极点,买),COLORRED;MA5:MA(CLOSE,5),COLORFF00FF,LINETHICK2;判:IF(MA5REF(MA5,1),MA5,DRAWNULL),COLORWHITE,LINETHICK2;通达信缠论说禅选股指标公式实例图解:通达信缠论说禅选股指标公式

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 技术资料 > 技术总结

本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知淘文阁网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

工信部备案号:黑ICP备15003705号© 2020-2023 www.taowenge.com 淘文阁