VAR1:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100;山峰:SMA(VAR1,5,1)-8,LINETHICK2,COLORCYAN;STICKLINE(山峰,0,山峰,1,0),COLORC8FF00;VAR2:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;VAR3:=SMA(VAR2,5,1)-16;STICKLINE(VAR3>山峰,0,-5,4,2),COLORYELLOW;STICKLINE(VAR3<山峰,0,-5,4,2),COLOR9800FF;山谷: STICKLINE(FILTER(OSS(VAR3,山峰),5)=1 AND 山峰<15 COLORGREEN;DRAWTEXT(FILTER(CROSS(VAR3,山峰),5)=1>=55 AND VAR3<70>=55 AND VAR3<70 COLORYELLOW;山顶:STICKLINE(FILTER(CROSS(山峰,80),20)=1,0,85,25,0),COLORRED;DRAWTE