软件名称:[B]一线打天下[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:2.00 KB
官方主页:Home Page
更新时间:2011-02-10 01:39:31
软件简介:
一线打天下
指标应该越简单越好,看看这一条线如何?
源码奉献如下:
{一线打天下 }
VAR2:=LLV(LOW,18);
VAR3:=HHV(HIGH,18);
VAR4:=EMA(((CLOSE-VAR2)/(VAR3-VAR2))*(100),13);
VAR5:=EMA((0.61799997)*(REF(VAR4,1))+(0.38199999)*(VAR4),3);
drawtext((VAR5-REF(VAR5,1))>0,VAR5,'·'),Color00FFFF,POINTDOT,Linethick3;
drawtext((VAR5-REF(VAR5,1))<0,VAR5,'·'),ColorFF0000,POINTDOT,Linethick3;
drawtext(((VAR5-REF(VAR5,1)<0) AND (REF(VAR5,1)>REF(VAR5,2)) AND (VAR5>40)),(VAR5*0.98),'↓'),Color0000FF,Linethick3;
IF(CROSS(80,VAR5),80,100),ColorFFFFFF;
VAR6:=((CLOSE-MA(CLOSE,6))/(MA(CLOSE,6)))*(100);
VAR7:=((CLOSE-MA(CLOSE,12))/(MA(CLOSE,12)))*(100);
VAR8:=((CLOSE-MA(CLOSE,24))/(MA(CLOSE,24)))*(100);
VAR9:=(VAR6+(2)*(VAR7)+(3)*(VAR8))/(6);
VARA:=MA(VAR9,3);
警戒:IF((VARA<-6),15,0),ColorFFFF00;
15,Color0000FF;
50,Color008000;
80,ColorFF0000;
指标应该越简单越好,看看这一条线如何?
源码奉献如下:
{一线打天下 }
VAR2:=LLV(LOW,18);
VAR3:=HHV(HIGH,18);
VAR4:=EMA(((CLOSE-VAR2)/(VAR3-VAR2))*(100),13);
VAR5:=EMA((0.61799997)*(REF(VAR4,1))+(0.38199999)*(VAR4),3);
drawtext((VAR5-REF(VAR5,1))>0,VAR5,'·'),Color00FFFF,POINTDOT,Linethick3;
drawtext((VAR5-REF(VAR5,1))<0,VAR5,'·'),ColorFF0000,POINTDOT,Linethick3;
drawtext(((VAR5-REF(VAR5,1)<0) AND (REF(VAR5,1)>REF(VAR5,2)) AND (VAR5>40)),(VAR5*0.98),'↓'),Color0000FF,Linethick3;
IF(CROSS(80,VAR5),80,100),ColorFFFFFF;
VAR6:=((CLOSE-MA(CLOSE,6))/(MA(CLOSE,6)))*(100);
VAR7:=((CLOSE-MA(CLOSE,12))/(MA(CLOSE,12)))*(100);
VAR8:=((CLOSE-MA(CLOSE,24))/(MA(CLOSE,24)))*(100);
VAR9:=(VAR6+(2)*(VAR7)+(3)*(VAR8))/(6);
VARA:=MA(VAR9,3);
警戒:IF((VARA<-6),15,0),ColorFFFF00;
15,Color0000FF;
50,Color008000;
80,ColorFF0000;
[url=http://www.70822.com/soft/sort013/sort05/down-30273.html]一线打天下[/url]