箱顶:HHV(MA((CLOSE),5),30);箱底:LLV(MA((CLOSE),5),30) ;长底:LLV(MA((CLOSE),5),120);JJ:=(CLOSE+HHV(MA((CLOSE),5),2)+LLV(MA((CLOSE),5),2))/3;AA:=EMA(JJ,3);BB:=REF(AA,1); STICKLINE(AA>BB,AA,BB,3,0),COLORYELLOW,;STICKLINE(AA<BB,AA,BB,3,0),COLORWHITE,;V1:=LLV(CLOSE,10);V2:=HHV(CLOSE,25);线:=EMA((CLOSE-V1)/(V2-V1)*4,4);DRAWTEXT(OSS(价位线,0.3),CLOSE,'★'),COLORRED;