给你一个参考,源码下面网址里有效果图,看看符合要求不.var1:=vol/((high-low)*2-abs(close-open));成交:=vol,pointdot;主动买盘:if(close>open,var1*(high-low),if(close<open,var1*((high- open)+(close-low)),vol/2)),colorred,pointdot;主动卖盘:if(close>open,0-var1*((high-close)+(open- low)),if(close<open,0-var1*(high-low),0-vol/2)),color00ff00,pointdot;地量:=vol<llv(vol,14)*1.001;v2:=if(currbarscount=1,vol*240/fromopen/ref(vol,1)-1,vol/ref(vol,1)-1);stickline(vol>0,vol,0,3,1),colorwhite;stickline(主动买盘>v/2,0,v,2,0),coloryellow;stickline(主动买盘<=v/2,0,v,2,0),colorligray;stickline(主动买盘>0,0,主动买盘,2,0),colorred;stickline(主动卖盘<0,0,主动卖盘,2,0),color00ff00;stickline(地量>0,0,vol,1,0),colormagenta;stickline(v2>=1,v,0,1,0),coloryellow; 20210311