RSI背离指标 (源码)
2012-08-28 09:10:00来源:本站整理浏览:428
大智慧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");
- 上一篇公式:天马展翅选股指标 (源码)
- 下一篇公式:买卖四色主图指标 (源码)