{底部RSI共振 副图}
TJ:=HHV(H,30)=H;
TJ2:=LLV(L,15)=L;
TJT:=BARSLAST(TJ);
TJ1T:=BARSLAST(TJ2);
底:(TJT=0,H,TJ1T=0) AND TJ2 AND FILTERX(TJ2,TJT+1),NODRAW;
STICKLINE(底>0,0,0.95,4,0),COLORYELLOW,LINETHICK2;{黄色柱}
DRAWTEXT(底,0.95,'--底'),COLORYELLOW;
周RSI1:="RSI.RSI1#WEEK"(9);
AAAA:=周RSI1>50;
周R:CROSS(AAAA>REF(AAAA,1),0.5),COLORRED,LINETHICK2;
STICKLINE(周R,1.05,1,5,0),COLORRED,LINETHICK2;
DRAWTEXT(周R,1.03,' --周共振'),COLORRED;
{周R&底:=周R AND 底;
DRAWTEXT(周R,0.98,' --周共振+底'),COLORRED;};