{太准了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 andxx10>xx200
andref(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)<xx200and xx5> xx10 andxx10>xx202
andref(xx5,2)<ref(xx10,2) and ref(xx10,2)< ref(xx202,2) ;
xx204:=ref(ma(二十斜率,24),2);
aa3:=xx204>=0.7and ref(xx200,1)<xx200 and xx5> xx10 andxx10>xx204
andref(xx5,2)<ref(xx10,2) and ref(xx10,2)< ref(xx204,2) ;
xx206:=ref(ma(二十斜率,26),2);
aa4:=xx206>=0.7and ref(xx200,1)<xx200 and xx5> xx10 andxx10>xx206
andref(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 andxx10>xx200
andref(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)<xx200and xx5> xx10 andxx10>xx202
andref(xx5,2)<ref(xx10,2) and ref(xx10,2)< ref(xx202,2) ;
xx204:=ref(ma(二十斜率,24),2);
aa3:=xx204>=0.7and ref(xx200,1)<xx200 and xx5> xx10 andxx10>xx204
andref(xx5,2)<ref(xx10,2) and ref(xx10,2)< ref(xx204,2) ;
xx206:=ref(ma(二十斜率,26),2);
aa4:=xx206>=0.7and ref(xx200,1)<xx200 and xx5> xx10 andxx10>xx206
andref(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 andxx10>xx200
andref(xx5,2)<ref(xx10,2) and ref(xx10,2)< ref(xx200,2) ;
xx202:=xma(二十斜率,22);
aa2:=xx202>=0.7 and ref(xx200,1)<xx200and xx5> xx10 andxx10>xx202
andref(xx5,2)<ref(xx10,2) and ref(xx10,2)< ref(xx202,2) ;
xx204:=xma(二十斜率,24);
aa3:=xx204>=0.7and ref(xx200,1)<xx200 and xx5> xx10 andxx10>xx204
andref(xx5,2)<ref(xx10,2) and ref(xx10,2)< ref(xx204,2) ;
xx206:=xma(二十斜率,26);
aa4:=xx206>=0.7and ref(xx200,1)<xx200 and xx5> xx10 andxx10>xx206
andref(xx5,2)<ref(xx10,2) and ref(xx10,2)< ref(xx206,2) ;
xx207:=xma(二十斜率,20);
aa7:=xx207>=0.7 and ref(xx207,1)<xx207 and cross(xx10,xx207)
and cross(ref(xx5,1),ref(xx207,1));
xx2071:=xma(二十斜率,23);
aa71:=xx2071>=0.7 and ref(xx2071,1)<xx2071 and cross(xx10,xx2071)
and cross(ref(xx5,1),ref(xx2071,1));
xx2072:=xma(二十斜率,26);
aa72:=xx2072>=0.7 and ref(xx2072,1)<xx2072 and cross(xx10,xx2072)
and cross(ref(xx5,1),ref(xx2072,1));
xx208:=xma(二十斜率,20);
aa8:=xx208>=0.7 and ref(xx208,1)<xx208 and cross(xx10,xx208)
and cross(xx5,xx208);
xx2081:=xma(二十斜率,23);
aa81:=xx2081>=0.7 and ref(xx2081,1)<xx2081 and cross(xx10,xx2081)
and cross(xx5,xx2081);
xx2082:=xma(二十斜率,26);
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;
2009-10-14 10:54
2009-10-14 10:54
2009-10-14 10:54
2009-10-14 10:54
2009-10-14 10:54
【本文仅提供源码,并无公式下载,如需公式,请参照下面公式编辑录像自行编辑成公式】
上一指标公式:阳春量价公式 飞狐阳春指标 源码
下一指标公式:暗渡陈仓公式 飞狐暗渡陈仓指标 源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文太准了GXGLPPP三版本公式 飞狐版本GXGLPPP指标 源码仅供学习研究。