• 网站首页
  • 股票知识
  • 股票公式
  • 散户炒股
  • 问答百科
  • 缠中说禅
  • 概念股
  • 【股票入门与技巧】【同花顺】天堂缠论中枢主图指标公式

    发布时间: 2020-03-21 10:52 首页:股票一点通>股票公式>同花顺公式> 阅读()

    老笔:=1;
    MA7:MA(C,7),colorwhite;
    MA77:MA(C,77),colorlired;
    MA177:MA(C,177),colorliblue;
    G:=MA(C,5);
    D:=MA(C,10);
    HH:=REF(H,5)=HHV(H,11);
    LL:=REF(L,5)=LLV(L,11);
    FG01:=BACKSET(HH,6)>BACKSET(HH,5) ;
    FD01:=BACKSET(LL,6)>BACKSET(LL,5) ;
    FG02:=IF(BARSLAST(FG01)=BARSLAST(FD01) AND G>D,FG01,
    IF(BARSLAST(FD01)>BARSLAST(FG01),FG01,0));
    FD02:=IF(BARSLAST(FG01)=BARSLAST(FD01) AND D>G,FD01,
    IF(BARSLAST(FG01)>BARSLAST(FD01),FD01,0));
    FG0:=FG02 AND H=HHV(H,BARSLAST(FD02));
    FD0:=FD02 AND L=LLV(L,BARSLAST(FG02));
    GP:IF(FG0,H,DRAWNULL),CIRCLEDOT,colorcyan;
    DP:IF(FD0,L,DRAWNULL),CIRCLEDOT,colorcyan;
    GQ:=L>REF(H,1) AND DAY!=REF(DAY,1);
    DQ:=HFDZH AND FG0;
    FD1:=FDLFDH AND FGL>FDL AND FGL1>FDL;
    FD:=FD1 AND FDLBK);
    G1:=(FG0 AND REF(H,BARSLAST(FG0))>=REF(H,BARSLAST(G1X)) AND BARSLAST(D1X)>BARSLAST(G1X))
    OR (FG1 AND COUNT(GQ,BARSLAST(FD1))>0 AND REF(H,BARSLAST(FG1))>REF(H,BARSLAST(G1X)));
    D1:=(FD0 AND REF(L,BARSLAST(FD0))BARSLAST(D1X))
    OR (FD1 AND COUNT(DQ,BARSLAST(FG1))>0 AND REF(L,BARSLAST(FD1))BARSLAST(G1),REF(H,BARSLAST(G1)),REF(H,BARSLAST(D1))),;
    D1L:=IF(BARSLAST(G1)>BARSLAST(D1),REF(L,BARSLAST(D1)),REF(L,BARSLAST(G1)));
    G2:=G1 AND H=HHV(G1H,BARSLAST(D1)+1) AND H>REF(H,1) AND BARSLAST(D1)>BARSLAST(G1);
    D2:=D1 AND L=LLV(D1L,BARSLAST(G1)+1) AND LBARSLAST(D1);
    G3:=G2 OR (FG0 AND REF(H,BARSLAST(FG0))>REF(H,BARSLAST(G2)) AND BARSLAST(D2)>BARSLAST(G2));
    D3:=D2 OR (FD0 AND REF(L,BARSLAST(FD0))BARSLAST(D2));
    GPB:IF(G1X,H,DRAWNULL),CIRCLEDOT,coloryellow;
    DPB:IF(D1X,L,DRAWNULL),CIRCLEDOT,coloryellow;
    //画线
    NN:=G3;UU:=D3;
    L1:DRAWLINE(UU,L,NN, H,0),colorligreen;
    L2:DRAWLINE(NN,H,UU, L,0),colorligreen;
    //标示端点数值
    DRAWNUMBER(L1 AND L2 AND NN ,H,H),colorlired;
    DRAWNUMBER(L1 AND L2 AND UU ,L,L),colorlimagenta;

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

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

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

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