-- 作者:西施
-- 发布时间:2015/4/27 10:33:28
-- 请高手帮助
if barpos<3 then exit; if close>ref(close,1) and holding=0 then buy(1,1,thisclose);
if close<ref(close,1) and holding>0 then sell(1,1,thisclose);
以上交易策略中
K线图中有平仓信号,而图表程式化交易中却没有平仓,不知为何?
另外图表交易中有开多交易显示,而在账户中去不显示有开仓?
[此贴子已经被作者于2015/4/27 10:34:15编辑过]
|