通达信大盘指数公式
ZGD:=IF(INDEXH>0,INDEXH,REF(INDEXH,BARSLAST(INDEXH>0)));
ZDD:=IF(INDEXL>0,INDEXL,REF(INDEXL,BARSLAST(INDEXL>0)));
KPD:=IF(INDEXO>0,INDEXO,REF(INDEXO,BARSLAST(INDEXO>0)));
SPD:=IF(INDEXC>0,INDEXC,REF(INDEXC,BARSLAST(INDEXC>0)));
CJE:=INDEXA/100000000;
开盘:KPD,NODRAW,COLORWHITE;
最高:ZGD,NODRAW,COLORRED;
最低:ZDD,NODRAW,COLORGREEN;
收盘:SPD,NODRAW,COLORWHITE;
成交额:CJE,NODRAW,COLORYELLOW;
DRAWKLINE(ZGD,KPD,ZDD,SPD);