反转选股指标 (源码)
2012-02-27 18:08:00来源:本站整理浏览:193
通达信反转选股指标公式股票软件源码如下:
VAR1:=(H+L)/2;
XO:=SMA(VAR1,5,1)-SMA(VAR1,34,1);
XD:=SMA((XO-SMA(XO,5,1)),5,1);
VARA:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
VARB:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
VARC:=SMA((SMA(VARB,4,1)-50)*2,3,1);
反转选股:IF((XO>REF(XO,1) OR XD>REF(XD,1)) AND REF(VARA,1)<-90 AND VARA<-80 AND VARC<-80 AND (VARC-REF(VARC,1))>1,20,0);
- 上一篇公式:专业操盘主图指标 (源码)
- 下一篇公式:均线全攻略主图指标 (源码)