当前位置:分析家公式网 → 股票公式 → 飞狐公式 → 一键转帖:【长线策略】Aberration ——(金字塔,飞狐)
软件名称:[B]【长线策略】Aberration ——(金字塔,飞狐)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:1.00 KB
官方主页:Home Page
更新时间:2012-11-28 03:50:32
软件简介:
代码: //策略名:Aberration //类型:中长线 //使用市场:多市场 //修订时间:2012.11.1 //Designed By Rogarz input:m(35,5,300,30),N(2,0.1,10,1),ss(1,1,100,1); MID : MA(CLOSE,M);//中轨 UPPER: MID + N*STD(CLOSE,M);//上轨 LOWER: MID - N*STD(CLOSE,M);//下轨 手数:ss; //条件: 开多条件:=c>upper and holding=0;//上穿上轨开多 开空条件:=c<lower and holding=0;//下穿下轨开空 平多条件:=c<mid and holding>0; //下穿中轨平多 平空条件:=c>mid and holding<0; //上穿中轨平空 if 开多条件 then buy(1,手数,market); if 开空条件 then buyshort(1,手数,market); if 平多条件 then sell(1,手数,market); if 平空条件 then sellshort(1,手数,market);
[url=http://www.70822.com/soft/sort013/sort02/down-55420.html]【长线策略】Aberration ——(金字塔,飞狐)[/url]