{狭路相逢}
LOWV:=LLV(LOW,9);
HIGHV:=HHV(HIGH,9);
RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);
K:=EMA(RSV,3);
D:=MA(K,3);
V2:=C>MA(C,60);
V3:=CROSS(K,30) AND LAST(K<30,5,1);
V4:=FINANCE(52)=0;
狭路相逢:V2 AND V3 AND C>(MA(C,20)) AND V4 AND (C-REF(C,1))/REF(C,1)>=0.070,COLORRED;
DRAWTEXT(狭路相逢,(V2 AND V3 AND C>(MA(C,20)) AND V4 AND (C-REF(C,1))/REF(C,1)>=0.070)*0.18,'狭路相逢'),COLORRED;