P1:=5;P2:=10;P3:=30;P4:=60;P5:=120;P6:=250;DRAWGBK(O>0,RGB(33,47,58),RGB(0,0,0),0,'02',0),LINETHICK2;{波峰} TY:=H; A1:=REF(TY,10)=HHV(TY,2*10+1); B1:=FILTER(A1,10); C1:=BACKSET(B1,10+1); HD:=FILTER(C1,10); A2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(A2,10); C002:=BACKSET(B2,10+1); LD:=FILTER(C002,10); 波峰:REF(H,BARSLAST(HD)),COLOR00FF00,POINTDOT; STICKLINE(H,波峰,波峰,8,0),COLORYELLOW,LINETHICK2;{}STICKLINE(REF(L,1)>H,H,REF(L,1),5,0),COLORGRAY;STICKLINE(REF(H,1)
REF(CLOSE,1)*1.0985 AND CLOSE=HIGH,CLOSE