网友求助:
大盘收盘价和个股收盘价放在一起的,强弱一目了然,怎么编呀,放在一起价格相差太大无法显示,求助大家了!谢谢
解答如下:
C1:=EMA(INDEXC,500)/EMA(C,500);
D1:=INDEXO/C1;
D2:=INDEXH/C1;
D3:=INDEXL/C1;
D4:=INDEXC/C1;
SK:STICKLINE(D4>=REF(D4,1),D3,D2,0,0),COLORRED;
STICKLINE(D4>=REF(D4,1),D4,D1,2,0),COLOR0000DD;
STICKLINE(D4>=REF(D4,1),D4,D1,0,0),COLORRED;
STICKLINE(D4<REF(D4,1),D3,D2,0,0),COLORGREEN;
STICKLINE(D4<REF(D4,1),D4,D1,2,0),COLOR00FF00;
STICKLINE(D4<REF(D4,1),D4,D1,0,0),COLORGREEN;