最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 飞狐TD序列主图代码, 请大师优化!!

    正文概述    2024-04-14 15:23:04  

    飞狐版预言帝狄马克的TD序列主图(9,13数字序列)

    {主图分TD准备和TD13倒数两部分}

    {TD准备}

    A:=REF(C,1)>REF(C,4);

    AB:=C

    AA:=A AND AB;

    LS0:=BARSLAST(AA);

    LS11:=IF(1,LS0=1,AA);

    LS21:=IF(1,LLV(C,1)

    A1:=LS11 AND LS21;

    LS12:=IF(2,LS0=2,AA);

    LS22:=IF(2,LLV(C,2)

    A2:=LS12 AND LS22;

    LS13:=IF(3,LS0=3,AA);

    LS23:=IF(3,LLV(C,3)

    A3:=LS13 AND LS23;

    LS14:=IF(4,LS0=4,AA);

    LS24:=IF(4,LLV(C,4)

    A4:=LS14 AND LS24;

    LS15:=IF(5,LS0=5,AA);

    LS25:=IF(5,LLV(C,5)

    A5:=LS15 AND LS25;

    LS16:=IF(6,LS0=6,AA);

    LS26:=IF(6,LLV(C,6)

    A6:=LS16 AND LS26;

    LS17:=IF(7,LS0=7,AA);

    LS27:=IF(7,LLV(C,7)

    A7:=LS17 AND LS27;

    LS18:=IF(8,LS0=8,AA);

    LS28:=IF(8,LLV(C,8)

    A8:=LS18 AND LS28;

    LS19:=IF(9,LS0=9,AA);

    LS29:=IF(9,LLV(C,9)

    A9:=LS19 AND LS29;

    DRAWTEXT(A1,L-0.3,'1'),COLORGREEN;

    DRAWTEXT(A2,L-0.3,'2'),COLORGREEN;

    DRAWTEXT(A3,L-0.3,'3'),COLORGREEN;

    DRAWTEXT(A4,L-0.3,'4'),COLORGREEN;

    DRAWTEXT(A5,L-0.3,'5'),COLORGREEN;

    DRAWTEXT(A6,L-0.3,'6'),COLORGREEN;

    DRAWTEXT(A7,L-0.3,'7'),COLORGREEN;

    DRAWTEXT(A8,L-0.3,'8'),COLORGREEN;

    DRAWTEXT(A9,L-0.3,'9'),COLORFF00FF;

     

    {TD13次倒数}

    B:=C<=REF(L,2);

    LSP:=BARSLAST(A9);

    LS11A:=IF(1,LSP=1,B);

    LS21A:=IF(1,LLV(C,1)

    D1:=LS11A AND LS21A;

    LS12A:=IF(2,LSP=2,B);

    LS22A:=IF(2,LLV(C,2)

    D2:=LS12A AND LS22A;

    LS13A:=IF(3,LSP=3,B);

    LS23A:=IF(3,LLV(C,3)

    D3:=LS13A AND LS23A;

    LS14A:=IF(4,LSP=4,B);

    LS24A:=IF(4,LLV(C,4)

    D4:=LS14A AND LS24A;

    LS15A:=IF(5,LSP=5,B);

    LS25A:=IF(5,LLV(C,5)

    D5:=LS15A AND LS25A;

    LS16A:=IF(6,LSP=6,B);

    LS26A:=IF(6,LLV(C,6)

    D6:=LS16A AND LS26A;

    LS17A:=IF(7,LSP=7,B);

    LS27A:=IF(7,LLV(C,7)

    D7:=LS17A AND LS27A;

    LS18A:=IF(8,LSP=8,B);

    LS28A:=IF(8,LLV(C,8)

    D8:=LS18A AND LS28A;

    LS19A:=IF(9,LSP=9,B);

    LS29A:=IF(9,LLV(C,9)

    D9:=LS19A AND LS29A;

    LS10A:=IF(10,LSP=10,B);

    LS20A:=IF(10,LLV(C,10)

    D10:=LS10A AND LS20A;

    LS110A:=IF(11,LSP=11,B);

    LS210A:=IF(11,LLV(C,11)

    D11:=LS110A AND LS210A;

    LS120A:=IF(12,LSP=12,B);

    LS220A:=IF(12,LLV(C,12)

    D12:=LS120A AND LS220A;

    LS130A:=IF(13,LSP=13,B);

    LS230A:=IF(13,LLV(C,13)

    D13:=LS130A AND LS230A;

     

    DRAWTEXT(D1,L-0.6,'1'),COLORRED;

    DRAWTEXT(D2,L-0.6,'2'),COLORRED;

    DRAWTEXT(D3,L-0.6,'3'),COLORRED;

    DRAWTEXT(D4,L-0.6,'4'),COLORRED;

    DRAWTEXT(D5,L-0.6,'5'),COLORRED;

    DRAWTEXT(D6,L-0.6,'6'),COLORRED;

    DRAWTEXT(D7,L-0.6,'7'),COLORRED;

    DRAWTEXT(D8,L-0.6,'8'),COLORRED;

    DRAWTEXT(D9,L-0.6,'9'),COLORRED;

    DRAWTEXT(D10,L-0.6,'10'),COLORRED;

    DRAWTEXT(D11,L-0.6,'11'),COLORRED;

    DRAWTEXT(D12,L-0.6,'12'),COLORRED;

    DRAWTEXT(D13,L-0.6,'13'),COLORRED;
     


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 飞狐TD序列主图代码, 请大师优化!! 加入收藏