把通达信指标准备买入,改成选股公式
2019/12/5 19:00:40
公式编写说明:
把通达信指标中的准备买入,改成选股公式。n:1 100 55VAR1:4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),COLORYELLOW,LINETHICK0;VAR2:8,COLORGREEN,LINETHICK0;大胆买入: IF(CROSS(VAR1,VAR2),80,0),STICK,COLOR0000CC,LINETHICK2;准备现金: IF(VAR1<=8,25,0),STICK,COLORWHITE,LINETHICK2;DRAWTEXT(CROSS(VAR1,VAR2),80,'准备买入'),COLOR00FFFF;VARO5:=LLV(LOW,27);VARO6:=HHV(HIGH,34);VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;建仓区: IF((VARO7<10),80,100) ,LINETHICK1 ,COLOR00CCFF;0,COLORFFCC00, LINETHICK2;
公式源码回答:
n:1 100 55
VAR1:=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1);
VAR2:=8,COLORGREEN,LINETHICK0;
CROSS(VAR1,VAR2);
投股 票网 www.tou18 .cn
股市公式下载推荐