通达信分时OBV分时副图指标 上午出绿钻 当天有涨停可能 源码 附图

背景: DRAWGBK(1,RGB(25,25,112),RGB(0,0,128),0,1,0);
量价:=(VOL/CLOSE)/3;
统计主动买量:=SUM((IF(((量价>0.20) AND (CLOSE>(REF(CLOSE,1)))),量价,0)),0);
统计主动卖量:=SUM((IF(((量价>0.20) AND (CLOSE<(REF(CLOSE,1)))),量价,0)),0);
涨停量:((统计主动买量)/统计主动卖量)*10,NODRAW,COLORRED;
DRAWTEXT_FIX(1,0.04,0,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.05,0,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.06,0,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.07,0,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.08,0,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.04,0.1,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.05,0.1,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.06,0.1,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.07,0.1,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.08,0.1,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.04,0.2,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.05,0.2,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.06,0.2,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.07,0.2,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.08,0.2,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.04,0.3,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.05,0.3,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.06,0.3,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.07,0.3,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.08,0.3,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.04,0.4,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.05,0.4,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.06,0.4,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.07,0.4,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.08,0.4,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.04,0.5,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.05,0.5,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.06,0.5,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.07,0.5,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.08,0.5,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.04,0.6,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.05,0.6,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.06,0.6,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.07,0.6,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.08,0.6,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.04,0.7,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.05,0.7,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.06,0.7,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.07,0.7,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.08,0.7,0,'▇'),COLORGRAY;
DRAWTEXT_FIX(1,0.04,0.8,0,'▇'),COLORWHITE;
DRAWTEXT_FIX(1,0.05,0.8,0,'▇'),COLORWHITE;
DRAWTEXT_FIX(1,0.06,0.8,0,'▇'),COLORWHITE;
DRAWTEXT_FIX(1,0.07,0.8,0,'▇'),COLORWHITE;
DRAWTEXT_FIX(1,0.08,0.8,0,'▇'),COLORWHITE;
DRAWTEXT_FIX(1,0.04,0.9,0,'▇'),COLORWHITE;
DRAWTEXT_FIX(1,0.05,0.9,0,'▇'),COLORWHITE;
DRAWTEXT_FIX(1,0.06,0.9,0,'▇'),COLORWHITE;
DRAWTEXT_FIX(1,0.07,0.9,0,'▇'),COLORWHITE;
DRAWTEXT_FIX(1,0.08,0.9,0,'▇'),COLORWHITE;
DRAWTEXT_FIX(1,0.04,1,0,'▇'),COLORWHITE;
DRAWTEXT_FIX(1,0.05,1,0,'▇'),COLORWHITE;
DRAWTEXT_FIX(1,0.06,1,0,'▇'),COLORWHITE;
DRAWTEXT_FIX(1,0.07,1,0,'▇'),COLORWHITE;
DRAWTEXT_FIX(1,0.08,1,0,'▇'),COLORWHITE;
DRAWTEXT_FIX(涨停量>30,0.04,0,0,'▇'),COLORYELLOW;
DRAWTEXT_FIX(涨停量>30,0.05,0,0,'▇'),COLORYELLOW;
DRAWTEXT_FIX(涨停量>30,0.06,0,0,'▇'),COLORYELLOW;
DRAWTEXT_FIX(涨停量>30,0.07,0,0,'▇'),COLORYELLOW;
DRAWTEXT_FIX(涨停量>30,0.08,0,0,'▇'),COLORYELLOW;
DRAWNUMBER_FIX(涨停量 AND ISLASTBAR,0.04,0,0,涨停量),LINETHICK8,COLORRED;
DRAWTEXT_FIX(涨停量>30,0.04,0.1,0,'▇'),COLORYELLOW;
DRAWTEXT_FIX(涨停量>30,0.05,0.1,0,'▇'),COLORYELLOW;
DRAWTEXT_FIX(涨停量>30,0.06,0.1,0,'▇'),COLORYELLOW;
DRAWTEXT_FIX(涨停量>30,0.07,0.1,0,'▇'),COLORYELLOW;
DRAWTEXT_FIX(涨停量>30,0.08,0.1,0,'▇'),COLORYELLOW;
DRAWTEXT_FIX(涨停量>30,0.04,0.2,0,'▇'),COLORYELLOW;
DRAWTEXT_FIX(涨停量>30,0.05,0.2,0,'▇'),COLORYELLOW;
DRAWTEXT_FIX(涨停量>30,0.06,0.2,0,'▇'),COLORYELLOW;
DRAWTEXT_FIX(涨停量>30,0.07,0.2,0,'▇'),COLORYELLOW;
DRAWTEXT_FIX(涨停量>30,0.08,0.2,0,'▇'),COLORYELLOW;
DRAWTEXT_FIX(涨停量>30,0.03,0.2,0,'●'),COLORYELLOW;
DRAWTEXT_FIX(涨停量>30,0.03,0.1,0,'●'),COLORYELLOW;
DRAWTEXT_FIX(涨停量>30,0.03,0,0,'●'),COLORYELLOW;
DRAWTEXT_FIX(涨停量>30,0.08,0,0,' ←早盘OBV值保持20,30以上出绿钻有涨停可能'),COLORYELLOW;
涨停量▇:=(统计主动买量/统计主动卖量)*40,LINETHICK2,NODRAW,COLORRED;
DRAWTEXT_FIX(20<涨停量▇ <30,0.04,0.3,0,'▇'),COLORRED;
DRAWTEXT_FIX(20<涨停量▇ <30,0.05,0.3,0,'▇'),COLORRED;
DRAWTEXT_FIX(20<涨停量▇ <30,0.06,0.3,0,'▇'),COLORRED;
DRAWTEXT_FIX(20<涨停量▇ <30,0.07,0.3,0,'▇'),COLORRED;
DRAWTEXT_FIX(20<涨停量▇ <30,0.08,0.3,0,'▇'),COLORRED;
DRAWTEXT_FIX(20<涨停量▇ <30,0.04,0.4,0,'▇'),COLORRED;
DRAWTEXT_FIX(20<涨停量▇ <30,0.05,0.4,0,'▇'),COLORRED;
DRAWTEXT_FIX(20<涨停量▇ <30,0.06,0.4,0,'▇'),COLORRED;
DRAWTEXT_FIX(20<涨停量▇ <30,0.07,0.4,0,'▇'),COLORRED;
DRAWTEXT_FIX(20<涨停量▇ <30,0.08,0.4,0,'▇'),COLORRED;
DRAWTEXT_FIX(20<涨停量▇ <30,0.04,0.5,0,'▇'),COLORRED;
DRAWTEXT_FIX(20<涨停量▇ <30,0.05,0.5,0,'▇'),COLORRED;
DRAWTEXT_FIX(20<涨停量▇ <30,0.06,0.5,0,'▇'),COLORRED;
DRAWTEXT_FIX(20<涨停量▇ <30,0.07,0.5,0,'▇'),COLORRED;
DRAWTEXT_FIX(20<涨停量▇ <30,0.08,0.5,0,'▇'),COLORRED;
OBV:= (EXPMA(CLOSE,500)-REF(EXPMA(CLOSE,500),1))/REF(EXPMA(CLOSE,500),1)*100, COLORSTICK;
主力:=EXPMA( (EXPMA(CLOSE,500)-REF(EXPMA(CLOSE,500),1))/REF(EXPMA(CLOSE,500),1)*100,120)-0.0004,LINETHICK5,COLORMAGENTA;
散户:=EXPMA( (EXPMA(CLOSE,500)-REF(EXPMA(CLOSE,500),1))/REF(EXPMA(CLOSE,500),1)*100,200),LINETHICK5,COLORGREEN;
DRAWICON(CROSS(EXPMA(OBV,120)-0.0004,EXPMA(OBV,200)),EXPMA(OBV,200)*1,27);{FXJGSW.COM};




