total:=if(period=1,5,if(period=2,15,if(period=3,30,if(period=4,60,if(period=5,totalfznum,1)))));mtime:=mod(fromopen,total);ctime:=if(mtime1),vol*(total+3)/(ctime+3),draw**),nodraw;stickline((currbarscount=1 and dyna**(8)>1),vvol,0,-1,-1),color00c0c0;volume:vol,volstick;m**ol1:ma(volume,5);m**ol2:ma(volume,10);stickline(v/ma(v,5)>1.4,v,0,3,0)colorff0080; 20210311
rsv:=(close-llv(low,60))/(hhv(high,60)-llv(low,60))*100;k:sma(rsv,15,1),linethick0;d:sma(k,2,1),linethick0;j:3*k-2*d,linethick0;红柱:stickline(k>ref(k,1) or(ref(k>ref(k,1),1) and k=ref(k,1)),k,ref...
dif:ema(close,short)-ema(close,long);dea:ema(dif,mid);macd:(dif-dea)*2,colorstick;缩短:ref(macd,1)>0 and macd<=0 and macd<ref(macd,1); 不能是将要变绿柱,而是一变绿条件成立,“缩短为1如果是要将要变就显示只用未来函数,这样就没有实际价值了。