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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信大盘情绪接力指标公式源码


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-5-11 17:26:12

{指标介绍:大盘冰点时候的尾盘,可以考虑抄底。}

上涨数:"880005$C",COLORFF00FF,NODRAW;
下跌数:"880005$O",COLORLIBLUE,NODRAW;
跌停数:"880006$O",COLOR00FF00;
昨日跌停数:REF(跌停数,1),NODRAW,COLORFFFF00;
涨停数:"880006$C",COLORRED;
昨日涨停数:REF(涨停数,1),NODRAW,COLORFF00FF;
首板数:BLOCKSETNUM('首板'),NODRAW;
连板数:BLOCKSETNUM('连板'),NODRAW,COLORLIMAGENTA;
昨日连板:BLOCKSETNUM('昨日连板'),NODRAW;
一进二:BLOCKSETNUM('一进二'),NODRAW,COLORFFFF00;
二进三:BLOCKSETNUM('二进三'),NODRAW;
龙头:BLOCKSETNUM('龙头'),NODRAW,COLORRED;
首板率%:100*首板数/涨停数,NODRAW,COLORYELLOW;
连板率%:=100*连板数/涨停数,NODRAW,COLORWHITE;
接力情绪:DRAWNULL,COLORYELLOW;
IF(连板率%>15,连板率%,DRAWNULL),NODRAW,COLORRED;
IF(连板率%>20,连板率%,DRAWNULL),NODRAW,COLORFF00FF;
IF(连板率%<15,连板率%,DRAWNULL),NODRAW,COLORGREEN;
红盘率%:100*"880005$C"/("880005$C"+"880005$O"),NODRAW,COLORLIMAGENTA;
跟庄看盘:DRAWNULL,NODRAW,COLOR0088FF;
概念数:GNBLOCKNUM,NODRAW;
风格数:FGBLOCKNUM,NODRAW;
涨停跌停比:涨停数/跌停数,NODRAW,COLORWHITE;
涨停今昨:=涨停数/昨日涨停数,COLORYELLOW;
跌停今昨:=跌停数/昨日跌停数,COLORYELLOW;
涨停今昨比:IF(涨停今昨>=1,涨停今昨,DRAWNULL),NODRAW,COLORRED;
IF(涨停今昨<1,涨停今昨,DRAWNULL),NODRAW,COLORGREEN;
跌停今昨比:IF(跌停今昨>=1,跌停今昨,DRAWNULL),NODRAW,COLORLIRED;
IF(跌停今昨<1,跌停今昨,DRAWNULL),NODRAW,COLORLIGREEN;
STICKLINE(涨停数,0,0,2,0),COLORRED;
STICKLINE(跌停数,0,0,2,0),COLORLIBLUE;
风险线:240,COLORWHITE,DOTLINE;
DRAWICON(涨停数>240,涨停数,2);
DRAWICON(crOSS(跌停数,涨停数) AND EXIST(H=HHV(H,60),5) AND L>REFX(L,1),50,1),COLORWHITE;
DRAWICON(CROSS(涨停数,跌停数) AND EXIST(L=LLV(L,10),5),涨停数,23),COLORWHITE;
DRAWTEXT(跌停数>250,跌停数*0.9,' 冰点');
DRAWTEXT(涨停数>250,涨停数*0.9,' 沸点');





回复

举报

QQ|

GMT+8, 2024-11-16 23:36

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