YU1:=REF(CLOSE,1);
YU2:=SMA(MAX(CLOSE-YU1,0),21,1)/SMA(Abs(CLOSE-YU1),21,1)*1000;
YU3:=YU2-LLV(YU2,27);
YU4:=LLV(YU2,27)-YU2;
YU5:=(MA(YU3,2)*3+YU3*13)/16,COLORFF00FF,LINETHICK1;
YU6:=(MA(YU4,2)*3+YU4*13)/16,COLORFF00FF,LINETHICK1;
YU7:=MA(YU3,5),LINETHICK1,COLORRED;
YU8:=MA(YU4,5),LINETHICK1,COLORRED;
YU9:=IF(YU5<YU7 ,YU6,YU8),LINETHICK1, COLORCYAN;
YU10:=IF(YU6<YU8 ,YU7,YU5),COLORFFFFCC,LINETHICK1;
YU11:0,COLOR00FFFF;
YU12:IF(YU10-YU9<5.6,200,0),COLORRED;{红峰}
YU13:=REF(CLOSE,1);
YU14:=((SMA(MAX((CLOSE - YU13),0),5,1) / SMA(ABS((CLOSE - YU13)),5,1)) * 100);
YU15:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);
YU16:=(HIGH - REF(HIGH,1));
YU17:=(REF(LOW,1) - LOW);
YU18:=SUM(IF(((YU16 > 0) AND (YU16 > YU17)),YU16,0),10);
YU19:=SUM(IF(((YU17 > 0) AND (YU17 > YU16)),YU17,0),10);
YU20:=((YU18 * 100) / TR);
YU21:=((YU19 * 100) / TR);
YU22:=MA(((ABS((YU21 - YU20)) / (YU21 + YU20)) * 100),5);
YU23:=(YU14 + YU22);
YU24:=(((YU22 + REF(YU22,5)) / 2) + YU14);
YU25:0,COLORFF00FF;
YU26:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));
YU27:=(YU14 - YU26);
YU28:=(YU23 + YU27);
DRAWBAND(YU28,RGB(80,00,255),0,RGB(255,215,0));
DRAWBAND(YU28,RGB(78,98,90),20,RGB(255,195,0));
YU29:LLV(YU28,1),COLORFFFFFF;
YU25线:20,NODRAW;
DRAWICON(crOSS(YU29,YU25线),1,1){红箭};
风险:CROSS(82,rsi),NODRAW;
绿柱:STICKLINE(风险,YU29*1.1,YU29,2,0),COLOR00FF00;