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(CROSS(Var3,山峰),5)=1 AND 山峰<15,0,20,13,2),colorgreen;
DRAWTEXT(FILTER(CROSS(Var3,山峰),5)=1 AND 山峰<15,-12,'山谷'),colorgreen;
山头: STICKLINE(CROSS(山峰,Var3) AND Var3>=55 AND Var3<70,0,75,13,0),coloryellow;
DRAWTEXT(CROSS(山峰,Var3) AND Var3>=55 AND Var3<70,-12,'跑吧'),coloryellow;
山顶:STICKLINE(FILTER(CROSS(山峰,80),20)=1,0,85,25,0),colorred;
DRAWTEXT(FILTER(CROSS(山峰,80),20)=1,-12,'山顶'),colorred;
大本营: -20,CIRCLEDOT,COLOR3098FF;
Var4:=SMA(VOL,5,1);
Var5:=(Var4-LLV(Var4,10))/(HHV(Var4,10)-LLV(Var4,10))*100;
Var6:=SMA(Var5,3,1);
Var7:=100-Var6;
Var8:=REF(Var7,1)>REF(Var7,2) AND Var7<34;
Var9:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
Var10:=FILTER(Var8,3);
群山:SMA(Var9,3,1),colorblue,LINESTICK;
下山:STICKLINE(Var10 AND 群山>60,0,75,13,0),colormagenta;
DRAWTEXT(Var10 AND 群山>60,-12,'下山'),colormagenta;