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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
    上一主题 下一主题

    [大智慧] 「指标」时间顺序TS指标(源码)


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

    22万

    主题

    22万

    帖子

    14

    精华

    积分
    11040
    楼主
    2024-3-22 20:17:23
    【资料名称】:时间顺序TS指标(源码)介绍
    【资料描述】:

    时间顺序TS指标(源码)

    {时间顺序}
    a:="STSFunc@CALSTSL";
    R1:="STSFunc@STS_RISK1";
    R2:="STSFunc@STS_RISK2";
    S1:="STSFunc@STS_STS1";
    S2:="STSFunc@STS_STS2";
    TBS:="STSFunc@STS_STSBS";
    DN:="STSFunc@STS_STSDN";
    UP:="STSFunc@STS_STSUP";
    压力位:UP,linethick0,color0000ff,PRECIS2;
    支撑位:DN,linethick0,color00ff00,PRECIS2;
    警示位:IF(R1<>0,ABS(R1),IF(R2<>0,ABS(R2),0)),linethick0,colorff00ff,PRECIS2;
    DRAWLINE(UP>0,UP,UP<>REF(UP,1) OR C=DYNAINFO(7),REF(ABS(UP),1),0),dotline,color0000ff,LINETHICK1;
    DRAWLINE(DN>0,DN,DN<>REF(DN,1) OR C=DYNAINFO(7),REF(ABS(DN),1),0),dotline,color00ff00,LINETHICK1;
    DRAWLINE(UP<0,-UP,UP<>REF(UP,1) OR C=DYNAINFO(7),REF(ABS(UP),1),0),color0000ff;
    DRAWLINE(DN<0,-DN,DN<>REF(DN,1) OR C=DYNAINFO(7),REF(ABS(DN),1),0),color00ff00;
    DRAWLINE(R1>0,R1,R1<>REF(R1,1) OR C=DYNAINFO(7),REF(ABS(R1),1),0),dotline,colorEE88ff;
    DRAWLINE(R2>0,R2,R2<>REF(R2,1) OR C=DYNAINFO(7),REF(ABS(R2),1),0),dotline,colorEE88ff;
    DRAWLINE(R1<0,-R1,R1<>REF(R1,1) OR C=DYNAINFO(7),REF(ABS(R1),1),0),colorEE88ff;
    DRAWLINE(R2<0,-R2,R2<>REF(R2,1) OR C=DYNAINFO(7),REF(ABS(R2),1),0),colorEE88ff;
    drawbmp(TBS=1,l*0.96,'STSbuy1.bmp'),align1,valign0;
    drawbmp(TBS=-1,h*1.06,'STSsell1.bmp'),align1,valign0;
    drawbmp(S2=14,l*0.94,'STSbuy.bmp'),align1,valign0;
    drawbmp(S2=-14,h*1.08,'STSsell.bmp'),align1,valign0;
    drawtext(S1>0,L,STR(S1)),color00FF00,LINETHICK1,align1,valign0;
    drawtext(S1<0,H*1.023,STR(-S1)),color00FF00,LINETHICK1,align1,valign0;
    drawtext(S2>0 and S2<13,l*0.97,STR(S2)),color0000FF,LINETHICK1,align1,valign0;
    drawtext(S2<0 and S2>-13,H*1.025,STR(-S2)),color0000FF,LINETHICK1,align1,valign0;
    drawtext(S2=13,l*0.97,'+'),color0000FF,LINETHICK1,align1,valign0;
    drawtext(S2=14,l*0.97,'13'),color0000FF,LINETHICK1,align1,valign0;
    drawtext(S2=-13,h*1.05,'+'),color0000FF,LINETHICK1,align1,valign0;
    drawtext(S2=-14,h*1.05,'13'),color0000FF,LINETHICK1,align1,valign0;
     





    gd7541


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






    上一篇:「指标」多周期超赢(附件未加密)
    下一篇:「指标」大智慧决策组合--公式(主图、副图)
    回复

    举报

    QQ|

    GMT+8, 2024-11-10 11:20

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