YM2:=EMA(CLOSE,26);
YM3:=5;
YM4:=REF(CLOSE,YM3);
YM5:=MAX(CLOSE-YM4,0);
YM6:=ABS(CLOSE-YM4);
YM7:=SMA(YM5,2,1)/SMA(YM6,2,1)*100-50;
YM8:=(YM1-YM2)*500/YM2;
GS:=EMA(YM8,9);
YMGS:=2*(YM8-GS);
DRAWBAND(-40,RGB(5,100,50),YM7,0);
STICKLINE(YMGS0,0,0,2,0),COLORDDDD00;
STICKLINE(YMGSSTICKLINE(YMGS>REF(YMGS,1)AND YMGS,0,0,2,0),COLOR00DDEE;
STICKLINE(YMGS>REF(YMGS,1)AND YMGS>0,0,0,2,0),COLOR0000DD;
线:YM7,COLOR0099CC;
蓝天:STICKLINE(C,40,40,0.5,0.5),COLOREEEE00;
绿地:STICKLINE(C,-40,-40,0.5,0.5),COLOR00EE00;
涨家数:INDEXADV,COLOR0000EE,NODRAW;
跌家数:INDEXDEC,COLOR00EE00,NODRAW;
大盘成交:INDEXV,COLOR00EEEE,NODRAW;