在线检测未来函数

通达信个股对比上证指数指标公式

来源:Internet,编辑:股旁网,2017-04-18

指数【对应】: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");
{均线}
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;};

通达信个股对比上证指数指标公式

 

相关文章