通达信反转选股指标 源码介绍
通达信反转选股指标 源码
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);
gd54578