HJ_1:=maX(DYnaINFO(3),DYNAINFO(5));
HJ_2:=MIN(DYNAINFO(3),DYNAINFO(6));
HJ_3:=HJ_1-HJ_2;
HJ_4:=(HJ_1+HJ_2)/1;
阻力:HJ_2+HJ_3*7/8,POINTDOT,COLORYELLOW;
支撑:HJ_2+HJ_3*1/8,POINTDOT,COLORLIMAGENTA;
支撑1:HJ_2+HJ_3*0.5/8,POINTDOT;
御祥顶参考:HJ_2+HJ_3*2/3,POINTDOT;
御祥底参考:HJ_2+HJ_3/3,POINTDOT,COLORYELLOW;
DRAWTEXT_FIX(1,0.01,0.01,0,4),COLORGREEN;
STICKLINE(CLOSE>阻力,阻力,CLOSE,2,0),COLORCYAN;
STICKLINE(CLOSE<支撑,支撑,CLOSE,2,0),COLORBLUE;