A1:=REF(C,1);
A2:=SMA(maX(C-A1,0),5,1)/SMA(Abs(C-A1),5,1)*1000;
A4:=A2-LLV(A2,10); A5:=(MA(A4,2)*3+A4*13)/16;
A6:=IF(A5>13,MA(A5,2),A5)/6;
rsi2:=SMA(MAX(C-A1,0),12,1)/SMA(ABS(C-A1),12,1)*100;
支撑:=LLV(MA(RSI2,3),12),COLORGREEN,LINETHICK2;
中间:=(HHV(MA(RSI2,3),12)+LLV(MA(RSI2,3),12))/2,COLORRED,LINETHICK2;
短线:IF(crOSS(A6,1) AND (A6<30)AND RSI2<35 AND RSI2>=支撑 AND RSI2<中间,30,20),COLORGREEN,LINETHICK2;