MA5:MA(CLOSE,5),COLORFFFFFF,PRECIS2,LAYER0;MA10:MA(CLOSE,10),COLOR00FFFF,PRECIS2,LAYER0;MA24:MA(C,24),COLORFF00FF,PRECIS2,LAYER0;W:=BAAST(DISPSTATUS=1);P:=BKSET(DISPSTATUS=2,W/2+1);K:=BARSLAST(OSS(P,0.5));KJ:=HHVALL(HIGH)-LLVALL(LOW);VERTLINE(CROSS(P,0.5),4),COLOR00FFFF;平衡:LLVALL(LOW)+KJ/2,COLOR00FFFF,DOTLINE,PRECIS2;{FILLRGN(平衡,HHVALL(HIGH),W>K,RGB(0,0,200)),PRECIS2;该行设置背景色}:IF(K>=0,HHVALL(HIGH)-KJ*0.191,平衡),COLORFF00FF,DOTLINE,PRECIS2;:IF(K>=0,LLVALL(LOW)+KJ*0.191,平衡),COLOR00FF00,DOTLINE,PRECI