分析家公式网,提供指标公式,股票软件 用户登录  |  用户 注册

软件名称:[B]金字塔PCB通道突破交易系统源码[金字塔模型][/B]
软件类型:国产软件
运行环境:Win2000/WinXP/Win2003/WinVista
软件语言:简体中文
授权方式:共享软件
软件大小:0 Bytes
官方主页:Home Page
更新时间:2013-03-08 07:07:14
软件简介:

{ 策略名称:PCB
 交易品种:糖
交易周期:5分钟
 入市策略:通道突破
 风险控制:收盘平仓
 资金管理:1手  }
金字塔公式 金字塔模型策略源码:runmode:0;

 input:period(20,5,100,5);
 variable:myasset=30000;
 
 entertime:=time>=092500 and time<=145500;
 exittime:=time>=150000;
 
 highest:=ref(hhv(high,period),1);
 lowest:=ref(llv(low,period),1);
 
 buycond:=entertime and high>=highest;
 buyprice:=max(open,highest);
 
 buyshortcond:=entertime and low<=lowest;
 buyshortprice:=min(open,lowest);
 
 if holding=0 and buycond then begin
 buy(1,1,limitr,buyprice);
 end
 
 if holding=0 and buyshortcond then begin
 buyshort(1,1,limitr,buyshortprice);
 end
 
 if holding>0 and exittime then begin
 sell(1,holding,limitr,close);
 end
 
 if holding<0 and exittime then begin
 sellshort(1,holding,limitr,close);
 end
 
 if exittime then
 myasset:=asset;
 
 资产:myasset,noaxis,colormagenta;
 次数:totaltrade,linethick0;
 收益:(myasset-30000)/30000,linethick0;
 成功率:percentwin,linethick0;
 连亏:maxseqloss,linethick0;
 连赢:maxseqwin,linethick0;

复制上述代码粘贴到到公式管理器
 


[url=http://www.70822.com/soft/sort013/sort068/down-59339.html]金字塔PCB通道突破交易系统源码[金字塔模型][/url]

关于本站 | 网站帮助 | 广告合作 | 声明 | 友情连接 | 网站地图 |
分析家公式网声明:本站所有股票公式软件资料均网上公开收集,如侵权请联系删帖。站内所有广告,均与本站无关!
Copyright © 2003-2024 70822.Com. All Rights Reserved .
页面执行时间:62.50000 毫秒