股票论坛

标题: 请老师改个猎豹出击的选股器和预警器,谢谢 [打印本页]

作者: 同程者    时间: 2016-8-3 18:31
标题: 请老师改个猎豹出击的选股器和预警器,谢谢
VAR1:=IF(CLOSE>REF(CLOSE,1),VOL,0);
VAR2:=IF(CLOSE<REF(CLOSE,1),VOL,0);
SH:SUM(VAR1,13),NODRAW;
UP:SUM(VAR2,13),NODRAW;
趋势线: 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA
(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),LINETHICK2,COLORMAGENTA;
见底线: 10,LINETHICK2,COLORYELLOW;
准备抄底: IF(趋势线<=10,50,0),LINETHICK1,COLORRED;
DRAWTEXT(CROSS(准备抄底,8),55,'准备'),COLOR00FF00,COLORRED;
猎豹出击: IF(CROSS(趋势线,见底线),82,0),LINETHICK2,COLORGREEN;
DRAWICON(猎豹出击>0,100,13),COLORYELLOW;
DRAWTEXT(CROSS(猎豹出击,8),89,'猎豹出击'),COLOR00FF00,COLORGREEN;

作者: (百川)    时间: 2016-8-3 21:05
{猎豹出击预警}
趋势线:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA (SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),LINETHICK2,COLORMAGENTA;
见底线:=10,LINETHICK2,COLORYELLOW;
猎豹出击:IF(CROSS(趋势线,见底线),82,0);





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