• 网站首页
  • 股票池
  • 通达信公式
  • 大智慧公式
  • 同花顺公式
  • 套装公式
  • 指标专题
  • 股票内参
  • 滚动播报

    通达信公式

    当前位置: 主页 > 通达信公式

    通达信一带箱路主图趋势直观未加密选股指标公式源码

    来源:网络|编辑:小编|时间:2022-12-30|栏目:通达信公式


    AA:ma(CLOSE,3.1415926535*MA(C,5))COLOR4080FF,NODRAW;
    ac:=REF(AA,1);
    TY:=C;
    HD:=FILTER(BACKSET(FILTER(REF(TY,10)=HHV(TY,2*10+1),10),10+1),10)*3.1415926535;
    LD:=FILTER(BACKSET(FILTER(REF(TY,10)=LLV(TY,2*10+1),10),10+1),10)*3.1415926535;
    A1:=REF(C,BArslAST(HD));
    B1:=REF(C,BARSLAST(LD));
    T1:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD);
    T2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);
    前高:REF(H,BARSLAST(HD))COLORCYAN,NODRAW;
    浪顶:IF(T1,A1,A1)COLORCYAN,NODRAW;
    浪底:IF(T2,B1,B1)COLORFF00FF,NODRAW;
    前低:REF(L,BARSLAST(LD))COLORFF00FF,NODRAW;
    GA:MA(HIGH,3.1415926535*MA(H,5))COLORBLUE,DOTLINE,NODRAW;
    GH:IF((GA<=REF(GA,1)),GA,DRAWNULL),COLORGREEN,LINETHICK1,NODRAW;
    DA:MA(LOW,3.1415926535*MA(L,5))COLORBLUE,DOTLINE,NODRAW;
    DL:IF((DA<=REF(DA,1)),DA,DRAWNULL),COLORGREEN,LINETHICK1,NODRAW;
    DRAWBAND(GA,RGB(80,00,80),DA,DRAWNULL);
    DRAWBAND(GH,RGB(43,83,78),DL,DRAWNULL);
    DRAWBAND(浪底,RGB(225,0,0),前低,DRAWNULL);
    STICKLINE(LOW<前低,前低,浪底,4,1)COLOR9F9F00;
    STICKLINE(LOW>前低,前低,浪底,4,-1)COLORB400B4;
    STICKLINE(AC<AA,(浪底-0.0001),(DA-0.017),4,0)COLOR000081;
    STICKLINE(LOW>=前高,C,前高,2,-1){COLORB400B4}COLOR408080;
    DRAWBAND(前高,RGB(225,0,0),浪顶,DRAWNULL);
    STICKLINE(C<=前高,前高,浪顶,4,1)COLORCYAN;
    STICKLINE(C>=前高,前高,浪顶,4,1)COLOR0000FF;
    STICKLINE((AC>AA),(AC*1.001),(AC+0.018),2,1),COLORGREEN;
    STICKLINE((AC<AA),(AC*1.001),(AC+0.018),2,1),COLOR4080FF;
    DRAwrECTREL(0,5,1000,1,RGB(200,800,00));
    DRAWRECTREL(0,202,1000,195,RGB(0,80,80));
    DRAWRECTREL(0,498,1000,495,RGB(100,500,300));
    DRAWRECTREL(0,808,1000,800,RGB(00,80,80));
    DRAWRECTREL(0,1000,1000,995,RGB(200,800,00));
    ZD:=DATE#WEEK;
    ZH:=H#WEEK;
    ZL:=L#WEEK;
    K0:=ZD>REF(ZD,1) OR BARSSINCE(C)=0;
    K1:=REFX(K0,1) OR ISLASTBAR;
    S1:=MOD(SUM(K0,0),2);
    N1:=20;
    S2:=BACKSET(ISLASTBAR,SUMBARS(K0,N1));
    STICKLINE((K0 OR K1) AND S2,ZH,ZL,0,-1),COLORFFFFFF;
    DRAWLINE(K0 AND S1=1 AND S2,ZH,K1 AND S1=1 AND S2,ZH,0),COLORFFFFFF;
    DRAWLINE(K0 AND S1=1 AND S2,ZL,K1 AND S1=1 AND S2,ZL,0),COLORFFFFFF;
    DRAWLINE(K0 AND S1=0 AND S2,ZH,K1 AND S1=0 AND S2,ZH,0),COLORFFFFFF;
    DRAWLINE(K0 AND S1=0 AND S2,ZL,K1 AND S1=0 AND S2,ZL,0),COLORFFFFFF;
    IF((GA>=REF(GA,1)),GA,DRAWNULL)COLORBLUE,DOTLINE;
    IF((GA<=REF(GA,1)),GA,DRAWNULL),COLORGREEN,LINETHICK1;
    IF((GA>=REF(GA,1)),DA,DRAWNULL)COLORBLUE,DOTLINE;
    IF((DA<=REF(DA,1)),DA,DRAWNULL),COLORGREEN,LINETHICK1;
    日:=150;昨前:=3;
    高1:=REF(HHV(H,日),昨前);
    顶3:REFDATE(高1,DATE),COLORLIGRAY;
    绝顶:=REFDATE(顶3,DATE),NODRAW;
    跑:=绝顶=H AND ((C-L)<(O-C) OR (O-L)<(C-O)),NODRAW;
    DRAWTEXT(跑,L*0.995,'逃命')COLORGREEN;
    STICKLINE(跑,L,H,3.8,1),COLORFFFFFF;
    DRAWKLINE(H,O,L,C);
    STICKLINE(C<O,H,L,0,1)COLORFF9900;
    STICKLINE(C<O,O,C,2.9,1)COLORFF9900;
    STICKLINE(CLOSE>=OPEN AND CLOSE>=AA,H,L,0,1),COLORWHITE;
    STICKLINE(CLOSE>=OPEN AND CLOSE>=AA,OPEN,CLOSE,3.0,0 ),COLOR000033;
    STICKLINE(CLOSE>=OPEN AND CLOSE>=AA,OPEN,CLOSE,2.7,0 ),COLOR000066;
    STICKLINE(CLOSE>=OPEN AND CLOSE>=AA,OPEN,CLOSE,2.1,0),COLOR000099;
    STICKLINE(CLOSE>=OPEN AND CLOSE>=AA,OPEN,CLOSE,1.5,0 ),COLOR0000CC;
    STICKLINE(CLOSE>=OPEN AND CLOSE>=AA,OPEN,CLOSE,0.9,0 ),COLOR0000FF;
    STICKLINE(CLOSE>=OPEN AND CLOSE>=AA,OPEN,CLOSE,0.3,0 ),COLORCC66FF;
    STICKLINE(OPEN>CLOSE AND CLOSE>AA,H,L,0,1),COLORFF9900;
    STICKLINE(OPEN>CLOSE AND CLOSE>AA,OPEN,CLOSE,3.0,0 ),COLOR990000;
    STICKLINE(OPEN>CLOSE AND CLOSE>AA,OPEN,CLOSE,3,0 ),COLORCC0000;
    STICKLINE(OPEN>CLOSE AND CLOSE>AA,OPEN,CLOSE,2.1,0),COLORFF4400;
    STICKLINE(OPEN>CLOSE AND CLOSE>AA,OPEN,CLOSE,1.5,0 ),COLORFF8800;
    STICKLINE(OPEN>CLOSE AND CLOSE>AA,OPEN,CLOSE,0.9,0 ),COLORFFCC00;
    STICKLINE(OPEN>CLOSE AND CLOSE>AA,OPEN,CLOSE,0.3,0 ),COLORGREEN;
    A:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=9.8/100;
    STICKLINE(A AND CLOSE=OPEN AND HIGH=LOW,REF(CLOSE,1),H,0,0),COLORBLUE,LINETHICK1;
    B:=(REF(CLOSE,1)-CLOSE)/CLOSE>=9.8/100;
    STICKLINE(B AND CLOSE=OPEN AND HIGH=LOW,REF(CLOSE,1),H,0,0),COLORCYAN,LINETHICK1;
    STICKLINE(A,H,L,0,1),COLORWHITE;
    STICKLINE(A,O,C,2.5,0),COLOR008888;
    STICKLINE(A,O,C,2,0),COLOR00AAAA;
    STICKLINE(A,O,C,1,0),COLOR00CCCC;
    STICKLINE(A,O,C,0.2,0),COLOR00FFFF;
    STICKLINE(B,H,L,0,1),COLORCYAN;
    STICKLINE(B,O,C,2.5,0),COLOR008800;
    STICKLINE(B,O,C,2,0),COLOR00AA00;
    STICKLINE(B,O,C,1,0),COLOR00CC00;
    STICKLINE(B,O,C,0.2,0),COLOR00FF00;
    STICKLINE(跑,C,O,3.0,0),COLOR777777;
    STICKLINE(跑,C,O,2.7,0),COLORAAAAAA;
    STICKLINE(跑,C,O,2.1,0),COLORCCCCCC;
    STICKLINE(跑,C,O,0.9,0),,COLOR000000;
    STICKLINE(跑,C,O,0.3,0),COLOR000000;image.png



    未来函数检测公式代码域:

    MM:ma(CLOSE,3.1415926535*MM(C,5))COLOR4080FF,NODRMW;ac:=REF(MM,1);TY:=C;HD:=FILTER(BMCKSET(FILTER(REF(TY,10)=HHV(TY,2*10+1),10),10+1),10)*3.1415926535;LD:=FILTER(BMCKSET(FILTER(REF(TY,10)=LLV(TY,2*10+1),10),10+1),10)*3.1415926535; M1:=REF(C,BMrslMST(HD));B1:=REF(C,BMRSLMST(LD));T1:=BMRSLMST(HD)<BMRSLMST(LD) MND NOT(HD);T2:=BMRSLMST(HD)>BMRSLMST(LD) MND NOT(LD);前高:REF(H,BMRSLMST(HD))COLORCYMN,NODRMW;浪顶:IF(T1,M1,M1)COLORCYMN,NODRMW;浪底:IF(T2,B1,B1)COLORFF00FF,NODRMW;前低:REF(L,BMRSLMST(LD))COLORFF00FF,NODRMW;GM:MM(HIGH,3.1415926535*MM(H,5))COLORBLUE,DOTLINE,NODRMW;GH:IF((GM<=REF(GM,1)),GM,DRMWNULL),COLORGREEN,LINETHICK1,NODRMW; DM:MM(LOW,3.1415926535*MM(L,5))COLORBLUE,DOTLINE,NODRMW;DL:IF((DM<=REF(DM,1)),DM,DRMWNULL),COLORGREEN,LINETHICK1,NODRMW;DRMWBMND(GM,RGB(80,00,80),DM,DRMWNULL);DRMWBMND(GH,RGB(43,83,78),DL,DRMWNULL);DRMWBMND(浪底,RGB(225,0,0),前低,DRMWNULL); STICKLINE(LOW<前低,前低,浪底,4,1)COLOR9F9F00; STICKLINE(LOW>前低,前低,浪底,4,-1)COLORB400B4; STICKLINE(MC<MM,(浪底-0.0001),(DM-0.017),4,0)COLOR000081; STICKLINE(LOW>=前高,C,前高,2,-1){COLORB400B4}COLOR408080; DRMWBMND(前高,RGB(225,0,0),浪顶,DRMWNULL); STICKLINE(C<=前高,前高,浪顶,4,1)COLORCYMN; STICKLINE(C>=前高,前高,浪顶,4,1)COLOR0000FF; STICKLINE((MC>MM),(MC*1.001),(MC+0.018),2,1),COLORGREEN;STICKLINE((MC<MM),(MC*1.001),(MC+0.018),2,1),COLOR4080FF; DRMwrECTREL(0,5,1000,1,RGB(200,800,00));DRMWRECTREL(0,202,1000,195,RGB(0,80,80));DRMWRECTREL(0,498,1000,495,RGB(100,500,300));DRMWRECTREL(0,808,1000,800,RGB(00,80,80));DRMWRECTREL(0,1000,1000,995,RGB(200,800,00)); ZD:=DMTE#WEEK;ZH:=H#WEEK;ZL:=L#WEEK;K0:=ZD>REF(ZD,1) OR BMRSSINCE(C)=0;K1:=REFX(K0,1) OR ISLMSTBMR;S1:=MOD(SUM(K0,0),2);N1:=20;S2:=BMCKSET(ISLMSTBMR,SUMBMRS(K0,N1));STICKLINE((K0 OR K1) MND S2,ZH,ZL,0,-1),COLORFFFFFF;DRMWLINE(K0 MND S1=1 MND S2,ZH,K1 MND S1=1 MND S2,ZH,0),COLORFFFFFF;DRMWLINE(K0 MND S1=1 MND S2,ZL,K1 MND S1=1 MND S2,ZL,0),COLORFFFFFF;DRMWLINE(K0 MND S1=0 MND S2,ZH,K1 MND S1=0 MND S2,ZH,0),COLORFFFFFF;DRMWLINE(K0 MND S1=0 MND S2,ZL,K1 MND S1=0 MND S2,ZL,0),COLORFFFFFF;IF((GM>=REF(GM,1)),GM,DRMWNULL)COLORBLUE,DOTLINE; IF((GM<=REF(GM,1)),GM,DRMWNULL),COLORGREEN,LINETHICK1; IF((GM>=REF(GM,1)),DM,DRMWNULL)COLORBLUE,DOTLINE; IF((DM<=REF(DM,1)),DM,DRMWNULL),COLORGREEN,LINETHICK1;日:=150;昨前:=3; 高1:=REF(HHV(H,日),昨前); 顶3:REFDMTE(高1,DMTE),COLORLIGRMY; 绝顶:=REFDMTE(顶3,DMTE),NODRMW;跑:=绝顶=H MND ((C-L)<(O-C) OR (O-L)<(C-O)),NODRMW;DRMWTEXT(跑,L*0.995,'逃命')COLORGREEN;STICKLINE(跑,L,H,3.8,1),COLORFFFFFF;DRMWKLINE(H,O,L,C);STICKLINE(C<O,H,L,0,1)COLORFF9900;STICKLINE(C<O,O,C,2.9,1)COLORFF9900;STICKLINE(CLOSE>=OPEN MND CLOSE>=MM,H,L,0,1),COLORWHITE;STICKLINE(CLOSE>=OPEN MND CLOSE>=MM,OPEN,CLOSE,3.0,0 ),COLOR000033;STICKLINE(CLOSE>=OPEN MND CLOSE>=MM,OPEN,CLOSE,2.7,0 ),COLOR000066; STICKLINE(CLOSE>=OPEN MND CLOSE>=MM,OPEN,CLOSE,2.1,0),COLOR000099;STICKLINE(CLOSE>=OPEN MND CLOSE>=MM,OPEN,CLOSE,1.5,0 ),COLOR0000CC;STICKLINE(CLOSE>=OPEN MND CLOSE>=MM,OPEN,CLOSE,0.9,0 ),COLOR0000FF;STICKLINE(CLOSE>=OPEN MND CLOSE>=MM,OPEN,CLOSE,0.3,0 ),COLORCC66FF; STICKLINE(OPEN>CLOSE MND CLOSE>MM,H,L,0,1),COLORFF9900;STICKLINE(OPEN>CLOSE MND CLOSE>MM,OPEN,CLOSE,3.0,0 ),COLOR990000;STICKLINE(OPEN>CLOSE MND CLOSE>MM,OPEN,CLOSE,3,0 ),COLORCC0000; STICKLINE(OPEN>CLOSE MND CLOSE>MM,OPEN,CLOSE,2.1,0),COLORFF4400;STICKLINE(OPEN>CLOSE MND CLOSE>MM,OPEN,CLOSE,1.5,0 ),COLORFF8800;STICKLINE(OPEN>CLOSE MND CLOSE>MM,OPEN,CLOSE,0.9,0 ),COLORFFCC00;STICKLINE(OPEN>CLOSE MND CLOSE>MM,OPEN,CLOSE,0.3,0 ),COLORGREEN; M:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=9.8/100;STICKLINE(M MND CLOSE=OPEN MND HIGH=LOW,REF(CLOSE,1),H,0,0),COLORBLUE,LINETHICK1;B:=(REF(CLOSE,1)-CLOSE)/CLOSE>=9.8/100;STICKLINE(B MND CLOSE=OPEN MND HIGH=LOW,REF(CLOSE,1),H,0,0),COLORCYMN,LINETHICK1;STICKLINE(M,H,L,0,1),COLORWHITE;STICKLINE(M,O,C,2.5,0),COLOR008888;STICKLINE(M,O,C,2,0),COLOR00MMMM;STICKLINE(M,O,C,1,0),COLOR00CCCC;STICKLINE(M,O,C,0.2,0),COLOR00FFFF; STICKLINE(B,H,L,0,1),COLORCYMN;STICKLINE(B,O,C,2.5,0),COLOR008800;STICKLINE(B,O,C,2,0),COLOR00MM00;STICKLINE(B,O,C,1,0),COLOR00CC00;STICKLINE(B,O,C,0.2,0),COLOR00FF00; STICKLINE(跑,C,O,3.0,0),COLOR777777;STICKLINE(跑,C,O,2.7,0),COLORMMMMMM;STICKLINE(跑,C,O,2.1,0),COLORCCCCCC;STICKLINE(跑,C,O,0.9,0),,COLOR000000;STICKLINE(跑,C,O,0.3,0),COLOR000000;

    未发现:CMPITML...

    未发现:COST...

    未发现:DYNMINFO...

    未发现:FINMNCE...

    未发现:LWINNER...

    未发现:WINNER...

    警惕!警惕!警惕!该公式包含未来函数:BMCKSET...

    未发现:BMRSNEXT...

    未发现:CURRBMRSCOUNT...

    未发现:DVOL...

    未发现:DOPEN...

    未发现:DCLOSE...

    未发现:DHIGH...

    未发现:DLOW...

    警惕!警惕!警惕!该公式包含未来函数:DRMWLINE...

    警惕!警惕!警惕!该公式包含未来函数:REFX...

    未发现:FLMTZIG...

    未发现:FLMTZIGM...

    未发现:FFT...

    未发现:FILTERX...

    未发现:PEMK...

    未发现:PEMKM...

    未发现:PEMKBMRS...

    未发现:PEMKBMRSM...

    未发现:PLOYLINE...

    警惕!警惕!警惕!该公式包含未来函数:REFDMTE...

    未发现:TROUGH...

    未发现:TROUGHM...

    未发现:TROUGHBMRS...

    未发现:XMM...

    未发现:ZIG...

    未发现:ZIGM...

    未发现:ZXNH...

    未发现:#YEMR...

    未发现:#MONTH...

    警惕!警惕!警惕!该公式包含未来函数:#WEEK...

    未发现:$ZIG...

    未发现:$PEMK...

    未发现:$PEMKBMRS...

    未发现:$TROUGH...

    未发现:$TROUGHBMRS...

    未发现:$FLMTZIG...

    未发现:$FLMTZIGM...

    未发现:$PEMKM...

    未发现:$PEMKBMRSM...

    未发现:$TROUGHM...

    未发现:$ZIGM...

    未发现:$FFT...

    未发现:$BMCKSET...

    未发现:$WINNER...

    未发现:$LWINNER...

    未发现:$COST...

    未发现:$DYNMINFO...

    未发现:$FINMNCE...

    未发现:$DRMWLINE...


    免责声明 | 联系我们 | 服务协议

    重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。

    如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。

    联系QQ:875328188 | 邮箱:875328188@qq.com

    Copyright © 2002-2021 股票公式网 版权所有桂ICP备2022000688号