股票论坛

标题: 请老师写个条件选股。谢谢 [打印本页]

作者: 亦然    时间: 2015-12-17 22:15
标题: 请老师写个条件选股。谢谢
当出现【准备买入】的信号时,给出选股

源码:

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),COLORYELLOW,LINETHICK1;  
VAR2:8,COLORGREEN,LINETHICK0;  
增强体力: IF(CROSS(VAR1,VAR2),80,0),STICK,LINETHICK2;  
专吸庄血: IF(VAR1<=8,25,0),STICK,COLORWHITE,LINETHICK2;  
DRAWTEXT(CROSS(VAR1,VAR2),80,'准备买入');  
VARO5:=LLV(LOW,27);  
VARO6:=HHV(HIGH,34);  
VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;  
建仓区: IF((VARO7<10),80,100) ,LINETHICK1;  
0, LINETHICK1;
作者: 新朝阳    时间: 2015-12-18 18:01
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;  
增强体力:=IF(CROSS(VAR1,VAR2),80,0);  
专吸庄血:=IF(VAR1<=8,25,0);  
XG:CROSS(VAR1,VAR2);  

作者: 亦然    时间: 2015-12-18 19:15
谢谢朝阳老师大力相助,
作者: 林宗磊    时间: 2015-12-20 15:18





欢迎光临 股票论坛 (http://100000w.com/) Powered by Discuz! X3.2