实用的量价同图 MA1:MA(CLOSE,M1)LINETHICK2; MA2:MA(CLOSE,M2)LINETHICK2; MA3:MA(CLOSE,M3)LINETHICK2; MA4:MA(CLOSE,M4)LINETHICK2; C2:=REF(C,1); 涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0); STICKLINE(涨停,H,L,2,0),COLORYELLOW; 跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0); STICKLINE(跌停,H,L,1,0),COLORWHITE; MAXV:=CONST(HHV(VOL,21)); MAXS:=CONST(HHV(HIGH,21)); BS:=MAXV/MAXS; VOLUME:=VOL/BS*0.10; ORIGIN:=CONST(LLV(LOW,0))-CONST(0.5*HHV(VOLUME,0)),; STICKLINE(CLOSE>=OPEN,ORIGIN,ORIGIN+VOLUME,0.2,0),COLORRED; STICKLINE(CLOSE
|