当前位置:分析家公式网 → 股票公式 → 飞狐公式 → 一键转帖:太准了GXGLPPP三版本源码
软件名称:[B]太准了GXGLPPP三版本源码[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:0 Bytes
官方主页:Home Page
更新时间:2009-10-14 13:53:28
软件简介:
{太准了GXGLPPP三版本源码------理想小侠迷改编飞狐版本.}
//下面是改编原理:因为去了未来涵数XMA,效果不如通达信。
//EXPMA通达信的解释:
//EXPMEMA同EMA(即EXPMA)的差别在于他的起始值为一平滑值
//EXPMEMA(X,M):X的M日指数平滑移动平均
//EMA(或EXPMA) 指数移动平均
//返回指数移动平均。
//用法: EMA(X,M) X的M日指数移动平均。
//XMA返回偏移移动平均用法:
//XMA(X,M):X的M日偏移移动平均
//价咯:=XMA(CLOSE,14); //通达信
//这个函数是通达信的专用函数,飞狐没有替代。
//但可以变通一下,不过效果不如通达信:
//价咯:=REF(MA(CLOSE,14),2); //飞狐
{感谢GXGLPPP先生提供原创思路}
X5:=EMA(CLOSE,3);
X10:=EMA(CLOSE,7);
X20:=EMA(CLOSE,20);
五日斜率:=(X5-REF(X5,1))*100/REF(X5,1);
十日斜率:=(X10-REF(X10,1))*100/REF(X10,1);
二十斜率:=(X20-REF(X20,1))*100/REF(X20,1);
XX5:=REF(MA(五日斜率,4),2);
XX10:=REF(MA(十日斜率,7),2);
XX200:=REF(MA(二十斜率,20),2);
AA1:=XX200>=0.7 AND REF(XX200,1)<XX200 AND XX5> XX10 AND XX10>XX200
AND REF(XX5,2)<REF(XX10,2) AND REF(XX10,2)< REF(XX200,2) ;
XX202:=REF(MA(二十斜率,22),2);
AA2:=XX202>=0.7 AND REF(XX200,1)<XX200 AND XX5> XX10 AND XX10>XX202
AND REF(XX5,2)<REF(XX10,2) AND REF(XX10,2)< REF(XX202,2) ;
XX204:=REF(MA(二十斜率,24),2);
AA3:=XX204>=0.7 AND REF(XX200,1)<XX200 AND XX5> XX10 AND XX10>XX204
AND REF(XX5,2)<REF(XX10,2) AND REF(XX10,2)< REF(XX204,2) ;
XX206:=REF(MA(二十斜率,26),2);
AA4:=XX206>=0.7 AND REF(XX200,1)<XX200 AND XX5> XX10 AND XX10>XX206
AND REF(XX5,2)<REF(XX10,2) AND REF(XX10,2)< REF(XX206,2) ;
XX207:=REF(MA(二十斜率,20),2);
AA7:=XX207>=0.7 AND REF(XX207,1)<XX207 AND CROSS(XX10,XX207)
AND CROSS(REF(XX5,1),REF(XX207,1));
XX2071:=REF(MA(二十斜率,23),2);
AA71:=XX2071>=0.7 AND REF(XX2071,1)<XX2071 AND CROSS(XX10,XX2071)
AND CROSS(REF(XX5,1),REF(XX2071,1));
XX2072:=REF(MA(二十斜率,26),2);
AA72:=XX2072>=0.7 AND REF(XX2072,1)<XX2072 AND CROSS(XX10,XX2072)
AND CROSS(REF(XX5,1),REF(XX2072,1));
XX208:=REF(MA(二十斜率,20),2);
AA8:=XX208>=0.7 AND REF(XX208,1)<XX208 AND CROSS(XX10,XX208)
AND CROSS(XX5,XX208);
XX2081:=REF(MA(二十斜率,23),2);
AA81:=XX2081>=0.7 AND REF(XX2081,1)<XX2081 AND CROSS(XX10,XX2081)
AND CROSS(XX5,XX2081);
XX2082:=REF(MA(二十斜率,26),2);
AA82:=XX2082>=0.7 AND REF(XX2082,1)<XX2082 AND CROSS(XX10,XX2082)
AND CROSS(XX5,XX2082);
太准:AA1 OR AA2 OR AA3 OR AA4 OR AA7 OR AA71 OR AA72 OR AA8 OR AA81 OR AA82;
DRAWTEXT(AA1=1,H/2,'AA1'),COLORRED;
DRAWTEXT(AA2=1,H/2.5,'AA2'),COLORRED;
DRAWTEXT(AA3=1,H/3,'AA3'),COLORRED;
DRAWTEXT(AA4=1,H/3.5,'AA4'),COLORRED;
DRAWTEXT(AA7=1,H/4,'AA7'),COLORRED;
DRAWTEXT(AA71=1,H/1.88,'AA71'),COLORRED;
DRAWTEXT(AA72=1,H/2.98,'AA72'),COLORRED;
DRAWTEXT(AA8=1,H/3.18,'AA8'),COLORRED;
DRAWTEXT(AA81=1,H/1.58,'AA81'),COLORRED;
DRAWTEXT(AA82=1,H/2.78,'AA82'),COLORRED;
DRAWTEXTEX(c,1,400,900,'====理想小侠迷改编飞狐版本===='),Color00FF00;
{太准了GXGLPPP------理想小侠迷改编大智慧L-2版本}
{下面是改编原理:因为去了未来涵数XMA,效果不如通达信。}
{EXPMA通达信的解释:}
{EXPMEMA同EMA(即EXPMA)的差别在于他的起始值为一平滑值}
{EXPMEMA(X,M):X的M日指数平滑移动平均}
{EMA(或EXPMA) 指数移动平均}
{返回指数移动平均。}
{用法: EMA(X,M) X的M日指数移动平均。}
{XMA返回偏移移动平均用法:}
{XMA(X,M):X的M日偏移移动平均}
{价咯:=XMA(CLOSE,14); //通达信}
{这个函数是通达信的专用函数,飞狐没有替代。}
{但可以变通一下,不过效果不如通达信:}
{价咯:=REF(MA(CLOSE,14),2); //飞狐}
{感谢GXGLPPP先生提供原创思路}
X5:=EMA(CLOSE,3);
X10:=EMA(CLOSE,7);
X20:=EMA(CLOSE,20);
五日斜率:=(X5-REF(X5,1))*100/REF(X5,1);
十日斜率:=(X10-REF(X10,1))*100/REF(X10,1);
二十斜率:=(X20-REF(X20,1))*100/REF(X20,1);
XX5:=REF(MA(五日斜率,4),2);
XX10:=REF(MA(十日斜率,7),2);
XX200:=REF(MA(二十斜率,20),2);
AA1:=XX200>=0.7 AND REF(XX200,1)<XX200 AND XX5> XX10 AND XX10>XX200
AND REF(XX5,2)<REF(XX10,2) AND REF(XX10,2)< REF(XX200,2) ;
XX202:=REF(MA(二十斜率,22),2);
AA2:=XX202>=0.7 AND REF(XX200,1)<XX200 AND XX5> XX10 AND XX10>XX202
AND REF(XX5,2)<REF(XX10,2) AND REF(XX10,2)< REF(XX202,2) ;
XX204:=REF(MA(二十斜率,24),2);
AA3:=XX204>=0.7 AND REF(XX200,1)<XX200 AND XX5> XX10 AND XX10>XX204
AND REF(XX5,2)<REF(XX10,2) AND REF(XX10,2)< REF(XX204,2) ;
XX206:=REF(MA(二十斜率,26),2);
AA4:=XX206>=0.7 AND REF(XX200,1)<XX200 AND XX5> XX10 AND XX10>XX206
AND REF(XX5,2)<REF(XX10,2) AND REF(XX10,2)< REF(XX206,2) ;
XX207:=REF(MA(二十斜率,20),2);
AA7:=XX207>=0.7 AND REF(XX207,1)<XX207 AND CROSS(XX10,XX207)
AND CROSS(REF(XX5,1),REF(XX207,1));
XX2071:=REF(MA(二十斜率,23),2);
AA71:=XX2071>=0.7 AND REF(XX2071,1)<XX2071 AND CROSS(XX10,XX2071)
AND CROSS(REF(XX5,1),REF(XX2071,1));
XX2072:=REF(MA(二十斜率,26),2);
AA72:=XX2072>=0.7 AND REF(XX2072,1)<XX2072 AND CROSS(XX10,XX2072)
AND CROSS(REF(XX5,1),REF(XX2072,1));
XX208:=REF(MA(二十斜率,20),2);
AA8:=XX208>=0.7 AND REF(XX208,1)<XX208 AND CROSS(XX10,XX208)
AND CROSS(XX5,XX208);
XX2081:=REF(MA(二十斜率,23),2);
AA81:=XX2081>=0.7 AND REF(XX2081,1)<XX2081 AND CROSS(XX10,XX2081)
AND CROSS(XX5,XX2081);
XX2082:=REF(MA(二十斜率,26),2);
AA82:=XX2082>=0.7 AND REF(XX2082,1)<XX2082 AND CROSS(XX10,XX2082)
AND CROSS(XX5,XX2082);
太准:AA1 OR AA2 OR AA3 OR AA4 OR AA7 OR AA71 OR AA72 OR AA8 OR AA81 OR AA82;
DRAWTEXT(AA1=1,H/2,'AA1'),COLORRED;
DRAWTEXT(AA2=1,H/2.5,'AA2'),COLORRED;
DRAWTEXT(AA3=1,H/3,'AA3'),COLORRED;
DRAWTEXT(AA4=1,H/3.5,'AA4'),COLORRED;
DRAWTEXT(AA7=1,H/4,'AA7'),COLORRED;
DRAWTEXT(AA71=1,H/1.88,'AA71'),COLORRED;
DRAWTEXT(AA72=1,H/2.98,'AA72'),COLORRED;
DRAWTEXT(AA8=1,H/3.18,'AA8'),COLORRED;
DRAWTEXT(AA81=1,H/1.58,'AA81'),COLORRED;
DRAWTEXT(AA82=1,H/2.78,'AA82'),COLORRED;
DRAWTEXTABS(280,280,'====理想小侠迷改编大智慧L-2版本===='),Color00FF00;
{太准了GXGLPPP------理想GXGLPPP通达信版本}
X5:=EXPMA(CLOSE,3);
X10:=EXPMA(CLOSE,7);
X20:=EXPMA(CLOSE,20);
五日斜率:=(X5-REF(X5,1))*100/REF(X5,1),LINETHICK2,COLORYELLOW;
十日斜率:=(X10-REF(X10,1))*100/REF(X10,1),LINETHICK2,COLORBLUE;
二十斜率:=(X20-REF(X20,1))*100/REF(X20,1),LINETHICK2,COLORWHITE;
XX5:=XMA(五日斜率,4),LINETHICK2,COLORYELLOW;
XX10:=XMA(十日斜率,7),LINETHICK2,COLORBLUE;
XX200:=XMA(二十斜率,20);
AA1:=XX200>=0.7 AND REF(XX200,1)<XX200 AND XX5> XX10 AND XX10>XX200
AND REF(XX5,2)<REF(XX10,2) AND REF(XX10,2)< REF(XX200,2) ;
XX202:=XMA(二十斜率,22);
AA2:=XX202>=0.7 AND REF(XX200,1)<XX200 AND XX5> XX10 AND XX10>XX202
AND REF(XX5,2)<REF(
[url=http://www.70822.com/soft/sort013/sort02/down-13629.html]太准了GXGLPPP三版本源码[/url]
//下面是改编原理:因为去了未来涵数XMA,效果不如通达信。
//EXPMA通达信的解释:
//EXPMEMA同EMA(即EXPMA)的差别在于他的起始值为一平滑值
//EXPMEMA(X,M):X的M日指数平滑移动平均
//EMA(或EXPMA) 指数移动平均
//返回指数移动平均。
//用法: EMA(X,M) X的M日指数移动平均。
//XMA返回偏移移动平均用法:
//XMA(X,M):X的M日偏移移动平均
//价咯:=XMA(CLOSE,14); //通达信
//这个函数是通达信的专用函数,飞狐没有替代。
//但可以变通一下,不过效果不如通达信:
//价咯:=REF(MA(CLOSE,14),2); //飞狐
{感谢GXGLPPP先生提供原创思路}
X5:=EMA(CLOSE,3);
X10:=EMA(CLOSE,7);
X20:=EMA(CLOSE,20);
五日斜率:=(X5-REF(X5,1))*100/REF(X5,1);
十日斜率:=(X10-REF(X10,1))*100/REF(X10,1);
二十斜率:=(X20-REF(X20,1))*100/REF(X20,1);
XX5:=REF(MA(五日斜率,4),2);
XX10:=REF(MA(十日斜率,7),2);
XX200:=REF(MA(二十斜率,20),2);
AA1:=XX200>=0.7 AND REF(XX200,1)<XX200 AND XX5> XX10 AND XX10>XX200
AND REF(XX5,2)<REF(XX10,2) AND REF(XX10,2)< REF(XX200,2) ;
XX202:=REF(MA(二十斜率,22),2);
AA2:=XX202>=0.7 AND REF(XX200,1)<XX200 AND XX5> XX10 AND XX10>XX202
AND REF(XX5,2)<REF(XX10,2) AND REF(XX10,2)< REF(XX202,2) ;
XX204:=REF(MA(二十斜率,24),2);
AA3:=XX204>=0.7 AND REF(XX200,1)<XX200 AND XX5> XX10 AND XX10>XX204
AND REF(XX5,2)<REF(XX10,2) AND REF(XX10,2)< REF(XX204,2) ;
XX206:=REF(MA(二十斜率,26),2);
AA4:=XX206>=0.7 AND REF(XX200,1)<XX200 AND XX5> XX10 AND XX10>XX206
AND REF(XX5,2)<REF(XX10,2) AND REF(XX10,2)< REF(XX206,2) ;
XX207:=REF(MA(二十斜率,20),2);
AA7:=XX207>=0.7 AND REF(XX207,1)<XX207 AND CROSS(XX10,XX207)
AND CROSS(REF(XX5,1),REF(XX207,1));
XX2071:=REF(MA(二十斜率,23),2);
AA71:=XX2071>=0.7 AND REF(XX2071,1)<XX2071 AND CROSS(XX10,XX2071)
AND CROSS(REF(XX5,1),REF(XX2071,1));
XX2072:=REF(MA(二十斜率,26),2);
AA72:=XX2072>=0.7 AND REF(XX2072,1)<XX2072 AND CROSS(XX10,XX2072)
AND CROSS(REF(XX5,1),REF(XX2072,1));
XX208:=REF(MA(二十斜率,20),2);
AA8:=XX208>=0.7 AND REF(XX208,1)<XX208 AND CROSS(XX10,XX208)
AND CROSS(XX5,XX208);
XX2081:=REF(MA(二十斜率,23),2);
AA81:=XX2081>=0.7 AND REF(XX2081,1)<XX2081 AND CROSS(XX10,XX2081)
AND CROSS(XX5,XX2081);
XX2082:=REF(MA(二十斜率,26),2);
AA82:=XX2082>=0.7 AND REF(XX2082,1)<XX2082 AND CROSS(XX10,XX2082)
AND CROSS(XX5,XX2082);
太准:AA1 OR AA2 OR AA3 OR AA4 OR AA7 OR AA71 OR AA72 OR AA8 OR AA81 OR AA82;
DRAWTEXT(AA1=1,H/2,'AA1'),COLORRED;
DRAWTEXT(AA2=1,H/2.5,'AA2'),COLORRED;
DRAWTEXT(AA3=1,H/3,'AA3'),COLORRED;
DRAWTEXT(AA4=1,H/3.5,'AA4'),COLORRED;
DRAWTEXT(AA7=1,H/4,'AA7'),COLORRED;
DRAWTEXT(AA71=1,H/1.88,'AA71'),COLORRED;
DRAWTEXT(AA72=1,H/2.98,'AA72'),COLORRED;
DRAWTEXT(AA8=1,H/3.18,'AA8'),COLORRED;
DRAWTEXT(AA81=1,H/1.58,'AA81'),COLORRED;
DRAWTEXT(AA82=1,H/2.78,'AA82'),COLORRED;
DRAWTEXTEX(c,1,400,900,'====理想小侠迷改编飞狐版本===='),Color00FF00;
{太准了GXGLPPP------理想小侠迷改编大智慧L-2版本}
{下面是改编原理:因为去了未来涵数XMA,效果不如通达信。}
{EXPMA通达信的解释:}
{EXPMEMA同EMA(即EXPMA)的差别在于他的起始值为一平滑值}
{EXPMEMA(X,M):X的M日指数平滑移动平均}
{EMA(或EXPMA) 指数移动平均}
{返回指数移动平均。}
{用法: EMA(X,M) X的M日指数移动平均。}
{XMA返回偏移移动平均用法:}
{XMA(X,M):X的M日偏移移动平均}
{价咯:=XMA(CLOSE,14); //通达信}
{这个函数是通达信的专用函数,飞狐没有替代。}
{但可以变通一下,不过效果不如通达信:}
{价咯:=REF(MA(CLOSE,14),2); //飞狐}
{感谢GXGLPPP先生提供原创思路}
X5:=EMA(CLOSE,3);
X10:=EMA(CLOSE,7);
X20:=EMA(CLOSE,20);
五日斜率:=(X5-REF(X5,1))*100/REF(X5,1);
十日斜率:=(X10-REF(X10,1))*100/REF(X10,1);
二十斜率:=(X20-REF(X20,1))*100/REF(X20,1);
XX5:=REF(MA(五日斜率,4),2);
XX10:=REF(MA(十日斜率,7),2);
XX200:=REF(MA(二十斜率,20),2);
AA1:=XX200>=0.7 AND REF(XX200,1)<XX200 AND XX5> XX10 AND XX10>XX200
AND REF(XX5,2)<REF(XX10,2) AND REF(XX10,2)< REF(XX200,2) ;
XX202:=REF(MA(二十斜率,22),2);
AA2:=XX202>=0.7 AND REF(XX200,1)<XX200 AND XX5> XX10 AND XX10>XX202
AND REF(XX5,2)<REF(XX10,2) AND REF(XX10,2)< REF(XX202,2) ;
XX204:=REF(MA(二十斜率,24),2);
AA3:=XX204>=0.7 AND REF(XX200,1)<XX200 AND XX5> XX10 AND XX10>XX204
AND REF(XX5,2)<REF(XX10,2) AND REF(XX10,2)< REF(XX204,2) ;
XX206:=REF(MA(二十斜率,26),2);
AA4:=XX206>=0.7 AND REF(XX200,1)<XX200 AND XX5> XX10 AND XX10>XX206
AND REF(XX5,2)<REF(XX10,2) AND REF(XX10,2)< REF(XX206,2) ;
XX207:=REF(MA(二十斜率,20),2);
AA7:=XX207>=0.7 AND REF(XX207,1)<XX207 AND CROSS(XX10,XX207)
AND CROSS(REF(XX5,1),REF(XX207,1));
XX2071:=REF(MA(二十斜率,23),2);
AA71:=XX2071>=0.7 AND REF(XX2071,1)<XX2071 AND CROSS(XX10,XX2071)
AND CROSS(REF(XX5,1),REF(XX2071,1));
XX2072:=REF(MA(二十斜率,26),2);
AA72:=XX2072>=0.7 AND REF(XX2072,1)<XX2072 AND CROSS(XX10,XX2072)
AND CROSS(REF(XX5,1),REF(XX2072,1));
XX208:=REF(MA(二十斜率,20),2);
AA8:=XX208>=0.7 AND REF(XX208,1)<XX208 AND CROSS(XX10,XX208)
AND CROSS(XX5,XX208);
XX2081:=REF(MA(二十斜率,23),2);
AA81:=XX2081>=0.7 AND REF(XX2081,1)<XX2081 AND CROSS(XX10,XX2081)
AND CROSS(XX5,XX2081);
XX2082:=REF(MA(二十斜率,26),2);
AA82:=XX2082>=0.7 AND REF(XX2082,1)<XX2082 AND CROSS(XX10,XX2082)
AND CROSS(XX5,XX2082);
太准:AA1 OR AA2 OR AA3 OR AA4 OR AA7 OR AA71 OR AA72 OR AA8 OR AA81 OR AA82;
DRAWTEXT(AA1=1,H/2,'AA1'),COLORRED;
DRAWTEXT(AA2=1,H/2.5,'AA2'),COLORRED;
DRAWTEXT(AA3=1,H/3,'AA3'),COLORRED;
DRAWTEXT(AA4=1,H/3.5,'AA4'),COLORRED;
DRAWTEXT(AA7=1,H/4,'AA7'),COLORRED;
DRAWTEXT(AA71=1,H/1.88,'AA71'),COLORRED;
DRAWTEXT(AA72=1,H/2.98,'AA72'),COLORRED;
DRAWTEXT(AA8=1,H/3.18,'AA8'),COLORRED;
DRAWTEXT(AA81=1,H/1.58,'AA81'),COLORRED;
DRAWTEXT(AA82=1,H/2.78,'AA82'),COLORRED;
DRAWTEXTABS(280,280,'====理想小侠迷改编大智慧L-2版本===='),Color00FF00;
{太准了GXGLPPP------理想GXGLPPP通达信版本}
X5:=EXPMA(CLOSE,3);
X10:=EXPMA(CLOSE,7);
X20:=EXPMA(CLOSE,20);
五日斜率:=(X5-REF(X5,1))*100/REF(X5,1),LINETHICK2,COLORYELLOW;
十日斜率:=(X10-REF(X10,1))*100/REF(X10,1),LINETHICK2,COLORBLUE;
二十斜率:=(X20-REF(X20,1))*100/REF(X20,1),LINETHICK2,COLORWHITE;
XX5:=XMA(五日斜率,4),LINETHICK2,COLORYELLOW;
XX10:=XMA(十日斜率,7),LINETHICK2,COLORBLUE;
XX200:=XMA(二十斜率,20);
AA1:=XX200>=0.7 AND REF(XX200,1)<XX200 AND XX5> XX10 AND XX10>XX200
AND REF(XX5,2)<REF(XX10,2) AND REF(XX10,2)< REF(XX200,2) ;
XX202:=XMA(二十斜率,22);
AA2:=XX202>=0.7 AND REF(XX200,1)<XX200 AND XX5> XX10 AND XX10>XX202
AND REF(XX5,2)<REF(
[url=http://www.70822.com/soft/sort013/sort02/down-13629.html]太准了GXGLPPP三版本源码[/url]