同花顺反弹指标副图选股源码
指标源码:
VAR1:=1;
VAR2:=((((2*CLOSE)+HIGH)+LOW) / 4);
低位:20;
高位:90,COLORFFFF00;
VAR4:=LLV(LOW,5);
VAR5:=HHV(HIGH,4);
C1:(EMA((((VAR2-VAR4)/(VAR5-VAR4))*100),4)*VAR1),COLORRED,LINETHICK2;
C2:(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*VAR1),COLORFFFFFF,LINETHICK2;
AA:=CROSS(C1,C2) ;
BB:=CROSS(C2,C1) ;
DRAWICON(AA,C1-6,23);
DRAWICON(BB,C2+5,15);
IF(C1<C2,5,0),COLORFF00FF,LINETHICK2;
DRAWICON(C1>=C2,5,1),COLORFF00FF;
DRAWICON(C1<C2,0,2);
选股源码:
VAR2:=((((2*CLOSE)+HIGH)+LOW) / 4);
VAR4:=LLV(LOW,5);
VAR5:=HHV(HIGH,4);
C1:=(EMA((((VAR2-VAR4)/(VAR5-VAR4))*100),4));
C2:=(EMA(((0.667*REF(C1,1))+(0.333*C1)),2));
XG:CROSS(C1,C2) AND C2<60;