N:=9;重心:=IF(C>(H+L+C)/3,(H*0.618+L*0.382)*0.382,(H*0.382+L*0.618)*0.382)+(O+C)/2*0.618;:=AMOUNT/(*100);折价:=if(INDEXC=C,(重心+2*c)/3,(重心+均价+C)/3);MA8:=ema(Dma(折价,(sum(,n/5)/(SUM(AMOUNT,n)/(MA(均价,n)*100)))),n/3);MB8:=ema(Dma(折价,(sum(VOL,n/4)/(SUM(AMOUNT,n)/(MA(均价,n)*100)))),n/3);MC8:=ema(Dma(折价,(sum(v,n/3)/(SUM(AMOUNT,n)/(MA(均价,n)*100)))),n/3);MD8:=ema(Dma(折价,(sum(v,n/2)/(SUM(AMOUNT,n)/(MA(均价,n)*100)))),n/3);M8:=(MA8+MB8+MC8+MD8)/4;lA8:=ema(Dma(l,(sum(VOL,n/5)/(SUM(AMOUNT,n)/(MA(均价,n)*100)))),n);lB8