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,COLORBLUE;:HJ_2+HJ_3*1/8,POINTDOT,COLORMAGENTA;支撑1:HJ_2+HJ_3*0.5/8,POINTDOT;御祥顶参考:HJ_2+HJ_3*2/3,POINTDOT;御祥底参考:HJ_2+HJ_3/3,POINTDOT,COLORBLUE;DRAWTEXT_FIX(1,0.01,0.01,0,4),COLORCYAN;STICKLINE(CLOSE>阻力,阻力,CLOSE,2,0),COLORGREEN;STICKLINE(CLOSE<支撑,支撑,CLOSE,2,0),COLORYELLOW;