斑竹,
请看一下的代码,输出到txt的时候字符串的长度似乎是有一个限制,超过的就不能显示出来了,有没有方法可以取消这个限制?
opendownstr:= numtostr(year,0)+'/'+numtostr(month,0)+'/'+numtostr(day,0)+' 开空 '+numtostr(openpricedown,2)+' 0 '+numtostr(atr,2);
debugfile2('C:\Users\95\Desktop\New Folder\程序化\复权回测统计\品种参数组合自动回测\白糖0.4-2.txt',opendownstr,0,0);