• 网站首页
  • 股票知识
  • 股票公式
  • 散户炒股
  • 问答百科
  • 缠中说禅
  • 概念股
  • 【股票入门与技巧】【通达信】简睿震谱主图指标公式

    发布时间: 2020-03-22 07:49 首页:股票一点通>股票公式>通达信公式> 阅读()

    波:=73;NA:=25;
    NC:=3; NB:=IF(NA>10,10,NC);
    CURR:=CURRBARSCOUNT; SS:=PERIOD;
    AA:=REF(H,NA)=HHV(H,2*NA+1);
    QY:=BACKSET(AA,NA+1);
    CC:=FILTER(QY,NA) AND H=HHV(H,NA+1);
    DDD:=BARSLAST(CC);
    GDTS:=IF(CC,CURR,0);
    DINGBU:=IF(DDD,REF(H,DDD),H);{顶部}
    DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS);
    DINGBU1:=REF(DINGBU,DDD+1);
    GDCS1:=CONST(DINGBUTS);
    DINGBUTS1:=REF(DINGBUTS,DDD+1);
    GDCS2:=CONST(DINGBUTS1);
    AA1:=REF(L,NA)=LLV(L,2*NA+1);
    QY1:=BACKSET(AA1,NA+1);
    CC1:=FILTER(QY1,NA) AND L=LLV(L,NA+1);
    DD1:=BARSLAST(CC1);
    DDTS:=IF(CC1,CURR,0);
    DDTS1:=IF(DD1,REF(DDTS,DD1),DDTS);
    DDCS1:=CONST(DDTS1);
    DDTS2:=REF(DDTS1,DD1+1);
    DDCS2:=CONST(DDTS2);
    LAA:=REF(H,NB)=HHV(H,2*NB+1);
    LQY:=BACKSET(LAA,NB+1);
    LCC:=FILTER(LQY,NB) AND H=HHV(H,NB+1);
    LDDD:=BARSLAST(LCC);
    LGDTS:=IF(LCC,CURR,0);
    LDINGBU:=IF(LDDD,REF(H,LDDD),H);{顶部}
    LDINGBUTS:=IF(LDDD,REF(LGDTS,LDDD),LGDTS);
    LDINGBU1:=REF(LDINGBU,LDDD+1);
    LGDCS1:=CONST(LDINGBUTS);
    LDINGBUTS1:=REF(LDINGBUTS,LDDD+1);
    LGDCS2:=CONST(LDINGBUTS1);
    LAA1:=REF(L,NB)=LLV(L,2*NB+1);
    LQY1:=BACKSET(LAA1,NB+1);
    LCC1:=FILTER(LQY1,NB) AND L=LLV(L,NB+1);
    LDD1:=BARSLAST(LCC1);
    LDDTS:=IF(LCC1,CURR,0);
    LDDTS1:=IF(LDD1,REF(LDDTS,LDD1),LDDTS);
    LDDCS1:=CONST(LDDTS1);
    LDDTS2:=REF(LDDTS1,LDD1+1);
    LDDCS2:=CONST(LDDTS2);
    LLAA:=REF(H,NC)=HHV(H,2*NC+1);
    LLQY:=BACKSET(LLAA,NC+1);
    LLCC:=FILTER(LLQY,NC) AND H=HHV(H,NC+1);
    LLDDD:=BARSLAST(LLCC);
    LLGDTS:=IF(LLCC,CURR,0);
    LLDINGBU:=IF(LLDDD,REF(H,LLDDD),H);{顶部}
    LLDINGBUTS:=IF(LLDDD,REF(LLGDTS,LLDDD),LLGDTS);
    LLDINGBU1:=REF(LLDINGBU,LLDDD+1);
    LLGDCS1:=CONST(LLDINGBUTS);
    LLDINGBUTS1:=REF(LLDINGBUTS,LLDDD+1);
    LLGDCS2:=CONST(LLDINGBUTS1);
    LLDINGBU2:=REF(LLDINGBU1,LLDDD+1);
    LLAA1:=REF(L,NC)=LLV(L,2*NC+1);
    LLQY1:=BACKSET(LLAA1,NC+1);
    LLCC1:=FILTER(LLQY1,NC) AND L=LLV(L,NC+1);
    LLDD1:=BARSLAST(LCC1);
    LLDDTS:=IF(LLCC1,CURR,0);
    LLDDTS1:=IF(LLDD1,REF(LLDDTS,LLDD1),LDDTS);
    LLDDCS1:=CONST(LLDDTS1);
    LLDDTS2:=REF(LLDDTS1,LLDD1+1);
    LLDDCS2:=CONST(LLDDTS2);
    长G1:=CONST(DRAWLINE(CURR=GDCS1,H,REF(CURR,1)=GDCS1,REF(H,1),1));
    长G2:=CONST(DRAWLINE(CURR=GDCS2,H,REF(CURR,1)=GDCS2,REF(H,1),1));
    长D1:=CONST(DRAWLINE(CURR=DDCS1,L,REF(CURR,1)=DDCS1,REF(L,1),1));
    长D2:=CONST(DRAWLINE(CURR=DDCS2,L,REF(CURR,1)=DDCS2,REF(L,1),1));
    中G1:=CONST(DRAWLINE(CURR=LGDCS1,H,REF(CURR,1)=LGDCS1,REF(H,1),1));
    中G2:=CONST(DRAWLINE(CURR=LGDCS2,H,REF(CURR,1)=LGDCS2,REF(H,1),1));
    中D1:=CONST(DRAWLINE(CURR=LDDCS1,L,REF(CURR,1)=LDDCS1,REF(L,1),1));
    中D2:=CONST(DRAWLINE(CURR=LDDCS2,L,REF(CURR,1)=LDDCS2,REF(L,1),1));
    短G1:=CONST(DRAWLINE(CURR=LLGDCS1,H,REF(CURR,1)=LLGDCS1,REF(H,1),1));
    短G2:=CONST(DRAWLINE(CURR=LLGDCS2,H,REF(CURR,1)=LLGDCS2,REF(H,1),1));
    短D1:=CONST(DRAWLINE(CURR=LLDDCS1,L,REF(CURR,1)=LLDDCS1,REF(L,1),1));
    短D2:=CONST(DRAWLINE(CURR=LLDDCS2,L,REF(CURR,1)=LLDDCS2,REF(L,1),1));
    短G:=CONST(FINDHIGH(H,0,5,1));
    短D:=CONST(FINDLOW(L,0,5,1));
    XAM:=CONST(MAX(MAX(MAX(MAX(MAX(长G1,H),MAX(长G2,H)),MAX(MAX(中G1,H),MAX(中G2,H))),
    MAX(MAX(短G1,H),MAX(短G2,H))),MAX(短G,H)));
    XIM:=CONST(MIN(MIN(MIN(MIN(MIN(长D1,L),MIN(长D2,L)),MIN(MIN(中D1,L),MIN(中D2,L))),
    MIN(MIN(短D1,L),MIN(短D2,L))),MIN(短D,L)));
    股票低天:=IF(长D1=XIM,DDCS1,IF(长D2=XIM,DDCS2,IF(中D1=XIM,LDDCS1,
    IF(中D2=XIM,LDDCS2,IF(短D1=XIM,LLDDCS1,IF(短D=XIM,BARSLAST(短D=XIM)+1,LLDDCS2))))));
    股票高天:=IF(长G1=XAM,GDCS1,IF(长G2=XAM,GDCS2,IF(中G1=XAM,LGDCS1,
    IF(中G2=XAM,LGDCS2,IF(短G1=XAM,LLGDCS1,IF(短G=XAM,BARSLAST(短G=XAM)+1,LLGDCS2))))));
    高低距:=CONST(XAM)-CONST(XIM);
    天距:=(IF(股票高天>股票低天,股票高天,股票低天)-IF(股票高天>股票低天,股票低天,股票高天));
    PR:=IF(股票高天>股票低天,股票高天,股票低天);
    RN:=IF(股票高天>股票低天,CONST(XAM),CONST(XIM));
    BX:=230/天距; BY:=100/高低距;
    XW:=IF(CURR股票低天,高低,低高),COLOR8E2368,LINETHICK2;
    DRAWBAND(高低线,RGB(125,26,199),高低线,RGB(125,26,199));
    距线1:=DRAWLINE(CURR=股票高天,XIM,CURR=股票低天,XIM,0);
    距线2:=DRAWLINE(CURR=股票低天,XIM,CURR=股票高天,XIM,0);
    STICKLINE(CURR=股票高天,XIM,XAM,0,0),COLOR8E2368;
    距线:=IF(股票高天>股票低天,距线1,距线2),COLOR8E2368,LINETHICK2;
    DRAWBAND(距线,RGB(125,26,199),距线,RGB(125,26,199));
    YWA:=IF(XW

    特别声明:文章内容仅供参考,不造成任何投资建议。投资者据此操作,风险自担。

    网站首页-股票知识--股票公式-散户炒股-问答百科--缠中说禅-概念股

    未经本站书面特别授权,请勿转载或建立镜像

    Copyright @ 2020 All Rights Reserved.版权所有 XMl地图
    Baidu
    map