大盘分时K线(分时指标 源码)
谢谢短线手草木的源码,
暂时还没有办法放到主图里。
高手们看看怎么弄更美观。
{上证指数-(大盘K线)}
{显示成员}
ZSC:=IF(INBLOCK('大盘'),"SH000001$CLOSE",0);
ZSO:=IF(INBLOCK('大盘'),"SH000001$OPEN",0);
ZSH:=IF(INBLOCK('大盘'),"SH000001$HIGH",0);
ZSL:=IF(INBLOCK('大盘'),"SH000001$LOW",0);
{全显}
ZSC:=IF(STRCMP(MARKETLABEL, '大盘')=0,"SH000001$CLOSE","SH000001$CLOSE");
ZSO:=IF(STRCMP(MARKETLABEL, '大盘')=0,"SH000001$OPEN","SH000001$OPEN");
ZSH:=IF(STRCMP(MARKETLABEL, '大盘')=0,"SH000001$HIGH","SH000001$HIGH");
ZSL:=IF(STRCMP(MARKETLABEL, '大盘')=0,"SH000001$LOW","SH000001$LOW");
STICKLINE(ZSC>=ZSO,ZSO,ZSC,7,1),COLORwhite;
STICKLINE(ZSO>ZSC,ZSC,ZSO,7,0),COLORGREEN;
STICKLINE(ZSC>=ZSO,ZSC,ZSH,0,1 ),COLORwhite;
STICKLINE(ZSC>=ZSO,ZSO,ZSL,0,1),COLOrwhite;
STICKLINE(ZSO>ZSC,ZSC,ZSL,0,0),COLORGREEN;
STICKLINE(ZSO>ZSC,ZSO,ZSH,0,0),COLORGREEN;
- 上一篇公式:股东查询(F10数据提取 源码)
- 下一篇公式:DZH大盘对对源码——(副图)