大智慧RSI背离指标公式

v1:=BArslAst(ref(cross("rsi.RSI1","RSI.RSI2"),1));

RSI底背离:ref(c,v1+1)>c and ref("RSI.RSI1",v1+1)<"RSI.RSI1" and cross("RSI.RSI1","RSI.RSI2");

v2:=BARSLAST(ref(cross("RSI.RSI2","RSI.RSI1"),1));

RSI顶背离:ref(c,v2+1)>c and ref("RSI.RSI1",v2+1)<"RSI.RSI1" and cross("RSI.RSI2","RSI.RSI1");