主线:MA(SUM(IF(CLOSE>REF(CLOSE,1),vol,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0),2),LINETHICK2,PRECISION0,colorFF;
短期:MA(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0),21),PRECISION0,colorFFFF;
中期:MA(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0),55),PRECISION0,colorFFFF00;
长期:MA(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0),120),PRECISION0,colorFF22;
DRAWICON(crOSS(主线,短期) AND MA(CLOSE,3)>REF(MA(CLOSE,3),1),短期,4);
FILLRGN(主线>短期,主线,短期),colorFFBCFF;
FILLRGN(主线<短期,主线,短期),colorFF2222;
V1:=HHV(主线,0);
DRAWSL(主线=V1[DATacOUNT],主线,0,0,0),colorFFFF;