以文本方式查看主题

-  金字塔客服中心 - 专业程序化交易软件提供商  (http://weistock.com/bbs/index.asp)
--  公式模型编写问题提交  (http://weistock.com/bbs/list.asp?boardid=4)
----  用了allowrepeat 为什么不能重复开仓  (http://weistock.com/bbs/dispbbs.asp?boardid=4&id=86875)

--  作者:qq代人发帖
--  发布时间:2015/11/3 9:32:42
--  用了allowrepeat 为什么不能重复开仓
用了allowrepeat 为什么不能重复开仓呢?
 
cc 2015/11/3 9:28:49

GLOBALVARIABLE:cnt=0;

if islastbar then
begin

for i=1 to 5  do buy(1,1,limitr,close),ALLOWREPEAT;
end

--  作者:jinzhe
--  发布时间:2015/11/3 9:37:04
--  
这个是针对后台下单语句的,对于图表语句无效