股票论坛

标题: 请老师改个选股公式,谢谢 [打印本页]

作者: 方天问    时间: 2016-9-1 16:25
标题: 请老师改个选股公式,谢谢
金谷波峰副图,在抄底和逃顶时分别做个选股公式,谢谢!!

金谷波峰 副图

VAR1:=(CLOSE-LLV(LOW,14))/(HHV(HIGH,14)-LLV(LOW,14))*100;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
VAR4:=SMA(VAR3,3,1);
波: VAR3;
段: VAR4;
VAR6:=CROSS(VAR3,VAR4) AND VAR3<20;
DRAWTEXT(FILTER(VAR6,8)=1,40,'抄底'),LINETHICK3  ;
STICKLINE(FILTER(VAR6,8)=1,0,30,10,0),COLORGREEN  ;
VAR7:=CROSS(VAR4,VAR3) AND VAR3>80;
STICKLINE(FILTER(VAR7,5)=1,80,100,10,0),COLORYELLOW  ;
DRAWTEXT(FILTER(VAR7,5)=1,70,'逃顶'),LINETHICK3 ,COLORYELLOW;
VAR8:=CROSS(VAR2,VAR3) AND VAR3>80 AND VAR3>VAR4;
STICKLINE(VAR8,85,100,10,0) ;
90 ;
0;
作者: (百川)    时间: 2016-9-1 16:25

{金谷波峰抄底副图}


VAR1:=(CLOSE-LLV(LOW,14))/(HHV(HIGH,14)-LLV(LOW,14))*100;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
VAR4:=SMA(VAR3,3,1);
波:=VAR3;
段:=VAR4;
VAR6:=CROSS(VAR3,VAR4) AND VAR3<20;
抄底:FILTER(VAR6,8)=1,COLORYELLOW;
DRAWTEXT(抄底,(FILTER(VAR6,8)=1)*0.33,'抄底'),COLORYELLOW;

作者: (百川)    时间: 2016-9-1 17:17

{金谷波峰抄底预警}


VAR1:=(CLOSE-LLV(LOW,14))/(HHV(HIGH,14)-LLV(LOW,14))*100;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
VAR4:=SMA(VAR3,3,1);
波:=VAR3;
段:=VAR4;
VAR6:=CROSS(VAR3,VAR4) AND VAR3<20;
抄底:FILTER(VAR6,8)=1;
作者: (百川)    时间: 2016-9-1 17:24
{金谷波峰逃顶副图}

VAR1:=(CLOSE-LLV(LOW,14))/(HHV(HIGH,14)-LLV(LOW,14))*100;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
VAR4:=SMA(VAR3,3,1);
波:=VAR3;
段:=VAR4;
VAR6:=CROSS(VAR3,VAR4) AND VAR3<20;

VAR7:=CROSS(VAR4,VAR3) AND VAR3>80;

逃顶:FILTER(VAR7,5)=1,COLORGREEN,LINETHICK3;
DRAWTEXT(逃顶,(FILTER(VAR7,5)=1)*0.55,'逃顶'),COLORGREEN;

作者: (百川)    时间: 2016-9-1 17:25
{金谷波峰逃顶预警}
VAR1:=(CLOSE-LLV(LOW,14))/(HHV(HIGH,14)-LLV(LOW,14))*100;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
VAR4:=SMA(VAR3,3,1);
波:=VAR3;
段:=VAR4;
VAR6:=CROSS(VAR3,VAR4) AND VAR3<20;
VAR7:=CROSS(VAR4,VAR3) AND VAR3>80;
逃顶:FILTER(VAR7,5)=1;
作者: (百川)    时间: 2016-9-1 17:30
{金谷波峰抄底,逃顶副图}
VAR1:=(CLOSE-LLV(LOW,14))/(HHV(HIGH,14)-LLV(LOW,14))*100;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
VAR4:=SMA(VAR3,3,1);
VAR6:=CROSS(VAR3,VAR4) AND VAR3<20;
抄底:FILTER(VAR6,8)=1,COLORMAGENTA;
DRAWTEXT(抄底,(FILTER(VAR6,8)=1)*0.33,'抄底'),COLORMAGENTA;
VAR7:=CROSS(VAR4,VAR3) AND VAR3>80;
逃顶:FILTER(VAR7,5)=1,COLORGREEN,LINETHICK3;
DRAWTEXT(逃顶,(FILTER(VAR7,5)=1)*0.55,'逃顶'),COLORGREEN;




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