大盘显示到副图(副图怎么显示k线)
1、个股上如何显示大盘副图
大智慧可以显示
2、请教通达信如何在副图显示大盘K线图。不要叠加和insert键的那种
指数:INDEXC,NODRAW;
大盘: DRAWKLINE(INDEXH,INDEXO,INDEXL,INDEXC);
3、通达信 大盘指数作副图 指标编程代码!!
{上证指数K线副图指标}
DRAWKLINE("999999$H","999999$O","999999$L","999999$C");
上证:"999999$C",COLORWHITE,NODRAW;
_±:"999999$C"-REF("999999$C",1),COLORLIGRAY,NODRAW;
五:MA("999999$C",5),COLORWHITE;
十:MA("999999$C",10),COLORYELLOW;
二十:MA("999999$C",20),COLORMAGENTA;
六十:MA("999999$C",60),COLORGREEN;
股票公式专家团为你解答,希望能帮到你,祝投资顺利。
4、大盘副图指标,能显示所以大盘的副图指标
大盘指数K线副图源码
【上证】
{上证指数副图}
DRAWGBK(C>0,RGB(0,10,10),RGB(88,0,0),0,'?',0);{红色}
{个股对应大盘指数}
指数【对应】:INDEXC,NODRAW,COLORYELLOW;{沪股时显示上证指数,深股时显示深证(成份)指数}
{上证指数}
上证:"999999$C",NODRAW,COLORWHITE;
涨跌:"999999$C"-REF("999999$C",1),NODRAW,COLORLIGRAY;
{原系统K线}
DRAWKLINE("999999$H","999999$O","999999$L","999999$C");
{红青立体K线}
开盘:="999999$O";
收盘:="999999$C";
最高:="999999$H";
最低:="999999$L";
STICKLINE(收盘>=开盘,收盘,开盘,3,0),COLOR000045;{红色}
STICKLINE(收盘>=开盘,收盘,开盘,2.5,0),COLOR000065;
STICKLINE(收盘>=开盘,收盘,开盘,2,0),COLOR000085;
STICKLINE(收盘>=开盘,收盘,开盘,1.5,0),COLOR0000A5;
STICKLINE(收盘>=开盘,收盘,开盘,1,0),COLOR0000C5;
STICKLINE(收盘>=开盘,收盘,开盘,0.5,0),COLOR0000E5;
STICKLINE(收盘>=开盘,最高,最低,0,0),COLOR0000F5;
STICKLINE(收盘<开盘,收盘,开盘,3,0),COLOR656500;{青色}
STICKLINE(收盘<开盘,收盘,开盘,2.5,0),COLOR757500;
STICKLINE(收盘<开盘,收盘,开盘,2,0),COLOR858500;
STICKLINE(收盘<开盘,收盘,开盘,1.5,0),COLOR959500;
STICKLINE(收盘<开盘,收盘,开盘,1,0),COLORA5A500;
STICKLINE(收盘<开盘,收盘,开盘,0.5,0),COLORB5B500;
STICKLINE(收盘<开盘,最高,最低,0,0),COLORC5C500;
{均线}
MA5:MA("999999$C",5),COLORWHITE;
MA10:MA("999999$C",10),COLORYELLOW;
MA20:MA("999999$C",20),COLORMAGENTA;
{MA30:MA("999999$C",30),COLORCYAN;}
MA60:MA("999999$C",60),COLORGREEN;
{MA120:MA("999999$C",120),COLORBLUE;};
【深证】
{深证指数副图}
DRAWGBK(C>0,RGB(0,10,10),RGB(88,0,0),0,'?',0);{红色}
{个股对应大盘指数}
指数【对应】:INDEXC,NODRAW,COLORYELLOW;{沪股时显示上证指数,深股时显示深证(成份)指数}
{深证指数}
深证:"399001$C",NODRAW,COLORWHITE;
涨跌:"399001$C"-REF("399001$C",1),NODRAW,COLORLIGRAY;
{原系统K线}
DRAWKLINE("399001$H","399001$O","399001$L","399001$C");
{红青立体K线}
开盘:="399001$O";
收盘:="399001$C";
最高:="399001$H";
最低:="399001$L";
STICKLINE(收盘>=开盘,收盘,开盘,3,0),COLOR000045;{红色}
STICKLINE(收盘>=开盘,收盘,开盘,2.5,0),COLOR000065;
STICKLINE(收盘>=开盘,收盘,开盘,2,0),COLOR000085;
STICKLINE(收盘>=开盘,收盘,开盘,1.5,0),COLOR0000A5;
STICKLINE(收盘>=开盘,收盘,开盘,1,0),COLOR0000C5;
STICKLINE(收盘>=开盘,收盘,开盘,0.5,0),COLOR0000E5;
STICKLINE(收盘>=开盘,最高,最低,0,0),COLOR0000F5;
STICKLINE(收盘<开盘,收盘,开盘,3,0),COLOR656500;{青色}
STICKLINE(收盘<开盘,收盘,开盘,2.5,0),COLOR757500;
STICKLINE(收盘<开盘,收盘,开盘,2,0),COLOR858500;
STICKLINE(收盘<开盘,收盘,开盘,1.5,0),COLOR959500;
STICKLINE(收盘<开盘,收盘,开盘,1,0),COLORA5A500;
STICKLINE(收盘<开盘,收盘,开盘,0.5,0),COLORB5B500;
STICKLINE(收盘<开盘,最高,最低,0,0),COLORC5C500;
{均线}
MA5:MA("399001$C",5),COLORWHITE;
MA10:MA("399001$C",10),COLORYELLOW;
MA20:MA("399001$C",20),COLORMAGENTA;
{MA30:MA("399001$C",30),COLORCYAN;}
MA60:MA("399001$C",60),COLORGREEN;
{MA120:MA("399001$C",120),COLORBLUE;};
按照这个数据在通达信上去测试吧
5、通达信 大盘指数作副图 指标编程代码!!
{上证指数K线副图指标}
DRAWKLINE("999999$H","999999$O","999999$L","999999$C");
上证:"999999$C",COLORWHITE,NODRAW;
_±:"999999$C"-REF("999999$C",1),COLORLIGRAY,NODRAW;
五:MA("999999$C",5),COLORWHITE;
十:MA("999999$C",10),COLORYELLOW;
二十:MA("999999$C",20),COLORMAGENTA;
六十:MA("999999$C",60),COLORGREEN;
股票公式专家团为你解答,希望能帮到你,祝投资顺利。
6、求助,怎样在个股K线下,副图上显示上证指数的K线 ?
建议你使用通达信软件。
在通达信软件中,你可以把大盘指数图、个股分时图、个股K线图,五档盘口、成交明细,自选股放在一个版面上。可以任意分割版面上各版块大小。
7、创业板指标副图公式
你说的是把创业板指标当作副图吗?给你个全套的吧
创业板:=INBLOCK(创业板); 中小企业:=INBLOCK(中小企业); 上证A股:=INBLOCK(上证A股); 深证A股:=INBLOCK(深证A股); INDEH:=IF(中小企业=1,"399005$H",IF(创业板=1,"399006$H",IF(上证A股=1,"999999$H","399001$H"))),NODRAW; INDEO:=IF(中小企业=1,"399005$O",IF(创业板=1,"399006$O",IF(上证A股=1,"999999$O","399001$O"))),NODRAW; INDEL:=IF(中小企业=1,"399005$L",IF(创业板=1,"399006$L",IF(上证A股=1,"999999$L","399001$L"))),NODRAW; INDEC:=IF(中小企业=1,"399005$C",IF(创业板=1,"399006$C",IF(上证A股=1,"999999$C","399001$C"))),NODRAW; DRAWKLINE(INDEH,INDEO,INDEL,INDEC); 板块:=IF(中小企业=1,中小企业指数,IF(创业板=1,创业板指数,IF(上证A股=1,上证指数,深证指数))); DRAWTEXT_FIX(ISLASTBAR,0,0,0,板块),COLOR0055FF; MA5:MA(C,5),COLORWHITE,NODRAW; MA10:MA(C,10),COLORYELLOW,NODRAW; MA20:MA(C,20),COLORGREEN,NODRAW; MA60:MA(CLOSE,60),COLORGREEN,NODRAW;
满意请采纳为答案。