AMV0:=VOL*(O+C+H+L)/4;ZS:=WMA(AMV0,21)/WMA(VOL,21),;IL:=6*HHV(ZS,2)-5*ZS;ZC:=2*ZS-IL,COLOR0000FF;LJ:=(3*CLOSE+OPEN+LOW+HIGH)/6;PJ:(20*LJ+19*REF(LJ,1)+18*REF(LJ,2)+17*REF(LJ,3)+16*REF(LJ,4)+15*REF(LJ,5)+14*REF(LJ,6)+13*REF(LJ,7)+12*REF(LJ,8)+11*REF(LJ,9)+10*REF(LJ,10)+9*REF(LJ,11)+8*REF(LJ,12)+7*REF(LJ,13)+6*REF(LJ,14)+5*REF(LJ,15)+4*REF(LJ,16)+3*REF(LJ,17)+2*REF(LJ,18)+REF(LJ,20))/210,COLORF0F000;DRAWBAND(ZS,RGB(0,100,0),ZC,RGB(0,0,0));VAR1:MA(PJ,5),COLORBLUE,LINETHICK1;STICKLINE(VAR1>PJ , VAR1,PJ ,2.5,0),COLOR00FF00,LINETHICK2;STICKLINE(PJ>VAR1,VAR1,PJ,2.5,0),COLOR0000FF,LINETHICK2;买点:=CROSS(PJ,VAR1) AND PJ>VAR1;DRAWTEXT(买点,PJ*0.98,'买点');卖点:=CROSS(VAR1,PJ) AND VAR1>PJ;DRAWTEXT(卖点,VAR1*1.02,'卖点'),COLOR008000;