RSI+KDJ背离法买点指标 (源码)
2012-11-27 09:10:00来源:本站整理浏览:464
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:3*K-2*D,COLORMAGENTA;
J涨:=J>REF(J,1);
DRAWICON(J涨,J*0.98,1);
J跌:=J<REF(J,1);
DRAWICON(J跌,J*0.98,2);
LC:=REF(CLOSE,1);
RSI1:SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,COLORWHITE;
RSI1涨:=RSI1>REF(RSI1,1);
DRAWICON(RSI1涨,RSI1*0.98,1);
RSI1跌:=RSI1<REF(RSI1,1);
DRAWICON(RSI1跌,RSI1*0.98,2);
RSI1平:=RSI1=REF(RSI1,1);
DRAWICON(RSI1平,RSI1*0.98,7);
- 上一篇公式:超跌底部吸筹指标 (源码)
- 下一篇公式:排列指标 (源码)