Hjx:=EMA(H,6);Ljx:=EMA(L,6);YSH:=(EMA(Hjx+SLOPE(Hjx,4),4)+EMA(Hjx+SLOPE(Hjx,6),6)+EMA(Hjx+SLOPE(Hjx,8),8)+EMA(Hjx+SLOPE(Hjx,10),10)+EMA(Hjx+SLOPE(Hjx,12),12)+EMA(Hjx+SLOPE(Hjx,14),14))/6;YHH:REF((HHV(YSH,24)+HHV(YSH,36)+HHV(YSH,48)+HHV(YSH,60)+HHV(YSH,72)+HHV(YSH,84))/6,1);XSH:=(EMA(Hjx+SLOPE(Hjx,8),8)+EMA(Hjx+SLOPE(Hjx,12),12)+EMA(Hjx+SLOPE(Hjx,16),16)+EMA(Hjx+SLOPE(Hjx,20),20)+EMA(Hjx+SLOPE(Hjx,24),24)+EMA(Hjx+SLOPE(Hjx,28),28))/6;XHH:REF((HHV(XSH,48)+HHV(XSH,72)+HHV(XSH,96)+HHV(XSH,120)+HHV(X