difz:=ema(c,12)-ema(c,26); deaz:=ema(difz,9); macdz:=2*(difz-deaz); jj:sum(c*v,0)/sum(v,0),color00ffff; rc:=dynainfo( 3);
量比超2.5:=if(dynainfo(17)>2.5,rc-0.15,drawnull),colorff9933; 量比超5:=if(dynainfo(17)>5,rc-0.15,drawnull),colorba75ff; drawband(量比超2.5,rgb(51,153,255),量比超2.5+0.015,rgb(51,153,255)); drawband(量比超5,rgb(255,118,188),量比超5+0.015,rgb(255,118,188));{macd p:1,20,4;} {rc:=dynainfo( 3);} s2:=sma(c,2,1); s6:=sma(c,6,1); dk:=2*(s2-s6); stickline(dk>0,rc,rc+dk,0,1),colorred; stickline(dk<0,rc,rc+dk,0,1),colorcyan; 分时顶:hhv(h,480),colorgreen,dotline; |