通达信山峰指标公式

2024-02-12 11:58发布

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
 解锁全文需 1  财富值,免费注册即送20财富值!