来函数检测结果如下:
该公式没有未来函数


解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

输出背景: 填充背景(1,RGB(25,25,112),RGB(0,0,128),0,1,0)
量价赋值:(成交量/收盘价)/3
统计主动买量赋值:SUM((IF(((量价>0.20) AND (收盘价>(1日前的收盘价))),量价,0)),0)
统计主动卖量赋值:SUM((IF(((量价>0.20) AND (收盘价<(1日前的收盘价))),量价,0)),0)
输出涨停量:((统计主动买量)/统计主动卖量)*10,NODRAW,画红色
当满足条件1时,在横轴0.04纵轴0位置书写文字
当满足条件1时,在横轴0.05纵轴0位置书写文字
当满足条件1时,在横轴0.06纵轴0位置书写文字
当满足条件1时,在横轴0.07纵轴0位置书写文字
当满足条件1时,在横轴0.08纵轴0位置书写文字
当满足条件1时,在横轴0.04纵轴0.1位置书写文字
当满足条件1时,在横轴0.05纵轴0.1位置书写文字
当满足条件1时,在横轴0.06纵轴0.1位置书写文字
当满足条件1时,在横轴0.07纵轴0.1位置书写文字
当满足条件1时,在横轴0.08纵轴0.1位置书写文字
当满足条件1时,在横轴0.04纵轴0.2位置书写文字
当满足条件1时,在横轴0.05纵轴0.2位置书写文字
当满足条件1时,在横轴0.06纵轴0.2位置书写文字
当满足条件1时,在横轴0.07纵轴0.2位置书写文字
当满足条件1时,在横轴0.08纵轴0.2位置书写文字
当满足条件1时,在横轴0.04纵轴0.3位置书写文字
当满足条件1时,在横轴0.05纵轴0.3位置书写文字
当满足条件1时,在横轴0.06纵轴0.3位置书写文字
当满足条件1时,在横轴0.07纵轴0.3位置书写文字
当满足条件1时,在横轴0.08纵轴0.3位置书写文字
当满足条件1时,在横轴0.04纵轴0.4位置书写文字
当满足条件1时,在横轴0.05纵轴0.4位置书写文字
当满足条件1时,在横轴0.06纵轴0.4位置书写文字
当满足条件1时,在横轴0.07纵轴0.4位置书写文字
当满足条件1时,在横轴0.08纵轴0.4位置书写文字
当满足条件1时,在横轴0.04纵轴0.5位置书写文字
当满足条件1时,在横轴0.05纵轴0.5位置书写文字
当满足条件1时,在横轴0.06纵轴0.5位置书写文字
当满足条件1时,在横轴0.07纵轴0.5位置书写文字
当满足条件1时,在横轴0.08纵轴0.5位置书写文字
当满足条件1时,在横轴0.04纵轴0.6位置书写文字
当满足条件1时,在横轴0.05纵轴0.6位置书写文字
当满足条件1时,在横轴0.06纵轴0.6位置书写文字
当满足条件1时,在横轴0.07纵轴0.6位置书写文字
当满足条件1时,在横轴0.08纵轴0.6位置书写文字
当满足条件1时,在横轴0.04纵轴0.7位置书写文字
当满足条件1时,在横轴0.05纵轴0.7位置书写文字
当满足条件1时,在横轴0.06纵轴0.7位置书写文字
当满足条件1时,在横轴0.07纵轴0.7位置书写文字
当满足条件1时,在横轴0.08纵轴0.7位置书写文字
当满足条件1时,在横轴0.04纵轴0.8位置书写文字
当满足条件1时,在横轴0.05纵轴0.8位置书写文字
当满足条件1时,在横轴0.06纵轴0.8位置书写文字
当满足条件1时,在横轴0.07纵轴0.8位置书写文字
当满足条件1时,在横轴0.08纵轴0.8位置书写文字
当满足条件1时,在横轴0.04纵轴0.9位置书写文字
当满足条件1时,在横轴0.05纵轴0.9位置书写文字
当满足条件1时,在横轴0.06纵轴0.9位置书写文字
当满足条件1时,在横轴0.07纵轴0.9位置书写文字
当满足条件1时,在横轴0.08纵轴0.9位置书写文字
当满足条件1时,在横轴0.04纵轴1位置书写文字
当满足条件1时,在横轴0.05纵轴1位置书写文字
当满足条件1时,在横轴0.06纵轴1位置书写文字
当满足条件1时,在横轴0.07纵轴1位置书写文字
当满足条件1时,在横轴0.08纵轴1位置书写文字
当满足条件涨停量>30时,在横轴0.04纵轴0位置书写文字
当满足条件涨停量>30时,在横轴0.05纵轴0位置书写文字
当满足条件涨停量>30时,在横轴0.06纵轴0位置书写文字
当满足条件涨停量>30时,在横轴0.07纵轴0位置书写文字
当满足条件涨停量>30时,在横轴0.08纵轴0位置书写文字
当满足条件涨停量 AND ISLASTBAR时,在横轴0.04纵轴0位置书写数字
当满足条件涨停量>30时,在横轴0.04纵轴0.1位置书写文字
当满足条件涨停量>30时,在横轴0.05纵轴0.1位置书写文字
当满足条件涨停量>30时,在横轴0.06纵轴0.1位置书写文字
当满足条件涨停量>30时,在横轴0.07纵轴0.1位置书写文字
当满足条件涨停量>30时,在横轴0.08纵轴0.1位置书写文字
当满足条件涨停量>30时,在横轴0.04纵轴0.2位置书写文字
当满足条件涨停量>30时,在横轴0.05纵轴0.2位置书写文字
当满足条件涨停量>30时,在横轴0.06纵轴0.2位置书写文字
当满足条件涨停量>30时,在横轴0.07纵轴0.2位置书写文字
当满足条件涨停量>30时,在横轴0.08纵轴0.2位置书写文字
当满足条件涨停量>30时,在横轴0.03纵轴0.2位置书写文字
当满足条件涨停量>30时,在横轴0.03纵轴0.1位置书写文字
当满足条件涨停量>30时,在横轴0.03纵轴0位置书写文字
当满足条件涨停量>30时,在横轴0.08纵轴0位置书写文字
涨停量▇:=(统计主动买量/统计主动卖量)*40, 线宽为2,NODRAW,画红色
当满足条件20<涨停量▇ <30时,在横轴0.04纵轴0.3位置书写文字
当满足条件20<涨停量▇ <30时,在横轴0.05纵轴0.3位置书写文字
当满足条件20<涨停量▇ <30时,在横轴0.06纵轴0.3位置书写文字
当满足条件20<涨停量▇ <30时,在横轴0.07纵轴0.3位置书写文字
当满足条件20<涨停量▇ <30时,在横轴0.08纵轴0.3位置书写文字
当满足条件20<涨停量▇ <30时,在横轴0.04纵轴0.4位置书写文字
当满足条件20<涨停量▇ <30时,在横轴0.05纵轴0.4位置书写文字
当满足条件20<涨停量▇ <30时,在横轴0.06纵轴0.4位置书写文字
当满足条件20<涨停量▇ <30时,在横轴0.07纵轴0.4位置书写文字
当满足条件20<涨停量▇ <30时,在横轴0.08纵轴0.4位置书写文字
当满足条件20<涨停量▇ <30时,在横轴0.04纵轴0.5位置书写文字
当满足条件20<涨停量▇ <30时,在横轴0.05纵轴0.5位置书写文字
当满足条件20<涨停量▇ <30时,在横轴0.06纵轴0.5位置书写文字
当满足条件20<涨停量▇ <30时,在横轴0.07纵轴0.5位置书写文字
当满足条件20<涨停量▇ <30时,在横轴0.08纵轴0.5位置书写文字
OBV赋值: (收盘价的500日指数移动平均-1日前的收盘价的500日指数移动平均)/1日前的收盘价的500日指数移动平均*100, COLORSTICK
主力赋值:EXPMA( (EXPMA(收盘价,500)-REF(EXPMA(收盘价,500),1))/REF(EXPMA(收盘价,500),1)*100,120)-0.0004, 线宽为5,画洋红色
散户赋值:EXPMA( (EXPMA(收盘价,500)-REF(EXPMA(收盘价,500),1))/REF(EXPMA(收盘价,500),1)*100,200), 线宽为5,画绿色
DRAWICON(OBV的120日指数移动平均-0.0004上穿OBV的200日指数移动平均,OBV的200日指数移动平均*1,27)
{FXJGSW.COM}

指标安装下载帮助  |   联系我们  |  指标公式网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 浙ICP备2024071487号-2 指标公式网别名指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
免责声明:指标公式网所有指标公式及文章由网络收集,不保障实时性和真实性, 仅供学习研究并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。
QQ:88652583 微信 88652583
sitemap站点地图