HJ_1:=(MA((EMA(((CLOSE+HIGH)/2-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*(LOW*0.173),7)+LOW*0.9137*0.3+LOW*0.7+HIGH)/2,4)+MA((HHV(LOW,3)+LLV(HIGH,3))/2,2))/2;
HJ_2:=(((EMA(EMA(((CLOSE+HIGH)/2-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*(LOW*0.173),7)+LOW*0.9137,13)-EMA(EMA(EMA(((CLOSE+HIGH)/2-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*(LOW*0.173),7)+LOW*0.9137,13),7))/EMA(EMA(EMA(((CLOSE+HIGH)/2-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*(LOW*0.173),7)+LOW*0.9137,13),7)*10+MA((HHV(LOW,3)+LLV(HIGH,3))/2,2))*0.99+MA((HHV(LOW,3)+LLV(HIGH,2))/2,2))/2;
HJ_3:=LLV(REF(1.5*REF(MA(CLOSE,6),1)-0.5*(MA(CLOSE,6)*1.013),1),17)*0.98;
HJ_4:=SLOPE(HJ_1,7)*1.78+(HJ_1*0.63+HJ_2*0.37);
STICKLINE(HJ_3>HJ_4,HJ_3/20,0,3,1),COLORDD3311;
STICKLINE(HJ_3>HJ_4,0.5,HJ_3/20,3,(-1)),COLORLIMAGENTA;
STICKLINE(HJ_3>HJ_4,0.5,HJ_3/20,2,(-1)),COLORLIMAGENTA;
STICKLINE(HJ_3>HJ_4,0.5,HJ_3/20,1,(-1)),COLORLIMAGENTA;
STICKLINE(HJ_3>HJ_4,0.5,HJ_3/20,0,(-1)),COLORLIMAGENTA;
HJ_5:=CLOSE/REF(LLV(LOW,21),5)<1;
HJ_6:=IF(HJ_5,1,0);
STICKLINE(HJ_3>HJ_4 AND HJ_6,0.5,0,2,0),COLORRED;
HJ_7:=(CLOSE-LLV(LOW,19))/(HHV(HIGH,19)-LLV(LOW,19))*100;
HJ_8:=SMA(HJ_7,3,1);
HJ_9:=SMA(HJ_8,3,1);
HJ_10:=3*HJ_8-2*HJ_9;
HJ_11:=HJ_8<22 AND HJ_10<2 AND REF(HJ_10,1)>2;
STICKLINE(HJ_3>HJ_4 AND HJ_11,0,0.2,3,0),COLORYELLOW;
NOTEXT动态底:EMA(IF(LOW<=LLV(LOW,30),SMA(ABS(LOW-REF(LOW,1)),30,1)/SMA(MAX(LOW-REF(LOW,1),0),30,1),0),3)*0.1,STICK,COLORYELLOW,LINETHICK2;