金字塔安装目录的setting/orderlog/PleaceOrder.txt
不能,模拟资金函数是asset,详细请查看函数释义,通过在图表输出便可以看到模拟金的变动。
不好意思,打扰了,能不能详细说一下,哪里可以看到图表的输出,及模拟金的情况?
先谢。
//********************************
交易总数:totaltrade,colorwhite,linethick0;
盈亏:asset-1000000,noaxis,colorred,linethick1;
日盈亏:asset-ref(asset,todaybar),noaxis,colorred,linethick0;
持仓:holding,colorwhite,linethick0;
variable:hc=0;
回撤:hhv(盈亏,3000)-盈亏,linethick0,coloryellow;
if 回撤>hc then hc:=回撤;
最大回撤:hc,linethick0,coloryellow;
把这段加到程序的后面,就可以看到了。
在8楼的基础上,您把自己的策略加载到某品种的图表上,就可以看到模拟资金的变化。