以文本方式查看主题 - 金字塔客服中心 - 专业程序化交易软件提供商 (http://weistock.com/bbs/index.asp) -- 公式模型编写问题提交 (http://weistock.com/bbs/list.asp?boardid=4) ---- 只有一个交易方向。有问题 (http://weistock.com/bbs/dispbbs.asp?boardid=4&id=29936) |
|
-- 作者:系统使用者 -- 发布时间:2012/10/18 17:10:16 -- 只有一个交易方向。有问题 Variable: aa=0,bb=0,cc=0,dd=0,ee=0,ff=0,gg=0,hh=0; if val2>0 then buy(1,25%,limitr,close); 资金线:asset,noaxis,colorffff,LINEDOT;
[此贴子已经被作者于2012-10-18 17:11:27编辑过]
|
|
-- 作者:jinzhe -- 发布时间:2012/10/18 17:14:00 -- 没写平仓条件啊 图表交易不能锁仓也就是说不能同时开多和开空, |
|
-- 作者:系统使用者 -- 发布时间:2012/10/18 17:15:00 -- 只有一个交易方向。有问题 次周期市价开仓,收盘平仓! [此贴子已经被作者于2012-10-18 17:15:56编辑过]
|
|
-- 作者:系统使用者 -- 发布时间:2012/10/18 17:17:25 -- if aa+bb+cc+dd+ee+ff+gg+hh>0 then Buy(\'\', DEFAULT, 0, 0, OT_Market, OB_NextBar, \'\');请解释BUY里面各个参数的含义
if aa+bb+cc+dd+ee+ff+gg+hh<0 then SellShort(\'\', DEFAULT, 0, 0, OT_Market, OB_NextBar, \'\');请解释SELLSRHOT里面各个参数的含义
|
|
-- 作者:系统使用者 -- 发布时间:2012/10/18 17:18:44 -- 麻烦一下, |
|
-- 作者:jinzhe -- 发布时间:2012/10/18 17:21:12 -- 那么就是一个方向的条件总是满足,另一个方向的条件总是不满足,所以造成有平仓条件的情况下只开一个方向的单 |
|
-- 作者:系统使用者 -- 发布时间:2012/10/18 17:23:07 -- 但在金魔方里就正常的,
|
|
-- 作者:RogarZ -- 发布时间:2012/10/18 17:41:47 -- 那你用的是金字塔还是金魔方? 金字塔的代码和金魔方的代码一样嘛? 相当于你用的了TB的代码 复制到 金字塔里 然后要求金字塔必须读出来。。。、 BUY SELL函数的意义 数据放到 公式中 BUY SELL上
"Buy(\'\', DEFAULT, 0, 0, OT_Market, OB_NextBar, \'\')" 这个是金魔方的代码,金字塔暂不支持,具体使用方法、参数设置 请咨询金魔方 |
|
-- 作者:系统使用者 -- 发布时间:2012/10/18 18:12:43 -- 我使用的金字塔 |
|
-- 作者:系统使用者 -- 发布时间:2012/10/18 18:17:53 -- 想转换在金字塔下使用。 |