通达信个股对比上证指数指标公式
2021/1/3 18:27:33
指数【对应】: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;};
投股票 网 w ww.tou18.cn
股市公式下载推荐