A2:=BARSLAST(ref(cross("RSI.RSI1"(6,12),"RSI.RSI2"(6,12)),1));
B2:=ref(c,A2+1)>c andref("RSI.RSI1"(6,12),A2+1)<"RSI.RSI1"(6,12) andcross("RSI.RSI1"(6,12),"RSI.RSI2"(6,12));
RSI底背離:FILTER(B2>0,5);
A2:=BARSLAST(ref(cross("RSI.RSI1"(6,12),"RSI.RSI2"(6,12)),1));
B2:=ref(c,A2+1)>c andref("RSI.RSI1"(6,12),A2+1)<"RSI.RSI1"(6,12) andcross("RSI.RSI1"(6,12),"RSI.RSI2"(6,12));
RSI底背離:FILTER(B2>0,5);