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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
    上一主题 下一主题

    [通达信] 「指标」通达信乖离量比副图指标 源码 贴图


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

    22万

    主题

    22万

    帖子

    14

    精华

    积分
    11040
    楼主
    2023-12-31 23:13:20
    【资料名称】:通达信乖离量比副图指标 源码 贴图介绍
    【资料描述】:

    通达信乖离量比副图指标 源码 贴图

    通达信乖离量比副图指标 源码 贴图

    利:IF(WINNER(CLOSE),WINNER(CLOSE)*100,20),COLOR0000FF,COLORFFCC00,COLORE67010,NODRAW;
    LC:=REF(CLOSE,1);
    RSI:SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,COLORCC3299,NODRAW;
    乖离4:=(CLOSE-MA(CLOSE,4))/MA(CLOSE,4)*100,COLORYELLOW,NODRAW;
    乖离6:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100,COLORYELLOW,NODRAW;
    乖离8:=(CLOSE-MA(CLOSE,8))/MA(CLOSE,8)*100,COLORYELLOW,NODRAW;
    乖离12:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100,COLORYELLOW,NODRAW;
    乖离24:(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100,COLORYELLOW,NODRAW;
    乖离:=IF(乖离24=DRAWNULL,乖离12,IF(乖离12=DRAWNULL,乖离8,IF(乖离8=DRAWNULL,乖离6,
    IF(乖离6=DRAWNULL,乖离4,乖离24)))),COLORYELLOW,NODRAW;

    RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
    K:=SMA(RSV,3,1),COLORWHITE;
    D:=SMA(K,3,1),COLORYELLOW;
    J:=3*K-2*D,COLORMAGENTA,NODRAW;
    DIF:=(EMA(C,12)-EMA(C,26))*100,NODRAW;
    DEA:=EMA(DIF,9),NODRAW;
    MACD:(DIF-DEA)*2,COLORMAGENTA,NODRAW;
    DRAWBAND(J,RGB(139,0,0),D,RGB(0,100,0));
    RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
    RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
    量比:IF(ISLASTBAR,DYNAINFO(17),V/REF(MA(V,5),1)),COLORCYAN,NODRAW;
    换10:SUM(VOL/CAPITAL*100,10),COLORYELLOW,NODRAW;
    总涨家:="999999$ADVANCE"+"399001$ADVANCE"; 总跌家:="999999$DECLINE"+"399001$DECLINE";
    黄柱:总涨家/(总涨家+总跌家)*100,COLORGREEN,NODRAW;

    乖离A:=IF(乖离>0,乖离*2,IF(乖离<0,乖离*2,乖离)),COLORYELLOW;
    STICKLINE(C>O,0,RSI,3,1),COLORRED;
    STICKLINE(C<=O,0,RSI,3,1),COLORGREEN,COLOR008800;
    STICKLINE(C>O,0,利,1.2,0),COLOR0000FF,COLOR000088;
    STICKLINE(C<=O,0,利,1.2,0),COLOR004000,COLORLICYAN;
    STICKLINE(乖离>0,0,乖离A,0.6,0),COLOR000088,COLORCC3299;

    紫柱:乖离A,COLORYELLOW,COLOR6699FF,COLORWHITE,LINETHICK;
    黄柱,COLORYELLOW,LINETHICK;

    {重画KDJ线}
    J,COLORMAGENTA,LINETHICK; J,COLORWHITE,DOTLINE;
    DD:=IF(CURRBARSCOUNT<=200,CONST(IF(ISLASTBAR=1,
    HHV(换10,BARSLAST(CURRBARSCOUNT=120)),1)),DRAWNULL),COLORBROWN,DOTLINE;
    DDB:=100/DD,COLOR0000FF,NODRAW;
    绿柱:IF(DDB>0,换10*DDB,IF(DDB>3,换10*DDB*0.6,IF(DDB<0,换10/DDB,DRAWNULL))),COLORYELLOW;
    绿柱,COLORFF6600,LINETHICK; 绿柱, COLORFFFF00 ,LINETHICK;


     






    gd61518


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






    上一篇:「指标」蛟龙出海大波段副图指标 源码 通达信 贴图
    下一篇:「指标」乖离极品底副图指标 源码 通达信 贴图
    回复

    举报

    QQ|

    GMT+8, 2024-11-10 01:59

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