龙听期货论坛's Archiver






 微信: QQ:

龙听 发表于 2019-1-6 14:29

[转载]分形通道突破+考夫曼自适应移动均线+鳄鱼(金字塔)

分形通道突破[code]
runmode:0;
sfx:=ref(high,1)ref(high,3);
xfx:= ref(low,1)>ref(low,2) and ref(low,2)
upperband:=valuewhen(sfx,ref(high,2));
lowerband:=valuewhen(xfx,ref(low,2));
exittime:=time>=150000;

if holding=0 then begin
if high>=upperband then
  buy(1,1,limitr,max(open,upperband));
end
if holding=0 then begin
if low<=lowerband then
  buyshort(1,1,limitr,min(open,lowerband));
end
if holding>0 then begin
if time>=150000 then
  sell(1,holding,limitr,close);
end
if holding<0 then begin
if time>=150000 then
  sellshort(1,holding,limitr,close);
end
盈亏:asset-50000,noaxis,colorred,linethick2;
[/code]


考夫曼自适应移动均线系统

[code]
runmode:0;
input:length1(10,5,60,5);
input:length2(5,5,60,5);
ama:=md(close,length1);
ama1:=ema(ama,length2);
entrylongcond:=ref(cross(ama,ama1),1);
entryshortcond:=ref(cross(ama1,ama),1);
if holding=0 then begin
if entrylongcond then
  buy(1,1,limitr,open);
end
if holding=0 then begin
if entryshortcond then
  buyshort(1,1,limitr,open);
end
if holding>0 then begin
if entryshortcond then begin
  sell(1,holding,limitr,open);
  buyshort(1,1,limitr,open);
end
end
if holding<0 then begin
if entrylongcond then begin
  sellshort(1,holding,limitr,open);
  buy(1,1,limitr,open);
end
end
盈亏:asset-50000,noaxis,colorred,linethick2;
[/code]


鳄鱼线与分形图

**** Hidden Message *****

水月寒 发表于 2019-1-12 12:32

thanks

刘伟 发表于 2019-1-18 21:12

thanks

清心淡雅 发表于 2019-4-4 13:55

学习

刘伟 发表于 2019-6-6 15:51

好东西学习学习

金刚橛 发表于 2019-7-30 12:13

感谢分享

呆哥哥 发表于 2020-1-3 23:27

感謝分享、版主辛苦了

呆哥哥 发表于 2020-1-3 23:28

感謝分享、版主辛苦了

傲雪松 发表于 2020-1-26 21:10

感谢!学习

雷杨 发表于 2020-3-15 20:27

学习了

野孩子期货量化 发表于 2022-11-22 14:19



页: [1]
渠道·推广(20年运营值得信赖!)▼:温馨提示:期货论坛稳定、流畅的访问体验有赖于赞助商的广告支持,赞助商业务内容非本站官方业务,期货、证券及外汇投资均有亏损的风险,访问赞助商广告即代表您已了解其中的风险。欢迎意向赞助商联系客服或管理员咨询相关事宜。
                     
❤️2025年通过期货论坛开户享受如下优惠政策:政策一:手续费最低交易所+1分起,政策二:日内炒单及大资金享更高比率返还,政策三:保证金可申请交易所标准+0,政策四:开户即享有论坛Prime会员资格(价值199元/年),开户咨询管理员或右侧客服! 😋欧美期货杂志购买、下载与中文翻译:/thread-10603-1-1.html |TB/MC开户优惠政策:/thread-5986-1-1.html2025年最新交易所手续费表:/thread-7537-1-1.htmlSC2.png2025年最新中文翻译:/thread-160355-1-1.html;
欧美期货程序化期刊中文翻译目录: 【1982/83.01-12期】 【1984.01-12期】 【1985.01-12期】 【1986.01-12期】 【1987.01-12期】 【1988.01-12期】 【1989.01-12期】 【1990.01-12期】 【1991.01-12期】 【1992.01-12期】 【1993.01-12期】 【1994.01-12期】 【1995.01-12期】 【1996.01-12期】 【1997.01-12期】 【1998.01-12期】 【1999.01-12期】 【2000.01-12期】 【2001.01-12期】 【2002.01-12期】 【2003.01-12期】 【2004.01-12期】 【2005.01-12期】 【2006.01-12期】 【2007.01-12期】 【2008.01-12期】 【2009.01-12期】 【2010.01-12期】 【2011.01-12期】 【2012.01-12期】 【2013.01-12期】 【2014.01-12期】正在更新中...... 【2015.01-12期】待补 【2016.01-12期】待补 【2017.01-12期】正在更新中...... 【2018.01-12期】 【2019.01-12期】 【2020.01-12期】 【2021.01-12期】 【2022.01-12期】 【2023.01-12期】 【2024.01-12期】 【2025.01-12期】正在更新中......