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

通达信黄金选股指标公式

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

指数【对应】: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;};

通达信虚拟涨停板预测主图指标公式