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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
    上一主题 下一主题

    [通达信] 「指标」通达信龙虎榜副图/选股 指标/源码 贴图


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

    22万

    主题

    22万

    帖子

    14

    精华

    积分
    11040
    楼主
    2024-2-2 16:38:42
    【资料名称】:通达信龙虎榜副图/选股 指标/源码 贴图介绍
    【资料描述】:

    通达信龙虎榜副图/选股 指标/源码 贴图

    为方便需要者,直接公式和源码奉上,二者取一即可。不懂勿下!
    数据下载链接(别人的链接)

    一、主图
    {均线系统}
    M5:MA(CLOSE,5);
    M10:MA(CLOSE,10);
    M20:MA(CLOSE,20);
    M60:MA(CLOSE,60);
    M120:MA(CLOSE,120);
    M200:MA(CLOSE,200);
    STICKLINE(CLOSE/REF(C,1)>=1.097,O,C,1,0),COLORYELLOW;
    {龙虎榜}
    LHB:=SIGNALS_USER(490,0)-SIGNALS_USER(491,0); {龙虎榜净买入额}
    DRAWTEXT(LHB>0 AND LHB<10000,L*0.95,VARCAT(VARCAT('▲龙虎: ',VAR2STR(LHB,0)),'万')),COLORMAGENTA;
    DRAWTEXT(LHB>10000,L*0.95,VARCAT(VARCAT('▲龙虎: ',VAR2STR(LHB/10000,2)),'亿')),COLORMAGENTA;
    DRAWTEXT(LHB<0 AND LHB>-10000,L*0.95,VARCAT(VARCAT('▲龙虎: ',VAR2STR(LHB,0)),'万')),COLORGREEN;
    DRAWTEXT(LHB<-10000,L*0.95,VARCAT(VARCAT('▲龙虎: ',VAR2STR(LHB/10000,2)),'亿')),COLORGREEN;
    二、副图
    uu:0 1 0.97
    总买:=SIGNALS_USER(490,0);
    总卖:=-ABS(SIGNALS_USER(491,0));
    STICKLINE(总买>0,0,总买,0.5,0),COLORRED;
    STICKLINE(总卖<0,0,总卖,0.5,0),COLORGREEN;
    DRAWTEXT(总买>0 AND 总买<10000,总买/1.05,VARCAT(VARCAT('总买:',VAR2STR(总买,2)),'万'));
    DRAWTEXT(总买>10000,总买/1.05,VARCAT(VARCAT('总买:',VAR2STR(总买/10000,2)),'亿'));
    DRAWTEXT(总卖<0 AND 总卖>-10000,总卖/1.05,VARCAT(VARCAT('总卖:',VAR2STR(总卖,2)),'万'));
    DRAWTEXT(总卖<-10000,总卖/1.05,VARCAT(VARCAT('总卖:',VAR2STR(总卖/10000,2)),'亿'));
    上海金碧路_买:=SIGNALS_USER(1,0),NODRAW;
    上海金碧路_卖:=-ABS(SIGNALS_USER(2,0)),NODRAW;
    金碧路:SIGNALS_USER(1,0)-SIGNALS_USER(2,0),NODRAW;
    STICKLINE(上海金碧路_买>0,0,上海金碧路_买,0.5,0),COLORFF0080;
    STICKLINE(上海金碧路_卖<0,0,上海金碧路_卖,0.5,0),COLORFF0080;
    深圳益田路_买:=SIGNALS_USER(3,0),NODRAW;
    深圳益田路_卖:=-ABS(SIGNALS_USER(4,0)),NODRAW;
    益田路:SIGNALS_USER(3,0)-SIGNALS_USER(4,0),NODRAW;
    STICKLINE(深圳益田路_买>0,0,深圳益田路_买,0.5,0),COLORFF80FF;
    STICKLINE(深圳益田路_卖<0,0,深圳益田路_卖,0.5,0),COLORFF80FF;
    临安万马路_买:=SIGNALS_USER(5,0),NODRAW;
    临安万马路_卖:=-ABS(SIGNALS_USER(6,0)),NODRAW;
    万马路:SIGNALS_USER(5,0)-SIGNALS_USER(6,0),NODRAW;
    STICKLINE(临安万马路_买>0,0,临安万马路_买,0.5,0),COLORDB518B;
    STICKLINE(临安万马路_卖<0,0,临安万马路_卖,0.5,0),COLORDB518B;
    无锡清扬路_买:=SIGNALS_USER(7,0),NODRAW;
    无锡清扬路_卖:=-ABS(SIGNALS_USER(8,0)),NODRAW;
    清扬路:SIGNALS_USER(7,0)-SIGNALS_USER(8,0),NODRAW;
    STICKLINE(无锡清扬路_买>0,0,无锡清扬路_买,0.5,0),COLORFF0080;
    STICKLINE(无锡清扬路_卖<0,0,无锡清扬路_卖,0.5,0),COLORFF0080;
    成都南一环路_买:=SIGNALS_USER(9,0),NODRAW;
    成都南一环路_卖:=-ABS(SIGNALS_USER(10,0)),NODRAW;
    南一环路:SIGNALS_USER(9,0)-SIGNALS_USER(10,0),NODRAW;
    STICKLINE(成都南一环路_买>0,0,成都南一环路_买,0.5,0),COLORFF8000;
    STICKLINE(成都南一环路_卖<0,0,成都南一环路_卖,0.5,0),COLORFF8000;
    上海淮海中路_买:=SIGNALS_USER(11,0),NODRAW;
    上海淮海中路_卖:=-ABS(SIGNALS_USER(12,0)),NODRAW;
    上海淮海中路:SIGNALS_USER(11,0)-SIGNALS_USER(12,0),NODRAW;
    STICKLINE(上海淮海中路_买>0,0,上海淮海中路_买,0.5,0),COLORFF8000;
    STICKLINE(上海淮海中路_卖<0,0,上海淮海中路_卖,0.5,0),COLORFF8000;
    成都北一环_买:=SIGNALS_USER(13,0),NODRAW;
    成都北一环_卖:=-ABS(SIGNALS_USER(14,0)),NODRAW;
    成都北一环:SIGNALS_USER(13,0)-SIGNALS_USER(14,0),NODRAW;
    STICKLINE(成都北一环_买>0,0,成都北一环_买,0.5,0), COLOR1471CD;
    STICKLINE(成都北一环_卖<0,0,成都北一环_卖,0.5,0), COLOR1471CD;
    上海保定路_买:=SIGNALS_USER(15,0),NODRAW;
    上海保定路_卖:=-ABS(SIGNALS_USER(16,0)),NODRAW;
    上海保定路:SIGNALS_USER(15,0)+SIGNALS_USER(16,0),NODRAW;
    STICKLINE(上海保定路_买>0,0,上海保定路_买,0.5,0),COLORFFFF80;
    STICKLINE(上海保定路_卖<0,0,上海保定路_卖,0.5,0),COLORFFFF80;
    厦门厦禾路_买:=SIGNALS_USER(17,0),NODRAW;
    厦门厦禾路_卖:=-ABS(SIGNALS_USER(18,0)),NODRAW;
    厦禾路:SIGNALS_USER(17,0)-SIGNALS_USER(18,0),NODRAW;
    STICKLINE(厦门厦禾路_买>0,0,厦门厦禾路_买,0.5,0), COLOR800080;
    STICKLINE(厦门厦禾路_卖<0,0,厦门厦禾路_卖,0.5,0), COLOR800080;
    上海互联网路_买:=SIGNALS_USER(19,0),NODRAW;
    上海互联网路_卖:=-ABS(SIGNALS_USER(20,0)),NODRAW;
    上海互联网路:SIGNALS_USER(19,0)-SIGNALS_USER(20,0),NODRAW;
    STICKLINE(上海互联网路_买>0,0,上海互联网路_买,0.5,0),COLOR8080FF;
    STICKLINE(上海互联网路_卖<0,0,上海互联网路_卖,0.5,0),COLOR8080FF;
    上海武定路_买:=SIGNALS_USER(21,0),NODRAW;
    上海武定路_卖:=-ABS(SIGNALS_USER(22,0)),NODRAW;
    武定路:SIGNALS_USER(21,0)-SIGNALS_USER(22,0),NODRAW;
    STICKLINE(上海武定路_买>0,0,上海武定路_买,0.5,0),COLOR0080FF;
    STICKLINE(上海武定路_卖<0,0,上海武定路_卖,0.5,0),COLOR0080FF;
    上海古北路_买:=SIGNALS_USER(23,0),NODRAW;
    上海古北路_卖:=-ABS(SIGNALS_USER(24,0)),NODRAW;
    古北路:SIGNALS_USER(23,0)-SIGNALS_USER(24,0),NODRAW;
    STICKLINE(上海古北路_买>0,0,上海古北路_买,0.5,0),COLOR8000FF;
    STICKLINE(上海古北路_卖<0,0,上海古北路_卖,0.5,0),COLOR8000FF;
    机构专用_买:=SIGNALS_USER(498,0),NODRAW;
    机构专用_卖:=-ABS(SIGNALS_USER(499,0)),NODRAW;
    机构专用:SIGNALS_USER(498,0)-SIGNALS_USER(499,0),NODRAW;
    STICKLINE(机构专用_买>0,0,机构专用_买,0.5,0),COLOR00FFFF;
    STICKLINE(机构专用_卖<0,0,机构专用_卖,0.5,0),COLOR00FFFF;
    AB:=IF(总买!=DRAWNULL,1,UU),NODRAW;
    DRAWTEXT(临安万马路_买>0 AND 临安万马路_买<10000,临安万马路_买*AB,VARCAT(VARCAT('—临安万马路:',VAR2STR(临安万马路_买,2)),'万')),COLORYELLOW;
    DRAWTEXT(临安万马路_买>10000,临安万马路_买*AB,VARCAT(VARCAT('—临安万马路:',VAR2STR(临安万马路_买/10000,2)),'亿')),COLORYELLOW;
    DRAWTEXT(临安万马路_卖<0 AND 临安万马路_卖>-10000,临安万马路_卖*AB,VARCAT(VARCAT('—临安万马路:',VAR2STR(临安万马路_卖,2)),'万')),COLORYELLOW;
    DRAWTEXT(临安万马路_卖<-10000,临安万马路_卖*AB,VARCAT(VARCAT('—临安万马路:',VAR2STR(临安万马路_卖/10000,2)),'亿')),COLORYELLOW;
    DRAWTEXT(深圳益田路_买>0 AND 深圳益田路_买<10000,深圳益田路_买*AB,VARCAT(VARCAT('—深圳益田路:',VAR2STR(深圳益田路_买,2)),'万')),COLORYELLOW;
    DRAWTEXT(深圳益田路_买>10000,深圳益田路_买*AB,VARCAT(VARCAT('—深圳益田路:',VAR2STR(深圳益田路_买/10000,2)),'亿')),COLORYELLOW;
    DRAWTEXT(深圳益田路_卖<0 AND 深圳益田路_卖>-10000,深圳益田路_卖*AB,VARCAT(VARCAT('—深圳益田路:',VAR2STR(深圳益田路_卖,2)),'万')),COLORYELLOW;
    DRAWTEXT(深圳益田路_卖<-10000,深圳益田路_卖*AB,VARCAT(VARCAT('—深圳益田路:',VAR2STR(深圳益田路_卖/10000,2)),'亿')),COLORYELLOW;
    DRAWTEXT(机构专用_买>0 AND 机构专用_买<10000,机构专用_买*AB,VARCAT(VARCAT('—机构专用:',VAR2STR(机构专用_买,2)),'万')),COLORYELLOW;
    DRAWTEXT(机构专用_买>10000,机构专用_买*AB,VARCAT(VARCAT('—机构专用:',VAR2STR(机构专用_买/10000,2)),'亿')),COLORYELLOW;
    DRAWTEXT(机构专用_卖<0 AND 机构专用_卖>-10000,机构专用_卖*AB,VARCAT(VARCAT('—机构专用:',VAR2STR(机构专用_卖,2)),'万')),COLORYELLOW;
    DRAWTEXT(机构专用_卖<-10000,机构专用_卖*AB,VARCAT(VARCAT('—机构专用:',VAR2STR(机构专用_卖/10000,2)),'亿')),COLORYELLOW;
    DRAWTEXT(成都南一环路_买>0 AND 成都南一环路_买<10000,成都南一环路_买*AB,VARCAT(VARCAT('—成都南一环路:',VAR2STR(成都南一环路_买,2)),'万')),COLORYELLOW;
    DRAWTEXT(成都南一环路_买>10000,成都南一环路_买*AB,VARCAT(VARCAT('—成都南一环路:',VAR2STR(成都南一环路_买/10000,2)),'亿')),COLORYELLOW;
    DRAWTEXT(成都南一环路_卖<0 AND 成都南一环路_卖>-10000,成都南一环路_卖*AB,VARCAT(VARCAT('—成都南一环路:',VAR2STR(成都南一环路_卖,2)),'万')),COLORYELLOW;
    DRAWTEXT(成都南一环路_卖<-10000,成都南一环路_卖*AB,VARCAT(VARCAT('—成都南一环路:',VAR2STR(成都南一环路_卖/10000,2)),'亿')),COLORYELLOW;
    DRAWTEXT(成都北一环_买>0 AND 成都北一环_买<10000,成都北一环_买*AB,VARCAT(VARCAT('—成都北一环:',VAR2STR(成都北一环_买,2)),'万')),COLORYELLOW;
    DRAWTEXT(成都北一环_买>10000,成都北一环_买*AB,VARCAT(VARCAT('—成都北一环:',VAR2STR(成都北一环_买/10000,2)),'亿')),COLORYELLOW;
    DRAWTEXT(成都北一环_卖<0 AND 成都北一环_卖>-10000,成都北一环_卖*AB,VARCAT(VARCAT('—成都北一环:',VAR2STR(成都北一环_卖,2)),'万')),COLORYELLOW;
    DRAWTEXT(成都北一环_卖<-10000,成都北一环_卖*AB,VARCAT(VARCAT('—成都北一环:',VAR2STR(成都北一环_卖/10000,2)),'亿')),COLORYELLOW;
    DRAWTEXT(上海淮海中路_买>0 AND 上海淮海中路_买<10000,上海淮海中路_买*AB,VARCAT(VARCAT('—上海淮海中路:',VAR2STR(上海淮海中路_买,2)),'万')),COLORYELLOW;
    DRAWTEXT(上海淮海中路_买>10000,上海淮海中路_买*AB,VARCAT(VARCAT('—上海淮海中路:',VAR2STR(上海淮海中路_买/10000,2)),'亿')),COLORYELLOW;
    DRAWTEXT(上海淮海中路_卖<0 AND 上海淮海中路_卖>-10000,上海淮海中路_卖*AB,VARCAT(VARCAT('—上海淮海中路:',VAR2STR(上海淮海中路_卖,2)),'万')),COLORYELLOW;
    DRAWTEXT(上海淮海中路_卖<-10000,上海淮海中路_卖*AB,VARCAT(VARCAT('—上海淮海中路:',VAR2STR(上海淮海中路_卖/10000,2)),'亿')),COLORYELLOW;
    DRAWTEXT(上海互联网路_买>0 AND 上海互联网路_买<10000,上海互联网路_买*AB,VARCAT(VARCAT('—上海互联网路:',VAR2STR(上海互联网路_买,2)),'万')),COLORYELLOW;
    DRAWTEXT(上海互联网路_买>10000,上海互联网路_买*AB,VARCAT(VARCAT('—上海互联网路:',VAR2STR(上海互联网路_买/10000,2)),'亿')),COLORYELLOW;
    DRAWTEXT(上海互联网路_卖<0 AND 上海互联网路_卖>-10000,上海互联网路_卖*AB,VARCAT(VARCAT('—上海互联网路:',VAR2STR(上海互联网路_卖,2)),'万')),COLORYELLOW;
    DRAWTEXT(上海互联网路_卖<-10000,上海互联网路_卖*AB,VARCAT(VARCAT('—上海互联网路:',VAR2STR(上海互联网路_卖/10000,2)),'亿')),COLORYELLOW;
    DRAWTEXT(上海保定路_买>0 AND 上海保定路_买<10000,上海保定路_买*AB,VARCAT(VARCAT('—上海保定路:',VAR2STR(上海保定路_买,2)),'万')),COLORYELLOW;
    DRAWTEXT(上海保定路_买>10000,上海保定路_买*AB,VARCAT(VARCAT('—上海保定路:',VAR2STR(上海保定路_买/10000,2)),'亿')),COLORYELLOW;
    DRAWTEXT(上海保定路_卖<0 AND 上海保定路_卖>-10000,上海保定路_卖*AB,VARCAT(VARCAT('—上海保定路:',VAR2STR(上海保定路_卖,2)),'万')),COLORYELLOW;
    DRAWTEXT(上海保定路_卖<-10000,上海保定路_卖*AB,VARCAT(VARCAT('—上海保定路:',VAR2STR(上海保定路_卖/10000,2)),'亿')),COLORYELLOW;
    DRAWTEXT(厦门厦禾路_买>0 AND 厦门厦禾路_买<10000,厦门厦禾路_买*AB,VARCAT(VARCAT('—厦门厦禾路:',VAR2STR(厦门厦禾路_买,2)),'万')),COLORYELLOW;
    DRAWTEXT(厦门厦禾路_买>10000,厦门厦禾路_买*AB,VARCAT(VARCAT('—厦门厦禾路:',VAR2STR(厦门厦禾路_买/10000,2)),'亿')),COLORYELLOW;
    DRAWTEXT(厦门厦禾路_卖<0 AND 厦门厦禾路_卖>-10000,厦门厦禾路_卖*AB,VARCAT(VARCAT('—厦门厦禾路:',VAR2STR(厦门厦禾路_卖,2)),'万')),COLORYELLOW;
    DRAWTEXT(厦门厦禾路_卖<-10000,厦门厦禾路_卖*AB,VARCAT(VARCAT('—厦门厦禾路:',VAR2STR(厦门厦禾路_卖/10000,2)),'亿')),COLORYELLOW;
    DRAWTEXT(上海武定路_买>0 AND 上海武定路_买<10000,上海武定路_买*AB,VARCAT(VARCAT('—上海武定路:',VAR2STR(上海武定路_买,2)),'万')),COLORYELLOW;
    DRAWTEXT(上海武定路_买>10000,上海武定路_买*AB,VARCAT(VARCAT('—上海武定路:',VAR2STR(上海武定路_买/10000,2)),'亿')),COLORYELLOW;
    DRAWTEXT(上海武定路_卖<0 AND 上海武定路_卖>-10000,上海武定路_卖*AB,VARCAT(VARCAT('—上海武定路:',VAR2STR(上海武定路_卖,2)),'万')),COLORYELLOW;
    DRAWTEXT(上海武定路_卖<-10000,上海武定路_卖*AB,VARCAT(VARCAT('—上海武定路:',VAR2STR(上海武定路_卖/10000,2)),'亿')),COLORYELLOW;
    DRAWTEXT(上海金碧路_买>0 AND 上海金碧路_买<10000,上海金碧路_买*AB,VARCAT(VARCAT('—上海金碧路:',VAR2STR(上海金碧路_买,2)),'万')),COLORYELLOW;
    DRAWTEXT(上海金碧路_买>10000,上海金碧路_买*AB,VARCAT(VARCAT('—上海金碧路:',VAR2STR(上海金碧路_买/10000,2)),'亿')),COLORYELLOW;
    DRAWTEXT(上海金碧路_卖<0 AND 上海金碧路_卖>-10000,上海金碧路_卖*AB,VARCAT(VARCAT('—上海金碧路:',VAR2STR(上海金碧路_卖,2)),'万')),COLORYELLOW;
    DRAWTEXT(上海金碧路_卖<-10000,上海金碧路_卖*AB,VARCAT(VARCAT('—上海金碧路:',VAR2STR(上海金碧路_卖/10000,2)),'亿')),COLORYELLOW;
    DRAWTEXT(无锡清扬路_买>0 AND 无锡清扬路_买<10000,无锡清扬路_买*AB,VARCAT(VARCAT('—无锡清扬路:',VAR2STR(无锡清扬路_买,2)),'万')),COLORYELLOW;
    DRAWTEXT(无锡清扬路_买>10000,无锡清扬路_买*AB,VARCAT(VARCAT('—无锡清扬路:',VAR2STR(无锡清扬路_买/10000,2)),'亿')),COLORYELLOW;
    DRAWTEXT(无锡清扬路_卖<0 AND 无锡清扬路_卖>-10000,无锡清扬路_卖*AB,VARCAT(VARCAT('—无锡清扬路:',VAR2STR(无锡清扬路_卖,2)),'万')),COLORYELLOW;
    DRAWTEXT(无锡清扬路_卖<-10000,无锡清扬路_卖*AB,VARCAT(VARCAT('—无锡清扬路:',VAR2STR(无锡清扬路_卖/10000,2)),'亿')),COLORYELLOW;
    DRAWTEXT(上海古北路_买>0 AND 上海古北路_买<10000,上海古北路_买*AB,VARCAT(VARCAT('—上海古北路:',VAR2STR(上海古北路_买,2)),'万')),COLORYELLOW;
    DRAWTEXT(上海古北路_买>10000,上海古北路_买*AB,VARCAT(VARCAT('—上海古北路:',VAR2STR(上海古北路_买/10000,2)),'亿')),COLORYELLOW;
    DRAWTEXT(上海古北路_卖<0 AND 上海古北路_卖>-10000,上海古北路_卖*AB,VARCAT(VARCAT('—上海古北路:',VAR2STR(上海古北路_卖,2)),'万')),COLORYELLOW;
    DRAWTEXT(上海古北路_卖<-10000,上海古北路_卖*AB,VARCAT(VARCAT('—上海古北路:',VAR2STR(上海古北路_卖/10000,2)),'亿')),COLORYELLOW;
    三、选股
    第N天前上榜 0 500 1
    龙虎榜:=SIGNALS_USER(490,0) OR SIGNALS_USER(491,0);
    选出上榜的个股:REF(龙虎榜,第N天前上榜-1) AND V!=0;







    gd48311


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






    上一篇:「指标」简单的估值 基本面主图副图
    下一篇:「指标」特发优化过的自用主图 绝无未来 管住手 在多头区域操作 堪称神奇
    回复

    举报

    QQ|

    GMT+8, 2024-11-11 04:07

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