大盘分时K线(分时指标 源码)

2011-02-22 10:27:00来源:本站整理浏览:101

谢谢短线手草木的源码,
暂时还没有办法放到主图里。
高手们看看怎么弄更美观。
{上证指数-(大盘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;
 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式