均价:SUM(VOL*CLOSE,0)/SUM(VOL,0),COLORYELLOW;
IF(均价 =REF(均价,1),均价,DRAWNULL),COLORRED,LINETHICK2;
XA_1:=(CLOSE/均价-1)*100;
XA_2:=DYNAINFO(13)*100;
上:IF(XA_2 5,均价*(1+XA_2/200),均价*(1+0.025)),COLORGREEN;
下:IF(XA_2 5,均价*(1-XA_2/200),均价*(1-0.025)),COLORRED;
DRAWNUMBER(ISLASTBAR,上,上),COLORYELLOW;
DRAWNUMBER(ISLASTBAR,下,下),COLORYELLOW;
DRAWNUMBER(ISLASTBAR,均价,均价),COLORYELLOW;
CLOSE;{www.9m8.cn 九毛八公式指标网}
IF(CLOSE 上,上,DRAWNULL),COLORRED,LINETHICK2;
IF(CLOSE 下,下,DRAWNULL),COLORRED,LINETHICK2;