股资源-股票学习站-学炒股-股票课程-炒股教程-分析选股指标-入门基础知识

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
    上一主题 下一主题

    [通达信] 「指标」飞狐《台湾预测K线》改通达信

     
        [-----复制链接-----]

    22万

    主题

    22万

    帖子

    14

    精华

    积分
    11040
    楼主
    2024-3-1 14:15:11
    【资料名称】:飞狐《台湾预测K线》改通达信介绍
    【资料描述】:

    飞狐《台湾预测K线》改通达信

    飞狐《台湾预测K线》
    HH:=H; LL:=L; OO:=O; CC:=C;
    <%
    vh=ffl.vardata("hh")
    vl=ffl.vardata("ll")
    vo=ffl.vardata("oo")
    vc=ffl.vardata("cc")
    last=ubound(vh)
    if last<101 then
    b=last+1
    else
    b=0
    for i=last-101 to last-51
    vh(i)=vh(i+51)
    vl(i)=vl(i+51)
    vo(i)=vo(i+51)
    vc(i)=vc(i+51)
    next
    a=(vh(last-51)+vl(last-51))/2
    j=1
    for i=last-49 to last
    j=j+2
    vh(i)=2*a-vl(i-j)
    vl(i)=2*a-vh(i-j)
    vo(i)=2*a-vc(i-j)
    vc(i)=2*a-vo(i-j)
    next
    end if
    ffl.vardata("hh")=vh
    ffl.vardata("ll")=vl
    ffl.vardata("oo")=vo
    ffl.vardata("cc")=vc
    ffl.varstartindex("hh")=b
    ffl.varstartindex("ll")=b
    ffl.varstartindex("oo")=b
    ffl.varstartindex("cc")=b
    %>
    A:=BACKSET(ISLASTBAR,50);
    STICKLINE(A AND CC>=OO,OO,CC,6,1),COLORMAGENTA,SHIFT50;
    STICKLINE(A AND CC>=OO,LL,OO,0.1,1),COLORMAGENTA,SHIFT50;
    STICKLINE(A AND CC>=OO,CC,HH,0.1,1),COLORMAGENTA,SHIFT50;
    STICKLINE(A AND CC<OO,OO,CC,6,0),COLORGREEN,SHIFT50;
    STICKLINE(A AND CC<OO,LL,HH,0.1,0),COLORGREEN,SHIFT50;
    VERTLINE(ISLASTBAR),COLORYELLOW,POINTDOT;
    Var1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
    Var2:=REF(Var1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
    Var3:=REF(Var2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
    Var4:=REF(Var3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
    Var5:=REF(Var4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
    Var6:=REF(Var5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
    Var7:=REF(Var6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
    Var8:=REF(Var7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
    Var9:=REF(Var8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
    VarA:=REF(Var9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
    VarB:=REF(VarA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
    VarC:=REF(VarB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
    STICKLINE(Var1 OR Var2 OR Var3 OR Var4 OR Var5 OR Var6 OR Var7 OR Var8 OR Var9 OR VarA OR VarB OR VarC,CLOSE,REF(CLOSE,1),8,1),COLORRED;
    VarD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
    VarE:=REF(VarD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
    VarF:=REF(VarE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
    Var10:=REF(VarF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
    Var11:=REF(Var10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
    Var12:=REF(Var11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
    Var13:=REF(Var12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
    Var14:=REF(Var13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
    Var15:=REF(Var14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
    Var16:=REF(Var15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
    Var17:=REF(Var16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
    Var18:=REF(Var17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
    STICKLINE(VarD OR VarE OR VarF OR Var10 OR Var11 OR Var12 OR Var13 OR Var14 OR Var15 OR Var16 OR Var17 OR Var18,CLOSE,REF(CLOSE,1),8,0);
    Var19:=REF(VarD OR VarE OR VarF OR Var10 OR Var11 OR Var12 OR Var13 OR Var14 OR Var15 OR Var16 OR Var17 OR Var18,1) AND Var1;
    STICKLINE(Var19,REF(CLOSE,1),REF(CLOSE,2),8,0), ;
    Var1A:=REF(Var1 OR Var2 OR Var3 OR Var4 OR Var5 OR Var6 OR Var7 OR Var8 OR Var9 OR VarA OR VarB OR VarC,1) AND VarD;
    STICKLINE(Var1A,REF(CLOSE,1),REF(CLOSE,2),8,1), ;





    gd33147


    【下载地址隐藏】:                    点:回复可见地址
    游客,如果您要查看本帖隐藏内容请回复






    上一篇:「指标」波段战神SKD每年翻倍很简单
    下一篇:「指标」看清主力动向的成交量
    回复

    举报

    QQ|

    GMT+8, 2024-11-15 16:26

    快速回复 返回顶部 返回列表