V1:=(C*2+H+L)/4*10;
V2:=EMA(V1,13)-EMA(V1,34);
V3:=EMA(V2,5);
V4:=2*(V2-V3)*5.5;
AA:IF(V4>=0,V4,0),COLORFF00FF,LINETHICK2;
BB:IF(V4<=0,V4,0),COLOR00FF00,LINETHICK2;
{ _通达信股票指标公式}
RSV:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
K:SMA(RSV,2,1);
D:SMA(K,2,1);
买1:IF(AA>REF(AA,1) AND K<80 AND crOSS(K,D),80,0),COLORRED,LINETHICK2,STICK;
买2:IF(BB>REF(BB,1) AND CROSS(K,D),50,0),COLORYELLOW,LINETHICK2,STICK;