N:=6;持筹线:5,DOTLINE,colorred;持币线:50,DOTLINE,colorblue;VAR1:=AMOUNT/VOL/7;VAR2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;VAR3:=SUM(AMOUNT,10)/VAR1/7;VAR4:=DMA(VAR2,VOL/VAR3);持筹:(C-VAR4)/VAR4*1000,coloryellow;持币:100*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N)),colorgreen,;