通达信对照大盘k线公式
STICKLINE(INDEXC>=INDEXO,INDEXH,INDEXC,0,0),COLORRED;
STICKLINE(INDEXC>=INDEXO,INDEXO,INDEXL,0,0),COLORRED;
STICKLINE(INDEXC>=INDEXO,INDEXC,INDEXO,2,1),COLORRED;
STICKLINE(INDEXC<INDEXO,INDEXH,INDEXL,0,0),COLORGREEN;
STICKLINE(INDEXC<INDEXO,INDEXC,INDEXO,2,0),COLORGREEN;
DPDY:=INDEXC/REF(INDEXC,1)>1.02;
DPBD:=INDEXC/REF(INDEXC,1)<0.98;
STICKLINE(DPDY,INDEXC,INDEXO,1,0),COLOR00FFFF;
STICKLINE(DPBD,INDEXC,INDEXO,1,0),COLOR00FF00;