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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
    上一主题 下一主题

    [通达信] 「指标」线里乾坤主图指标 源码 通达信 贴图


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

    22万

    主题

    22万

    帖子

    14

    精华

    积分
    11040
    楼主
    2024-1-15 10:19:43
    【资料名称】:线里乾坤主图指标 源码 通达信 贴图介绍
    【资料描述】:

    线里乾坤主图指标 源码 通达信 贴图






    SJ:=IF(DATE+19000000<20191009,1,1);
    收盘线:C,NODRAW;
    飞龙线:SQRT(EMA(CLOSE,89)*COST(89))*SJ,LINETHICK2,COLORRED;
    抄底线:SQRT(EMA(CLOSE,89)*COST(5))*SJ,LINETHICK2,COLORGREEN;
    MA5:MA(C,5),COLORFFFFFF;
    MA10:MA(C,10),COLORYELLOW;
    MA20:MA(C,20),COLORFF80FF;
    MA30:MA(C,30),COLORGREEN;
    MA60:MA(C,60),COLOR800080;
    MA120:MA(C,120),COLORC09E7D;
    JJ:=(CLOSE+HIGH+LOW)/3;
    AA:=EMA(JJ,20);
    BB:=REF(AA,1);
    {出击:CROSS(AA,BB),COLORRED,LINETHICK0;}
    STICKLINE(AA>BB,AA,BB,2,0),COLORYELLOW,LINETHICK2;
    STICKLINE(AA<BB,BB,AA,2,0),COLORBLUE,LINETHICK2;
    XOPEN:=(REF(O,1)+REF(C,1))/2;
    XCLOSE:=CLOSE;
    XHIGH:=MAX(HIGH,XOPEN);
    XLOW:=MIN(LOW,XOPEN);
    VOLALITY:=MA(XHIGH-XLOW,8);
    凰线:=MA(XCLOSE,5)+VOLALITY/2;
    凤线:=MA(XCLOSE,5)-VOLALITY/2;
    BU:=CROSS(XCLOSE,凰线);
    SEL:=CROSS(凤线,XCLOSE);
    VAR1:=BARSLAST(BU);
    VAR2:=BARSLAST(SEL);
    A:=XCLOSE>XOPEN AND VAR1<VAR2 ;
    B:=XCLOSE<=XOPEN AND VAR1<VAR2;
    E:=XCLOSE<=XOPEN AND VAR1>VAR2;
    D:=XCLOSE>XOPEN AND VAR1>VAR2;
    DRAWICON(A AND NOT(REF(A,1) OR REF(B,1)),L*0.99,1),COLORRED;
    DRAWICON(E AND NOT(REF(E,1) OR REF(D,1)),H*1.01,2),COLORGREEN;
    STICKLINE(A AND NOT(REF(A,1) OR REF(B,1)),AA,BB,2,0),COLORRED,LINETHICK2;
    STICKLINE((BB>AA AND XCLOSE>XOPEN AND VAR1<VAR2 ) OR (BB>AA AND XCLOSE<=XOPEN AND VAR1<VAR2 ),AA,BB,2,0),COLORRED,LINETHICK2;
    STICKLINE((AA>BB AND XCLOSE>XOPEN AND VAR1<VAR2 AND REF(XCLOSE>XOPEN AND VAR1<VAR2,1)) OR (AA>BB AND XCLOSE<=XOPEN AND VAR1<VAR2 AND REF(XCLOSE>XOPEN AND VAR1<VAR2,1)),AA,BB,2,0),COLORYELLOW,LINETHICK2;
    STICKLINE((CROSS(BB,AA) AND E AND NOT(REF(E,1) OR REF(D,1))) OR (BB<AA AND E AND NOT(REF(E,1) OR REF(D,1))),AA,BB,2,0),COLORBLUE,LINETHICK2;
    STICKLINE((CROSS(AA,BB) AND E AND NOT(REF(E,1) OR REF(D,1))) OR (AA>BB AND E AND NOT(REF(E,1) OR REF(D,1))),AA,BB,2,0),COLORYELLOW,LINETHICK2;
    {涨停动因}
    DRAWTEXT_FIX(1,0.65,1,0,'涨停动因:');
    DRAWTEXT_FIX(1,0.7,1,0,EXTERNSTR(0,6))COLORMAGENTA;
    {公告摘要}
    DRAWTEXT_FIX(1,0,0.01,0,'公告摘要:');
    DRAWTEXT_FIX(1,0.05,0.01,0,EXTERNSTR(0,1))COLORMAGENTA;



    gd56995


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






    上一篇:「指标」波段趋势线副图指标 源码 通达信
    下一篇:「指标」MACD时间副图指标 源码 通达信 贴图
    回复

    举报

    QQ|

    GMT+8, 2024-11-15 13:35

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