M1:=5;
M2:=13;
M3:=24;
M4:=60;
M5:=120;
M6:=250;
MA5:MA(CLOSE,M1);
MA13:MA(CLOSE,M2);
MA24:MA(CLOSE,M3);
MA60:MA(CLOSE,M4);
MA125:MA(CLOSE,M5);
MA250:MA(CLOSE,M6);
LT:=LLVBARS(L,60);
LT1:=LLVBARS(L,60);
LTT:=BArslAST(CURRBARSCOUNT=CONST(LT)+1);
HT:=FINDHIGHBARS(H,LT+1,60,1);
DT:=FINDLOW(L,LT1+1,60,1);
锅盖:DRAWLINE(CURRBARSCOUNT=CONST(HT)+1,H,ISLASTBAR,REF(H,HT),0),COLORMAGENTA ,LINETHICK3;TT:=BARSLAST(CURRBARSCOUNT=CONST(HT)+1);
STICKLINE((C-REF(C,1))/REF(C,1) 0.095,C,O,3,0),COLORMAGENTA;